Fix x86 / x86_64 expl, exp10l missing underflows (bug 16361).
[glibc.git] / ChangeLog
blob3503f3c2576dbd27ed5a29876db5ec2795904ab0
1 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #16361]
4         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5         [!USE_AS_EXPM1L] (IEEE754_EXPL): Force underflow exception for
6         tiny results.
7         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8         [!USE_AS_EXPM1L] (IEEE754_EXPL): Force underflow exception for
9         tiny results.
10         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
11         mark underflow exceptions as possibly missing for bug 16361.
12         * math/auto-libm-test-out: Regenerated.
14 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18         Remove variable.
19         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20         (test-xfail-XOPEN2K8/utmpx.h/conform).
22         * conform/conformtest.pl ($xerrors): New variable.
23         (note_error): New function.
24         (compiletest): New argument $xfail.  Use not_error.
25         (runtest): Likewise.
26         (top level): Handle xfail- lines.  Update calls to compiletest and
27         runtest.  Handle xfail- and optional- in headers listed with
28         allow-header.
29         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
30         (O_EXEC): Likewise.
31         (O_SEARCH): Likewise.
32         * conform/data/stropts.h-data (ioctl): Likewise.
33         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
34         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
36         (msghdr.msg_controllen): Likewise.
37         (cmsghdr.cmsg_len): Likewise.
38         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
39         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
40         variable.
41         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42         (test-xfail-XPG4/stropts.h/conform): Likewise.
43         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
45         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
46         (test-xfail-UNIX98/stropts.h/conform): Likewise.
47         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
48         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
49         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
50         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
51         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
52         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
53         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
54         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
56         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
57         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
58         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
59         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
60         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
61         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
63 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
65         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
66         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
67         definitions for proper unfolding of __MATHDECL_VEC.
69 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
71         * benchtests/bench-strcoll.c:
72         Include string.h.
73         (main): Remove unused variable res.
75 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
77         * timezone/Makefile (%/UTC %/Universal):
78         Generate test-result files for UTC and Universal.
80 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
82         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
84 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
86         [BZ #16350]
87         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
88         for arguments with small absolute value.
89         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
90         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
91         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
92         (__asinh): Force underflow exception for arguments with small
93         absolute value.
94         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
95         (__asinhf): Force underflow exception for arguments with small
96         absolute value.
97         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
98         (__asinhl): Force underflow exception for arguments with small
99         absolute value.
100         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
101         (__asinhl): Force underflow exception for arguments with small
102         absolute value.
103         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
104         (__asinhl): Force underflow exception for arguments with small
105         absolute value.
106         * math/auto-libm-test-in: Do not mark underflow exceptions as
107         possibly missing for bug 16350.
108         * math/auto-libm-test-out: Regenerated.
110         * include/bits/ipc.h: Remove file.
111         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
112         variable.
113         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
114         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
115         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
116         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
117         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
118         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
119         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
120         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
121         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
123         * math/auto-libm-test-in: Remove spurious underflow allowance for
124         tests of cexp.
125         * math/auto-libm-test-out: Regenerated.
127         [BZ #18558]
128         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
129         unconditional definition.
130         (MCAST_BLOCK_SOURCE): Likewise.
131         (MCAST_UNBLOCK_SOURCE): Likewise.
132         (MCAST_LEAVE_GROUP): Likewise.
133         (MCAST_JOIN_SOURCE_GROUP): Likewise.
134         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
135         (MCAST_MSFILTER): Likewise.
136         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
137         Remove variable.
138         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
139         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
140         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
141         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
142         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
144 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
146         * NEWS: Mention addition of x86_64 vector sincosf.
147         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
148         * math/test-float-vlen4.h: Likewise.
149         * math/test-float-vlen8.h: Likewise.
150         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
151         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
152         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
153         * sysdeps/x86_64/fpu/Versions: New versions added.
154         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
155         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
156         Added build of SSE, AVX2 and AVX512 IFUNC versions.
157         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
158         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
159         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
160         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
161         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
162         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
163         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
164         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
165         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
166         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
167         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
168         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
169         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
170         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
171         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
172         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
173         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
174         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
175         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
176         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
177         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
179         * NEWS: Mention addition of x86_64 vector sincos.
180         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
181         * math/math.h (__MATHDECL_VEC): New macro.
182         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
183         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
184         declaration under condition.
185         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
186         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
187         TEST_VEC_LOOP change.
188         * math/test-double-vlen4.h: Likewise.
189         * math/test-double-vlen8.h: Likewise.
190         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
191         * math/test-float-vlen4.h: Likewise.
192         * math/test-float-vlen8.h: Likewise.
193         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
194         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
195         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
196         * sysdeps/x86_64/fpu/Versions: New versions added.
197         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
198         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
199         Added build of SSE, AVX2 and AVX512 IFUNC versions.
200         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
201         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
202         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
203         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
204         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
205         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
206         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
207         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
208         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
209         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
210         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
211         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
212         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
213         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
214         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
215         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
216         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
217         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
218         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
219         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
220         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
222         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
223         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
224         redirections for powf.
225         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
226         * sysdeps/x86_64/fpu/Versions: New versions added.
227         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
228         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
229         Added build of SSE, AVX2 and AVX512 IFUNC versions.
230         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
231         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
232         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
233         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
234         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
235         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
236         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
237         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
238         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
239         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
240         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
241         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
242         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
243         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
244         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
245         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
246         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
247         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
248         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
249         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
250         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
251         * math/test-float-vlen16.h: Fixed 2 argument macro.
252         * math/test-float-vlen4.h: Likewise.
253         * math/test-float-vlen8.h: Likewise.
254         * NEWS: Mention addition of x86_64 vector powf.
256 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
258         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
259         and redefine.
260         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
261         and redefine.
262         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
263         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
264         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
266         [BZ #18553]
267         * resource/getpriority.c (getpriority): Rename to __getpriority
268         and define as weak alias of __getpriority.
269         * resource/setpriority.c (setpriority): Rename to __setpriority
270         and define as weak alias of __setpriority.
271         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
272         __getpriority and define as weak alias of __getpriority.
273         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
274         __setpriority and define as weak alias of __setpriority.
275         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
276         strong name.
277         (setpriority): Use __setpriority as strong name.
278         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
279         __getpriority and define as weak alias of __getpriority.
280         * include/sys/resource.h (__getpriority): Declare.  Use
281         libc_hidden_proto.
282         (__setpriority): Likewise.
283         (getpriority): Don't use libc_hidden_proto.
284         (setpriority): Likewise.
285         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
286         getpriority.  Call __setpriority instead of setpriority.
287         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
288         Remove variable.
290         [BZ #18547]
291         * misc/getttyent.c (getttynam): Rename to __getttynam and define
292         as weak alias of __getttynam.  Use prototype function definition.
293         Call __setttyent, __getttyent and __endttyent instead of
294         setttyent, getttyent and endttyent.
295         (getttyent): Rename to __getttyent and define as weak alias of
296         __getttyent.  Call __setttyent instead of setttyent.  Call
297         __fgets_unlocked instead of fgets_unlocked.
298         (setttyent): Rename to __setttyent and define as weak alias of
299         __setttyent.
300         (endttyent): Rename to __endttyent and define as weak alias of
301         __endttyent.
302         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
303         (__setttyent): Likewise.
304         (__endttyent): Likewise.
305         (getttyent): Don't use libc_hidden_proto.
306         (setttyent): Likewise.
307         (endttyent): Likewise.
308         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
309         __endttyent instead of setttyent, getttyent and endttyent.
310         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
311         Remove variable.
313         [BZ #18546]
314         * socket/recv.c (__recv): Use libc_hidden_def.
315         * socket/socket.c (__socket): Likewise.
316         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
317         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
318         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
319         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
320         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
321         libc_hidden_def.
322         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
323         libc_hidden_weak.
324         * include/sys/socket.h (__socket): Do not use attribute_hidden.
325         Use libc_hidden_proto.
326         (__recv): Likewise.
327         * socket/Versions (libc): Export __recv and __socket at version
328         GLIBC_PRIVATE.
329         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
330         instead of recv.
331         (init_mq_netlink): Call __socket instead of socket.
332         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
333         Remove variable.
335         [BZ #18545]
336         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
337         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
338         hidden_weak.
339         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
340         define as alias of __mq_timedsend.  Use hidden_weak.
341         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
342         __mq_timedsend as strong name.
343         (mq_timedreceive): Use __mq_timedreceive as strong name.
344         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
345         (__mq_timedreceive): Likewise.
346         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
347         __mq_timedreceive instead of mq_timedreceive.
348         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
349         instead of mq_timedsend.
350         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
351         Remove variable.
353         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
354         hidden_def and hidden_weak instead of libc_hidden_def and
355         libc_hidden_weak.
356         (top level): Refer to hidden_def in comment.
357         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
358         macro.  Use it instead of libc_hidden_def.
359         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
360         specify __GI_* name explicitly.
361         (mq_timedreceive): Likewise.
362         (mq_setattr): Likewise.
364         [BZ #18544]
365         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
366         __pthread_barrier_init and define as weak alias of
367         __pthread_barrier_init.
368         * sysdeps/sparc/nptl/pthread_barrier_init.c
369         (pthread_barrier_init): Likewise.
370         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
371         __pthread_barrier_wait and define as weak alias of
372         __pthread_barrier_wait.
373         * sysdeps/sparc/nptl/pthread_barrier_wait.c
374         (pthread_barrier_wait): Likewise.
375         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
376         (pthread_barrier_wait): Likewise.
377         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
378         (pthread_barrier_wait): Likewise.
379         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
380         (pthread_barrier_wait): Likewise.
381         * nptl/Versions (libpthread): Export __pthread_barrier_init and
382         __pthread_barrier_wait at version GLIBC_PRIVATE.
383         * include/pthread.h (__pthread_barrier_init): Declare.
384         (__pthread_barrier_wait): Likewise.
385         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
386         Call __pthread_barrier_wait instead of pthread_barrier_wait.
387         (helper_thread): Likewise.
388         (init_mq_netlink): Call __pthread_barrier_init instead of
389         pthread_barrier_init.
391         [BZ #18542]
392         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
393         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
394         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
395         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
396         vswscanf.
397         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
398         Remove variable.
400         [BZ #18540]
401         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
402         strong alias of _IO_fflush.  Use libc_hidden_def.
403         * libio/iofflush_u.c (fflush_unlocked): Rename to
404         __fflush_unlocked and define as weak alias of __fflush_unlocked.
405         Use libc_hidden_weak.
406         * include/stdio.h (__fflush_unlocked): Declare.  Use
407         libc_hidden_proto.
408         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
409         fflush_unlocked.
410         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
411         Remove variable.
413         [BZ #18539]
414         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
415         define as weak alias of __addseverity.
416         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
417         Remove variable.
418         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
419         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
420         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
422         [BZ #18536]
423         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
424         (__tfind): Likewise.
425         (__tdelete): Likewise.
426         (__twalk): Likewise.
427         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
428         __twalk to GLIBC_PRIVATE.
429         * include/search.h (__tsearch): Use libc_hidden_proto.
430         (__tfind): Likewise.
431         (__tdelete): Likewise.
432         (__twalk): Likewise.
433         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
434         Call __tdelete instead of tdelete.
435         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
436         tfind.  Call __tsearch instead of tsearch.
437         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
438         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
439         Remove variable.
440         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
442         [BZ #18534]
443         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
444         (dprintf): Define as a weak alias of __dprintf, not a strong
445         alias.
446         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
447         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
448         dprintf.
449         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
450         Remove variable.
451         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
452         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
454         [BZ #18533]
455         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
456         not a strong alias.
457         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
458         Remove variable.
460         [BZ #18532]
461         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
462         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
463         (in6addr_loopback): Rename to __in6addr_loopback and define as
464         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
465         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
466         libc_hidden_proto.
467         (__in6addr_any): Likewise.
468         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
469         in6addr_any.
470         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
471         variable.
472         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
474 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
476         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
477         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
478         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
479         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
480         redirections for pow.
481         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
482         * sysdeps/x86_64/fpu/Versions: New versions added.
483         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
484         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
485         build of SSE, AVX2 and AVX512 IFUNC versions.
486         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
487         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
488         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
489         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
490         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
491         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
492         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
493         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
494         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
495         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
496         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
497         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
498         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
499         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
500         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
501         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
502         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
503         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
504         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
505         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
506         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
507         * NEWS: Mention addition of x86_64 vector pow.
509         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
510         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
511         redirections for expf.
512         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
513         * sysdeps/x86_64/fpu/Versions: New versions added.
514         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
515         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
516         build of SSE, AVX2 and AVX512 IFUNC versions.
517         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
518         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
519         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
520         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
521         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
522         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
523         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
524         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
525         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
526         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
527         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
528         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
529         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
530         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
531         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
532         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
533         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
534         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
535         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
536         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
537         * NEWS: Mention addition of x86_64 vector expf.
539         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
540         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
541         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
542         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
543         redirections for exp.
544         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
545         * sysdeps/x86_64/fpu/Versions: New versions added.
546         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
547         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
548         build of SSE, AVX2 and AVX512 IFUNC versions.
549         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
550         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
551         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
552         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
553         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
554         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
555         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
556         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
557         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
558         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
559         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
560         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
561         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
562         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
563         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
564         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
565         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
566         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
567         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
568         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
569         * NEWS: Mention addition of x86_64 vector exp.
571         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
572         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
573         redirections for logf.
574         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
575         * sysdeps/x86_64/fpu/Versions: New versions added.
576         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
577         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
578         build of SSE, AVX2 and AVX512 IFUNC versions.
579         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
580         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
581         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
582         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
583         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
584         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
585         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
586         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
587         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
588         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
589         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
590         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
591         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
592         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
593         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
594         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
595         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
596         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
597         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
598         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
599         * NEWS: Mention addition of x86_64 vector logf.
601         * bits/libm-simd-decl-stubs.h: Added stubs for log.
602         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
603         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
604         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
605         redirections for log.
606         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
607         * sysdeps/x86_64/fpu/Versions: New versions added.
608         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
609         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
610         build of SSE, AVX2 and AVX512 IFUNC versions.
611         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
612         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
613         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
614         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
615         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
616         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
617         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
618         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
619         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
620         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
621         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
622         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
623         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
624         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
625         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
626         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
627         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
628         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
629         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
630         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
631         * NEWS: Mention addition of x86_64 vector log.
633 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
635         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
636         cfi_adjust_cfa_offset argument.
637         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
638         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
640         [BZ #18034]
641         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
642         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
643         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
644         ordering using ldar.
645         (_dl_tlsdesc_dynamic): Likewise.
646         (_dl_tlsdesc_return_lazy): Likewise.
647         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
648         relaxed atomics instead of volatile and synchronize with release store.
649         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
650         volatile.
651         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
653 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
655         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
656         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
657         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
658         * sysdeps/x86_64/fpu/Versions: New versions added.
659         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
660         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
661         build of SSE, AVX2 and AVX512 IFUNC versions.
662         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
663         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
664         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
665         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
666         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
667         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
668         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
669         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
670         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
671         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
672         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
673         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
674         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
675         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
676         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
677         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
678         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
679         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
680         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
681         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
682         * NEWS: Mention addition of x86_64 vector sinf.
684 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
686         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
687         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
688         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
689         Remove variable.
690         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
691         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
693 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
695         [BZ #18530]
696         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
697         strong alias of _IO_fputs.  Use libc_hidden_def.
698         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
699         and define as weak alias of __fputs_unlocked.  Use
700         libc_hidden_weak.
701         * include/stdio.h (__fputs_unlocked): Declare.  Use
702         libc_hidden_proto.
703         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
704         fputs_unlocked.
706         [BZ #18529]
707         * resolv/netdb.h [__USE_POSIX]: Change condition to
708         [__USE_XOPEN2K].
709         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
710         not expect.
711         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
712         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
713         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
714         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
715         [XPG4 || UNIX98] (AI_ALL): Likewise.
716         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
717         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
718         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
719         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
720         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
721         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
722         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
723         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
724         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
725         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
726         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
727         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
728         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
729         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
730         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
731         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
732         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
733         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
734         [XPG4 || UNIX98] (gai_strerror): Likewise.
735         [XPG4 || UNIX98] (getaddrinfo): Likewise.
736         [XPG4 || UNIX98] (getnameinfo): Likewise.
738         [BZ #18528]
739         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
740         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
741         __USE_XOPEN2K8].
742         (getgrent): Likewise.
743         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
744         expect.
745         [XPG3 || POSIX2008] (endgrent): Likewise.
746         [XPG3] (setgrent): Likewise.
747         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
748         variable.
749         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
751         [BZ #18527]
752         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
753         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
754         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
755         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
756         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
757         * include/unistd.h (__getlogin_r): Declare.  Use
758         libc_hidden_proto.
759         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
760         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
761         variable.
762         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
763         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
764         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
766 2015-06-12  Martin Sebor  <msebor@redhat.com>
768         [BZ #18512]
769         * Makerules (check-install-supported): New target.
770         (install): Add check-install-supported as a dependency.
771         * manual/install.texi (Installing the C Library): Document
772         that overriding prefix and exec_prefix is not supported.
773         Mention DESTDIR.
774         * INSTALL: Regenerate from the above.
776 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
778         [BZ #18519]
779         * posix/Versions (libc): Export __libc_pread at version
780         GLIBC_PRIVATE.
781         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
782         instead of pread.
783         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
784         variable.
786         [BZ #18522]
787         * misc/efgcvt_r.c
788         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
789         (cvt_symbol): Use weak_alias instead of strong_alias.
790         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
791         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
792         Remove variable.
793         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
794         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
796         [BZ #18520]
797         * inet/herrno.c (h_errno): Rename to __h_errno.
798         (__libc_h_errno): Define as alias of __h_errno not h_errno.
799         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
800         to __h_errno instead of h_errno.
801         * nptl/herrno.c (h_errno): Rename to __h_errno.
802         (__h_errno_location): Refer to __h_errno not h_errno.
803         * resolv/Versions (h_errno): Rename to __h_errno.
804         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
805         Remove variable.
806         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
808 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
810         * configure.ac: More strict check for AVX512 assembler support.
811         * configure: Regenerated.
813         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
814         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
815         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
816         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
817         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
818         * sysdeps/x86_64/fpu/Versions: New versions added.
819         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
820         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
821         build of SSE, AVX2 and AVX512 IFUNC versions.
822         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
823         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
824         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
825         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
826         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
827         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
828         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
829         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
830         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
831         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
832         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
833         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
834         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
835         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
836         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
837         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
838         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
839         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
840         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
841         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
842         * NEWS: Mention addition of x86_64 vector sin.
844 2015-06-11  Florian Weimer  <fweimer@redhat.com>
846         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
847         comment.
849 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
851         [BZ #18479]
852         * nptl/pt-interp.c: New file.
853         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
854         Add pt-interp.
855         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
856         $(common-objpfx)runtime-linker.h.
858 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
860         * Makeconfig (+interp): Remove unused variable.
861         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
862         only.  Depend on $(common-objpfx)runtime-linker.h instead of
863         $(elf-objpfx)runtime-linker.h.
864         ($(elf-objpfx)runtime-linker.h): Rename to
865         $(common-objpfx)runtime-linker.h and move ...
866         * Makerules [$(build-shared) = yes]: ... here.
867         * elf/interp.c: Include <runtime-linker.h> instead of
868         <elf/runtime-linker.h>.
870 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
872         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
873         (__gettimeofday_syscall): Remove vsyscall fallback.
874         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
875         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
876         Add syscall fallback function.
877         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
878         if vDSO is not present.
879         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
880         fallback function.
881         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
882         present.
883         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
884         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
886 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
888         [BZ #18497]
889         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
890         of wcscmp.
891         (wcscmp): Define as weak alias of WCSCMP.
892         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
893         wcscoll.
894         (USE_HIDDEN_DEF): Define.
895         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
896         __wcscoll.  Don't use libc_hidden_weak.
897         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
898         wcscmp.
899         * sysdeps/i386/i686/multiarch/wcscmp-c.c
900         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
901         __GI_wcscmp.
902         (weak_alias): Undefine and redefine.
903         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
904         __wcscmp and define as weak alias of __wcscmp.
905         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
906         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
907         (__wcscoll): Likewise.
908         (wcscmp): Don't use libc_hidden_proto.
909         (wcscoll): Likewise.
910         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
911         wcscoll.
912         * posix/regexec.c (check_node_accept_bytes): Likewise.
913         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
914         variable.
915         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
916         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
918         [BZ #18507]
919         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
920         __fstatvfs and define as weak alias of __fstatvfs.  Use
921         libc_hidden_weak.
922         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
923         and define as weak alias of __statvfs.  Use libc_hidden_weak.
924         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
925         Define as alias of __fstatvfs, not fstatvfs.
926         (fstatvfs64): Likewise.
927         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
928         Define as alias of __statvfs, not statvfs.
929         (statvfs64): Likewise.
930         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
931         Remove variable.
933 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
936         (HAVE_GETCPU_VSYSCALL): Define.
937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
938         (HAVE_GETCPU_VSYSCALL): Likewise.
939         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
940         * sysdeps/unix/sysv/linux/sched_getcpu.c
941         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
942         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
943         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
944         prototype.
945         * sysdeps/unix/sysv/linux/x86_64/init-first.c
946         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
947         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
948         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
949         Define.
950         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
951         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
952         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
953         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
955 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
957         * sysdeps/x86_64/fpu/Makefile: New file.
958         * sysdeps/x86_64/fpu/Versions: New file.
959         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
960         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
961         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
962         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
963         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
964         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
965         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
966         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
967         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
968         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
969         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
970         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
971         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
972         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
973         build of SSE, AVX2 and AVX512 IFUNC versions.
974         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
975         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
976         * sysdeps/x86_64/configure.ac: Options for libmvec build.
977         * sysdeps/x86_64/configure: Regenerated.
978         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
979         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
980         * manual/install.texi (Configuring and compiling): Document
981         --disable-mathvec.
982         * INSTALL: Regenerated.
983         * NEWS: Mention addition of libmvec and x86_64 vector cos.
985         * math/Makefile: Added rules for vector tests.
986         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
987         declaration under condition.
988         * math/test-double-vlen2.h: New file.
989         * math/test-double-vlen4.h: New file.
990         * math/test-double-vlen8.h: New file.
991         * math/test-vec-loop.h: Added initialization macro.
992         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
993         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
994         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
995         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
996         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
997         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
998         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
999         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1000         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1001         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1002         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1004         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1005         * sysdeps/x86_64/fpu/Versions: New versions added.
1006         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1007         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1008         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1009         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1010         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1011         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1012         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1013         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1014         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1015         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1016         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1017         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1018         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1019         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1020         build of SSE, AVX2 and AVX512 IFUNC versions.
1021         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1022         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1023         * NEWS: Mention addition of x86_64 vector cosf.
1025         * math/Makefile: Added CFLAGS for new tests.
1026         * math/test-float-vlen16.h: New file.
1027         * math/test-float-vlen4.h: New file.
1028         * math/test-float-vlen8.h: New file.
1029         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1030         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1031         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1032         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1033         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1034         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1035         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1036         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1037         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1038         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1039         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1041 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
1043         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1044         * locale/programs/ld-ctype.c: Likewise.
1046 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1048         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1049         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1050         bit_ZMM16_31_state): New macro.
1051         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1052         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1054 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
1056         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1058 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
1060         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1062 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
1064         [BZ #18498]
1065         * libio/memstream.c (open_memstream): Rename to __open_memstream
1066         and define as weak alias of __open_memstream.
1067         * include/stdio.h (__open_memstream): Declare.  Use
1068         libc_hidden_proto.
1069         (open_memstream): Don't use libc_hidden_proto.
1070         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1071         open_memstream.
1072         * posix/getopt.c (_getopt_internal_r): Likewise.
1073         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1074         variable.
1075         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1076         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1077         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1079         [BZ #18496]
1080         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1081         instead of wcrtomb.
1083         [BZ #18483]
1084         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1085         [__USE_XOPEN2K8].  Remove redundant #endif.
1086         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1087         Remove redundant #if.
1088         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1089         Remove variable.
1090         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1091         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1093         [BZ #18495]
1094         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1095         (__iswlower): Likewise.
1096         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
1097         (__iswlower): Likewise.
1098         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1099         instead of towlower.
1100         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1101         instead of iswlower.  Call __towupper instead of towupper.
1102         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1103         instead of iswalnum.
1105 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1107         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1108         errors to stderr.
1110 2015-06-05  Florian Weimer  <fweimer@redhat.com>
1112         [BZ #15661]
1113         [BZ #17322]
1114         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1115         Check for overflow properly.  Check for O_APPEND.  Ignore large
1116         file system block sizes.  Add comments about problems.
1117         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1118         * manual/filesys.texi (Storage Allocation): New node.
1120 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1122         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1123         cancellable syscalls.
1124         (SYS_ify): Add guard to no redefine it.
1125         (INLINE_SYSCALL): Likewise.
1126         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1127         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1128         SYSCALL_CANCEL instead.
1129         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1130         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1131         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1132         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1133         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1134         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1135         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1136         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1137         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1138         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1139         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1140         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1141         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1142         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1143         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1144         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1145         Likewise.
1146         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1147         (__libc_pread64): Likewise.
1148         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1149         (__libc_preadv): Likewise.
1150         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1151         (__libc_readv64): Likewise.
1152         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1153         (__libc_pwrite): Likewise.
1154         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1155         (__libc_pwrite64): Likewise.
1156         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1157         (__libc_pwritev): Likewise.
1158         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1159         (__libc_pwritev64): Likewise.
1160         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1161         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1162         (sync_file_range): Likewise.
1163         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1164         Likewise.
1165         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1166         Likewise.
1167         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1168         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1169         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1170         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1171         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1172         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1173         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1174         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1176         Likewise.
1177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1178         (__libc_read64): Likewise.
1179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1180         Likewise.
1181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1182         Likewise.
1183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1184         Likewise.
1185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1186         Likewise.
1187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1188         (__libc_pread64): Likewise.
1189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1190         Likewise.
1191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1192         (__libc_pwrite64): Likewise.
1193         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1194         (sync_file_range): Likewise.
1195         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1196         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1197         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1198         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1199         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1200         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1201         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1202         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1203         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1204         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1205         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1206         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1207         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1208         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1209         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1210         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1211         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1212         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1213         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1214         Likewise.
1215         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1216         Likewise.
1217         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1218         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1219         Likewise.
1220         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1221         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1222         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1223         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1224         Likewise.
1225         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1226         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1227         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1228         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1229         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1231 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
1233         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1234         Include dl-vdso.
1235         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1236         Use VDSO routines for gettimeofday, clock_gettime if
1237         available.
1238         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1239         Declare VDSO symbols.
1240         * sysdeps/unix/sysv/linux/arm/sysdep.h:
1241         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1242         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1243         * sysdeps/unix/sysv/linux/arm/Versions: Add
1244         __vdso_clock_gettime.
1246 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1248         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1249         be an inline implementation regardless of library is built within.
1250         (open_not_cancel_2): Likewise.
1251         (__read_nocancel): Likewise.
1252         (__write_nocancel): Likewise.
1253         (openat_not_cancel): Likewise.
1254         (openat_not_cancel_3): Likewise.
1255         (openat64_not_cancel): Likewise.
1256         (openat64_not_cancel_3): Likewise.
1257         (__close_nocancel): Likewise.
1258         (pause_not_cancel): Likewise.
1259         (nanosleep_not_cancel): Likewise.
1260         (sigsuspend_not_cancel): Likewise.
1262 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1264         [BZ #14958]
1265         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1266         wake-up.
1267         (__pthread_rwlock_rdlock_slow): Likewise.
1268         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1269         Likewise.
1270         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1271         Likewise.
1272         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1273         * nptl/tst-rwlock16.c: New file.
1274         * nptl/Makefile (tests): Add new test.
1276 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1278         [BZ #18324]
1279         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1280         missing wake-up of readers.
1281         * nptl/tst-rwlock15.c: New file.
1282         * nptl/Makefile (tests): Add new test.
1284 2015-06-03  Roland McGrath  <roland@hack.frob.com>
1286         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1287         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1288         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1289         and __nacl_supply_interface_rtld.
1290         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1291         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1292         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1293         Add __nacl_supply_interface_rtld.
1294         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1296 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1298         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1299         isfinite.
1300         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1301         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1303 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1305         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1306         __signbit* with standard C99 macros.
1307         * math/e_exp10l.c: Likewise.
1308         * math/e_exp2l.c: Likewise.
1309         * math/e_scalb.c: Likewise.
1310         * math/e_scalbf.c: Likewise.
1311         * math/e_scalbl.c: Likewise.
1312         * math/s_ldexp.c: Likewise.
1313         * math/s_ldexpf.c: Likewise.
1314         * math/s_ldexpl.c: Likewise.
1315         * math/w_atan2.c: Likewise.
1316         * math/w_atan2f.c: Likewise.
1317         * math/w_atan2l.c: Likewise.
1318         * math/w_cosh.c: Likewise.
1319         * math/w_coshf.c: Likewise.
1320         * math/w_coshl.c: Likewise.
1321         * math/w_exp10.c: Likewise.
1322         * math/w_exp10f.c: Likewise.
1323         * math/w_exp10l.c: Likewise.
1324         * math/w_exp2.c: Likewise.
1325         * math/w_exp2f.c: Likewise.
1326         * math/w_exp2l.c: Likewise.
1327         * math/w_fmod.c: Likewise.
1328         * math/w_fmodf.c: Likewise.
1329         * math/w_fmodl.c: Likewise.
1330         * math/w_hypot.c: Likewise.
1331         * math/w_hypotf.c: Likewise.
1332         * math/w_hypotl.c: Likewise.
1333         * math/w_jnl.c: Likewise.
1334         * math/w_lgamma.c: Likewise.
1335         * math/w_lgamma_r.c: Likewise.
1336         * math/w_lgammaf.c: Likewise.
1337         * math/w_lgammaf_r.c: Likewise.
1338         * math/w_lgammal.c: Likewise.
1339         * math/w_lgammal_r.c: Likewise.
1340         * math/w_pow.c: Likewise.
1341         * math/w_powf.c: Likewise.
1342         * math/w_powl.c: Likewise.
1343         * math/w_remainder.c: Likewise.
1344         * math/w_remainderf.c: Likewise.
1345         * math/w_remainderl.c: Likewise.
1346         * math/w_scalb.c: Likewise.
1347         * math/w_scalbf.c: Likewise.
1348         * math/w_scalbl.c: Likewise.
1349         * math/w_scalbln.c: Likewise.
1350         * math/w_scalblnf.c: Likewise.
1351         * math/w_scalblnl.c: Likewise.
1352         * math/w_sinh.c: Likewise.
1353         * math/w_sinhf.c: Likewise.
1354         * math/w_sinhl.c: Likewise.
1355         * math/w_tgamma.c: Likewise.
1356         * math/w_tgammaf.c: Likewise.
1357         * math/w_tgammal.c: Likewise.
1358         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1359         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1360         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1361         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1362         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1363         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1364         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1365         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1366         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1367         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1368         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1369         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1370         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1371         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1372         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1373         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1374         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1375         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1376         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1377         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1378         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1379         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1380         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1381         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1382         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1383         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1384         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1385         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1386         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1387         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1388         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1389         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1390         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1391         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1392         * stdio-common/printf_fp.c: Likewise.
1393         * stdio-common/printf_fphex.c: Likewise.
1394         * stdio-common/printf_size.c: Likewise.
1396 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
1398         [BZ #18470]
1399         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1400         strnlen.
1401         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1402         Remove variable.
1403         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1404         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1405         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1406         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1407         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1408         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1409         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1410         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1411         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1412         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1414         [BZ #18468]
1415         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1416         weak alias of __wmemchr.  Use libc_hidden_weak.
1417         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
1418         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1419         instead of wmemchr.
1421 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1423         [BZ #18383]
1424         * elf/tst-tlsalign-extern.c: New file.
1425         * elf/tst-tlsalign-extern-static.c: New file.
1426         * elf/tst-tlsalign-vars.c: New file.
1427         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1428         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1429         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1430         ($(objpfx)tst-tlsalign-extern-static): Likewise.
1431         (test-xfail-tst-tlsalign-extern-static): New variable.
1433 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
1435         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1436         Use variable name _sc_err instead of err.
1437         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1438         instead of ret.
1439         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1440         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1441         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1442         (INLINE_SYSCALL): Likewise.
1444         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1445         * include/string.h (__strnlen): Use libc_hidden_proto.
1446         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1447         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1448         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1449         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1450         (libc_hidden_def): Undefine and redefine.
1451         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1452         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1453         __GI_strnlen.
1454         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1455         libc_hidden_def.
1456         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1458         [BZ #18469]
1459         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1460         weak alias of __towlower.  Use libc_hidden_weak.
1461         (towupper): Rename to __towupper and define as weak alias of
1462         __towupper.  Use libc_hidden_weak.
1463         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
1464         (__towupper): Likewise.
1465         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1466         __towlower instead of towlower.
1468 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1470         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1471         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1473 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1475         * sysdeps/aarch64/libm-test-ulps: Update.
1477 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1479         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1480         Define.
1481         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1482         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1483         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1484         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1485         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1486         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1487         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1489 2015-06-01  Martin Sebor  <msebor@redhat.com>
1491         [BZ #18116]
1492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1493         (__setcontext): Use extended four-operand version of mtsf whenever
1494         possible.
1495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1496         (__novec_swapcontext): Likewise.
1498 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1500         * benchtests/scripts/compare_bench.py: New file.
1501         * benchtests/scripts/import_bench.py (mean): New function.
1502         (split_list): Likewise.
1503         (do_for_all_timings): Likewise.
1504         (compress_timings): Likewise.
1506         * benchtests/scripts/import_bench.py: New file.
1507         * benchtests/scripts/validate_benchout.py: Import import_bench
1508         instead of jsonschema.
1509         (validate_bench): Remove function.
1510         (main): Use import_bench.
1512 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
1514         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1515         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1517 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1521 2015-05-28  Roland McGrath  <roland@hack.frob.com>
1523         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1524         set THREAD_SELF->tid to a magic value and futex-wake it.
1525         Pass its address to the thread_exit system call.
1526         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1527         bit is clear.
1528         * sysdeps/nacl/lowlevellock.h: New file.
1529         * sysdeps/nacl/lll_timedwait_tid.c: New file.
1531         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1532         Add TIMEOUT to current time, don't subtract it.
1534 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
1536         [BZ #18422]
1537         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1538         ($(objpfx)tst-audit2.out): Also depend on
1539         $(objpfx)tst-auditmod9b.so.
1540         * elf/tst-audit2.c: Include <dlfcn.h>.
1541         (calloc_called): New.
1542         (calloc): Allow to be called more than once.
1543         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1545 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
1547         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1548         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1550 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
1552         * stdlib/monetary.h: Fix comment.
1554 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
1556         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1557         Avoid using variables in #defines that might cause shadowing.
1558         (INTERNAL_VSYSCALL_CALL): Likewise.
1560 2015-05-26  Roland McGrath  <roland@hack.frob.com>
1562         * sysdeps/nacl/lll_timedlock_wait.c: New file.
1564         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1565         * nptl/lll_timedlock_wait.c: ... to this new file.
1566         * nptl/Makefile (libpthread-routines): Add it.
1567         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1568         * nptl/lll_timedwait_tid.c: ... to this new file.
1569         * nptl/Makefile (libpthread-routines): Add it.
1570         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1571         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1572         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1573         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1574         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1575         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1576         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1577         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1578         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1579         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1581 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1583         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1584         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1585         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1586         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1587         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1588         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1589         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1591         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1592         * sysdeps/unix/sysv/linux/tile/sysdep.h
1593         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1594         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1595         using vDSO syscall macro.
1597 2015-05-26  Andriy Rysin  <arysin@gmail.com>
1599         [BZ #17293]
1600         * uk_UA: Fix sorting order for Ukrainian locale
1602 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
1604         * stdlib/monetary.h: Fix comment.
1606 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1608         [BZ #18234]
1609         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1610         st_mtim and st_ctim members.
1611         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1612         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1613         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1614         (struct stat64): Likewise.
1615         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1616         (struct stat64): Likewise.
1617         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1618         (struct stat64): Likewise.
1620 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1622         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1623         Define and include sysdep-vdso.h.
1624         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1625         Likewise.
1626         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1627         Likewise.
1628         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1629         Define with VDSO_SYMBOL and use PTR_MANGLE.
1630         (__vdso_clock_gettime): Likewise.
1631         (__vdso_clock_getres): Likewise.
1632         (_libc_vdso_platform_setup): Likewise.
1633         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1634         Likewise.
1635         (_libc_vdso_platform_setup): Likewise.
1636         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1637         Likewise.
1638         (__vdso_clock_gettime): Likewise.
1639         (__vdso_clock_getres): Likewise.
1640         (__vdso_get_tbfreq): Likewise.
1641         (__vdso_getcpu): Likewise.
1642         (__vdso_time): Likewise.
1643         (__vdso_sigtramp_rt64): Likewise.
1644         (__vdso_signtramp32): Likewise.
1645         (__vdso_sigtramp_rt32): Likewise.
1646         (_libc_vdso_platform_setup): Likewise.
1647         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1648         Likewise.
1649         (__vdso_clock_gettime): Likewise.
1650         (__vdso_clock_getres): Likewise.
1651         (_libc_vdso_platform_setup): Likewise.
1652         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1653         Likewise.
1654         (__vdso_clock_gettime): Likewise.
1655         (_libc_vdso_platform_setup): Likewise.
1656         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1657         Likewise.
1658         (__vdso_getcpu): Likewise.
1659         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1660         Use VDSO_SYMBOL macro to define.
1661         (__vdso_clock_gettime): Likewise.
1662         (__vdso_clock_getres): Likewise.
1663         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1664         Likewise.
1665         (__vdso_clock_gettime): Likewise.
1666         (__vdso_clock_getres): Likewise.
1667         (__vdso_get_tbfreq): Likewise.
1668         (__vdso_getcpu): Likewise.
1669         (__vdso_time): Likewise.
1670         (__vdso_sigtramp_rt64): Likewise.
1671         (__vdso_signtramp32): Likewise.
1672         (__vdso_sigtramp_rt32): Likewise.
1673         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1674         Likewise.
1675         (__vdso_clock_gettime): Likewise.
1676         (__vdso_clock_getres): Likewise.
1677         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1678         Likewise.
1679         (__vdso_clock_gettime): Likewise.
1680         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1681         Likewise.
1682         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
1683         macro.
1684         (INTERNAL_VSYSCALL): Likewise.
1685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1686         Remove macro.
1687         (INTERNAL_VSYSCALL): Likewise.
1688         (INTERNAL_VSYSCALL_NCS): Likewise.
1689         (INTERNAL_VSYSCALL_CALL): New macro.
1690         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1691         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1692         Likewise.
1693         (INTERNAL_VSYSCALL): Likewise.
1694         (INTERNAL_VSYSCALL_NCS): Likewise.
1695         (INTERNAL_VSYSCALL_CALL): New macro.
1696         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1698         (INLINE_VSYSCALL): Remove macro.
1699         (INTERNAL_VSYSCALL): Remove macro.
1700         (INTERNAL_VSYSCALL_NCS): Remove macro.
1701         (INTERNAL_VSYSCALL_CALL): New macro.
1702         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1703         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1704         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1705         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1706         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1708         (INLINE_VSYSCALL): Remove macro.
1709         (INTERNAL_VSYSCALL): Likewise.
1710         (INTERNAL_VSYSCALL_NCS): Likewise.
1711         (INTERNAL_VSYSCALL_CALL): New macro.
1712         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1713         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1714         PTR_DEMANGLE on vDSO pointer.
1715         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1716         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1717         macro.
1718         (INTERNAL_SYSCALL): Likewise.
1719         (INTERNAL_VSYSCALL_NCS): Remove macro.
1720         (INTERNAL_VSYSCALL_CALL): New macro.
1721         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1722         Remove macro.
1723         (INTERNAL_VSYSCALL): Likewise.
1724         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1725         sysdep-vdso.h instead of libc-vdso.h.
1726         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1727         definition.
1728         (INLINE_VSYSCALL): Likewise.
1729         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1730         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1731         definition.
1732         (INLINE_VSYSCALL): Likewise.
1733         (INTERNAL_VSYSCALL): Likewise.
1734         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1735         * sysdeps/unix/sysv/linux/timespec_get.c
1736         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1737         (timespec_get): Use ANSI prototype.
1738         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1739         and definition for Linux.
1741 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1743         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1744         * include/libc-symbols.h: libmvec_hidden_* macro series added.
1746 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1748         [BZ #18410]
1749         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1750         for missing DT_PLTRELSZ.
1752 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1754         Remove obsolete aliases that broke 'locale -a'
1755         [BZ #18412]
1756         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1757         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1758         breaking some applications that use 'locale -a' output.
1759         Change the encoding of this file from Latin-1 to ASCII to avoid
1760         other potential problems with people grepping this file.
1762 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1764         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1765         -fasynchronous-unwind-tables.
1766         (CFLAGS-sendto.c): Likewise.
1767         (CFLAGS-sendmsg.c): Likewise.
1768         (CFLAGS-connect.c): Likewise.
1769         (CFLAGS-recvmsg.c): Likewise.
1770         (CFLAGS-recvfrom.c): Likewise.
1771         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1772         (SOCKETCALL): New macro: non-cancellable socketcall.
1773         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1774         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1775         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1776         * sysdeps/unix/sysv/linux/accept.c: New file.
1777         * sysdeps/unix/sysv/linux/bind.c: Likewise.
1778         * sysdeps/unix/sysv/linux/connect.c: Likewise.
1779         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1780         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1781         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1782         * sysdeps/unix/sysv/linux/listen.c: Likewise.
1783         * sysdeps/unix/sysv/linux/recv.c: Likewise.
1784         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1785         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1786         * sysdeps/unix/sysv/linux/send.c: Likewise.
1787         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1788         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1789         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1790         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1791         * sysdeps/unix/sysv/linux/socket.c: Likewise.
1792         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1793         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1794         prototype.
1795         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1796         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1797         instead of __internal_xxx function.
1798         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1799         prototype.
1800         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1801         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1802         instead of __internal_xxx function.
1803         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1804         prototype.
1805         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1806         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1807         instead of __internal_xxx function.
1808         * sysdeps/unix/sysv/linux/accept.S: Remove file.
1809         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1810         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1811         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1812         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1813         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1814         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1815         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1816         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1817         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1818         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1819         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1820         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1821         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1822         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1823         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1824         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1825         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1826         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1827         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1830         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1831         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1832         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1833         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1834         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1835         * sysdeps/unix/sysv/linux/send.S: Likewise.
1836         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1837         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1838         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1839         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1840         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1841         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1842         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1843         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1844         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1845         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1846         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1847         socketcall is implemented in GLIBC.
1849 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1851         * soft-fp/fmadf4.c: Include <libc-internal.h>.
1852         (__fma): Ignore uninitialized warnings around packing.
1853         * soft-fp/fmasf4.c: Include <libc-internal.h>.
1854         (__fmaf): Ignore uninitialized warnings around packing.
1855         * soft-fp/fmatf4.c: Include <libc-internal.h>.
1856         (__fmal): Ignore uninitialized warnings around packing.
1858         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1859         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1860         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1861         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1863         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1864         switch statement into default case.
1865         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1867         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1868         a conditional in forcing "inexact".
1869         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1870         Likewise.
1872 2015-05-22  Roland McGrath  <roland@hack.frob.com>
1874         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1875         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1876         for each INTERNAL_SYSCALL use.
1878 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1880         [BZ #438]
1881         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1882         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1883         variable.
1885         [BZ #18444]
1886         * string/basename.c (basename): Rename to __basename and define as
1887         weak alias of __basename.  Use libc_hidden_weak.
1888         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
1889         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1890         __basename instead of basename.
1891         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1892         Remove variable.
1893         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1895 2015-05-18  Florian Weimer  <fweimer@redhat.com>
1897         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1898         (_IO_JUMPS_FILE_plus): New.
1899         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1900         _IO_CAST_FIELD_ACCESS.
1901         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1902         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1903         * libio/freopen.c (freopen): Likewise.
1904         * libio/freopen64.c (freopen64): Likewise.
1905         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1906         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1907         * libio/iofwide.c (_IO_fwide): Likewise.
1908         * libio/memstream.c (open_memstream): Likewise.
1909         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1910         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1911         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1913 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
1915         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1916         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1917         NADJ.
1918         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1919         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1920         NADJ.
1921         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1922         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1923         NADJ.
1925         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1926         (p == 4) case.
1928         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1929         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1930         Remove variable.
1931         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1932         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1933         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1935 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1937         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1938         Adjust jump table label generation macros.
1940 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1942         * stdio-common/vfprintf.c (vfprintf): Move local variables
1943         args_malloced, specs, specs_malloced, and the code after
1944         do_positional to the printf_positional function.
1945         (printf_positional): New function.
1947 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1949         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1950         function.
1951         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1952         STEP4_TABLE, process_arg): Move macro definitions
1953         out of the vfprintf function.  (Cosmetic change only.)
1955 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
1957         * benchtests/Makefile (stdio-common-bench): Define.
1958         (benchset): Add stdio-common-bench.
1959         * sprintf-inputs: New file.
1960         * sprintf-source.c: New file.
1962 2015-05-21  Andreas Schwab  <schwab@suse.de>
1964         [BZ #13028]
1965         [BZ #17053]
1966         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1967         of struct __res_state.
1968         * resolv/res_send.c (__libc_res_nsend): Likewise.
1969         (get_nsaddr): New function.
1970         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1971         statp directly.
1973 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
1975         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1976         -D_POSIX_C_SOURCE=199506L.
1978         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1980         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1981         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1982         Do not mention otherwise.
1983         [POSIX] (_XOPEN_VERSION): Do not expect.
1984         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1985         [POSIX] (_POSIX2_C_BIND): Likewise.
1986         [POSIX] (_POSIX2_VERSION): Likewise.
1987         [POSIX] (_XOPEN_XPG2): Likewise.
1988         [POSIX] (_XOPEN_XPG3): Likewise.
1989         [POSIX] (_XOPEN_XPG4): Likewise.
1990         [POSIX] (_XOPEN_UNIX): Likewise.
1991         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1992         [POSIX] (_POSIX_BARRIERS): Likewise.
1993         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1994         [POSIX] (_POSIX_CPUTIME): Likewise.
1995         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1996         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1997         [POSIX] (_POSIX_SHELL): Likewise.
1998         [POSIX] (_POSIX_SPAWN): Likewise.
1999         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2000         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2001         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2002         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2003         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2004         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2005         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2006         [POSIX] (_XBS5_LP64_OFF64): Likewise.
2007         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2008         [POSIX] (_POSIX_TIMEOUTS): Likewise.
2009         [POSIX] (_POSIX2_PBS): Likewise.
2010         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2011         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2012         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2013         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2014         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2015         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2016         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2017         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2018         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2019         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2020         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2021         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2022         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2023         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2024         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2025         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2026         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2027         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2028         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2029         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2030         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2031         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2032         [POSIX] (_SC_2_C_BIND): Likewise.
2033         [POSIX] (_SC_2_C_VERSION): Likewise.
2034         [POSIX] (_SC_2_PBS): Likewise.
2035         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2036         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2037         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2038         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2039         [POSIX] (_SC_2_PBS_TRACK): Likewise.
2040         [POSIX] (_SC_ATEXIT_MAX): Likewise.
2041         [POSIX] (_SC_BARRIERS): Likewise.
2042         [POSIX] (_SC_BASE): Likewise.
2043         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2044         [POSIX] (_SC_DEVICE_IO): Likewise.
2045         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2046         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2047         [POSIX] (_SC_FD_MGMT): Likewise.
2048         [POSIX] (_SC_FIFO): Likewise.
2049         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2050         [POSIX] (_SC_FILE_LOCKING): Likewise.
2051         [POSIX] (_SC_FILE_SYSTEM): Likewise.
2052         [POSIX] (_SC_IOV_MAX): Likewise.
2053         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2054         [POSIX] (_SC_NETWORKING): Likewise.
2055         [POSIX] (_SC_PAGE_SIZE): Likewise.
2056         [POSIX] (_SC_PASS_MAX): Likewise.
2057         [POSIX] (_SC_PIPE): Likewise.
2058         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2059         [POSIX] (_SC_REGEXP): Likewise.
2060         [POSIX] (_SC_SHELL): Likewise.
2061         [POSIX] (_SC_SIGNALS): Likewise.
2062         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2063         [POSIX] (_SC_SPIN_LOCKS): Likewise.
2064         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2065         [POSIX] (_SC_USER_GROUPS): Likewise.
2066         [POSIX] (_SC_USER_GROUPS_R): Likewise.
2067         [POSIX] (_SC_STREAMS): Likewise.
2068         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2069         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2070         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2071         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2072         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2073         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2074         [POSIX] (_PC_FILESIZEBITS): Likewise.
2075         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2076         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2077         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2078         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2079         [POSIX] (uid_t): Likewise.
2080         [POSIX] (gid_t): Likewise.
2081         [POSIX] (off_t): Likewise.
2082         [POSIX] (pid_t): Likewise.
2083         [POSIX] (cuserid): Allow.
2084         (_SC_2_CHAR_TERM): Require constant.
2085         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2086         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2087         variable.
2089 2015-05-20  Roland McGrath  <roland@hack.frob.com>
2091         * sysdeps/nacl/pthread-pids.h: New file.
2092         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2093         (create_thread): Use __nacl_get_tid to initialize PD->tid.
2095         * nptl/pthread-pids.h: New file.
2096         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2097         * nptl/nptl-init.c: Include <pthread-pids.h>.
2098         (__pthread_initialize_minimal_internal):
2099         Call __pthread_initialize_pids instead of set_tid_address syscall.
2101         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2102         * sysdeps/posix/usleep.c: ... here.
2104 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2106         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2107         call_pselect6 object.
2108         [$(subdir) = io]: Remove call_sync_file_range object.
2109         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2110         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2111         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2112         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2114 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
2116         * math/s_cproj.c: Add include "math_private.h".
2117         * math/s_cprojf.c: Likewise.
2118         * math/s_cprojl.c: Likewise.
2120 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
2122         [BZ #18244]
2123         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2124         high mantissa bit when testing whether P is a NaN.
2125         * math/libm-test.inc (remainder_test_data): Add more tests.
2126         (remquo_test_data): Likewise.
2128         [BZ #18049]
2129         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2130         below -32, return the argument, with underflow if subnormal.
2131         * math/auto-libm-test-in: Add more tests of atanh.
2132         * math/auto-libm-test-out: Regenerated.
2134 2015-05-19  Roland McGrath  <roland@hack.frob.com>
2136         [BZ #18434]
2137         * nptl/tst-sem15.c: New file.
2138         * nptl/Makefile (tests): Add it.
2139         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2140         s/<</>>/ to fix typo in EOVERFLOW check.
2141         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2143 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2145         * manual/strings.texi (envz_remove): Fix typo in safety
2146         annotations.
2148 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2149             Steve Ellcey  <sellcey@imgtec.com>
2151         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2152         in order to avoid strict alias warnings.
2153         (iruserok_af): Ditto for ra.
2155 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
2157         [BZ #17581]
2158         * malloc/hooks.c
2159         (magicbyte): Convert to a function and avoid returning 0x01.
2160         (mem2mem_check): Avoid using a length byte equal to the magic byte.
2161         (mem2chunk_check): Fix unsigned comparisons to zero.
2162         Hoist defs of sz and magic.
2164 2015-05-19  Richard Henderson  <rth@redhat.com>
2166         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2168         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2170 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2172         [BZ #16159]
2173         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2174         * malloc/arena.c (arena_lock): Check if arena is corrupt.
2175         (reused_arena): Find a non-corrupt arena.
2176         (heap_trim): Pass arena to unlink.
2177         * malloc/hooks.c (malloc_check_get_size): Pass arena to
2178         malloc_printerr.
2179         (top_check): Likewise.
2180         (free_check): Likewise.
2181         (realloc_check): Likewise.
2182         * malloc/malloc.c (malloc_printerr): Add arena argument.
2183         (unlink): Likewise.
2184         (munmap_chunk): Adjust.
2185         (ARENA_CORRUPTION_BIT): New macro.
2186         (arena_is_corrupt): Likewise.
2187         (set_arena_corrupt): Likewise.
2188         (sysmalloc): Use mmap if there are no usable arenas.
2189         (_int_malloc): Likewise.
2190         (__libc_malloc): Don't fail if arena_get returns NULL.
2191         (_mid_memalign): Likewise.
2192         (__libc_calloc): Likewise.
2193         (__libc_realloc): Adjust for additional argument to
2194         malloc_printerr.
2195         (_int_free): Likewise.
2196         (malloc_consolidate): Likewise.
2197         (_int_realloc): Likewise.
2198         (_int_memalign): Don't touch corrupt arenas.
2199         * malloc/tst-malloc-backtrace.c: New test case.
2201         * Makefile (summarize-tests): Fix return value on success.
2203         * manual/string.texi (Envz Functions): Add envz_remove.
2205 2015-05-18  Roland McGrath  <roland@hack.frob.com>
2207         * sysdeps/posix/opendir.c: Include <stdbool.h>.
2208         (invalid_name): New function, broken out of ...
2209         (__opendirat): ... here.  Call it.
2210         (need_isdir_precheck): New function, broken out of ...
2211         (__opendirat): ... here.  Call it.
2212         Use __fxstatat64, not __xstatat64.
2213         (opendir_oflags): New function, broken out of ...
2214         (__opendirat): ... here.  Call it.
2215         (opendir_tail): New function, broken out of ...
2216         (__opendirat): ... here.  Call it.
2217         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2218         opendir_tail, rather than punting to __opendirat.
2219         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2221 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2223         * .gitignore: Ignore generated *.pyc.
2225 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
2227         * include/stdio.h: Define __need_wint_t.
2228         * test-skeleton.c: Avoid `for' loop initial declaration.
2229         * nptl/tst-initializers1.c: Use test-skeleton.c.
2231 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2233         [BZ #18418]
2234         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2236 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2238         [BZ #16352]
2239         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2240         (__ieee754_atanh): Force underflow exception for results with
2241         small absolute value.
2242         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2243         (__ieee754_atanhf): Force underflow exception for results with
2244         small absolute value.
2245         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2246         (__ieee754_atanh): Force underflow exception for results with
2247         small absolute value.
2248         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2249         (__ieee754_atanhf): Force underflow exception for results with
2250         small absolute value.
2251         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2252         (__ieee754_atanhl): Force underflow exception for results with
2253         small absolute value.
2254         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2255         (__ieee754_atanhl): Force underflow exception for results with
2256         small absolute value.
2257         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2258         (__ieee754_atanhl): Force underflow exception for results with
2259         small absolute value.
2260         * math/auto-libm-test-in: Do not allow missing underflow
2261         exceptions from atanh.
2262         * math/auto-libm-test-out: Regenerated.
2264         [BZ #18221]
2265         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2266         2**-28 as threshold for returning x or +/- 1/x.
2267         * math/auto-libm-test-in: Add more tests of tan.
2268         * math/auto-libm-test-out: Regenerated.
2270         [BZ #18220]
2271         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2272         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2273         * math/auto-libm-test-in: Add another test of lgamma.
2274         * math/auto-libm-test-out: Regenerated.
2276 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
2278         * stdio-common/printf_fp.c (___printf_fp): Use abs.
2279         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
2280         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2281         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2282         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
2283         (ADD2A): Use fabs.  (SUB2A): Use fabs.
2284         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2285         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2286         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2287         (log1): Use fabs.  (my_log2): Use fabs.
2288         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2289         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2290         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2291         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2292         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2293         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
2294         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
2295         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
2296         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
2297         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2298         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2300 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2302         [BZ #18217]
2303         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2304         as threshold for returning 1 - x.
2305         * math/auto-libm-test-in: Add more tests of erfc.
2306         * math/auto-libm-test-out: Regenerated.
2308 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
2310         [BZ #18196]
2311         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2312         threshold for large arguments.
2313         * math/auto-libm-test-in: Add another test of atan.
2314         * math/auto-libm-test-out: Regenerated.
2316         [BZ #16339]
2317         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2318         (__log1p): Force underflow exception for results with small
2319         absolute value.
2320         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2321         (__log1pf): Force underflow exception for results with small
2322         absolute value.
2323         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2324         (__log1p): Force underflow exception for results with small
2325         absolute value.
2326         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2327         (__log1pf): Force underflow exception for results with small
2328         absolute value.
2329         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2330         (__log1pl): Force underflow exception for results with small
2331         absolute value.
2332         * math/auto-libm-test-in: Do not allow missing underflow
2333         exceptions from log1p.
2334         * math/auto-libm-test-out: Regenerated.
2336 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
2337             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2339         [BZ #16704]
2340         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2342 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
2344         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2345         (libmvec): New variable.
2346         * configure.ac: Added option for mathvec build.
2347         * configure: Regenerated.
2348         * mathvec/Depend: New file.
2349         * mathvec/Makefile: New file.
2350         * shlib-versions: Added libmvec.
2351         * math/Makefile: Added rule for libm.so installation.
2353         * bits/math-vector.h: New file.
2354         * bits/libm-simd-decl-stubs.h: New header.
2355         * math/Makefile (headers): Added new header
2356         libm-simd-decl-stubs.h.
2357         * math/math.h (__MATHCALL_VEC): New macro.
2359         * math/gen-libm-have-vector-test.sh: Script generates series of macros
2360         for conditions in testing functions.
2361         * math/Makefile: Added call of libm-have-vector-test.sh.
2362         * math/libm-test.inc (HAVE_VECTOR): New macros.
2364         * math/libm-test.inc: START refactored.
2365         * math/test-double.c (TEST_MATHVEC): Add define.
2366         * math/test-float.c: Likewise.
2367         * math/test-idouble.c: Likewise.
2368         * math/test-ifloat.c: Likewise.
2369         * math/test-ildoubl.c: Likewise.
2370         * math/test-ldouble.c: Likewise.
2371         * sysdeps/generic/math-tests-arch.h
2372         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2373         architecture check.
2375         * math/test-double.c (FUNC_TEST): New macro.
2376         * math/test-float.c: Likewise.
2377         * math/test-idouble.c: Likewise.
2378         * math/test-ifloat.c: Likewise.
2379         * math/test-ildoubl.c: Likewise.
2380         * math/test-ldouble.c: Likewise.
2381         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2383 2015-05-13  Roland McGrath  <roland@hack.frob.com>
2385         * sysdeps/nacl/fdopendir.c: New file.
2387         * dirent/scandir-tail.c: New file.
2388         * dirent/scandir64-tail.c: New file.
2389         * dirent/Makefile (routines): Add them.
2390         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2391         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2392         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2393         [!SCANDIR] (SCANDIR_TAIL): New macro.
2394         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2395         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2396         (SCANDIRAT): Macro removed.
2397         (SCANDIR_TAIL): New macro.
2398         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2399         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2400         (SCANDIRAT): Just call __opendirat and __scandir_tail.
2401         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2402         (READDIR): Macro removed.
2403         (SCANDIR_TAIL): New macro.
2404         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2405         (SCANDIR_TAIL): New macro.
2407         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2408         * dirent/scandir-cancel.c: ... to this new file.
2409         * dirent/Makefile (routines): Add it.
2410         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2411         * sysdeps/unix/sysv/linux/i386/scandir64.c
2412         (SKIP_SCANDIR_CANCEL): Macro removed.
2413         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2415         * dirent/tst-scandir.c: New file.
2416         * dirent/tst-scandir64.c: New file.
2417         * dirent/Makefile (tests): Add them.
2419 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2421         [BZ #18409]
2422         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2424 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2426         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2427         list.
2429 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
2431         * benchtests/bench-strcoll.c: New benchmark.
2432         * benchtests/Makefile: Generate locales and run benchmark.
2433         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2434         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2435         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2436         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2437         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2438         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2439         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2440         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2441         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2442         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2443         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2444         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2445         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2446         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2447         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2448         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2449         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2450         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2451         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2452         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2453         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2454         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2455         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2456         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2458 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
2460         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2461         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2463 2015-05-12  Roland McGrath  <roland@hack.frob.com>
2465         * posix/uname-values.h: New file.
2466         * posix/uname.c: Include that instead of <config-name.h>.
2467         * sysdeps/nacl/uname-values.h: New file.
2468         * sysdeps/arm/nacl/uname-values.h: New file.
2470 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
2472         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2473         splitting into fields.
2475 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
2477         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2478         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2479         * locale/localeinfo.h: Add enum collation_encoding_type.
2480         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2481         * programs/ld-collate.c (collate_output): Add encoding type info.
2482         * string/strcoll_l.c (STRDIFF): New function.
2483         * (STRCOLL): Use STRDIFF to skip over equal prefix.
2484         * wcsmbs/wcscoll_l.c: Define STRDIFF.
2486 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
2488         [BZ #18397]
2489         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2490         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
2491         <fpu_control.h> instead of <math/fpu_control.c>.
2492         * sysdeps/mips/mips32/fpu/Makefile: New file.
2494 2015-05-11  Andreas Schwab  <schwab@suse.de>
2496         [BZ #18007]
2497         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2498         nss_endgrent.
2499         (_nss_compat_endgrent): Call nss_endgrent.
2500         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2501         nss_endpwent.
2502         (_nss_compat_endpwent): Call nss_endpwent.
2503         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2504         needent, call nss_setspent only if non-zero.
2505         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2506         (internal_endspent): Don't call nss_endspent.
2507         (_nss_compat_endspent): Call nss_endspent.
2508         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2509         Remove.  All uses removed.
2510         (internal_setent): Remove parameter stayopen, add parameter
2511         stream.  Use it instead of global variable.
2512         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2513         (internal_endent, internal_getent): Add parameter stream.  Use it
2514         instead of global variable.
2515         (CONCAT(_nss_files_end,ENTNAME))
2516         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2517         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
2518         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
2519         uses removed.
2520         (internal_setent, internal_endent): Add parameter stream.  Use it
2521         instead of global variable.
2522         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2523         stream.
2524         (get_next_alias): Add parameter stream.
2525         (_nss_files_getaliasent_r): Pass global stream.
2526         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
2527         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2528         (_nss_files_gethostbyname4_r): Pass local stream to
2529         internal_setent, internal_getent and internal_endent.  Remove
2530         locking.
2532 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2534         * tst-strfmon1.c (tests): Update expected currency symbol.
2536 2015-05-08  Roland McGrath  <roland@hack.frob.com>
2538         * sysdeps/nacl/gethostname.c: New file.
2540 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
2542         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2543         and sinh.
2544         * math/auto-libm-test-out: Regenerated.
2545         * sysdeps/i386/fpu/libm-test-ulps: Update.
2546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2548 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
2550         [BZ #18125]
2551         * stdlib/tst-setcontext3.c: New file.
2552         * stdlib/tst-setcontext3.sh: New file.
2553         * stdlib/Makefile (tests): Add tst-setcontext3.
2554         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2555         to verify test program created output file.
2556         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2557         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2558         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2559         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2561 2015-05-06  Roland McGrath  <roland@hack.frob.com>
2563         [BZ #18383]
2564         * elf/tst-tlsalign.c: New file.
2565         * elf/tst-tlsalign-static.c: New file.
2566         * elf/tst-tlsalign-lib.c: New file.
2567         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2568         (tests-static): Add tst-tlsalign-static.
2569         (modules-names): Add tst-tlsalign-lib.
2570         (test-xfail-tst-tlsalign): New variable.
2571         (test-xfail-tst-tlsalign-static): New variable.
2573         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2574         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2576 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
2578         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2579         csqrt, erfc, sin and sincos.
2580         * math/auto-libm-test-out: Regenerated.
2581         * sysdeps/i386/fpu/libm-test-ulps: Update.
2582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2584 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2586         * sysdeps/aarch64/libm-test-ulps: Update.
2588 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
2590         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2591         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2592         * math/auto-libm-test-out: Regenerated.
2593         * sysdeps/i386/fpu/libm-test-ulps: Update.
2594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2596 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
2598         [BZ #18265]
2599         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2600         (wcsncpy): Likewise.
2602 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2604         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2605         Assume __ASSUME_FALLOCATE is always true.
2606         * sysdeps/unix/sysv/linux/posix_fallocate64.c
2607         (__posix_fallocate64_l64): Likweise.
2608         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2609         (posix_fallocate): Likewise.
2610         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2611         (__posix_fallocate64_l64): Likewise.
2612         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2613         [!__ASSUME_FALLOCATE]: Add comment.
2615 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2617         * sysdeps/unix/sysv/linux/i386/Makefile
2618         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2619         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2620         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2621         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2622         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2623         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2624         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2626 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
2628         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2629         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2630         tgamma.
2631         * math/auto-libm-test-out: Regenerated.
2632         * sysdeps/i386/fpu/libm-test-ulps: Update.
2633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2635 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2637         * math/auto-libm-test-in: Add more tests of tgamma.
2638         * math/auto-libm-test-out: Regenerated.
2639         * sysdeps/i386/fpu/libm-test-ulps: Update.
2640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2642         * math/auto-libm-test-in: Add more tests of tanh.
2643         * math/auto-libm-test-out: Regenerated.
2644         * sysdeps/i386/fpu/libm-test-ulps: Update.
2645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2647         * math/auto-libm-test-in: Add more tests of tan.
2648         * math/auto-libm-test-out: Regenerated.
2649         * sysdeps/i386/fpu/libm-test-ulps: Update.
2650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2652         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2653         * math/auto-libm-test-out: Regenerated.
2654         * sysdeps/i386/fpu/libm-test-ulps: Update.
2655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2657         * math/auto-libm-test-in: Add another test of pow.
2658         * math/auto-libm-test-out: Regenerated.
2659         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2661         * math/auto-libm-test-in: Add more tests of lgamma.
2662         * math/auto-libm-test-out: Regenerated.
2663         * sysdeps/i386/fpu/libm-test-ulps: Update.
2664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2666         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2667         log1p.
2668         * math/auto-libm-test-out: Regenerated.
2669         * sysdeps/i386/fpu/libm-test-ulps: Update.
2670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2672 2015-05-01  Mark Wielaard  <mjw@redhat.com>
2674         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2675         Elf64_Chdr structs and ELFCOMPRESS constants.
2677 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2679         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2680         expm1.
2681         * math/auto-libm-test-out: Regenerated.
2682         * sysdeps/i386/fpu/libm-test-ulps: Update.
2683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2685         * math/auto-libm-test-in: Add more tests of erf and erfc.
2686         * math/auto-libm-test-out: Regenerated.
2687         * sysdeps/i386/fpu/libm-test-ulps: Update.
2688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2690 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2692         * config.h.in (HAVE_AARCH64_BE): Add.
2694 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
2696         * math/auto-libm-test-in: Add more tests of csqrt.
2697         * math/auto-libm-test-out: Regenerated.
2698         * sysdeps/i386/fpu/libm-test-ulps: Update.
2699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2701         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2702         * math/auto-libm-test-out: Regenerated.
2703         * sysdeps/i386/fpu/libm-test-ulps: Update.
2704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2706         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2708 2015-04-29  Roland McGrath  <roland@hack.frob.com>
2710         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2711         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2713         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2714         (euidaccess, eaccess): Define as weak aliases.
2716         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2717         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
2718         but __suseconds_t is often 'long int' so some sources assume that
2719         type is being used (e.g. they use %ld to print tv_usec).
2721 2015-04-29  Florian Weimer  <fweimer@redhat.com>
2723         [BZ #18007]
2724         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2725         (CVE-2014-8121)
2726         * nss/tst-nss-getpwent.c: New file.
2727         * nss/Makefile (tests): Add new test.
2729 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
2731         [BZ #18346]
2732         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2733         exponents less than 48 as cases where high part of mantissa needs
2734         examining to determine whether argument is integral.
2735         * math/libm-test.inc (round_test_data): Add more tests.
2737 2015-04-28  Mark Wielaard  <mjw@redhat.com>
2739         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2741 2015-04-27  David S. Miller  <davem@davemloft.net>
2743         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2744         __tls_get_addr.
2745         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2747 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
2749         [BZ#18333]
2750         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2752 2015-04-27  Florian Weimer  <fweimer@redhat.com>
2754         [BZ#18333]
2755         * time/tzset.c (parse_tzname): Return error on memory allocation
2756         failure.
2757         * test-skeleton.c (struct temp_name_list): Change type of name
2758         member to non-const.
2759         (add_temp_file): Create a copy of the file name.
2760         (delete_temp_files): Deallocate memory.
2761         (create_temp_file): Add comment.
2763 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2765         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2766         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2768 2015-04-24  Roland McGrath  <roland@hack.frob.com>
2770         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2771         * sysdeps/arm/configure: Regenerated.
2773 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2775         [BZ #17715]
2776         * time/tzfile.c (__tzfile_read): Check for large values of
2777         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
2778         * time/tzset.c (__tzstring_len): New function, based on the old
2779         __tzstring function.
2780         (__tzstring): Call __tzstring_len.
2781         (parse_tzname): New helper function extracted from
2782         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
2783         the input string.
2784         (parse_offset): New helper function extracted from
2785         __tzset_parse_tz.  Replace switch with fallthrough with
2786         initialization before sscanf.
2787         (parse_rule): Likewise.
2788         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
2789         new-style function definition.
2790         * timezone/Makefile (tests): Add tst-tzset.
2791         (tst-tzset.out): Dependencies on time zone files.
2792         (tst-tzset-ENV): Set TZDIR.
2793         (testdata/XT%): Copy crafted time zone files.
2794         * timezone/README: Mention crafted time zone files.
2795         * timezone/testdata/XT1, timezone/testdata/XT2,
2796         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2797         files.
2798         * timezone/tst-tzset.c: New test.
2800 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2802         * Makeconfig (+gccwarn): Remove -Winline.
2804 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2806         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2808 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2810         * NEWS: Mention sysconf() cache information support for s390.
2811         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2813 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
2815         * math/k_casinh.c (__kernel_casinh): Use __copysign.
2816         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2817         (__nearbyint): Likewise.
2818         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2819         (copysignl): Likewise.
2821 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
2823         [BZ #18287]
2824         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2825         based on padding.  (CVE-2015-1781)
2827 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2829         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2830         libc-vdso.h.
2831         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2832         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2833         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2834         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2835         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2836         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2837         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2838         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2839         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2840         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2841         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2842         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2843         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2844         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2845         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2846         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2847         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2848         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2849         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2850         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2851         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2852         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2853         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2855 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
2857         * stdlib/setenv.c (__add_to_environ):
2858         Dump core quickly if setenv (..., NULL, ...) is called.
2859         This time, do it the right way, and pacify GCC with a pragma.
2861 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2863         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2864         IMAP->l_prev cannot be null, and #if out the code for the contrary
2865         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2866         believe that NS (&_dl_ns[NSID]) could point outside the array.
2868         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2869         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2870         before using NSID as an index.
2872 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
2874         [BZ #17825]
2875         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2876         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2877         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2879 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2881         Add preliminary port to Google Native Client on ARM.
2882         * abi-tags (.*-.*-nacl.*): New entry.
2883         * sysdeps/arm/nacl: New directory.
2884         * sysdeps/nacl: New directory.
2886 2015-04-16  David S. Miller  <davem@davemloft.net>
2888         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2889         lowlevellock-futex.h
2891 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
2893         * sysdeps/tile/configure.ac: New file.
2894         * sysdeps/tile/configure: Regenerated.
2896 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2898         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
2899         conditionals for weak_alias and libc_hidden_weak.
2900         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2901         libc_hidden_weak and weak_alias.
2902         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2903         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2904         and weak_alias for static one.
2906 2015-04-15  David S. Miller  <davem@davemloft.net>
2908         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2910 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2912         [BZ #18206]
2913         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2914           Use signed comparision instead of substraction to avoid
2915           overflow bug.
2916         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2917           Take the sign of ret.
2918         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2919           Do not expect precise return values. Only the sign matters.
2920         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2921         * wcsmbs/test-wcsncmp.c: New File.
2922         * string/test-strncmp.c: Add wcsncmp support.
2924 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2926         [BZ #6792]
2927         * math/w_log1p.c: New file.
2928         * math/w_log1pf.c: Likewise.
2929         * math/w_log1pl.c: Likewise.
2930         * math/Makefile (libm-calls): Add w_log1p.
2931         * math/s_log1pl.c (log1pl): Remove weak_alias.
2932         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2933         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2934         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2935         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2936         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2937         [NO_LONG_DOUBLE] (log1pl): Likewise.
2938         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2939         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2940         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2941         (log1p): Remove long_double_symbol.
2942         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2943         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2944         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2945         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2946         remove weak_alias for corresponding log1p function.
2947         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2948         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2949         * sysdeps/ia64/fpu/w_log1p.c: New file.
2950         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2951         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2952         * math/libm-test.inc (log1p_test_data): Add errno expectations.
2954 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
2956         [BZ #18247]
2957         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2958         decimal exponent by 1.
2959         * stdlib/tst-strtod-round-data: Add more tests.
2960         * stdlib/tst-strtod-round.c (tests): Regenerated.
2962 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
2964         * math/auto-libm-test-in: Add more tests of clog and clog10.
2965         * math/auto-libm-test-out: Regenerated.
2966         * sysdeps/i386/fpu/libm-test-ulps: Update.
2967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2969 2015-04-09  Roland McGrath  <roland@hack.frob.com>
2971         * Makeconfig (module-cppflags): Exclude all .v.i files.
2972         (skip-module-cppflags): Variable removed.
2974         * configure.ac (libc_config_ok): Initialize before reading
2975         preconfigure scripts, not after.
2976         * configure: Regenerated.
2978         * test-skeleton.c (TIMEOUT): Move #define to top level.
2979         (main): Grok environment variable TEST_DIRECT.  If set, print
2980         test expectation details into that file and then behave as if
2981         given --direct.
2983 2015-04-09  Florian Weimer  <fweimer@redhat.com>
2985         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2986         warning on 32-bit.
2988 2015-04-08  David S. Miller  <davem@davemloft.net>
2990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2992 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2994         * math/auto-libm-test-in: Add more tests of atanh.
2995         * math/auto-libm-test-out: Regenerated.
2996         * sysdeps/i386/fpu/libm-test-ulps: Update.
2997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2999         * math/auto-libm-test-in: Add more tests of atan.
3000         * math/auto-libm-test-out: Regenerated.
3001         * sysdeps/i386/fpu/libm-test-ulps: Update.
3002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3004 2015-04-08  Florian Weimer  <fweimer@redhat.com>
3006         * elf/pldd.c (main): Rewrite to use struct
3007         scratch_buffer instead of extend_alloca.
3008         * elf/pldd-xx.c (find_maps): Likewise.
3009         * grp/initgroups.c: Include <scratch_buffer.h> instead of
3010         <alloca.h>.
3011         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3012         scratch_buffer instead of extend_alloca.
3013         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3014         grp/compat-initgroups.c.
3015         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3016         Rewrite to use struct scratch_buffer instead of extend_alloca.
3017         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3018         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3020 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3022         * math/auto-libm-test-in: Add more tests of cbrt.
3023         * math/auto-libm-test-out: Regenerated.
3024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3026         * math/auto-libm-test-in: Add more tests of cabs.
3027         * math/auto-libm-test-out: Regenerated.
3028         * sysdeps/i386/fpu/libm-test-ulps: Update.
3029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3031         [BZ #18210]
3032         [BZ #18211]
3033         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3034         (__ieee754_atan2): Set FE_TONEAREST mode for internal
3035         computations.
3036         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3037         clog10.
3038         * math/auto-libm-test-out: Regenerated.
3039         * sysdeps/i386/fpu/libm-test-ulps: Update.
3040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3042         [BZ #18197]
3043         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3044         (atan): Set FE_TONEAREST mode for internal computations.
3045         * math/auto-libm-test-in: Add more tests of atan.
3046         * math/auto-libm-test-out: Regenerated.
3048 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
3050         [BZ #17930]
3051         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3053 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3055         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3057 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3059         * include/scratch_buffer.h: New file.
3060         * malloc/scratch_buffer_grow.c: Likewise.
3061         * malloc/scratch_buffer_grow_preserve.c: Likewise.
3062         * malloc/scratch_buffer_set_array_size.c: Likewise.
3063         * malloc/tst-scratch_buffer.c: Likewise.
3064         * malloc/Makefile (routines): Add scratch_buffer_grow.
3065         (tests): Add test case.
3066         * malloc/Versions (GLIBC_PRIVATE): Export
3067         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3068         __libc_scratch_buffer_set_array_size.
3070 2015-04-06  Richard Henderson  <rth@redhat.com>
3072         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3073         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3075         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3076         unsigned int before printing.
3078 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3080         [BZ #17596]
3081         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3082         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3084 2015-04-02  Florian Weimer  <fweimer@redhat.com>
3086         * include/libc-internal.h (libc_max_align_t): Define.
3088 2015-04-02  Andreas Schwab  <schwab@suse.de>
3090         [BZ #16850]
3091         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3093 2015-04-02  Mel Gorman  <mgorman@suse.de>
3095         [BZ #17195]
3096         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3097         as well as the main arena.
3099 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3101         [BZ #18185]
3102         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3103         sharing L2 cache to 2 for Silvermont/Knights Landing.
3105 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3107         [BZ #17711]
3108         * config.make.in (have-protected-data): New.
3109         * configure.ac: Check linker support for protected data symbol.
3110         * configure: Regenerated.
3111         * elf/Makefile (modules-names): Add tst-protected1moda and
3112         tst-protected1modb if $(have-protected-data) is yes.
3113         (tests): Add tst-protected1a and tst-protected1b if
3114         $(have-protected-data) is yes.
3115         ($(objpfx)tst-protected1a): New.
3116         ($(objpfx)tst-protected1b): Likewise.
3117         (tst-protected1modb.so-no-z-defs): Likewise.
3118         * elf/tst-protected1a.c: New file.
3119         * elf/tst-protected1b.c: Likewise.
3120         * elf/tst-protected1mod.h: Likewise.
3121         * elf/tst-protected1moda.c: Likewise.
3122         * elf/tst-protected1modb.c: Likewise.
3124 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3126         [BZ #17711]
3127         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3128         indicates it is called from do_lookup_x on relocation against
3129         protected data, skip the data definion in the executable from
3130         copy reloc.
3131         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3132         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3133         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3134         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3135         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3136         otherwise to 0.
3137         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3138         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3139         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3140         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3141         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3142         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3144 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
3146         * sysdeps/nptl/pthread.h: Remove duplicate definition of
3147         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3149 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
3151         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3152         THREAD_SETMEM_NC.
3153         * sysdeps/x86_64/nptl/tls.h: Ditto.
3155 2015-03-27  Roland McGrath  <roland@hack.frob.com>
3157         * dlfcn/tststatic.c (main): Converted to ...
3158         (do_test): ... this.
3159         (TEST_FUNCTION): New macro.
3160         Include test-skeleton.c.
3162 2015-03-26  Alan Modra  <amodra@gmail.com>
3164         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3165         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
3166         zero for undefined weak.
3167         (elf_machine_plt_conflict): Similarly.
3169 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3171         * math/auto-libm-test-in: Add more tests of acosh, asinh and
3172         atanh.
3173         * math/auto-libm-test-out: Regenerated.
3174         * sysdeps/i386/fpu/libm-test-ulps: Update.
3175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3177         * math/auto-libm-test-in: Add another test of asin.
3178         * math/auto-libm-test-out: Regenerated.
3179         * sysdeps/i386/fpu/libm-test-ulps: Update.
3180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3182         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3183         Remove macro.
3184         (LLL_EBX_REG): Likewise.
3185         (LLL_ENTER_KERNEL): Likewise.
3187         * math/auto-libm-test-in: Add more tests of asin.
3188         * math/auto-libm-test-out: Regenerated.
3189         * sysdeps/i386/fpu/libm-test-ulps: Update.
3190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3192         [BZ #18138]
3193         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3194         libc_do_syscall_args): New structure.
3195         (INTERNAL_SYSCALL_MAIN_0): New macro.
3196         (INTERNAL_SYSCALL_MAIN_1): Likewise.
3197         (INTERNAL_SYSCALL_MAIN_2): Likewise.
3198         (INTERNAL_SYSCALL_MAIN_3): Likewise.
3199         (INTERNAL_SYSCALL_MAIN_4): Likewise.
3200         (INTERNAL_SYSCALL_MAIN_5): Likewise.
3201         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
3202         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3203         Replace conditional definitions by conditional definitions of ....
3204         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
3205         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3206         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3207         (libpthread-sysdep_routines): Add libc-do-syscall.
3208         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3209         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3210         to __NR_futex not 240.
3212 2015-03-25  Alan Modra  <amodra@gmail.com>
3214         * NEWS: Advertise TLS optimization.
3215         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3216         (DT_PPC_NUM): Increment.
3217         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3218         (CHECK_STATIC_TLS): Use here.
3219         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3220         TLS descriptors.
3221         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3222         * sysdeps/powerpc/dl-tls.c: New file.
3223         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3224         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3225         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3226         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3231 2015-03-25  Alan Modra  <amodra@gmail.com>
3233         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3234         for overlapping .opd entries" to "support...".
3235         * sysdeps/powerpc/powerpc64/configure: Regenerate
3237 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3239         * math/auto-libm-test-in: Add more tests of acos.
3240         * math/auto-libm-test-out: Regenerated.
3241         * sysdeps/i386/fpu/libm-test-ulps: Update.
3242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3244         * math/auto-libm-test-in: Add more tests of expm1.
3245         * math/auto-libm-test-out: Regenerated.
3246         * sysdeps/i386/fpu/libm-test-ulps: Update.
3247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3249 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
3251         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3252         * math/auto-libm-test-out: Regenerated.
3253         * sysdeps/i386/fpu/libm-test-ulps: Update.
3254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3256         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3259         * math/auto-libm-test-in: Add more tests of log2.
3260         * math/auto-libm-test-out: Regenerated.
3261         * sysdeps/i386/fpu/libm-test-ulps: Update.
3262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3264 2015-03-23  Roland McGrath  <roland@hack.frob.com>
3266         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3267         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
3268         _IO_IS_APPENDING bit in READ_WRITE instead.
3270 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3272         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3273         (__determine_cpumask_size): Replace extend_alloca with a
3274         variable-length array.  Do not treat res == 0 as an error.
3276 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3278         [BZ #18100]
3279         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3280         and integer overflow.
3281         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3282         (main): Add integer overflow tests.
3283         * manual/pattern.texi (Calling Wordexp): Document additional use
3284         for WRDE_SYNTAX.
3286 2015-03-23  Alan Modra  <amodra@gmail.com>
3288         * config.h.in: Remove HAVE_ASM_PPC_REL16.
3289         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3290         and false branch of conditional.
3291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3292         Likewise.
3294 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
3296         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3297         libc-modules.h
3298         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3299         unused declaration of _hurd_intr_rpc_msg_in_trap.
3300         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3301         defined instead of whether it is non-zero.
3302         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3303         input constraint instead of both input and output constraint.  Use ecx
3304         clobber instead of %ecx.
3305         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3306         mutex_unlock): Use a statement expression instead of an expression list.
3307         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3308         type to vm_size_t instead of vm_address_t.
3309         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3310         defined instead of whether it is non-zero.
3311         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3312         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3313         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3314         comparisons with mapaddr.
3315         * nscd/nscd-client.h: Include <time.h>.
3316         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3317         9th parameter to __vm_region instead of int.
3318         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3319         * scripts/check-local-headers.sh (exclude): Add device/,
3320         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3321         cthreads.h.
3323 2015-03-19  Roland McGrath  <roland@hack.frob.com>
3325         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3326         to account for alignment padding.
3327         * sysdeps/arm/memmove.S: Likewise.
3329 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
3331         * sysdeps/unix/sysv/linux/generic/README: New file.
3333 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
3335         [BZ #18138]
3336         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3337         (futex_abstimed_wait)
3338         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3339         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3340         of lll_futex_timed_wait.
3342 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
3344         [BZ #17542]
3345         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3347 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
3349         [BZ #17090]
3350         [BZ #17620]
3351         [BZ #17621]
3352         [BZ #17628]
3353         * NEWS: Update.
3354         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3355         entries with Static TLS too.  Skip entries past the end of the
3356         allocated DTV, from Alan Modra.
3357         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
3358         Static TLS DTV entry set up from...
3359         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3360         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3361         * nptl/allocatestack.c (init_one_static_tls): ... and here...
3362         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3363         for Static TLS.
3364         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
3365         that the slot we find is associated with the given map before
3366         using its generation count.
3367         * nptl_db/db_info.c: Include ldsodefs.h.
3368         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3369         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3370         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3371         (link_map::l_tls_offset): New struct field.
3372         (dtv_t::counter): Likewise.
3373         (rtld_global): New struct.
3374         (_rtld_global): New rtld variable.
3375         (dl_tls_dtv_slotinfo_list): New rtld global field.
3376         (dtv_slotinfo_list): New struct.
3377         (dtv_slotinfo): Likewise.
3378         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3379         (td_lookup): Rename to...
3380         (td_mod_lookup): ... this.  Use new mod parameter instead of
3381         LIBPTHREAD_SO.
3382         * nptl_db/td_thr_tlsbase.c: Include link.h.
3383         (dtv_slotinfo_list, dtv_slotinfo): New functions.
3384         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
3385         addresses even if the DTV is out of date or missing them.
3386         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3387         index zero-length arrays.
3388         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3389         (td_lookup): Make it a macro implemented in terms of...
3390         (td_mod_lookup): ... this declaration.
3391         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3392         (DB_MAIN_VARIABLE): Likewise.
3394 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3396         [BZ #18134]
3397         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3399 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
3401         * stdlib/setenv.c (__add_to_environ): Revert previous change.
3403 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3405         [BZ #18128]
3406         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3407         (atomic_add, atomic_increment_and_test)
3408         (atomic_decrement_and_test): Fix 64-bit arithmetic.
3410 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
3412         * stdlib/setenv.c (__add_to_environ):
3413         Dump core quickly if setenv (..., NULL, ...) is called.
3415 2015-03-13  Roland McGrath  <roland@hack.frob.com>
3417         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3418         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3419         all the necessary asm magic in one place.
3420         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3421         using those.
3423 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
3425         [BZ #14906]
3426         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3427         traced file mtime. Use consistent log message.
3428         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3429         (register_traced_file): Call install_watches. Always set mtime.
3430         (invalidate_cache): Iterate over all trace files. Call install_watches.
3431         (inotify_check_files): Don't inline. Handle watching parent
3432         directories and configuration file movement in and out.
3433         (handle_inotify_events): New function.
3434         (main_loop_poll): Call handle_inotify_events.
3435         (main_loop_epoll): Likewise.
3436         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3437         (struct traced_file): Use array of inotify fds. Add parent directory,
3438         and basename.
3439         (struct database_dyn): Remove unused file_mtime.
3440         (init_traced_file): New inline function.
3441         (define_traced_file): New macro.
3442         * nss/nss_db/db-init.c: Use define_traced_file.
3443         (_nss_db_init): Use init_traced_file.
3444         * nss/nss_files/files-init.c: Use define_traced_file.
3445         (_nss_files_init): Use init_traced_file.
3447 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
3449         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3450         [_LIBC]: Do not include <stdlib.h>.
3451         [!_LIBC] (abort): Remove declaration.
3452         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3453         _FP_STATIC_ASSERT instead of conditionally calling abort.
3454         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3455         (_FP_EXTEND_CNAN): Likewise.
3456         (FP_TRUNC): Likewise.
3457         (__FP_CLZ): Likewise.
3458         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3460 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
3462         * manual/string.texi (XPG basename): Fix prototype.
3464 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3466         [BZ #18080]
3467         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3468         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3469         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3470         (__setcontext): Likewise.
3471         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3472         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3473         Call rt_sigprocmask syscall one time to set new signal mask
3474         and retrieve the current signal mask instead of two calls.
3475         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3476         (__swapcontext): Likewise.
3477         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3478         * stdlib/tst-setcontext2.c: New file.
3480 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3482         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3484 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
3486         [BZ #18093]
3487         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3488         the wrong size.
3490 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3492         [BZ #18043]
3493         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3495 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3497         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3498         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3499         Remove define.
3500         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3501         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3502         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3503         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3504         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3505         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3506         define.
3507         * nptl_db/td_symbol_list.c (td_lookup): Remove
3508         HAVE_ASM_GLOBAL_DOT_NAME code.
3509         * sysdeps/powerpc/powerpc64/configure.ac: Remove
3510         HAVE_ASM_GLOBAL_DOT_NAME check.
3511         * sysdeps/powerpc/powerpc64/configure: Regenerate.
3512         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3513         (DOT_LABEL): Remove define.
3514         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3515         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3516         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3517         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3518         (__TLS_GET_ADDR): Likewise.
3519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3520         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3522 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
3524         [BZ #18111]
3525         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3526         (_FPU_SETCW): Initialize cw from fpsr before storing.
3527         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3528         (fesetexceptflag): Rewrite using fpu_control.h.
3529         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3531 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
3533         [BZ #18110]
3534         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3535         asms.
3536         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3538 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
3540         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3541         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3542         abort.
3543         (_FP_FMA): Likewise.
3544         (_FP_DIV): Likewise.
3546 2015-03-10  Roland McGrath  <roland@hack.frob.com>
3548         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3549         with 0 in that case.
3550         * Makefile (summarize-tests): New canned sequence, factored out of
3551         commands for targets tests and xtests.  Display summary lines that
3552         don't start with PASS: or XFAIL: rather than ones that do start with
3553         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
3554         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3555         do start with ERROR: or FAIL:.
3556         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3557         (except for [$(build-shared) = yes]).
3558         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3559         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3560         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3561         * nptl/Makefile: Revert 2015-03-04 changes.
3562         [$(CXX) empty] (tests-unsupported): New variable.
3563         * debug/Makefile: Likewise.
3565         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3566         gnulib file.  Replace __attribute with __attribute__ throughout.
3568 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
3570         * sysdeps/hppa/fpu/libm-test-ulps: Update.
3572 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3574         [BZ #18104]
3575         * math/auto-libm-test-in: Add another test of pow.
3576         * math/auto-libm-test-out: Regenerated.
3578 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3580         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3581         $(config-cflags-nofma).
3583 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3585         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3586         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3587         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3588         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3589         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3590         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3591         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3592         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3593         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3594         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3595         Add comment on closing #endif.
3597 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3599         * posix/wordexp.c (CHAR_IN_SET): New macro.
3600         (parse_param): Use it.
3602 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3604         * sysdeps/powerpc/fpu/libm-test-ulps: update.
3606 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3608         [BZ #18043]
3609         * posix/wordexp.c (parse_param): Fix buffer overflow.
3610         * posix/wordexp-test.c (test_case): Add test case.
3612 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3614         [BZ #18042]
3615         * posix/wordexp.c (parse_backtick): Fix off-by-one.
3616         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3618 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3620         [BZ #18043]
3621         * posix/wordexp-test.c (test_case): Add test for BZ #18043
3622         (do_bz18043): Delete.
3623         (at_page_end): New.
3624         (testit): Refactor to have words at the edge of unreadable page.
3626 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3628         [BZ #16734]
3629         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3630         Cleanup read-only streams as well.
3631         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3633 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3635         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3636         <bits/libc-lockP.h>
3638 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
3640         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
3641         on [__KERNEL__].
3642         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3643         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3644         * soft-fp/op-common.h (_FP_DECL): Likewise.
3646 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3648         * elf/ifuncdep2.c (global): Replace
3649         __attribute__((visibility("protected"))) with
3650         asm (".protected global").
3651         * elf/ifuncmod1.c (global): Likewise.
3652         * elf/ifuncmod5.c (global): Likewise.
3654 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
3656         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3657         <asm/sfp-machine.h> instead of <sfp-machine.h>.
3659 2015-03-06  Roland McGrath  <roland@hack.frob.com>
3661         * manual/install.texi (Configuring and compiling):
3662         Document test-wrapper-env-only.
3663         * INSTALL: Regenerated.
3665 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3667         [BZ #18043]
3668         * posix/wordexp.c (parse_param): Fix buffer overflow.
3669         * posix/wordexp-test.c (do_bz18043): Add test case.
3671 2015-03-06  Vincent Bernat  <vincent@bernat.im>
3673         * time/tst-strptime2.c (do_test): Ensure failing tests are
3674         reported correctly.
3675         * time/tst-strptime3.c (do_test): Likewise.
3677 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
3679         Fix aio_error thread-safety.
3680         * sysdeps/pthread/aio_error.c: New file
3681         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3682         synchronization.
3684 2015-03-06  Florian Weimer  <fweimer@redhat.com>
3686         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3687         (group_number, vfprintf): Use it.
3688         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3689         (JUMP, REF): Use it.
3690         (WORK_BUFFER_SIZE): New enum constant.
3691         (process_arg, vfprintf): Use it.
3693 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
3695         * manual/errno.texi (Error Messages): Complete example function
3696         by adding missing #define.
3697         (program_invocation_name): Add statement indicating GNU
3698         extension and reference which header file declares the variable.
3699         (program_invocation_short_name): Likewise.
3701 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
3703         * manual/errno.texi (Error Messages): Delete strerror ISO C89
3704         compatibility note.
3706 2015-03-05  Roland McGrath  <roland@hack.frob.com>
3708         * Makeconfig (test-wrapper-env-only): New variable.
3709         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3710         then use that with $(test-wrapper-env-only) rather than using
3711         $(test-wrapper-env) $(run-program-env) $($*-ENV).
3713 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3715         [BZ #18082]
3716         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3717         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3718         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3719         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3720         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3721         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3722         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3723         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3724         Likewise.
3725         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3726         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3727         Likewise.
3728         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3729         Likewise.
3730         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3731         Likewise.
3732         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3733         Likewise.
3734         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3735         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3736         Likewise.
3737         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3738         Likewise.
3739         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3740         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3742 2015-03-04  Roland McGrath  <roland@hack.frob.com>
3744         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3745         (ETH_ALEN): New macro.
3746         (struct ether_addr): Use it for length of ether_addr_octet.
3748         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3749         (setdb): Don't call __nss_configure_lookup for "rpc".
3750         (do_test): Don't call test_rpc.
3751         (output_rpcent, test_rpc): Functions moved ...
3752         * sunrpc/test-rpcent.c: ... to this new file.
3753         * sunrpc/Makefile (tests): Add it.
3755         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3756         __xpg_sigpause.
3757         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3758         * nptl/tst-signal6.c: Likewise.
3759         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3760         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3762         * configure.ac (libc_cv_cxx_link_ok): New check.
3763         Reset CXX to empty if it fails to link.
3764         * configure: Regenerated.
3765         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3766         bug-atexit3-lib only if $(CXX) is nonempty.
3767         * nptl/Makefile (tests): Likewise for tst-cancel24.
3768         (tests, tests-static): Likewise for tst-cancel24-static.
3769         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3770         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3771         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3772         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3774 2015-03-04  Andreas Schwab  <schwab@suse.de>
3776         [BZ #17631]
3777         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3778         for non-GCC compilers.
3779         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3780         Likewise.
3782 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3784         [BZ #17776]
3785         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3786         integer before bitwise and assembly operations.
3787         (feclearexcept): Likewise.
3788         * math/test-fenvinline.c: New file.
3789         * math/Makefile: Add test-fenvinline test.
3791 2015-03-03  Alan Modra  <amodra@gmail.com>
3793         [BZ #16512]
3794         * scripts/localplt.awk: Strip off symbol version.
3795         * NEWS: Mention bug fix.
3797 2015-03-02  Roland McGrath  <roland@hack.frob.com>
3799         * sysdeps/pthread/timer_routines.c
3800         (timer_free_list, thread_free_list, thread_active_list): Make static.
3802 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
3804         [BZ #17779]
3805         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3806         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3807         Undefine.
3808         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3809         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3810         Likewise.
3811         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3812         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3813         Likewise.
3815 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
3817         [BZ #18036]
3818         * posix/fnmatch_loop.c (END): Detect invalid pattern.
3819         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3821 2015-03-02  Andreas Schwab  <schwab@suse.de>
3823         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3824         variable name.
3826 2015-03-02  Florian Weimer  <fweimer@redhat.com>
3828         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3829         Return error status.
3831 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
3833         [BZ #15969]
3834         * locale/findlocale.c (_nl_find_locale): Introduce const
3835         version of loc_name and drop unsafe type casts.
3837 2015-02-27  Roland McGrath  <roland@hack.frob.com>
3839         * dlfcn/tststatic2.c (main): Converted to ...
3840         (do_test): ... this.
3841         (TEST_FUNCTION): New macro.
3842         Include test-skeleton.c.
3844 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
3846         [BZ #17711]
3847         * elf/Makefile (tests): Add vismain only if PIE is enabled.
3848         (tests-pie): Add vismain.
3849         (CFLAGS-vismain.c): New.
3850         * elf/vismain.c: Add comments for PIE requirement.
3852 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3854         [BZ #18046]
3855         [BZ #18047]
3856         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3857         0x1p-56L as threshold for just returning the argument.
3858         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3859         0x1p-32L as threshold for just returning the argument.
3860         * math/auto-libm-test-in: Add more tests of atanh.
3861         * math/auto-libm-test-out: Regenerated.
3862         * sysdeps/i386/fpu/libm-test-ulps: Update.
3863         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3865 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3867         * string/bcopy.c (bcopy): Call memmove for performance.
3869 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3871         * string/bzero.c (__bzero): Call memset for performance.
3873 2015-02-27  John David Anglin  <dave.anglin@bell.net>
3875         [BZ #18068]
3876         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3877         to 00100000.
3879 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3881         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3883 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3885         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3886         (__kernel_standard): Use CSTR macro when setting exc.name.
3887         * sysdeps/ieee754/Makefile [$(subdir) = math]
3888         (CFLAGS-k_standard.c): Remove variable.
3890         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3891         setting p and q from "else if" to "else".
3892         (qzero): Likewise.
3893         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3894         (qone): Likewise.
3895         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3896         (qzerof): Likewise.
3897         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3898         (qonef): Likewise.
3899         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3900         (qzero): Likewise.
3901         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3902         (qone): Likewise.
3904         [BZ #18038]
3905         [BZ #18039]
3906         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3907         return pi/2 for arguments below 0x1p-113L.
3908         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3909         return pi/2 for arguments below 0x1p-106L.
3910         * math/auto-libm-test-in: Add more tests of acos.
3911         * math/auto-libm-test-out: Regenerated.
3913         [BZ #16351]
3914         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3915         (MO): New macro.
3916         (__ieee754_asin): Force underflow exception for results with small
3917         absolute value.
3918         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3919         (MO): New macro.
3920         (__ieee754_asinf): Force underflow exception for results with
3921         small absolute value.
3922         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3923         (__ieee754_asin): Force underflow exception for results with small
3924         absolute value.
3925         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3926         (__ieee754_asinf): Force underflow exception for results with
3927         small absolute value.
3928         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3929         (__ieee754_asinl): Force underflow exception for results with
3930         small absolute value.
3931         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3932         (__ieee754_asinl): Force underflow exception for results with
3933         small absolute value.
3934         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3935         (__ieee754_asinl): Force underflow exception for results with
3936         small absolute value.
3937         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3938         Include <math.h>.
3939         * math/auto-libm-test-in: Do not mark underflow exceptions as
3940         possibly missing for bug 16351.
3941         * math/auto-libm-test-out: Regenerated.
3943         [BZ #18030]
3944         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3945         of power of 2 down when low part has opposite sign.
3946         * math/libm-test.inc (logb_test_data): Add more tests.
3948 2015-02-26  Andreas Schwab  <schwab@suse.de>
3950         [BZ #18032]
3951         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3952         over collating symbol inside a bracket expression.  Minor cleanup.
3953         * posix/tst-fnmatch3.c (do_test): Add test case.
3955 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3957         [BZ #18029]
3958         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3959         Adjust exponent of power of 2 down when low part has opposite
3960         sign.
3961         * math/libm-test.inc (ilogb_test_data): Add more tests.
3963 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
3965         [BZ #15969]
3966         * locale/findlocale.c (_nl_find_locale): Fix constness error in
3967         the previous change.
3969         [BZ #15969]
3970         * locale/findlocale.c (_nl_find_locale): Retry archive search
3971         after alias expansion.
3973 2015-02-25  Roland McGrath  <roland@hack.frob.com>
3975         * iconv/tst-iconv3.c (main): Converted to ...
3976         (do_test): ... this.
3977         (TEST_FUNCTION): New macro.
3978         Include test-skeleton.c.
3980         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3981         (convert): Make function static.
3982         (test_unalign): Likewise.  Add const to argument pointee types.
3983         (main): Replace with static function do_test.
3984         Print "Succeeded." only if RET is zero.
3985         (TEST_FUNCTION): New macro.
3986         Include test-skeleton.c.
3988         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3989         returns a null pointer.
3991 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3993         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3994         to __memcpy_ppc only for static builds.
3996 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
3998         [BZ #18020]
3999         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4000         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4001         * math/auto-libm-test-in: Add more tests of asinh.
4002         * math/auto-libm-test-out: Regenerated.
4003         * sysdeps/i386/fpu/libm-test-ulps: Update.
4004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4006 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
4008         [BZ #15850]
4009         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4010         and ip6_mtuinfo definitions here.
4011         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4012         in this define too.  Update comment.
4014 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
4016         * elf/sprof.c (load_shobj): Tweak error message to match others.
4018 2015-02-24  Kevin Easton  <kevin@guarana.org>
4020         [BZ #16145] (partial fix)
4021         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4022         to reduce lock contention.
4024 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
4026         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4027         (struct timex): Update time comment.
4028         (ADJ_SETOFFSET): Define.
4030 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4032         [BZ #18019]
4033         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4034         2**56 not 2**28 as threshold for log (2x) formula.
4035         * math/auto-libm-test-in: Add more tests of acosh.
4036         * math/auto-libm-test-out: Regenerated.
4037         * sysdeps/i386/fpu/libm-test-ulps: Update.
4038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4040 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4042         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4043         parenthesis around the buf assignment.
4044         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4046 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4048         [BZ #16783]
4049         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4050         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4051         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4052         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4053         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4054         * math/libm-test.inc (scalb_test_data): Add more tests.
4056 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4058         [BZ #17916]
4059         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4060         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4062 2015-02-24  Eric Rannaud  <e@nanocritical.com>
4064         [BZ #17523]
4065         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4066         * io/bits/fcntl2.h (open): Use it.
4067         (openat): Likewise.
4068         * io/open.c (__libc_open): Likewise.
4069         * io/open64.c (__libc_open64): Likewise.
4070         * io/open64_2.c (__open64_2): Likewise.
4071         * io/open_2.c (__open_2): Likewise.
4072         * io/openat.c (__openat): Likewise.
4073         * io/openat64.c (__openat64): Likewise.
4074         * io/openat64_2.c (__openat64_2): Likewise.
4075         * io/openat_2.c (__openat_2): Likewise.
4076         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4077         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4078         * sysdeps/posix/open64.c (__libc_open64): Likewise.
4079         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4080         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4081         (__open_nocancel): Likewise.
4082         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4083         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4084         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4086 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4088         [BZ #14841]
4089         * resolv/gethnamaddr.c (getanswer): Skip logging if
4090         RES_USE_DNSSEC is set.
4091         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4093 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4095         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4097 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
4099         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4100         201304L, for Unicode 7.
4102 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
4104         [BZ #17836]
4105         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4106         shared library.  Add gmon-start.os otherwise.
4107         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4108         $(objpfx)gmon-start.os if builing shared library.
4109         ($(objpfx)g$(static-start-installed-name)): Likewise.
4111 2015-02-23  Andreas Schwab  <schwab@suse.de>
4113         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4115 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4117         [BZ #17269]
4118         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4119         (enlarge_userbuf): Likewise.
4121 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
4123         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4124         * math/atest-exp.c (TIMEOUT): Adjust to 200.
4125         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4126         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4128 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
4130         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4131         expression inside statement expression.
4133 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4135         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4136         <sysdeps/nptl/lowlevellock.h> and remove macros and
4137         functions that are now defined there.
4138         (SYS_futex): Remove.
4139         (lll_compare_and_swap): Remove.
4140         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4142 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
4144         [BZ #17999]
4145         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4146         instead of scandirat.
4147         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4148         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4149         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4150         __scandirat.
4151         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4152         (__scandirat): Declare.  Use libc_hidden_proto.
4153         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4154         Remove variable.
4155         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4157 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4159         [BZ #15319]
4160         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4161         (MO): New macro.
4162         (__ieee754_atan2): For results with small absolute value, force
4163         underflow exception and remove excess range and precision from
4164         return value.
4165         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4166         (MO): New macro.
4167         (__ieee754_atan2f): For results with small absolute value, force
4168         underflow exception and remove excess range and precision from
4169         return value.
4170         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4171         (MO): New macro.
4172         (__atan): For results with small absolute value, force underflow
4173         exception and remove excess range and precision from return value.
4174         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4175         (MO): New macro.
4176         (__atanf): For results with small absolute value, force underflow
4177         exception and remove excess range and precision from return value.
4178         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4179         <math.h>.
4180         (__ieee754_atan2): Force underflow exception for results with
4181         small absolute value.
4182         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4183         <math_private.h>.
4184         (atan): Force underflow exception for results with small absolute
4185         value.
4186         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4187         (__atanf): Force underflow exception for results with small
4188         absolute value.
4189         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4190         <math.h>.
4191         (__atanl): Force underflow exception for results with small
4192         absolute value.
4193         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4194         (__atanl): Force underflow exception for results with small
4195         absolute value.
4196         * sysdeps/x86/fpu/bits/mathinline.h
4197         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4198         (__ieee754_atan2): Only define inline for long double.
4199         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4200         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4201         * math/auto-libm-test-in: Do not mark underflow exceptions as
4202         possibly missing for bug 15319.  Add more tests of atan2.
4203         * math/auto-libm-test-out: Regenerated.
4204         * math/libm-test.inc (casin_test_data): Do not mark underflow
4205         exceptions as possibly missing for bug 15319.
4206         (casinh_test_data): Likewise.
4207         * sysdeps/i386/fpu/libm-test-ulps: Update.
4209 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
4211         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4212         * sysdeps/mips/bits/endian.h: Fix comments.
4214 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4216         [BZ #17996]
4217         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4218         (hdestroy_r): Likewise.
4219         (hsearch_r): Likewise.
4220         (__hcreate_r): Declare and use libc_hidden_proto.
4221         (__hdestroy_r): Likewise.
4222         (__hsearch_r): Likewise.
4223         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4224         (hcreate): Call __hcreate_r instead of hcreate_r.
4225         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4226         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4227         as weak alias of __hcreate_r.
4228         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4229         __hdestroy_r.
4230         (hsearch_r): Rename to __hsearch_r and define as weak alias of
4231         __hsearch_r.
4232         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4233         Remove variable.
4234         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4235         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4236         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4237         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4239 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4241         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4242         arena_lock into a single arena_get.
4244 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
4246         * dl-reloc.c: Inlucde libc-internal.h.
4247         (_dl_try_allocate_static_tls): Call ALIGN_UP.
4248         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4249         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4250         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4251         (grow_heap): Likewise.
4252         * malloc/malloc.c: Include libc-internal.h.
4253         (do_check_malloc): Call powerof2.
4254         (sysmalloc): Use pagesize. Call ALIGN_UP.
4255         (systrim): Use pagesize.
4256         (mremap_chunk): Use pagesize. Call ALIGN_UP.
4257         (__libc_valloc): Use pagesize.
4258         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4260 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4262         [BZ #17991]
4263         * include/sys/resource.h (__getrlimit64): Declare.  Use
4264         libc_hidden_proto.
4265         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4266         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
4267         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4268         getrlimit64.
4269         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4270         __getrlimit64.
4271         [!getrlimit64] (getrlimit64): Define as weak alias of
4272         __getrlimit64.  Use libc_hidden_weak.
4273         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4274         using __getrlimit64 not __new_getrlimit64.
4275         (__GI_getrlimit64): Likewise.
4276         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4277         Likewise.
4278         (__GI_getrlimit64): Likewise.
4279         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4281         (getrlimit): Add __getrlimit64 alias.
4282         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4283         Likewise.
4284         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4285         Remove variable.
4286         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4287         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4289 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4291         * libio/fileops.c: Add missing sys/mman.h
4292         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4294 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4296         * manual/math.texi (Errors in Math Functions): Clarify goals
4297         regarding inexact and underflow exceptions.
4299 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4301         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4302         * sysdeps/mips/memset.S: Ditto.
4304 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4306         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4308 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4310         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4311         (__v1longjmp): Remove versioned symbol.
4312         (__v1siglongjmp): Remove alias and versioned symbol.
4313         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4314         (__v2siglongjmp): Likewise.
4316 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4318         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4320 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
4322         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4324 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4326         [BZ #17987]
4327         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4328         zero result does not depend on the sign resulting from
4329         subtraction.
4330         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4331         Likewise.
4332         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4333         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4334         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4335         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4336         * math/libm-test.inc (remquo_test_data): Add more tests.
4338 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
4340         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4341         Problem reported by J William Piggott.
4343 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4345         [BZ #17978]
4346         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4347         products 4 * y and 2 * y where those would overflow.
4348         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4349         Likewise.
4350         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4351         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4352         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4353         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4354         * math/libm-test.inc (remquo_test_data): Add more tests.
4356         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4358         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4359         [defined _COMPILING_NEWLIB].
4360         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4361         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4363         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4364         [!defined __mips_isa_rev || __mips_isa_rev < 6].
4366 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4368         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4369         acquired.
4371 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
4373         [BZ #17792]
4374         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4375         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4376         HOST_STACK_END_ADDR): Likewise.
4378 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
4380         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4381         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4382         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4384 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4386         * sysdeps/generic/c++-types.data: New file.
4387         * sysdeps/generic/ld.abilist: New file.
4388         * sysdeps/generic/libBrokenLocale.abilist: New file.
4389         * sysdeps/generic/libanl.abilist: New file.
4390         * sysdeps/generic/libc.abilist: New file.
4391         * sysdeps/generic/libcrypt.abilist: New file.
4392         * sysdeps/generic/libdl.abilist: New file.
4393         * sysdeps/generic/libm.abilist: New file.
4394         * sysdeps/generic/libpthread.abilist: New file.
4395         * sysdeps/generic/libresolv.abilist: New file.
4396         * sysdeps/generic/librt.abilist: New file.
4398 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4400         [BZ #17569]
4401         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4402         Compute absolute value of x as modified by fmod, not original
4403         value of x.
4404         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4405         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
4406         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
4407         RUN_TEST_ffI_f1_mod8.
4408         (remquo_test_data): Add more tests.
4410 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4412         * sysdeps/init_array/pt-crti.S: New file.
4414 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4416         [BZ #17967]
4417         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4418         __builtin_fmaf instead of relying on contraction of a * b + c.
4420 2015-02-12  J William Piggott  <elseifthen@gmx.com>
4422         [BZ #17969]
4423         * manual/time.texi: correct the zoneinfo path in the TZ Variable
4424         node.
4426 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4428         [BZ #17964]
4429         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4430         __builtin_fma instead of relying on contraction of a * b + c.
4432 2015-02-12  Roland McGrath  <roland@hack.frob.com>
4434         * Makeconfig (ASFLAGS): Add -Werror=undef.
4435         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4436         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4437         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4439         * Makeconfig (after-link): New variable.
4440         (+link-pie, +link-pie-tests): Use it.
4441         (+link-static, +link-static-tests): Likewise.
4442         (+link, +link-tests): Likewise.
4443         * Makerules (build-module, build-module-asneeded): Likewise.
4444         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4445         Likewise.
4446         * elf/Makefile ($(objpfx)ld.so): Likewise.
4448 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4450         [BZ #17965]
4451         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4452         both struct timeval and struct timespec.
4454 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4456         [BZ #16560]
4457         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4458         and redefine.
4459         (__ieee754_exp2l): Do not multiply small fractional parts by
4460         M_LN2l.
4461         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4462         small argument.
4463         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4464         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4465         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4466         * math/auto-libm-test-in: Add more tests of exp2.
4467         * math/auto-libm-test-out: Regenerated.
4469 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4471         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4472         unaligned path.
4474 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4476         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4477         little endian.
4479 2015-02-12  Andreas Schwab  <schwab@suse.de>
4481         [BZ #15790]
4482         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4483         Filter out elision flags from value returned in kind.
4484         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4485         * nptl/tst-pthread-mutexattr.c: New file.
4487 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4489         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4490         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4491         into gnu-gnu, and update comment to refer to abi-tags.
4493 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
4495         [BZ #15467]
4496         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4497         (__sincos): Set errno to EDOM for infinite argument.
4498         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4499         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4500         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4501         (__sincosl): Set errno to EDOM for infinite argument.
4502         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4503         (__sincosl): Set errno to EDOM for infinite argument.
4504         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4505         (__sincosl): Set errno to EDOM for infinite argument.
4506         * math/libm-test.inc (sincos_test_data): Test errno setting.
4508 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
4510         * string/strxfrm_l.c: Remove #define STRCMP.
4511         * string/strcoll_l.c: Remove #define STRLEN.
4512         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4513         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4515 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
4517         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4518         * sysdeps/mips/mips32/sfp-machine.h: ... here.
4519         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4520         * sysdeps/mips/mips64/Makefile: ... here.
4521         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4522         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4523         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4524         * sysdeps/mips/mips64/sfp-machine.h: ... here.
4525         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4526         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4527         * sysdeps/mips/mips64/n64/Implies: Likewise.
4529 2015-02-10  Roland McGrath  <roland@hack.frob.com>
4531         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4532         <sys/time.h>, <string.h>, and <errno.h>.
4533         (dest_offset, dest_address, value, zero): Remove unused variables.
4534         (ldouble): Remove typedef.
4535         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4536         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
4537         1).  Fix code style.
4538         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4539         (check): Function removed.
4540         (CHECK): New macro.
4541         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
4542         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4543         Don't call set_sigaction_FP and remove_sigaction_FP here.
4544         (ldouble_test): Just use 'long double' as macro argument, no need for
4545         the 'ldouble' typedef.
4546         (do_test): Set up SIGFPE handler at start, using plain signal rather
4547         than sigaction.  Fix code style.
4549 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
4551         [BZ #17949]
4552         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4553         jump label.
4555 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4557         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4558         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4560         * sysdeps/powerpc/configure.ac: Remove file.
4561         * sysdeps/powerpc/configure: Likewise.
4563         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4564         [sysdep_routines]: Remove wordcopy-power6 object.
4565         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4566         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4567         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4568         (__memmove_ppc32): Likewise.
4569         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4570         file.
4571         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4572         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4573         Remove preprocessor.
4575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4576         [sysdep_routines]: Remove wide chars objects.
4577         [wcsmbs]: New rule for wide char objects.
4579         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4580         Remove wordcopy-power6 obejct.
4581         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4582         Use local call for wordcopy and memcpy symbols.
4583         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4584         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4585         implementation for loader.
4586         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4588         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4589         Remove wordcopy-power7 object.
4590         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4591         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4592         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4593         (_wordcopy_fwd_dest_aligned): Likewise.
4594         (_wordcopy_bwd_aligned): Likewise.
4595         (_wordcopy_bwd_dest_aligned): Likewise.
4597         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4598         Rewrite to call __memmove_ppc instead of include default
4599         implementation.
4601         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4602         Remove wide chars objects.
4603         [wcsmbs]: New rule for wide char objects.
4605 2015-02-09  Andreas Schwab  <schwab@suse.de>
4607         [BZ #17912]
4608         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4609         in terms of __O_DIRECTORY.
4611 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4613         * time/getdate.c: Include <stdbool.h>.
4614         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4615         call PTR_MANGLE.
4616         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4617         PTR_DEMANGLE.
4619 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
4621         Add ersatz _Static_assert on older C hosts
4622         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4623         pre-C11 C platform that is not known to support _Static_assert.
4625 2015-02-07  Richard Braun  <rbraun@sceen.net>
4627         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4628         sigstate.
4629         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4631 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4633         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4634         priority against unexistent AIO_PRIO_DELTA_MAX.
4635         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4636         instead of int.
4637         * misc/fchflags.c (fchflags): Likewise.
4638         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4639         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4640         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4641         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4642         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4643         Declare macros.
4644         [__USE_MISC] (chflags, fchflags): Declare functions.
4645         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4646         EINVAL when nfds is greater than FD_SETSIZE.
4647         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4648         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4649         45.
4650         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4651         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4652         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4653         MACH_RCV_TIMED_OUT.
4654         * hurd/hurd/signal.h (_hurd_self_sigstate,
4655         _hurd_critical_section_lock, _hurd_critical_section_unlock):
4656         Explicit casts from void *.
4657         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4658         * abi-tags: Rename gnu-gnu os into gnu.
4660         [BZ #4719]
4661         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4662         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4663         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4664         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4665         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4666         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4668         [BZ #17944]
4669         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4670         duplicates ADDR->sun_path with sockaddr LEN limitation.
4671         * sysdeps/mach/hurd/connect.c: Include <string.h>
4672         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4673         * sysdeps/mach/hurd/sendmsg.c: Likewise.
4674         * sysdeps/mach/hurd/sendto.c: Likewise.
4675         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4676         implementing it by hand.
4678 2015-02-06  Roland McGrath  <roland@hack.frob.com>
4680         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4681         Use sfi_breg on ldr.
4682         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4683         Likewise.
4685         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4686         it's defined.
4687         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4688         Test SIGSETXID only if it's defined.
4690         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4692         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4693         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
4695         * nptl/tst-align2.c: Moved ...
4696         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4697         * nptl/Makefile (tests): Remove tst-align2.
4698         * sysdeps/unix/sysv/linux/Makefile
4699         [$(subdir) = nptl] (tests): Add tst-align-clone.
4700         * nptl/tst-getpid1.c: Moved ...
4701         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4702         * nptl/tst-getpid2.c: Moved ...
4703         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4704         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4705         * sysdeps/unix/sysv/linux/Makefile
4706         [$(subdir) = nptl] (tests): ... here.
4707         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4708         * sysdeps/unix/sysv/linux/Makefile
4709         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4711         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4712         Drop trailing \n from perror argument.  Use return rather than exit.
4714         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4715         on [SA_SIGINFO].
4716         * nptl/tst-cancel21.c (do_test): Likewise.
4717         * debug/tst-backtrace6.c: Include <signal.h> first thing.
4718         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4719         [!SA_SIGINFO]: Make it a stub test.
4721         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4722         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4724         * posix/tst-getlogin.c: Move to ...
4725         * login/tst-getlogin.c: ... here.
4726         * posix/Makefile (tests): Move tst-getlogin to ...
4727         * login/Makefile (tests): ... here.
4729         * libio/tst-atime.c (do_test): Move local variables SV and E
4730         inside [ST_NOATIME] conditional.
4732         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4734         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4736         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4737         (wait_code): New function replaces macro.
4738         Call nanosleep rather than syscall.
4740         * nptl/pt-system.c: Rewritten.  Put everything under
4741         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4742         Use IFUNC to redirect when possible.
4744         * nptl/pt-longjmp.c: Rewritten.  Put everything under
4745         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4746         Use IFUNC to redirect when possible.
4748         * nptl/pt-fork.c: Rewritten.  Put everything under
4749         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4750         Use IFUNC to redirect when possible.
4751         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4753         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4754         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4755         unconditionally nowadays.  This included the only reference to
4756         __vdso_clock_gettime that appears outside libc proper.
4757         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4758         Remove version set (containing only __vdso_clock_gettime).
4759         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4760         Add attribute_hidden.
4761         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4762         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4763         libc_hidden_data_def.
4764         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4765         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4767         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4768         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4769         setrpcent, and getrpcport to ...
4770         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4771         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4772         getrpcbynumber_r, and getrpcent_r to ...
4773         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4774         * inet/getrpcbyname.c: Moved ...
4775         * sunrpc/getrpcbyname.c: ... here.
4776         * inet/getrpcbyname_r.c: Moved ...
4777         * sunrpc/getrpcbyname_r.c: ... here.
4778         * inet/getrpcbynumber.c: Moved ...
4779         * sunrpc/getrpcbynumber.c: ... here.
4780         * inet/getrpcbynumber_r.c: Moved ...
4781         * sunrpc/getrpcbynumber_r.c: ... here.
4782         * inet/getrpcent.c: Moved ...
4783         * sunrpc/getrpcent.c: ... here.
4784         * inet/getrpcent_r.c: Moved ...
4785         * sunrpc/getrpcent_r.c: ... here.
4786         * inet/Makefile (routines): Move those to ...
4787         * sunrpc/Makefile (routines): ... here.
4788         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4789         the $(subdirs) list.
4790         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
4791         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4792         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4793         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4795         * elf/Makefile (routines): Include $(all-dl-routines), not just
4796         $(dl-routines).
4797         (rtld-routines): Likewise.  Use = rather than :=.
4798         * sysdeps/aarch64/Makefile [$(subdir) = elf]
4799         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4800         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4801         * sysdeps/arm/Makefile: Likewise.
4802         * sysdeps/i386/Makefile: Likewise.
4803         * sysdeps/x86_64/Makefile: Likewise.
4804         * sysdeps/hppa/Makefile [$(subdir) = elf]
4805         (sysdep_routines, sysdep-rtld-routines): Don't add
4806         $(sysdep-dl-routines) to these.
4807         * sysdeps/ia64/Makefile: Likewise.
4808         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4809         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4810         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4811         Don't add dl-static to these; sysdep-dl-routines alone is enough.
4812         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4813         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4814         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4815         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4816         * sysdeps/powerpc/Makefile [$(subdir) = elf]
4817         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4818         these; sysdep-dl-routines alone is enough.
4820 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
4822         [BZ #17932]
4823         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4824         where multiplication results in zero and third argument is finite
4825         and nonzero.
4826         * math/auto-libm-test-in: Add more tests of fma.
4827         * math/auto-libm-test-out: Regenerated.
4829         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4830         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4831         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4832         (_FP_CMP_EQ): Likewise.
4833         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4835         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4836         extra argument CHECK_NAN.  Redefine as wrapper around
4837         _FP_EXTEND_CNAN.
4839 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
4841         * version.h (RELEASE): Set to "stable".
4842         (VERSION): Set to "2.21"
4843         * include/features.h (__GLIBC_MINOR__): Set to 21.
4845         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4847 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4848             Paul Eggert  <eggert@cs.ucla.edu>
4850         [BZ #16618]
4851         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4852         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4853         size in bytes. Store needed elements in wpmax. Use needed size
4854         in bytes for extend_alloca.
4856 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
4858         * manual/install.texi: Latest tested versions are GCC 4.9.2,
4859         binutls 2.25, and texinfo 5.2.
4860         * INSTALL: Regenerate.
4861         * sysdeps/nios2/configure: Regenerate.
4862         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4863         * manual/contrib.texi: Update.
4864         * po/be.po: Update.
4865         * po/bg.po: Update.
4866         * po/ca.po: Update.
4867         * po/cs.po: Update.
4868         * po/da.po: Update.
4869         * po/de.po: Update.
4870         * po/el.po: Update.
4871         * po/eo.po: Update.
4872         * po/es.po: Update.
4873         * po/fi.po: Update.
4874         * po/fr.po: Update.
4875         * po/gl.po: Update.
4876         * po/hr.po: Update.
4877         * po/hu.po: Update.
4878         * po/ia.po: Update.
4879         * po/id.po: Update.
4880         * po/it.po: Update.
4881         * po/ja.po: Update.
4882         * po/ko.po: Update.
4883         * po/lt.po: Update.
4884         * po/nb.po: Update.
4885         * po/nl.po: Update.
4886         * po/pl.po: Update.
4887         * po/pt_BR.po: Update.
4888         * po/ru.po: Update.
4889         * po/rw.po: Update.
4890         * po/sk.po: Update.
4891         * po/sl.po: Update.
4892         * po/sv.po: Update.
4893         * po/tr.po: Update.
4894         * po/uk.po: Update.
4895         * po/vi.po: Update.
4896         * po/zh_CN.po: Update.
4897         * po/zh_TW.po: Update.
4899         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4900         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4901         * sysdeps/hppa/dl-irel.h: Remove #warning.
4902         * sysdeps/hppa/entry.h: Provide prototype for
4903         __canonicalize_funcptr_for_compare and cast argument.
4904         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4905         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4906         * sysdeps/hppa/sotruss-lib.c: New file.
4907         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4908         (atomic_compare_and_exchange_val_acq): Use __typeof__.
4909         (atomic_compare_and_exchange_bool_acq): Likewise.
4910         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4911         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4913         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4914         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4915         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4917 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4919         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4920         called function in non-PIC case.
4922 2015-01-31  David S. Miller  <davem@davemloft.net>
4924         * sysdeps/sparc/sparc32/bits/atomic.h
4925         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4926         unlock not after it.
4927         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4928         volatile register usage warnings from the compiler.
4930         * sysdeps/sparc/nptl/sem_init.c: Delete.
4931         * sysdeps/sparc/nptl/sem_post.c: Delete.
4932         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4933         * sysdeps/sparc/nptl/sem_wait.c: Delete.
4934         * sysdeps/sparc/sparc32/sem_init.c: New file.
4935         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4936         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4937         padding explicitly initialized.
4938         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4939         padding for in-semaphore spinlock.
4940         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4941         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4942         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4943         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4944         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4945         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4946         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4947         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4948         version.
4949         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4950         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4952 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4954         [BZ #17801]
4955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4956         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4957         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4958         New.
4959         (index_AVX_Fast_Unaligned_Load): Likewise.
4960         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4961         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4962         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4963         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4964         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4965         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4966         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4967         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4968         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4970 2015-01-29  Andreas Schwab  <schwab@suse.de>
4972         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4974 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
4976         [BZ #17892]
4977         * nscd/nscd_stat.c (send_stats): Initialize DATA.
4979 2015-01-28  Martin Sebor  <msebor@redhat.com>
4981         * math/README.libm-test: Clarify. Add "How to read the test output."
4983 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
4985         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4986         Define to 0.
4988 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
4990         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4991         (__HAVE_64B_ATOMICS): Define to 0.
4993 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4995         [BZ #17885]
4996         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4997         value to set as new flag.
4999         [BZ #16576]
5000         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5001         and use _ARCH_PPCSQ instead.
5002         (__ieee754_sqrt): Likewise.
5003         (__ieee754_sqrtf): Likewise.
5004         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5005         _ARCH_PPCSQ is defined.
5006         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5007         fsqrt instruction.
5008         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5009         _ARCH_PPCSQ is defined.
5010         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5011         fsqrts instruction.
5012         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5014 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5016         * iconv/loop.c: Suppress array out of bound warning caused by GCC
5017         bug (GCC BZ #64739).
5019 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
5021         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5022         Mark _retval as used.
5023         (lll_futex_wake_unlock): Likewise.
5024         (lll_futex_timed_wait_requeue_pi): Likewise.
5026         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5027         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5028         register variables.
5030         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5031         libm_hidden_def.
5033         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5034         (__bswap_64): Mark as __always_inline.
5036 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
5038         [BZ #15378]
5039         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5040         when none of the search directories exist.
5042 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5044         [BZ #17869]
5045         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5046         power8 in .machine directive.
5048         [BZ #17868]
5049         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5050         set dependency from opd value.
5052 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5054         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5055         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5056         architecture.
5058 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5060         [BZ #17870]
5061         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5062         with uint64_t.
5063         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5064         (uint64_t) 1.
5065         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5066         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5067         Replace 1UL with (uint64_t) 1.
5068         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5069         int with uint64_t.
5071 2015-01-23  Roland McGrath  <roland@hack.frob.com>
5073         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5074         (if_freenameindex): Likewise.
5076         * resource/getrlimit64.c: Add missing libc_hidden_def.
5078 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
5080         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5081         __label__.
5082         (_FP_FMA): Likewise.
5083         (_FP_TO_INT_ROUND): Likewise.
5084         (_FP_FROM_INT): Likewise.
5086 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5088         [BZ #16418]
5089         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5090         Make code racy and cancel safe.
5092 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
5094         * sysdeps/arm/unwind-resume.h: Fix copyright year.
5095         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5096         attribution.
5098         * pwd/tst-getpw.c: Rewrite.
5100         [BZ #17702]
5101         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5102         (modules-names): Add moddummy1 and moddummy2.
5103         ($(objpfx)tst-rec-dlopen): Define.
5104         * dlfcn/moddummy1.c: New file.
5105         * dlfcn/moddummy2.c: New file.
5106         * dlfcn/tst-rec-dlopen.c: New file.
5107         * elf/dl-cache.c (_dl_load_cache_lookup):
5108         Return char*. Copy result with alloca/strcpy/strdup.
5109         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5110         returns char*. Free cached. If not saving realname
5111         free cached.
5112         * elf/dl-open.c (dl_open_worker): Do not assert that
5113         _r_debug->r_state is RT_CONSISTENT.
5114         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5115         returns char*.
5117 2015-01-21  Torvald Riegel  <triegel@redhat.com>
5118             Carlos O'Donell  <carlos@redhat.com>
5120         [BZ #12674]
5121         * nptl/sem_waitcommon.c: New file.
5122         * nptl/sem_wait.c: Include sem_waitcommon.c.
5123         (__sem_wait_cleanup, do_futex_wait): Remove.
5124         (__new_sem_wait): Adapt.
5125         (__new_sem_trywait): New function.
5126         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5127         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5128         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5129         (sem_timedwait): Adapt.
5130         * nptl/sem_post.c (__new_sem_post): Adapt.
5131         (futex_wake): New function.
5132         (__old_sem_post): Add release MO fence.
5133         * nptl/sem_open.c (sem_open): Adapt.
5134         * nptl/sem_init.c (__new_sem_init): Adapt.
5135         (futex_private_if_supported): New function.
5136         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5137         (__old_sem_getvalue): Add using previous code.
5138         * sysdeps/nptl/internaltypes.h: Adapt.
5139         * nptl/tst-sem13.c (do_test): Adapt.
5140         * nptl/tst-sem11.c (main): Adapt.
5141         * nptl/sem_trywait.c: Remove.
5142         * nptl/DESIGN-sem.txt: Remove.
5143         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5144         (gen-as-const-headers): Remove structsem.sym.
5145         * nptl/structsem.sym: Remove.
5146         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5147         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5148         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5149         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5150         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5151         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5152         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5153         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5154         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5155         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5156         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5157         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5158         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5159         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5160         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5161         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5162         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5163         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5164         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5165         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5166         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5167         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5169 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
5171         * INSTALL: Regenerated.
5173         * po/libc.pot: Regenerated.
5175 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
5176             Sandra Loosemore  <sandra@codesourcery.com>
5177             Andrew Jenner  <andrew@codesourcery.com>
5178             Joseph Myers  <joseph@codesourcery.com>
5179             Nathan Sidwell  <nathan@codesourcery.com>
5181         * NEWS: Mention new Nios II port.
5182         * sysdeps/nios2/Implies: New file.
5183         * sysdeps/nios2/Makefile: New file.
5184         * sysdeps/nios2/Subdirs: New file.
5185         * sysdeps/nios2/Versions: New file.
5186         * sysdeps/nios2/__longjmp.S: New file.
5187         * sysdeps/nios2/abort-instr.h: New file.
5188         * sysdeps/nios2/backtrace.c: New file.
5189         * sysdeps/nios2/bits/endian.h: New file.
5190         * sysdeps/nios2/bits/fenv.h: New file.
5191         * sysdeps/nios2/bits/link.h: New file.
5192         * sysdeps/nios2/bits/setjmp.h: New file.
5193         * sysdeps/nios2/bsd-_setjmp.S: New file.
5194         * sysdeps/nios2/bsd-setjmp.S: New file.
5195         * sysdeps/nios2/configure: New generated file.
5196         * sysdeps/nios2/configure.ac: New file.
5197         * sysdeps/nios2/crti.S: New file.
5198         * sysdeps/nios2/crtn.S: New file.
5199         * sysdeps/nios2/dl-init.c: New file.
5200         * sysdeps/nios2/dl-machine.h: New file.
5201         * sysdeps/nios2/dl-sysdep.h: New file.
5202         * sysdeps/nios2/dl-tls.h: New file.
5203         * sysdeps/nios2/dl-trampoline.S: New file.
5204         * sysdeps/nios2/gccframe.h: New file.
5205         * sysdeps/nios2/gmp-mparam.h: New file.
5206         * sysdeps/nios2/jmpbuf-offsets.h: New file.
5207         * sysdeps/nios2/jmpbuf-unwind.h: New file.
5208         * sysdeps/nios2/ldsodefs.h: New file.
5209         * sysdeps/nios2/libc-tls.c: New file.
5210         * sysdeps/nios2/libm-test-ulps: New file.
5211         * sysdeps/nios2/machine-gmon.h: New file.
5212         * sysdeps/nios2/math-tests.h: New file.
5213         * sysdeps/nios2/math_private.h: New file.
5214         * sysdeps/nios2/memusage.h: New file.
5215         * sysdeps/nios2/nptl/Makefile: New file.
5216         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5217         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5218         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5219         * sysdeps/nios2/nptl/pthreaddef.h: New file.
5220         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5221         * sysdeps/nios2/nptl/tls.h: New file.
5222         * sysdeps/nios2/preconfigure: New file.
5223         * sysdeps/nios2/s_fma.c: New file.
5224         * sysdeps/nios2/s_fmaf.c: New file.
5225         * sysdeps/nios2/setjmp.S: New file.
5226         * sysdeps/nios2/sfp-machine.h: New file.
5227         * sysdeps/nios2/sotruss-lib.c: New file.
5228         * sysdeps/nios2/stackguard-macros.h: New file.
5229         * sysdeps/nios2/stackinfo.h: New file.
5230         * sysdeps/nios2/start.S: New file.
5231         * sysdeps/nios2/sysdep.h: New file.
5232         * sysdeps/nios2/tls-macros.h: New file.
5233         * sysdeps/nios2/tst-audit.h: New file.
5234         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5235         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5236         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5237         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5238         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5239         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5240         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5241         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5242         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5243         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5244         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5245         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5246         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5247         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5248         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5249         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5250         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5251         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5252         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5253         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5254         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5255         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5256         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5257         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5258         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5259         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5260         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5261         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5262         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5263         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5264         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5265         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5266         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5267         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5268         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5269         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5270         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5271         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5272         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5273         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5274         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5275         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5276         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5277         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5279 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5281         [BZ #17844]
5282         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5283         (getutent): Use weak_alias in non SHARED case
5284         and default_symbol_version in SHARED case.
5285         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5286         (getutent_r, pututline): Likewise.
5287         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5288         (getutid): Likewise.
5289         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5290         (getutid_r): Likewise.
5291         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5292         (getutline): Likewise.
5293         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5294         (getutline_r): Likewise.
5295         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5296         (updwtmp): Likewise.
5298 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5300         [BZ #17848]
5301         * sysdeps/s390/s390-32/memcmp.S
5302         (memcmp_g5): Rename to __memcmp_g5.
5303         * sysdeps/s390/s390-32/memcpy.S
5304         (memcpy_g5): Rename to __memcpy_g5.
5305         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5306         (memcpy_mvcle) Rename to __memcpy_mvcle.
5307         * sysdeps/s390/s390-32/memset.S
5308         (memset_g5): Rename to __memset_g5.
5309         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5310         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5311         and use prefixed functions.
5312         * sysdeps/s390/s390-32/multiarch/memcmp.S
5313         (memcmp_z196): Rename to __memcmp_z196.
5314         (memcmp_z10): Rename to __memcmp_z10.
5315         (memcmp): Set alias to __memcmp_g5.
5316         (bcmp): Set alias to __memcmp_g5.
5317         * sysdeps/s390/s390-32/multiarch/memcpy.S
5318         (memcpy_z196): Rename to __memcpy_z196.
5319         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5320         (memcpy_z10): Rename to __memcpy_z10.
5321         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5322         (memcpy): Set alias to __memcpy_g5.
5323         * sysdeps/s390/s390-32/multiarch/memset.S
5324         (memset_z196): Rename to __memset_z196.
5325         Jump to __memset_mvcle instead of memset_mvcle.
5326         (memset_z10): Rename to __memset_z10.
5327         Jump to __memset_mvcle instead of memset_mvcle.
5328         (memset_mvcle) Rename to __memset_mvcle.
5329         (memset): Set alias to __memset_g5.
5330         * sysdeps/s390/s390-64/memcmp.S
5331         (memcmp_z900): Rename to __memcmp_z900.
5332         * sysdeps/s390/s390-64/memcpy.S
5333         (memcpy_z900): Rename to __memcpy_z900.
5334         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5335         (memcpy_mvcle) Rename to __memcpy_mvcle.
5336         * sysdeps/s390/s390-64/memset.S
5337         (memset_z900): Rename to __memset_z900.
5338         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5339         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5340         and use prefixed functions.
5341         * sysdeps/s390/s390-64/multiarch/memcmp.S
5342         (memcmp_z196): Rename to __memcmp_z196.
5343         (memcmp_z10): Rename to __memcmp_z10.
5344         (memcmp): Set alias to __memcmp_z900.
5345         (bcmp): Set alias to __memcmp_z900.
5346         * sysdeps/s390/s390-64/multiarch/memcpy.S
5347         (memcpy_z196): Rename to __memcpy_z196.
5348         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5349         (memcpy_z10): Rename to __memcpy_z10.
5350         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5351         (memcpy): Set alias to __memcpy_z900.
5352         * sysdeps/s390/s390-64/multiarch/memset.S
5353         (memset_z196): Rename to __memset_z196.
5354         Jump to __memset_mvcle instead of memset_mvcle.
5355         (memset_z10): Rename to __memset_z10.
5356         Jump to __memset_mvcle instead of memset_mvcle.
5357         (memset_mvcle) Rename to __memset_mvcle.
5358         (memset): Set alias to __memset_z900.
5360 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
5362         [BZ #17748]
5363         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5364         __fesetenv instead of fesetenv.
5366 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5368         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5369         macro.
5371 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5373         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5374         regression on LE.
5376         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5377         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5378         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5379         strncmp-power8 object.
5380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5381         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5382         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5383         * NEWS: Update.
5385 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5386             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5388         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5389         trailing byte check.
5391 2015-01-13  David S. Miller  <davem@davemloft.net>
5393         * include/signal.h (__sigreturn): Guard with __USE_MISC.
5395 2015-01-13  Roland McGrath  <roland@hack.frob.com>
5397         * login/logout.c (logout): Use memset rather than bzero.
5398         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5399         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5400         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5401         (_gethtbyaddr): Likewise.
5402         * locale/programs/simple-hash.c (bcopy): Macro removed.
5404 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5406         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5407         Add strcmp-power8 object.
5408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5409         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5410         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5411         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5412         __strcmp_power8 implementation.
5413         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5414         * NEWS: Update.
5416         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5417         Add strncpy-power8 and stpncpy-power8 objects.
5418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5419         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5420         implementations.
5421         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5422         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5423         __stpncpy_power8 implementation.
5424         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5425         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5426         __strncpy_power8 implementation.
5427         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5428         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5429         * NEWS: Update.
5431         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5432         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5433         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5435         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5436         strncat-power8 object.
5437         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5438         __strcat_power8 implementation.
5439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5440         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5441         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5442         optimized strcat for power8.
5444         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5445         strcpy-power8 and stpcpy-power8 objects.
5446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5447         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5448         implementations.
5449         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5450         multiarch stpcpy implementation for POWER8.
5451         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5452         multiarch strcpy implementation for POWER8.
5453         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5454         __strcpy_power8 function.
5455         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5456         stpcpy for POWER8.
5457         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5458         strcpy for POWER8.
5459         * NEWS: Update.
5461 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
5463         [BZ #16009]
5464         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5465         weights and rules. Use do_xfrm_cached if data fits in cache,
5466         do_xfrm otherwise.  Moved former main loop to...
5467         * (do_xfrm_cached): New function.
5468         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5469         find_idx, find_position and stack_push.
5470         * (find_idx): New function.
5471         * (find_position): Likewise.
5472         * localedata/sort-test.sh: Added test run for do_xfrm.
5473         * localedata/xfrm-test.c (main): Added command line option
5474         -nocache to run the test with strings that are too large for
5475         the STRXFRM cache.
5477 2015-01-13  Torvald Riegel  <triegel@redhat.com>
5479         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5480         variable to lll_futex_wake call, not the value itself.
5482 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
5484         [BZ #17803]
5485         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5486         twom64.  Adjust value to 0x1p-64L.
5487         (__scalblnl): Only return standard underflowing result for K <=
5488         -64 not K <= -63; adjust exponent for underflowing result by 64
5489         not 63.
5490         * math/libm-test.inc (scalbn_test_data): Add more tests.
5491         (scalbln_test_data): Likewise.
5493         [BZ #17834]
5494         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5495         0x1p63L.
5496         (__scalblnl): Get new exponent of adjusted subnormal value from ES
5497         not HX.
5498         * math/libm-test.inc (scalbn_test_data): Add more tests.
5499         (scalbln_test_data): Likewise.
5501 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5502             Stefani Seibold  <stefani@seibold.net>
5504         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5505         (sysdep_routines): Add dl-vdso here, ...
5506         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5507         (sysdep_routines): ... not here.
5508         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5509         fallback when vDSO is not presented.
5510         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5511         Define with libc_hidden_proto/libc_hidden_data_def definitions.
5512         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5513         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5514         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5515         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5516         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5517         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5518         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5519         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5520         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
5521         fallback configurable symbol when vDSO is not available.
5522         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5523         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
5524         be able to redefine fallback symbol when vDSO is not available.
5525         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5526         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5528 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5530         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5531         (TLS_INIT_TP): Add tm_capable initialization.
5532         (TLS_DEFINE_INIT_TP): Likewise.
5533         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5534         TCB.
5535         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5536         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5537         calculation.
5538         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5539         transactoion is lock elision is built and TCB tm_capable is set.
5540         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5542         (INTERNAL_SYSCALL_NCS): Likewise.
5543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5544         (INTERNAL_SYSCALL_NCS): Likewise.
5545         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5547         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5548         for powerpc.
5549         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5550         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5551         and remove it for 32 bits case.
5552         [pthread_rwlock_t] (__rwelision): New field for lock elision.
5553         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5554         initialization.
5555         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5556         Disable lock elision with rdlocks if elision is not available.
5558         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5559         (sysdep_routines): Add lock elision objects.
5560         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5561         [pthread_mutex_t] (__spins): Rework to add lock elision field.
5562         [pthread_mutex_t] (__elision): Add field.
5563         [__PTHREAD_SPINS]: Adjust to init lock elision field.
5564         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5565         elision definitions for powerpc.
5566         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5567         implementation of lock elision for powerpc.
5568         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5569         implementation of timed lock elision for powerpc.
5570         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5571         implementation of trylock with lock elision for powerpc.
5572         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5573         implementaion of unlock for lock elision for powerpc.
5574         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5575         automatic enable lock elision for mutexes.
5576         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5577         transaction execution definitions for powerpc.
5578         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5579         definitions.
5580         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5581         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5582         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5583         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5584         * NEWS: Update.
5586 2015-01-09  Roland McGrath  <roland@hack.frob.com>
5588         * sysdeps/posix/shm-directory.c: Use <> rather than ""
5589         for #include of <shm-directory.h>.
5591 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
5593         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5594         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5596 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
5598         [BZ #17791]
5599         * NEWS: Mention bug fix.
5600         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5601         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5602         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5604 2015-01-09  Torvald Riegel <triegel@redhat.com>
5606         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5608 2015-01-09  Torvald Riegel <triegel@redhat.com>
5610         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5612 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5614         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5615         pointer and cast to uintptr_t.
5617 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5619         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5620         removed.
5621         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5623 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5625         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5626         of 0.
5628 2015-01-08  Roland McGrath  <roland@hack.frob.com>
5630         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5631         <nptl/pthreadP.h> instead.
5632         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5634         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5635         already defined.
5636         [__SIGRTMIN] (init): Function removed.
5637         [__SIGRTMIN] (initialized): Variable removed.
5638         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5639         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5640         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5641         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5642         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5643         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5644         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5645         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5646         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5647         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5648         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5649         * sysdeps/nptl/allocrtsig.c: New file.
5650         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5651         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5652         * sysdeps/generic/testrtsig.h: File removed.
5654         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5655         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5657         * nptl/nptl-init.c (pthread_functions): Conditionalize
5658         .ptr__nptl_setxid initialization on [SIGSETXID].
5660         * sysdeps/nptl/sys/procfs.h: New file.
5661         * nptl_db/Makefile (headers): Add it.
5662         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5664         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5665         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5666         * nptl/pthread_attr_setaffinity.c: Include it.
5667         * nptl/pthread_setattr_default_np.c: Likewise.
5668         * nptl/check-cpuset.h: New file.
5670 2015-01-08  Richard Henderson  <rth@redhat.com>
5672         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5673         (CFLAGS-tst-execstack-prog.c): Likewise.
5674         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5676 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
5677             Sandra Loosemore  <sandra@codesourcery.com>
5678             Andrew Jenner  <andrew@codesourcery.com>
5679             Joseph Myers  <joseph@codesourcery.com>
5680             Nathan Sidwell  <nathan@codesourcery.com>
5682         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5683         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5684         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5685         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5686         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5687         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5688         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5689         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5690         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5691         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5692         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5693         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5694         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5695         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5696         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5697         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5698         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5700 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5702         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5703         timespec struct member in syscall macro.
5704         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5705         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5706         first timeval struct member in syscall macro.
5707         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5709 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
5711         [BZ #17748]
5712         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5713         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5714         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5715         __feupdateenv and define as weak alias of __feupdateenv.  Use
5716         libm_hidden_weak.
5717         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5718         libm_hidden_def.
5719         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5720         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
5721         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5722         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5723         libm_hidden_def.
5724         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5725         __feupdateenv and define as weak alias of __feupdateenv.  Use
5726         libm_hidden_weak.
5727         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5728         libm_hidden_def.
5729         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5730         __feupdateenv and define as weak alias of __feupdateenv.  Use
5731         libm_hidden_weak.
5732         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5733         libm_hidden_def.
5734         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5735         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5736         (__feupdateenv): Likewise.
5737         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5738         __feupdateenv and define as weak alias of __feupdateenv.  Use
5739         libm_hidden_weak.
5740         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5741         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5742         libm_hidden_def.
5743         * sysdeps/tile/math_private.h (__feupdateenv): New inline
5744         function.
5745         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5746         libm_hidden_def.
5747         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5748         __feupdateenv instead of feupdateenv.
5749         (default_libc_feupdateenv_test): Likewise.
5750         (libc_feresetround_ctx): Likewise.
5752 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5754         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5755         prototype.
5757 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
5759         * posix/regcomp.c (parse_bracket_exp): Initialize type to
5760         COLL_SYM in a couple of places to avoid uninitialized variable
5761         wanings on tilegx gcc 4.8.2.
5763 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5765         * sysdeps/aarch64/strcpy.S: New file.
5766         * sysdeps/aarch64/stpcpy.S: New file.
5767         * NEWS: Updated.
5769 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5771         * sysdeps/aarch64/strrchr.S: New file.
5772         * NEWS: Updated.
5774 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
5776         [BZ #17658]
5777         * stdlib/setenv.c: Fix memory leak when setting large,
5778         duplicate string.
5780 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
5782         [BZ #17273]
5783         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5784         and tabs from buffer before parsing fstab entry.
5785         * misc/tst-mntent.c (main): Add test for mount entry with
5786         trailing spaces and tabs.
5788 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
5790         [BZ #17748]
5791         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
5792         * math/fesetround.c (fesetround): Rename to __fesetround and
5793         define as weak alias of __fesetround.  Use libm_hidden_weak.
5794         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5795         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5796         * sysdeps/arm/fesetround.c (fesetround): Likewise.
5797         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5798         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5799         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5800         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5801         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5802         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5803         __fesetround_inline.
5804         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5805         __fesetround_inline instead of __fesetround.
5806         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5807         __fesetround and define as weak alias of __fesetround.  Use
5808         libm_hidden_weak.  Call __fesetround_inline instead of
5809         __fesetround.
5810         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5811         __fesetround and define as weak alias of __fesetround.  Use
5812         libm_hidden_weak.
5813         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5814         Likewise.
5815         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5816         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5817         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5818         * sysdeps/tile/math_private.h (__fesetround): New inline function.
5819         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5820         __fesetround and define as weak alias of __fesetround.  Use
5821         libm_hidden_weak.
5822         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5823         __fesetround instead of fesetround.
5824         (default_libc_feholdexcept_setround): Likewise.
5825         (libc_feholdsetround_ctx): Likewise.
5826         (libc_feholdsetround_noex_ctx): Likewise.
5828         [BZ #17748]
5829         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5830         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5831         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5832         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5833         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5834         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5835         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5836         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5837         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5838         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5839         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5840         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5841         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5842         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5843         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5844         libm_hidden_def.
5845         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5846         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5847         Likewise.
5848         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5849         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5850         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5851         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5852         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5853         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5854         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5855         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5856         __fesetenv instead of fesetenv.
5857         (libc_feresetround_noex_ctx): Likewise.
5858         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5859         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5860         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5861         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5862         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5863         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5864         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5865         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5866         (__feupdateenv): Likewise.
5867         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5868         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5869         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5870         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5872 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5874         [BZ #17806]
5875         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5876         addresses have been freed.
5878 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5880         * resolv/res_init.c (__res_vinit): Improve comments about nserv
5881         and nservall.
5883 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
5885         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5886         Clean up check_pf allocation pattern. addresses
5888 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5890         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5891         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5892         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5893         * nptl/pthread_exit.c (__pthread_exit): Likewise.
5894         * nptl/pthread_join.c (pthread_join): Likewise.
5895         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5896         * sysdeps/posix/waitid.c (__waitid): Likewise.
5897         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5898         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5899         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5900         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5901         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5902         Likewise.
5903         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5904         (__libc_pread64): Likewise.
5905         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5906         (__libc_pwrite): Likewise.
5907         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5908         (__libc_pwrite64): Likewsie.
5909         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5910         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5911         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5912         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5913         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5914         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5915         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5917         Likewise.
5918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5919         (__libc_pread64): Likewise.
5920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5921         Likewise.
5922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5923         (__libc_pwrite64): Likewise.
5924         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5925         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5926         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5927         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5928         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5929         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5930         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5931         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5932         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5933         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5934         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5935         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5936         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5937         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5938         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5939         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5940         Likewise.
5942 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5944         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5945         (CFLAGS-test-double.c): Likewise.
5946         (CFLAGS-test-ldouble.c): Likewise.
5947         (CPPFLAGS-test-ifloat.c): Likewise.
5948         (CPPFLAGS-test-idouble.c): Likewise.
5949         (CPPFLAGS-test-ildoubl.c): Likewise.
5950         (CFLAGS-test-test-fenv.c): Remove variable.
5951         (CFLAGS-test-misc.c): Likewise.
5953 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
5955         [BZ #17797]
5956         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5957         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5958         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5959         CLOCKS_PER_SEC == 1000000.
5960         * time/clocktest.c (main): Replace %ld with %jd and cast to
5961         intmax_t.
5963 2015-01-05  Roland McGrath  <roland@hack.frob.com>
5965         * sysdeps/generic/unwind-resume.h: New file.
5966         * sysdeps/gnu/unwind-resume.c: Include it.
5967         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5968         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5969         argument list.
5970         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5971         global rather than static.
5972         (_Unwind_Resume): Update user.
5973         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5974         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
5975         rather than static.  Add __attribute__ ((cold)).
5976         (_Unwind_Resume, __gcc_personality_v0): Update callers.
5977         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5978         * sysdeps/arm/arm-unwind-resume.S: New file.
5979         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5980         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5981         * sysdeps/arm/Makefile [$(subdir) = csu]
5982         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5983         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5984         Add rt-arm-unwind-resume.
5985         [$(subdir) = nptl]
5986         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5987         Add pt-arm-unwind-resume.
5988         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5989         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5991 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5993         [BZ #17748]
5994         * include/fenv.h (__feholdexcept): Declare.  Use
5995         libm_hidden_proto.
5996         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5997         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
5998         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5999         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6000         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6001         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6002         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6003         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6004         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6005         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6006         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6007         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6008         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6009         (feholdexcept): Likewise.
6010         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6011         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6012         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6013         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6014         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6015         __feholdexcept instead of feholdexcept.
6016         (default_libc_feholdexcept_setround): Likewise.
6018 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6020         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6021         to avoid using stl/str to align destination.
6023 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6025         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6027 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6029         [BZ #17796]
6030         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6031         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6032         Define as weak alias not strong alias.
6034 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6036         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6037         bltzal with addiupc.
6038         (RTLD_START): Ditto.
6040 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
6042         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6043         for __vdso_* functions in declarations.
6044         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6045         definitions.
6046         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6047         INTERNAL_VSYSCALL): Use struct return types to check for error.
6049         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6050         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6051         function with cast from llround().
6052         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6053         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6054         Define.
6056 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6058         [BZ #17793]
6059         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6060         Define as weak alias not strong alias.
6062         [BZ #17635]
6063         * ctype/ctype-c99.c: New file.  isblank implementation moved from
6064         ...
6065         * ctype/ctype-extn.c: ... here.
6066         (__isblank_l): Move to ...
6067         * ctype/ctype-c99_l.c: ... here.  New file.
6068         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6069         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6070         Remove variable.
6071         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6072         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6073         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6074         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6075         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6077         [BZ #17777]
6078         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6079         (posix_fadvise64): Define as weak alias not strong alias.
6080         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6081         (posix_fallocate64): Likewise.
6082         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6083         Remove variable.
6084         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6085         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6086         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6087         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6088         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6090 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
6092         [BZ #16191]
6093         * NEWS: Mention bug fix.
6094         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6095         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6096         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6097         (HOST_STACK_END_ADDR): Likewise.
6099 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6101         [BZ #17748]
6102         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
6103         * math/fegetround.c (fegetround): Rename to __fegetround and
6104         define as weak alias of __fegetround.  Use libm_hidden_weak.
6105         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6106         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6107         * sysdeps/arm/fegetround.c (fegetround): Likewise.
6108         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6109         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6110         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6111         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6112         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6113         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6114         Undefine after rather than before function definition; use
6115         parentheses around function name in definition.
6116         (__fegetround): Also undefine macro after function definition.
6117         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6118         __fegetround and define as weak alias of __fegetround.  Use
6119         libm_hidden_weak.  Do not undefine as macro.
6120         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6121         Likewise.
6122         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6123         __fegetround and define as weak alias of __fegetround.  Use
6124         libm_hidden_weak.
6125         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6126         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6127         * sysdeps/tile/math_private.h (__fegetround): New inline function.
6128         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6129         __fegetround and define as weak alias of __fegetround.  Use
6130         libm_hidden_weak.
6131         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6132         __fegetround instead of fegetround.
6134         [BZ #17782]
6135         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6136         Condition macro definition on [__USE_MISC].
6138         [BZ #17781]
6139         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6140         (struct sigaction): Change type of sa_flags field to int.
6142         [BZ #17780]
6143         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6144         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6145         __glibc_reserved0.
6147         * nptl/version.c (banner): Use single year in copyright notice.
6149         * NEWS: Update copyright dates.
6150         * catgets/gencat.c (print_version): Likewise.
6151         * csu/version.c (banner): Likewise.
6152         * debug/catchsegv.sh: Likewise.
6153         * debug/pcprofiledump.c (print_version): Likewise.
6154         * debug/xtrace.sh (do_version): Likewise.
6155         * elf/ldconfig.c (print_version): Likewise.
6156         * elf/ldd.bash.in: Likewise.
6157         * elf/pldd.c (print_version): Likewise.
6158         * elf/sotruss.sh: Likewise.
6159         * elf/sprof.c (print_version): Likewise.
6160         * iconv/iconv_prog.c (print_version): Likewise.
6161         * iconv/iconvconfig.c (print_version): Likewise.
6162         * locale/programs/locale.c (print_version): Likewise.
6163         * locale/programs/localedef.c (print_version): Likewise.
6164         * login/programs/pt_chown.c (print_version): Likewise.
6165         * malloc/memusage.sh (do_version): Likewise.
6166         * malloc/memusagestat.c (print_version): Likewise.
6167         * malloc/mtrace.pl: Likewise.
6168         * manual/libc.texinfo: Likewise.
6169         * nptl/version.c (banner): Likewise.
6170         * nscd/nscd.c (print_version): Likewise.
6171         * nss/getent.c (print_version): Likewise.
6172         * nss/makedb.c (print_version): Likewise.
6173         * posix/getconf.c (main): Likewise.
6174         * scripts/test-installation.pl: Likewise.
6175         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6177 2015-01-02  Will Newton  <will.newton@linaro.org>
6179         * sysdeps/arm/armv7/configure: Removed.
6180         * sysdeps/arm/armv7/configure.ac: Likewise.
6182 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6184         * All files with FSF copyright notices: Update copyright dates
6185         using scripts/update-copyrights.
6186         * intl/plural.c: Regenerated.
6187         * locale/programs/charmap-kw.h: Likewise.
6188         * locale/programs/locfile-kw.h: Likewise.
6190 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6192         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6194 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6196         [BZ #17748]
6197         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6198         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6199         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6200         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6201         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6202         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6203         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6204         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6205         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6206         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6207         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6208         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6209         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6210         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6211         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6212         libm_hidden_def.
6213         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6214         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6215         Likewise.
6216         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6217         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6218         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6219         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6220         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6221         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6222         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6223         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6224         __fegetenv instead of fegetenv.
6225         (libc_feholdsetround_noex_ctx): Likewise.
6227 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6229         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6230         (Elf_MIPS_ABIFlags_v0): New structure.
6231         (EF_MIPS_FP64): Define.
6232         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6233         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6234         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6235         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6236         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6237         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6238         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6239         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6240         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6241         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6242         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6243         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6244         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6245         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6246         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6247         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6248         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6249         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6250         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6251         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6252         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6253         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6254         field.
6255         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6256         EF_MIPS_FP64.
6257         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6258         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6259         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6260         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6261         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6262         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6263         * sysdeps/mips/tst-abi-interlink.c: Likewise.
6264         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6265         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6266         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6267         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6268         record the current FP ABI extension.
6269         (mips-mode-switch): Define to show if kernel headers support mode
6270         switching.
6271         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6272         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6273         supported SYSV ABI version to 3.
6274         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6275         feature.
6277 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6278             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6280         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6281         path.
6282         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6284 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6286         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6287         __fegetround and redefine to call __fegetround.  Remove condition
6288         on [!__NO_MATH_INLINES].
6289         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6290         function.
6291         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6292         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6293         Remove macro.
6294         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6295         instead of <fenv_libc.h>.
6296         (__llrintl): Call fegetround instead of __fegetround.
6297         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6298         instead of <fenv_libc.h>.
6299         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6300         (__lrintl): Call fegetround instead of __fegetround.
6301         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6302         instead of <fenv_libc.h>.
6303         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6304         (__rintl): Call fegetround instead of __fegetround.
6306 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6308         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6309         arrays.
6311 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6313         [BZ #17775]
6314         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6315         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6316         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6318 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6320         * sysdeps/i386/tls-macros.h: Include <features.h>.
6321         (TLS_LE): Use non-PIC version for GCC >= 5.0.
6322         (TLS_IE): Likewise.
6323         (TLS_LD): Likewise.
6324         (TLS_GD): Likewise.
6325         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6326         define for GCC >= 5.0.
6328 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
6330         * math/test-fenv.c (test_single_exception, set_single_exc,
6331         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6332         feexcp_mask_test, feenable_test, fe_single_test): Add
6333         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6334         case where they are not used.
6335         * math/libm-test.inc: Likewise.
6336         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6337         unused in the absence of FP rounding/exception support.
6338         * stdio-common/tst-printf-round.c: Likewise.
6339         * stdlib/tst-strtod-round.c: Likewise.
6340         * stdlib/tst-strtod-underflow.c: Likewise.
6342 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
6344         [BZ #17723]
6345         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6346         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6347         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6348         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6349         libm_hidden_weak.
6350         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6351         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6352         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6353         libm_hidden_def.
6354         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6355         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6356         libm_hidden_weak.
6357         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6358         Likewise.
6359         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6360         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6361         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6362         libm_hidden_weak.
6363         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6364         libm_hidden_def.
6365         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6366         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6367         (__feraiseexcept): Likewise.
6368         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6369         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6370         libm_hidden_weak.
6371         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6372         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6373         libm_hidden_def.
6374         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6375         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6376         Use libm_hidden_def.
6377         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6378         libm_hidden_def.
6379         (feraiseexcept): Define as weak not strong alias.  Use
6380         libm_hidden_weak.
6381         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6382         New inline function.  Factored out of ...
6383         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
6384         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6385         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6386         feraiseexcept.
6387         * math/w_acos.c (__acos): Likewise.
6388         * math/w_asin.c (__asin): Likewise.
6389         * math/w_ilogb.c (__ilogb): Likewise.
6390         * math/w_j0.c (y0): Likewise.
6391         * math/w_j1.c (y1): Likewise.
6392         * math/w_jn.c (yn): Likewise.
6393         * math/w_log.c (__log): Likewise.
6394         * math/w_log10.c (__log10): Likewise.
6395         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6396         * sysdeps/aarch64/fpu/math_private.h
6397         (libc_feupdateenv_test_aarch64): Likewise.
6398         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6399         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6400         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6401         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6402         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6403         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6404         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6405         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6406         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6407         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6409 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6411         [BZ #17732]
6412         * io/test-utime.c (main): Replace %ld with %jd and cast to
6413         intmax_t.
6414         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6415         * nptl/tst-mutex5.c: Include <stdint.h>.
6416         (do_test): Replace %ld with %jd and cast to intmax_t.
6417         * posix/tst-regex.c (run_test): Likewise.
6418         (run_test_backwards): Likewise.
6419         * rt/tst-clock.c: Include <stdint.h>.
6420         (clock_test): Replace %ld with %jd and cast to intmax_t.
6421         * rt/tst-cpuclock1.c: Include <stdint.h>.
6422         (do_test): Replace %lu with %ju and cast to uintmax_t.
6423         * rt/tst-cpuclock2.c: Include <stdint.h>.
6424         (do_test): Replace %lu with %ju and cast to uintmax_t.
6425         * rt/tst-mqueue1.c: Include <stdint.h>.
6426         (check_attrs): Replace %ld with %jd and cast to intmax_t.
6427         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6428         intmax_t.
6429         * rt/tst-mqueue4.c (do_test): Likewise.
6430         * rt/tst-timer4.c: Include <stdint.h>.
6431         (check_ts): Replace %ld with %jd and cast to intmax_t.
6432         (do_test): Likewise.
6433         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6434         and cast to intmax_t.
6435         * sysdeps/pthread/tst-timer.c (main): Likewise.
6436         * time/clocktest.c (main): Likewise.
6437         * time/tst-posixtz.c (do_test): Likewise.
6438         * timezone/tst-timezone.c (main): Likewise.
6440 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6441             H.J. Lu  <hongjiu.lu@intel.com>
6443         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6444         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6445         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6446         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6447         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6448         version if bit_Fast_Unaligned_Load is set.
6449         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6450         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6451         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6452         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6453         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6454         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6455         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6456         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6457         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6458         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6459         to 4.
6460         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6461         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6462         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6463         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6465 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
6467         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6468         instead of #if to avoid a Wundef warning.
6469         * stdlib/tst-limits.c (do_test): Likewise.
6471         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6472         parallel other exception macros.
6473         (fegetenv): Convert from macro to extern inline so that it applies
6474         retroactively to inline functions already seen by the compiler.
6475         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6477         * posix/Makefile (before-compile): Use $(objpfx) for
6478         posix-conf-vars-def.h.
6480 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6482         * posix/getconf.c (main): Use size_t for type of I.
6483         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6484         NSPEC.
6486         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6487         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6488         * posix/posix-envs.def: Likewise.
6489         * sysdeps/posix/sysconf.c: Likewise.
6490         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6491         (specs): Remove array.
6492         * scripts/gen-posix-conf-vars.awk: Support generation of specs
6493         array.
6495         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6496         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6497         (__sysconf): Use CONF_IS_* macros.
6499         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6500         ($(objpfx)posix-conf-vars-def.h): New target.
6501         * posix/posix-conf-vars.list: New file.
6502         * posix/posix-conf-vars.h: New file.
6503         * posix/confstr.c: Include posix-conf-vars.h.
6504         (confstr): Use CONF_IS_* macros.
6505         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
6506         CONF_IS_* macros.
6507         * scripts/gen-posix-conf-vars.awk: New file.
6509 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
6511         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6512         fegetround): Add no-op macros to avoid linknamespace issues.
6514         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6515         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6517         * sysdeps/unix/sysv/linux/tile/sysdep.h
6518         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6519         assembly-specific section to avoid a redefinition warning.
6521         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6522         long before casting to pointer to avoid a cast warning.
6524 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
6526         * sysdeps/tile/tilegx/Implies: New file.
6528 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
6530         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6532 2014-12-23  Florian Weimer  <fweimer@redhat.com>
6534         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6536 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6538         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6539         not define.
6540         * sysdeps/unix/sysv/linux/utimes.c: Do not include
6541         <kernel-features.h>.
6542         (__utimes) [__NR_utimes]: Make code unconditional.
6543         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6544         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6545         (__ASSUME_UTIMES): Do not undefine.
6546         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6547         (__ASSUME_UTIMES): Likewise.
6548         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6549         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6550         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6551         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6553 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6555         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6557 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
6559         [BZ #17747]
6560         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6561         alias to weak alias for j0l, y0l.
6562         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6563         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6565         [BZ #17746]
6566         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6567         conversion.
6569 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6571         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6572         to zero if not already defined.
6574 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6576         [BZ #17724]
6577         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6578         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
6579         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
6580         (char *) casts added.
6581         * sysdeps/ieee754/k_standardf.c: New file.
6582         * sysdeps/ieee754/k_standardl.c: Likewise.
6583         * math/Makefile (libm-support): Remove k_standard.
6584         (libm-calls): Add k_standard.
6586 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6588         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6589         Optimize to avoid an unnecessary FPCR read.
6591 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6593         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6594         Optimize to reduce FPCR/FPSR accesses.
6596 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6598         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6599         Call libc_fetestexcept_aarch64.
6601 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6603         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6604         Call libc_fesetround_aarch64.
6606 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6608         [BZ #17733]
6609         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6610         (__bind): Do not define as weak alias.
6611         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6612         define.
6613         (__getsockname): Do not define as weak alias.
6615 2014-12-22  Will Newton  <will.newton@linaro.org>
6617         * manual/install.texi: Document that we require bison 2.7
6618         or above.
6619         * INSTALL: Regenerate.
6620         * configure.ac: Use AC_CHECK_PROG_VER instead of
6621         AC_PATH_PROG when checking for bison and check for
6622         version 2.7 or above.
6623         * configure: Regenerate.
6625 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
6627         [BZ #17745]
6628         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6629         * sysdeps/tile/ffsll.c (ffsll): To here.
6631         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6633 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6635         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6636         if not defined.
6637         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6638         definition.
6639         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6640         hidden ___tls_get_addr.
6641         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6642         hidden __tls_get_addr.
6643         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6644         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6645         Likewise.
6647 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
6649         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6650         _dl_init call.
6652 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6654         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6655         from "call _dl_init@PLT".
6656         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6658 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
6660         * manual/search.texi: (Array Sort Function): Clarify stable sorting
6661         guarantees.
6663 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
6665         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6667 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6669         [BZ #17744]
6670         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6671         strnlen.
6673 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6675         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6676         of multu on MIPSr6.
6677         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6678         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6679         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6680         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6681         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6683 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6685         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6686         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6687         (PTR_SUBU): Use subu for mips32r6/mips64r6.
6688         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6689         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6690         mips32r6/mips64r6.
6691         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6693 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
6695         * string/strncat.c (STRNCAT): Simplify implementation.
6697 2014-12-19  David S. Miller  <davem@davemloft.net>
6699         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6700         access the quad as both a long double and as a series of 4 words.
6702         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6703         link_map->l_info array access.
6705 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6707         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6709         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6710         * math/atest-exp2.c (TIMEOUT): Likewise.
6711         * math/atest-sincos.c (TIMEOUT): Likewise.
6713 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6715         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6716         -Wno-error with -fno-builtin-lround.
6718 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6720         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6721         Contains futex constants and functions moved over from ...
6722         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
6723         <lowlevellock-futex.h>.
6724         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6725         (lll_timedwait_tid): Add comments and parentheses around macro
6726         arguments.
6728 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6730         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6731         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
6732         (__lll_private_flag): Remove.
6733         (lll_futex_wait): Likewise.
6734         (lll_futex_timed_wait): Likewise.
6735         (lll_futex_wake): Likewise.
6736         (lll_futex_requeue): Likewise.
6737         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6738         (__lll_timedwait_tid): Spell out argument names.
6739         (lll_timedwait_tid): Add comments and parentheses around macro
6740         arguments.
6741         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6742         LLL_SHARED and LLL_PRIVATE usable from assembly code.
6744 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6746         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6747         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6748         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6749         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6750         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6751         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6752         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6753         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6754         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6755         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6756         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6757         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6758         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6759         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6760         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6761         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6762         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6763         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6764         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6766 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6768         * sysdeps/x86_64/x32/Makefile: New file.
6770 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6772         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6773         1L with (mp_limb_t) 1.
6775 2014-12-17  Roland McGrath  <roland@hack.frob.com>
6777         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6778         * nptl/libc_pthread_init.c: ... here.
6779         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6780         * nptl/register-atfork.c: ... here.
6782         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6783         Use pthread_sigmask rather than INTERNAL_SYSCALL.
6784         Use assert_perror to check its return value.
6785         (__gai_create_helper_thread): Likewise.
6787         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6789         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6791 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
6793         [BZ #17725]
6794         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6795         __profil_counter.
6796         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6797         Likewise.
6798         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6799         Likewise.
6800         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6801         Likewise.
6802         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6803         (profil_counter): Likewise.
6804         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6805         (profil_counter): Likewise.
6806         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6807         Likewise.
6808         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6809         Likewise.
6810         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6811         (profil_counter): Likewise.
6812         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6813         Likewise.
6814         [!__profil_counter] (profil_counter): Define as weak alias of
6815         __profil_counter.
6816         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6817         (profil_counter): Rename to __profil_counter.
6818         [!__profil_counter] (profil_counter): Define as weak alias of
6819         __profil_counter.
6820         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6821         (profil_counter): Rename to __profil_counter.
6822         [!__profil_counter] (profil_counter): Define as weak alias of
6823         __profil_counter.
6824         * sysdeps/posix/profil.c: Update comment referring to
6825         profil_counter.
6826         (__profil): Use __profil_counter instead of profil_counter.
6827         * sysdeps/posix/sprofil.c (profil_counter): Rename to
6828         __profil_counter.  Use __profil_counter_ushort and
6829         __profil_counter_uint in definitions.
6830         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6831         instead of profil_counter_uint and profil_counter_ushort.
6833         [BZ #17722]
6834         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6835         define as weak alias of __inet_makeaddr.
6836         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6837         as weak alias of __inet_addr.
6838         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6839         as weak alias of __inet_pton.  Use libc_hidden_weak.
6840         * include/arpa/inet.h (__inet_pton): Declare.  Use
6841         libc_hidden_proto.
6842         (inet_makeaddr): Don't use libc_hidden_proto.
6843         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
6844         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6845         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
6846         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6847         Remove variable.
6848         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6849         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6851 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
6853         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6855 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6857         * stdio-common/bug-vfprintf-nargs.c (do_test):
6858         Cast value to intptr_t to avoid format warning
6859         for usage with PRIdPTR printing macro.
6861 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6863         * libio/tst-widetext.c (do_test):
6864         Use format type %td instead of %Zd for ptrdiff_t
6865         in order to avoid format warning.
6867 2014-12-17  Andreas Schwab  <schwab@suse.de>
6869         * nscd/mem.c (gc): Add size_t cast to match printf format.
6871 2014-12-16  Roland McGrath  <roland@hack.frob.com>
6873         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6874         (init): Apply PTR_MANGLE to pointers before storing them.
6875         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6876         before using them.
6878 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
6880         [BZ #17719]
6881         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6882         define as weak alias of __memrchr.
6883         (__memrchr): Do not define as strong alias of memrchr.
6884         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6885         Remove variable.
6886         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6887         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6888         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6890         [BZ #17717]
6891         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6892         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
6893         (if_indextoname): Rename to __if_indextoname and define as weak
6894         alias of __if_indextoname.  Use libc_hidden_weak.
6895         (if_freenameindex): Rename to __if_freenameindex and define as
6896         weak alias of __if_freenameindex.
6897         (if_nameindex): Rename to __if_nameindex and define as weak alias
6898         of __if_nameindex.
6899         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6900         __if_nametoindex and define as weak alias of __if_nametoindex.
6901         Use libc_hidden_weak.
6902         (if_freenameindex): Rename to __if_freenameindex and define as
6903         weak alias of __if_freenameindex.
6904         (if_nameindex): Rename to __if_nameindex and define as weak alias
6905         of __if_nameindex.
6906         (if_indextoname): Rename to __if_indextoname and define as weak
6907         alias of __if_indextoname.  Use libc_hidden_weak.
6908         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6909         __if_nametoindex and define as weak alias of __if_nametoindex.
6910         Use libc_hidden_weak.
6911         (if_freenameindex): Rename to __if_freenameindex and define as
6912         weak alias of __if_freenameindex.  Use libc_hidden_weak.
6913         (if_nameindex_netlink): Use __if_freenameindex instead of
6914         if_freenameindex.
6915         (if_nameindex): Rename to __if_nameindex and define as weak alias
6916         of __if_nameindex.  Use libc_hidden_weak.
6917         (if_indextoname): Rename to __if_indextoname and define as weak
6918         alias of __if_indextoname.  Use libc_hidden_weak.
6919         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6920         libc_hidden_proto.
6921         [!_ISOMAC] (__if_freenameindex): Likewise.
6922         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6923         if_nametoindex.
6924         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6925         variable.
6926         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6927         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6928         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6929         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6930         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6931         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6932         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6934         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6935         Remove variable.
6936         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6937         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6939 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6941         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6942         subscript above bounds'
6944         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6945         bounds.
6947 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
6949         * libio/tst-fopenloc.c: Use test-skeleton.c.
6951         * stdlib/tst-bsearch.c: Use test-skeleton.c.
6952         (entry): Rename to ITEM.
6953         (do_test, comp): Adjust.
6955         * stdio-common/tst-fseek.c: Use test-skeleton.c.
6957 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6959         * string/tester.c: Include <libc-internal.h>.
6960         (test_memset): Ignore -Wmemset-transposed-args.
6962 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6964         * misc/tst-mntent2.c (do_test): Fix warning.
6966 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6968         * elf/tst-unique4lib.cc(a): Mark as used.
6970 2014-12-16  Florian Weimer  <fweimer@redhat.com>
6972         [BZ #17630]
6973         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6974         names.
6976 2014-12-16  Allan McRae  <allan@archlinux.org>
6978         * stdio-common/Makefile (tests): Re-add bug26.
6980 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
6982         [BZ #17657]
6983         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6984         static array.
6986 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
6988         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6989         (__lll_lock_wait): Likewise.
6990         (__lll_timedlock_wait): Likewise.
6991         (__lll_timedwait_tid): Likewise.
6992         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6993         (__lll_robust_timedlock_wait): Likewise.
6994         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6995         (lll_cond_trylock): Likewise.
6996         (__lll_lock): Likewise.
6997         (__lll_robust_lock): Likewise.
6998         (__lll_cond_lock): Likewise.
6999         (lll_robust_cond_lock): Likewise.
7000         (__lll_timedlock): Likewise.
7001         (__lll_robust_timedlock): Likewise.
7002         (__lll_unlock): Likewise.
7003         (__lll_robust_unlock): Likewise.
7004         (lll_wait_tid): Likewise.
7005         (lll_timedwait_tid): Likewise.
7007 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7009         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7011 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7013         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7015 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7017         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7018         * stdio-common/tst-sprintf.c: Likewise.
7020 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7022         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7024 2014-12-15  Jeff Law  <law@redhat.com>
7026         [BZ #16617]
7027         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7028         on the heap.  (CVE-2012-3406)
7029         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7030         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
7031         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7033 2014-12-15  Will Newton  <will.newton@linaro.org>
7035         * manual/install.texi: Bump required version of texinfo
7036         to 4.7 from 4.5.
7037         * INSTALL: Regenerated.
7038         * configure.ac: Check for makeinfo version 4.7 and above.
7039         * configure: Regenerated.
7041 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7043         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7044         PREFIX, string constant to insert between directory and name.
7045         * sysdeps/posix/shm_open.c: Update caller.
7046         * sysdeps/posix/shm_unlink.c: Likewise.
7047         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7048         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7049         (SEM_SHM_PREFIX): New macro.
7050         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7051         [$(have-thread-library) = no].
7052         * nptl/Makefile (libpthread-routines): Add shm-directory.
7053         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7054         * sysdeps/nptl/shm-directory.h: New file.
7055         * sysdeps/posix/shm-directory.c
7056         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7057         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7058         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7059         INTERNAL_SYSCALL.
7060         (__where_is_shmfs): Function removed.
7061         (mountpoint, defaultmount, defaultdir, __namedsem_once):
7062         Variables removed.
7063         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7064         Use SHM_GET_NAME.
7065         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
7067         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7068         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7069         unconditional for use inside libpthread.
7070         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7072 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7074         * nptl/pthread_getaffinity.c: New file.
7075         * nptl/pthread_setaffinity.c: New file.
7076         * nptl/pthread_getname.c: New file.
7077         * nptl/pthread_setname.c: New file.
7079         * nptl/pthread_create.c (START_THREAD_DEFN)
7080         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7082 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7083             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7085         * resolv/res_send.c (send_vc): Disable warning resplen may
7086         be used uninitialized.
7088 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7090         * nptl/tst-mutex6.c
7091         (ATTR_NULL): New define checks ATTR against NULL.
7092         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7093         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7095 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
7097         [BZ #17581]
7098         * malloc/hooks.c
7099         (mem2mem_check): Revert my previous change.
7100         (malloc_check_get_size): Revert my previous change.
7101         (mem2chunk_check): Revert my previous change.
7103 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7105         * sysdeps/posix/shm-directory.c: New file.
7106         * sysdeps/posix/shm-directory.h: New file.
7107         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7108         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7109         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
7110         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7111         Transmute EPERM to EACCES.
7112         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7113         from ...
7114         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
7115         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7117 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7119         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7120         pointer and cast to uintptr_t.
7121         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7122         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7123         Add cast to avoid warning.
7124         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7126 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7128         * nptl/semaphore.h: Move to ...
7129         * sysdeps/pthread/semaphore.h: ... here.
7130         * Makefile (installed-headers): Change nptl/semaphore.h to
7131         sysdeps/pthread/semaphore.h.
7133 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7135         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7136         generated error format strings.
7138         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7139         -Wformat-extra-args warnings for scanf formats.
7140         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7141         test of zero-length format (duh).
7142         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7143         corner-case scanf format test.
7144         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7145         generated fprintf format string.
7146         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7147         corner-case sprintf format tests.
7148         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7149         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7150         -Wformat-extra-args warnings throughout.
7151         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7152         (CFLAGS-scanf4.c): Likewise.
7153         (CFLAGS-scanf7.c): Likewise.
7154         (CFLAGS-tst-sprintf.c): Likewise.
7155         (CFLAGS-tst-printf.c): Likewise.
7156         (CFLAGS-tst-printfsz.c): Likewise.
7158 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7160         * include/cpio.h: New file.
7161         * include/fmtmsg.h: Likewise.
7163         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
7164         corresponding format argument to size_t.
7165         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
7166         arguments.
7167         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
7168         corresponding format argument to size_t.
7169         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
7170         arguments.
7171         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
7172         corresponding format argument to size_t.
7173         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7174         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7175         (CFLAGS-tst-mbswcs2.c): Likewise.
7176         (CFLAGS-tst-mbswcs3.c): Likewise.
7177         (CFLAGS-tst-mbswcs4.c): Likewise.
7178         (CFLAGS-tst-mbswcs5.c): Likewise.
7179         (CFLAGS-tst-trans.c): Likewise
7181 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7183         * posix/regexbug1.c (main): Use "%s" format with regerror results,
7184         rather than assuming they won't contain any '%'s.
7186 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
7188         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7189         inhibit_loop_to_libcall to avoid recursive calls.
7190         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7191         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7193 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7195         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7196         prototype.
7198 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7200         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7201         integer value instead of boolean.
7203 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7205         * malloc/malloc.c: Fix powerof2 check.
7207 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7209         * locale/programs/locfile.h (maybe_swap_uint32):
7210         Remove inline and add unused attribute.
7212 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7214         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7215         Truncating assembler expression to a .long expression.
7217 2014-12-11  Andreas Schwab  <schwab@suse.de>
7219         * elf/rtld.c (struct map_args): Constify str member.
7220         (do_preload): Constify fname argument.
7222 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7224         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7225         constants definition.
7227 2014-12-11  Andreas Schwab  <schwab@suse.de>
7229         [BZ #16657]
7230         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7231         FORCE_ELISION instead of DO_ELISION.
7232         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7233         Remove.
7234         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7235         Likewise.
7237         * iconvdata/gconv-modules: Remove duplicate entry.
7239 2014-12-11  Will Newton  <will.newton@linaro.org>
7241         Merge gettext 0.19.3 into intl/.
7243         This involves a number of cosmetic changes to comments
7244         and ANSI function definitions and prototypes throughout
7245         all the files. The gettext copyright header is used but
7246         with the date ranges taken from the glibc copy.
7248         * NEWS: Add gettext merge to 2.21.
7249         * intl/bindtextdom.c: Switch to gettext copyright.
7250         Use ANSI definitions and prototypes.
7251         Use gl_* locking primitives rather than __libc_* ones.
7252         Use __builtin_expect rather than __glibc_likely/unlikely.
7253         * intl/dcgettext.c: Switch to gettext copyright.
7254         Use ANSI definitions and prototypes.
7255         * intl/dcigettext.c: Switch to gettext copyright.
7256         Use ANSI definitions and prototypes.
7257         (INTDIV0_RAISES_SIGFPE): New define.
7258         Use gl_* locking primitives rather than __libc_* ones.
7259         Include eval-plural.h instead of plural-eval.c.
7260         Use __builtin_expect rather than __glibc_likely/unlikely.
7261         * intl/dcngettext.c: Switch to gettext copyright.
7262         Use ANSI definitions and prototypes.
7263         * intl/dgettext.c: Likewise.
7264         * intl/dngettext.c: Likewise.
7265         * intl/plural-eval.c: Renamed to...
7266         * intl/eval-plural.h: ...this.
7267         * intl/explodename.c: Switch to gettext copyright.
7268         Use ANSI definitions and prototypes.
7269         (_nl_explode_name): Use strchr instead of __rawmemchr.
7270         * intl/finddomain.c: Switch to gettext copyright.
7271         Use ANSI definitions and prototypes.
7272         Use gl_* locking primitives rather than __libc_* ones.
7273         (_nl_find_domain): Use malloc rather than alloca for
7274         allocation of temporary locale name.
7275         * intl/gettext.c: Switch to gettext copyright.
7276         Use ANSI definitions and prototypes.
7277         * intl/gettextP.h: Switch to gettext copyright.
7278         Use ANSI definitions and prototypes.
7279         Use gl_* locking primitives rather than __libc_* ones.
7280         * intl/gmo.h: Switch to gettext copyright.
7281         (struct sysdep_string): Move struct segment_pair outside of
7282         struct definition.
7283         * intl/hash-string.c: Use ANSI definitions and prototypes.
7284         * intl/hash-string.h: Switch to gettext copyright.
7285         Use ANSI definitions and prototypes.
7286         * intl/l10nflist.c: Switch to gettext copyright.
7287         Use ANSI definitions and prototypes.
7288         (_nl_normalize_codeset): Avoid integer overflow.
7289         * intl/loadinfo.h: Switch to gettext copyright.
7290         Use ANSI definitions and prototypes.
7291         (LIBINTL_DLL_EXPORTED): New define.
7292         (PATH_SEPARATOR): New define.
7293         * intl/loadmsgcat.c: Switch to gettext copyright.
7294         * intl/localealias.c: Switch to gettext copyright.
7295         Use ANSI definitions and prototypes.
7296         (_nl_expand_alias): Use PATH_SEPARATOR.
7297         * intl/ngettext.c: Switch to gettext copyright.
7298         Use ANSI definitions and prototypes.
7299         * intl/plural-exp.c: Likewise.
7300         * intl/plural-exp.h: Switch to gettext copyright.
7301         Use ANSI definitions and prototypes.
7302         (struct expression): Move definition of enum operator outside
7303         of struct definition.
7304         * intl/plural.c: Regenerate.
7305         * intl/plural.y: Switch to gettext copyright.
7306         Use ANSI definitions and prototypes.
7307         Port to bison 3.0.
7308         * intl/textdomain.c: Switch to gettext copyright.
7309         Use ANSI definitions and prototypes.
7310         Use gl_* locking primitives rather than __libc_* ones.
7312 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
7314         * debug/warning-nop.c: Add used atrribute.
7316 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7318         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7320         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7321         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7322         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7324 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7325             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7327         [BZ #17634]
7328         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7329         Undefine after defining function.  Define as weak alias of
7330         __wcschr.  Use libc_hidden_weak.
7331         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
7332         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7333         (libc_hidden_def): Also define __GI___wcschr alias.
7334         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7335         __wcschr and define as weak alias of __wcschr.
7336         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7337         __wcschr.
7338         [!WCSCHR] (DEFAULT_WCSCHR): Define.
7339         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7340         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
7341         libc_hidden_weak.  Do not use libc_hidden_def.
7342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7343         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7344         __GI___wcschr alias.
7345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7346         [IS_IN (libc)] (wcschr): Define as macro expanding to
7347         __redirect_wcschr.
7348         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7349         [IS_IN (libc)] (__wcschr_power6): Likewise.
7350         [IS_IN (libc)] (__wcschr_power7): Likewise.
7351         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
7352         instead of wcschr.
7353         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7354         __libc_wcschr.
7355         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7356         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7357         __wcschr and define as weak alias of __wcschr.  Use
7358         libc_hidden_builtin_def.
7359         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7360         as weak alias of __wcschr.  Use libc_hidden_weak.
7361         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7362         wcschr.
7363         * time/era.c (_nl_init_era_entries): Likewise.
7364         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7365         variable.
7366         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7367         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7369 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7371         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7372         format for long int variable.
7374 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
7376         [BZ #10672]
7377         * manual/search.texi: (Array Sort Function): Remove claim how to make
7378         qsort stable.
7380 2014-12-10  Andreas Schwab  <schwab@suse.de>
7382         [BZ #12847]
7383         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7384         user-controlled locks.
7386 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
7388         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7389         register.
7391 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7393         * configure.ac (--disable-werror): New configure option.
7394         (enable_werror): New AC_SUBST.
7395         * configure: Regenerated.
7396         * config.make.in (enable-werror): New variable.
7397         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7398         -Wno-error=undef.
7399         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7400         * manual/install.texi (Configuring and compiling): Document
7401         --disable-werror.
7402         * INSTALL: Regenerated.
7403         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7404         (CFLAGS-tst-chk2.c): Likewise.
7405         (CFLAGS-tst-chk3.c): Likewise.
7406         (CFLAGS-tst-chk4.cc): Likewise.
7407         (CFLAGS-tst-chk5.cc): Likewise.
7408         (CFLAGS-tst-chk6.cc): Likewise.
7409         (CFLAGS-tst-lfschk1.c): Likewise.
7410         (CFLAGS-tst-lfschk2.c): Likewise.
7411         (CFLAGS-tst-lfschk3.c): Likewise.
7412         (CFLAGS-tst-lfschk4.cc): Likewise.
7413         (CFLAGS-tst-lfschk5.cc): Likewise.
7414         (CFLAGS-tst-lfschk6.cc): Likewise.
7416         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7417         (main): Disable -Wdeprecated-declarations around calls to
7418         register_printf_function.
7420         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7421         (do_test): Disable -Wdiv-by-zero around some calls to
7422         fwrite_unlocked and fread_unlocked.
7424         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7425         (DIAG_POP_NEEDS_COMMENT): Likewise.
7426         (_DIAG_STR1): Likewise.
7427         (_DIAG_STR): Likewise.
7428         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7429         * stdio-common/bug21.c: Include <libc-internal.h>.
7430         (do_test): Disable -Wformat around call to sscanf.
7431         * stdio-common/scanf14.c: Include <libc-internal.h>.
7432         (main): Disable -Wformat around some calls to scanf functions.
7434 2014-12-09  Torvald Riegel  <triegel@redhat.com>
7436         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7438 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7440         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7441         stack variable alignment.
7443 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
7445         [BZ #17682]
7446         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7447         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7448         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7449         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7450         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7451         __getrlimit instead of getrlimit.
7452         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7453         __gettimeofday instead of gettimeofday.
7454         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7455         Likewise.
7456         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7457         Likewise.
7458         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7459         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7460         Remove variable.
7461         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7462         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7464 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7466         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7467         for wide-character tests.
7469 2014-12-04  Roland McGrath  <roland@hack.frob.com>
7471         * io/openat64.c: #include <libc-internal.h>
7472         (__openat64): Prototypify.  Use ignore_value on MODE.
7473         * io/openat.c: Likewise.
7474         * misc/reboot.c: #include <libc-internal.h>
7475         (reboot): Prototypify.  Use ignore_value on HOWTO.
7476         * misc/ptrace.c: #include <libc-internal.h>
7477         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
7479 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
7481         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7482         XPG4, UNIX98 and XOPEN2K.
7483         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7484         Remove variable.
7485         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7487 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7489         * libio/fileops.c: Use ISO C style for function definitions.
7490         * libio/iofopen.c: Likewise.
7491         * libio/wfileops.c: Likewise.
7493         [BZ #17653]
7494         * libio/fileops.c (_IO_new_file_underflow): Unset cached
7495         offset on EOF.
7496         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7497         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7498         (fgets_func): Function pointer to fgets and fgetws.
7499         (do_ftell_test): Add test to verify ftell value after read
7500         EOF.
7501         (do_test): Set fgets_func.
7503         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7504         O_TRUNC flag for w and w+ modes.
7505         (do_rewind_test): Likewise.
7506         (do_ftell_test): Likewise.
7507         (do_write_test): Likewise.
7509         [BZ #17647]
7510         * libio/fileops.c (do_ftell): Seek only when there are
7511         unflushed writes.
7512         * libio/wfileops.c (do_ftell_wide): Likewise.
7513         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7514         test case.
7515         (do_one_test): Call it.
7517 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
7519         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7520         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7521         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7522         Remove variable.
7523         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7524         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7525         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7527 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7529         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7530         Remove variable.
7531         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7533         [BZ #17668]
7534         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7535         as weak alias of __getifaddrs.  Use libc_hidden_weak.
7536         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7537         __freeifaddrs.  Use libc_hidden_weak.
7538         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7539         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
7540         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7541         __freeifaddrs.  Use libc_hidden_weak.
7542         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7543         __getifaddrs and define as weak alias of __getifaddrs.  Use
7544         libc_hidden_weak.
7545         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7546         __freeifaddrs.  Use libc_hidden_weak.
7547         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7548         Remove variable.
7549         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7550         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7552 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7554         [BZ #17601]
7555         * sysdeps/mips/start.S (__start): Use indirect jump to call
7556         __libc_start_main.
7558 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7560         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7562         * nptl/tst-mutex1.c: Include <stdbool.h>.
7563         [!ATTR] (ATTR_NULL): New macro.
7564         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7565         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7566         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7568         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7569         to char *.
7571         [BZ #17665]
7572         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7573         Change conditional to [__USE_MISC].
7575         [BZ #17664]
7576         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7577         fgets_unlocked.
7578         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7579         __fgets_unlocked.
7580         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7581         fgets_unlocked.
7582         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7583         Remove variable.
7584         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7585         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7586         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7587         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7588         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7589         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7590         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7591         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7592         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7594         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7596 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7598         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7599         Remove strpbrk objects.
7600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7601         (__libc_ifunc_impl_list): Remove strpbrk implementation.
7602         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7603         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7604         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7605         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7607         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7608         Remove strcspn objects.
7609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7610         (__libc_ifunc_impl_list): Remove strcspn implementation.
7611         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7612         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7613         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7614         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7616         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7617         Remove strspn objetcs.
7618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7619         (__libc_ifunc_impl_list): Remove strspn implementation.
7620         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7621         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7622         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7623         * sysdeps/powerpc/powerpc64/strspn.S: New file.
7625 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
7627         [BZ #17581]
7628         * malloc/hooks.c
7629         (mem2mem_check): Add a terminator to the chain of checking blocks.
7630         (malloc_check_get_size): Use it here.
7631         (mem2chunk_check): Ditto.
7633 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7635         * sysdeps/powerpc/powerpc64/strtok.S: New file.
7636         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7638 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
7640         * bits/ioctl-types.h: Indent preprocessor directives correctly.
7642         * nptl/nptl-init.c: Include libc-internal.h.
7643         (__pthread_initialize_minimal_internal): Use ROUND_UP.
7645         * elf/ldconfig.c (search_dir): Expand comment.
7647 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
7649         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7650         variable.
7651         (linknamespace-symlist-stdlibs-tests): Likewise.
7652         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7653         instead of $(objpfx)symlist-stdlibs.
7654         (linknamespace-libs-isoc): New variable.
7655         (linknamespace-libs): Use $(linknamespace-libs-isoc).
7656         (linknamespace-libs-ISO): New variable.
7657         (linknamespace-libs-ISO99): Likewise.
7658         (linknamespace-libs-ISO11): Likewise.
7659         (linknamespace-libs-XPG3): Likewise.
7660         (linknamespace-libs-XPG4): Likewise.
7661         (linknamespace-libs-POSIX): Likewise.
7662         (linknamespace-libs-UNIX98): Likewise.
7663         (linknamespace-libs-XOPEN2K): Likewise.
7664         (linknamespace-libs-POSIX2008): Likewise.
7665         (linknamespace-libs-XOPEN2K8): Likewise.
7666         ($(objpfx)symlist-stdlibs): Replace by
7667         $(linknamespace-symlist-stdlibs-tests).  Use
7668         $(linknamespace-libs-$*) as set of libraries.
7669         ($(linknamespace-header-tests)): Update dependencies.  Use
7670         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7671         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7672         * conform/linknamespace.pl: Remove comment about considering
7673         definitions of symbols from irrelevant libraries.
7675 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7677         [BZ #13862]
7678         * elf/dl-tls.c: Include <atomic.h>.
7679         (oom): Remove #ifdef SHARED/#endif.
7680         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7681         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
7682         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7683         big enough.
7684         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7685         * nptl/Makefile (tests): Add tst-stack4.
7686         (modules-names): Add tst-stack4mod.
7687         ($(objpfx)tst-stack4): New.
7688         (tst-stack4mod.sos): Likewise.
7689         ($(objpfx)tst-stack4.out): Likewise.
7690         ($(tst-stack4mod.sos)): Likewise.
7691         (clean): Likewise.
7692         * nptl/tst-stack4.c: New file.
7693         * nptl/tst-stack4mod.c: Likewise.
7695 2014-11-27  J. Brown  <jb999@gmx.de>
7697         * sysdeps/x86/bits/string.h: Add recent CPUs.
7699 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7701         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7702         sigblock.
7704         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7705         feof.
7707         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7708         variable.
7710 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7712         * nscd/connections.c: Include libc-internal.h because of macro
7713         usage ignore_value.
7715 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7717         * string/bits/string3.h (__warn_memset_zero_len): Don't
7718         declare for gcc newer than 5.0.
7719         (memset): Don't test for zero-length __LEN for gcc newer than
7720         5.0.
7722 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7724         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7725         size_t for %zu format.
7727         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7728         difference, not %ju.
7730 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7732         * include/libc-internal.h (ignore_value): New macro.
7733         * nscd/connections.c (restart): Wrap calls to setuid and setgid
7734         with ignore_value.
7736         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7737         definition.
7739         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7740         pthread_cleanup_push to void *.
7742         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7743         Undefine.
7745         [BZ #16619]
7746         [BZ #16740]
7747         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7748         instead of 1L << 52.
7750         * libio/bug-rewind.c (do_test): Check fwscanf return values.
7751         * libio/bug-rewind2.c (do_test): Likewise.
7753         * debug/test-stpcpy_chk-ifunc.c: Remove file.
7754         * debug/test-strcpy_chk-ifunc.c: Likewise.
7755         * wcsmbs/test-wcschr-ifunc.c: Likewise.
7756         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7757         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7758         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7759         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7760         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7761         * Rules [$(multi-arch) = no] (tests): Do not filter out
7762         $(tests-ifunc).
7763         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7764         * debug/Makefile (tests-ifunc): Remove variable.
7765         (tests): Do not add $(tests-ifunc).
7766         * wcsmbs/Makefile (tests-ifunc): Remove variable.
7767         (tests): Do not add $(tests-ifunc).
7768         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7769         [TEST_IFUNC]: Remove conditionals.
7770         * string/test-string.h (TEST_IFUNC): Remove macro.
7771         [TEST_IFUNC]: Remove conditionals.
7773         * string/test-strchr.c [!WIDE] (L): New macro.
7774         [WIDE] (L): Likewise.
7775         (check1): Use CHAR instead of char.  Use L on string and character
7776         constants.
7778 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
7780         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7781         tests.
7782         * sysdeps/powerpc/bits/atomic.h
7783         (__arch_atomic_exchange_and_add_32_acq): Add definition.
7784         (__arch_atomic_exchange_and_add_32_rel): Likewise.
7785         (atomic_exchange_and_add_acq): Likewise.
7786         (atomic_exchange_and_add_rel): Likewise.
7787         * sysdeps/powerpc/powerpc32/bits/atomic.h
7788         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7789         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7790         * sysdeps/powerpc/powerpc64/bits/atomic.h
7791         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7792         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7794 2014-11-26  Torvald Riegel  <triegel@redhat.com>
7796         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7797         Change synchronization of __sched_fifo_min_prio and
7798         __sched_fifo_max_prio.
7799         * nptl/pthread_mutexattr_getprioceiling.c
7800         (pthread_mutexattr_getprioceiling): Likewise.
7801         * nptl/pthread_mutexattr_setprioceiling.c
7802         (pthread_mutexattr_setprioceiling): Likewise.
7803         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7804         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7805         Likewise.
7807 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7809         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7810         void.
7812 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7814         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7815         third argument const.
7817 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
7819         fnmatch: work around GCC compiler warning bug with uninit var
7820         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7821         This works around a bug with x86-64 GCC 4.9.2 and earlier
7822         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7823         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7824         used uninitialized in this function [-Wmaybe-uninitialized]".
7826 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7828         * posix/bug-regex31.c (main): Return RES not 0.
7830 2014-11-25  Anton Blanchard <anton@samba.org>
7832         * sysdeps/powerpc/bits/atomic.h
7833         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7835 2014-11-24  Sterling Augustine  <saugustine@google.com>
7837         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7839 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
7841         [BZ #17608]
7842         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7844 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
7846         [BZ #17633]
7847         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7848         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7849         variable.
7850         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7851         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7853 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7855         * string/strncpy.c (strncpy): Improve performance by using memset.
7857 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7859         * string/strcpy.c (strcpy):
7860         Improve performance by using strlen and memcpy.
7862 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
7864         * string/strcoll_l.c (get_next_seq): __always_inline.
7865         * string/strcoll_l.c (do_compare): __always_inline.
7867 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7869         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7870         defined.
7871         * include/mqueue.h: Likewise.
7872         * include/stdlib.h: Likewise.
7874         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7875         (get_null_defines): Adjust.
7876         * sunrpc/Makefile: Adjust comment.
7877         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7878         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7879         (CFLAGS-interp.c): Likewise.
7880         (CFLAGS-ldconfig.c): Likewise.
7881         (CPPFLAGS-.os): Likewise.
7882         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7883         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7884         * extra-modules.mk (extra-modules.mk): Likewise.
7885         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7886         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7887         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7888         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7889         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7890         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7891         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7892         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7893         * iconvdata/Makefile (CPPFLAGS): Likewise.
7894         (cpp-srcs-left): Add libof for all iconvdata routines.
7895         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7896         * include/assert.h: Likewise.
7897         * include/ctype.h: Likewise.
7898         * include/errno.h: Likewise.
7899         * include/libc-symbols.h: Likewise.
7900         * include/math.h: Likewise.
7901         * include/netdb.h: Likewise.
7902         * include/resolv.h: Likewise.
7903         * include/stdio.h: Likewise.
7904         * include/stdlib.h: Likewise.
7905         * include/string.h: Likewise.
7906         * include/sys/stat.h: Likewise.
7907         * include/wctype.h: Likewise.
7908         * intl/l10nflist.c: Likewise.
7909         * libidn/idn-stub.c: Likewise.
7910         * libio/libioP.h: Likewise.
7911         * nptl/libc_multiple_threads.c: Likewise.
7912         * nptl/pthreadP.h: Likewise.
7913         * posix/regex_internal.h: Likewise.
7914         * resolv/res_hconf.c: Likewise.
7915         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7916         * sysdeps/arm/memmove.S: Likewise.
7917         * sysdeps/arm/sysdep.h: Likewise.
7918         * sysdeps/generic/_itoa.h: Likewise.
7919         * sysdeps/generic/symbol-hacks.h: Likewise.
7920         * sysdeps/gnu/errlist.awk: Likewise.
7921         * sysdeps/gnu/errlist.c: Likewise.
7922         * sysdeps/i386/i586/memcpy.S: Likewise.
7923         * sysdeps/i386/i586/memset.S: Likewise.
7924         * sysdeps/i386/i686/memcpy.S: Likewise.
7925         * sysdeps/i386/i686/memmove.S: Likewise.
7926         * sysdeps/i386/i686/mempcpy.S: Likewise.
7927         * sysdeps/i386/i686/memset.S: Likewise.
7928         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7929         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7930         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7931         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7932         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7933         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7934         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7935         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7936         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7937         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7938         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7939         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7940         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7941         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7942         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7943         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7944         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7945         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7946         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7947         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7948         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7949         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7950         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7951         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7952         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7953         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7954         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7955         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7956         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7957         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7958         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7959         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7960         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7961         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7962         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7963         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7964         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7965         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7966         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7967         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7968         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7969         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7970         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7971         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7972         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7973         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7974         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7975         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7976         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7977         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7978         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7979         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7980         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7981         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7982         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7983         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7984         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7985         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7986         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7987         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7988         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7989         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7990         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7991         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7992         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7993         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7994         * sysdeps/posix/closedir.c: Likewise.
7995         * sysdeps/posix/opendir.c: Likewise.
7996         * sysdeps/posix/readdir.c: Likewise.
7997         * sysdeps/posix/rewinddir.c: Likewise.
7998         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7999         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8000         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8001         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8002         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8003         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8004         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8005         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8006         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8007         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8008         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8009         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8010         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8011         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8012         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8013         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8014         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8015         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8016         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8017         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8018         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8019         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8020         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8021         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8022         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8023         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8024         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8025         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8026         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8027         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8029         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8030         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8031         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8033         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8034         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8035         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8036         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8037         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8038         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8039         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8040         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8041         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8042         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8043         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8044         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8045         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8046         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8047         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8048         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8049         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8050         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8051         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8052         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8053         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8054         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8055         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8056         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8057         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8058         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8059         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8060         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8061         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8062         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8063         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8064         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8065         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8066         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8067         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8068         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8069         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8070         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8071         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8072         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8073         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8074         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8075         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8076         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8077         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8078         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8079         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8080         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8081         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8082         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8083         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8084         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8085         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8086         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8087         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8088         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8089         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8090         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8091         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8092         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8093         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8094         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8095         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8096         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8097         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8098         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8099         * sysdeps/unix/alpha/sysdep.S: Likewise.
8100         * sysdeps/unix/alpha/sysdep.h: Likewise.
8101         * sysdeps/unix/make-syscalls.sh: Likewise.
8102         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8103         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8104         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8105         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8106         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8107         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8108         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8109         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8110         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8111         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8112         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8113         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8114         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8115         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8116         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8117         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8118         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8119         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8120         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8121         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8122         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8123         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8124         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8125         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8126         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8127         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8128         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8131         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8132         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8133         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8134         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8135         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8136         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8137         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8138         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8139         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8140         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8141         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8142         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8143         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8144         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8145         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8146         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8147         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8148         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8149         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8150         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8151         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8152         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8153         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8154         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8155         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8156         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8157         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8158         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8159         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8160         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8161         * sysdeps/x86_64/memcpy.S: Likewise.
8162         * sysdeps/x86_64/memmove.c: Likewise.
8163         * sysdeps/x86_64/memset.S: Likewise.
8164         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8165         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8166         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8167         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8168         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8169         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8170         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8171         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8172         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8173         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8174         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8175         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8176         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8177         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8178         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8179         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8180         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8181         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8182         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8183         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8184         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8185         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8186         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8187         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8188         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8189         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8190         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8191         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8192         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8193         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8194         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8195         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8196         * sysdeps/x86_64/strcmp.S: Likewise.
8198         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8200         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8201         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8202         * elf/rtld-Rules: Likewise.
8203         * elf/setup-vdso.h: Likewise.
8204         * include/assert.h: Likewise.
8205         * include/bits/stdlib-float.h: Likewise.
8206         * include/errno.h: Likewise.
8207         * include/sys/stat.h: Likewise.
8208         * include/unistd.h: Likewise.
8209         * sysdeps/aarch64/setjmp.S: Likewise.
8210         * sysdeps/alpha/setjmp.S: Likewise.
8211         * sysdeps/arm/__longjmp.S: Likewise.
8212         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8213         * sysdeps/arm/setjmp.S: Likewise.
8214         * sysdeps/arm/sysdep.h: Likewise.
8215         * sysdeps/generic/_itoa.h: Likewise.
8216         * sysdeps/generic/dl-sysdep.h: Likewise.
8217         * sysdeps/generic/ldsodefs.h: Likewise.
8218         * sysdeps/i386/dl-tls.h: Likewise.
8219         * sysdeps/i386/setjmp.S: Likewise.
8220         * sysdeps/m68k/setjmp.c: Likewise.
8221         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8222         * sysdeps/mach/hurd/opendir.c: Likewise.
8223         * sysdeps/posix/getcwd.c: Likewise.
8224         * sysdeps/posix/opendir.c: Likewise.
8225         * sysdeps/posix/profil.c: Likewise.
8226         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8227         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8228         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8229         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8230         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8231         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8232         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8233         * sysdeps/s390/dl-tls.h: Likewise.
8234         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8235         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8236         * sysdeps/sh/sh3/setjmp.S: Likewise.
8237         * sysdeps/sh/sh4/setjmp.S: Likewise.
8238         * sysdeps/unix/alpha/sysdep.h: Likewise.
8239         * sysdeps/unix/arm/sysdep.S: Likewise.
8240         * sysdeps/unix/i386/sysdep.S: Likewise.
8241         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8242         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8243         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8244         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8245         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8246         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8247         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8248         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8249         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8250         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8251         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8252         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8253         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8256         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8257         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8259         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8260         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8261         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8262         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8264         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8265         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8266         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8267         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8268         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8269         * sysdeps/x86_64/setjmp.S: Likewise.
8271         * include/math.h: Use IS_IN instead of IS_IN_libm.
8272         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8273         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8274         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8275         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8276         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8277         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8278         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8279         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8280         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8281         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8282         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8283         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8284         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8285         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8286         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8287         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8288         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8289         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8290         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8291         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8292         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8293         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8294         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8295         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8296         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8297         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8298         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8299         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8300         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8301         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8302         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8303         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8304         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8306         Likewise.
8307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8308         Likewise.
8309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8310         Likewise.
8311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8312         Likewise.
8313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8314         Likewise.
8315         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8316         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8317         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8318         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8319         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8320         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8326         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8327         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8328         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8329         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8330         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8331         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8332         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8333         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8334         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8335         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8336         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8337         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8338         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8339         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8341         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8343         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8344         * nptl/pthreadP.h: Likewise.
8345         * nptl_db/structs.def: Likewise.
8346         * sysdeps/arm/sysdep.h: Likewise.
8347         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8348         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8349         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8350         * sysdeps/unix/alpha/sysdep.h: Likewise.
8351         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8352         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8353         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8354         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8355         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8356         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8358         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8359         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8360         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8361         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8362         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8363         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8364         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8367         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8368         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8369         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8370         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8371         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8372         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8373         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8374         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8375         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8376         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8378         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8379         * nptl/pthreadP.h: Likewise.
8380         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8381         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8382         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8383         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8384         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8385         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8386         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8387         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8388         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8389         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8390         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8391         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8393         Likewise.
8394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8395         Likewise.
8396         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8397         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8398         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8399         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8400         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8401         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8402         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8403         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8405         * dlfcn/dladdr.c: Use IS_IN.
8406         * dlfcn/dladdr1.c: Likewise.
8407         * dlfcn/dlclose.c: Likewise.
8408         * dlfcn/dlerror.c: Likewise.
8409         * dlfcn/dlinfo.c: Likewise.
8410         * dlfcn/dlmopen.c: Likewise.
8411         * dlfcn/dlopen.c: Likewise.
8412         * dlfcn/dlsym.c: Likewise.
8413         * dlfcn/dlvsym.c: Likewise.
8415         * include/ifaddrs.h: Use IS_IN.
8416         * inet/check_pf.c: Likewise.
8417         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8418         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8420         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8421         IS_IN_ldconfig.
8422         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8423         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8425         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8426         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8427         IS_IN (libc).
8429         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8431         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8432         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8433         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8434         * include/libc-symbols.h (IS_IN_LIB): New macro.
8435         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8436         * include/netdb.h: Likewise.
8437         * include/stap-probe.h: Remove all uses of IN_LIB.
8439         * Makeconfig (module-cppflags-real): Define MODULE_NAME
8440         instead of IN_MODULE.
8441         * include/libc-symbols.h (IN_MODULE): Define using
8442         MODULE_NAME.
8443         (PASTE_NAME, PASTE_NAME1): New macros.
8444         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8445         of IN_LIB.
8446         (STAP_PROBE_ASM): Likewise.
8448 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8450         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8451         __mach_init in dlopened libc.
8453 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
8455         * sysdeps/arm/preconfigure.ac: Delete EABI check.
8456         * sysdeps/arm/preconfigure: Regenerate.
8458 2014-11-21  Roland McGrath  <roland@hack.frob.com>
8460         * nptl/pthread_create.c (__pthread_create_2_1): Set
8461         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8462         when copying values from IATTR into PD.
8464 2014-11-21  Will Newton  <will.newton@linaro.org>
8465             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8467         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8468         Refactor inline-asm.  Also add comment.
8470         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8471         ElfW macro instead of hardcoded Elf64 types.
8472         (la_aarch64_gnu_pltenter): Likewise.
8473         * sysdeps/aarch64/dl-machine.h
8474         (elf_machine_runtime_setup): Use ElfW(Addr).
8476         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8477         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8478         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8479         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8480         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8481         (R_AARCH64_TLS_DTPMOD64): Rename to ..
8482         (R_AARCH64_TLS_DTPMOD): This.
8483         (R_AARCH64_TLS_DTPREL64): Rename to ...
8484         (R_AARCH64_TLS_DTPREL): This.
8485         (R_AARCH64_TLS_TPREL64): Rename to ...
8486         (R_AARCH64_TLS_TPREL): This.
8487         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8488         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8489         R_AARCH64_TLS_TPREL64.
8490         (elf_machine_rela): Likewise.
8492 2014-11-21  Torvald Riegel  <triegel@redhat.com>
8494         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8495         by setting it to 0.  64b atomics are not supported currently.
8497 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8499         [BZ #16469]
8500         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8501         search domain names.
8503 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8505         [BZ #16469]
8506         * NEWS: Update.
8507         * resolv/res_query.c (__libc_res_nquerydomain): Retain
8508         trailing dot.
8509         * posix/tst-getaddrinfo5.c: New.
8510         * posix/Makefile (tests): Add it.
8512 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8514         [BZ #14498]
8515         * NEWS: Fixed.
8516         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8517         after parsing line but before break_if_match.
8518         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8519         if there is a protocol mismatch.
8521 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8523         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8524         because the potential race is on the user-supplied stream.
8526 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8528         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8529         string literal if not passed a buffer.
8530         * manual/job.texi (ctermid): Update reasoning, note deviation
8531         from posix, suggest mtasurace when not passed a buffer, for
8532         future non-preliminary safety notes.
8534 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8536         * manual/users.texi (cuserid): Fix MT-Safety note for the case
8537         of not passing it a buffer.
8538         Reported by Peng Haitao.
8540 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8542         * manual/Makefile ($(objpfx)stamp-summary): Require
8543         check-safety.sh to pass.
8544         * manual/check-safety.sh: Wish for verification that every
8545         @deftypefn and @deftypefun is followed by a @safety remark.
8547 2014-11-20  Roland McGrath  <roland@hack.frob.com>
8549         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8551         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8552         PTHREAD_CANCEL_ASYNCHRONOUS.
8553         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8554         send SIGCANCEL.
8556         * nptl/default-sched.h: New file.
8557         * sysdeps/unix/sysv/linux/default-sched.h: New file.
8558         * nptl/pthread_create.c: Include it.
8559         (__pthread_create_2_1): Use collect_default_sched instead of making
8560         Linux syscalls here directly.
8562 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8564         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8565         __pthread_once): Use C11 atomics.
8567 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8569         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8571 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8573         * include/atomic.h (__atomic_link_error, __atomic_check_size,
8574         atomic_thread_fence_acquire, atomic_thread_fence_release,
8575         atomic_thread_fence_seq_cst, atomic_load_relaxed,
8576         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8577         atomic_compare_exchange_weak_relaxed,
8578         atomic_compare_exchange_weak_acquire,
8579         atomic_compare_exchange_weak_release,
8580         atomic_exchange_acquire, atomic_exchange_release,
8581         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8582         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8583         atomic_fetch_and_acquire,
8584         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8586 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8588         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8589         USE_ATOMIC_COMPILER_BUILTINS): Define.
8590         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8591         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8592         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8593         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8594         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8595         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8596         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8597         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8598         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8599         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8600         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8601         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8602         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8603         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8604         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8605         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8606         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8607         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8608         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8609         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8610         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8611         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8612         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8613         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8614         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8615         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8616         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8617         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8618         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8619         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8620         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8621         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8622         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8623         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8624         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8625         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8626         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8627         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8628         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8629         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8631 2014-11-19  Roland McGrath  <roland@hack.frob.com>
8633         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8634         the sched_priority value here.  It was already checked when the user
8635         called pthread_attr_setschedparam.
8637         * nptl/tst-bad-schedattr.c: New file.
8638         * nptl/Makefile (tests): Add it.
8640 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
8641             Florian Weimer  <fweimer@redhat.com>
8642             Joseph Myers  <joseph@codesourcery.com>
8643             Adam Conrad  <adconrad@0c3.net>
8644             Andreas Schwab  <schwab@suse.de>
8645             Brooks  <bmoses@google.com>
8647         [BZ #17625]
8648         * wordexp-test.c (__dso_handle): Add prototype.
8649         (__register_atfork): Likewise.
8650         (__app_register_atfork): New function.
8651         (registered_forks): New global.
8652         (register_fork): New function.
8653         (test_case): Add 3 new tests for WRDE_CMDSUB.
8654         (main): Call __app_register_atfork.
8655         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8656         fork count is non-zero fail the test.
8657         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8658         is set.
8659         (parse_dollars): Remove check for WRDE_NOCMD.
8660         (parse_dquote): Likewise.
8662 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8664         * Makeconfig (built-modules): List non-library modules to be
8665         built.
8666         (module-cppflags): Include libc-modules.h for
8667         everything except shlib-versions.v.i.
8668         (CPPFLAGS): Use it.
8669         (before-compile): Add libc-modules.h.
8670         ($(common-objpfx)libc-modules.h,
8671         $(common-objpfx)libc-modules.stmp): New targets.
8672         (common-generated): Add libc-modules.h and libc-modules.stmp.
8673         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8674         * include/libc-symbols.h: Don't include libc-modules.h.
8675         * include/libc-modules.h: Remove file.
8676         * scripts/gen-libc-modules.awk: New script to generate
8677         libc-modules.h.
8678         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8679         Depend on libc-modules.stmp.
8681         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8683         * Makeconfig (in-module): Get value of libof set for the
8684         translation unit.
8685         (CPPFLAGS): Use $(in-module).
8686         * Makerules: Don't suffix routine names for nonlib.
8687         * include/libc-modules.h: New file.
8688         * include/libc-symbols.h: Include libc-modules.h
8689         (IS_IN): New macro to replace IS_IN_* macros.
8690         * elf/Makefile: Set libof-* for each routine.
8691         * elf/rtld-Rules: Likewise.
8692         * extra-modules.mk: Likewise.
8693         * iconv/Makefile: Likewise.
8694         * iconvdata/Makefile: Likewise.
8695         * locale/Makefile: Likewise.
8696         * malloc/Makefile: Likewise.
8697         * nss/Makefile: Likewise.
8698         * sysdeps/gnu/Makefile: Likewise.
8699         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8700         * sysdeps/unix/sysv/linux/Makefile: Likewise.
8701         * sysdeps/s390/s390-64/Makefile: Likewise.
8702         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
8703         CPPFLAGS for nscd instead of nonlib.
8705 2014-11-18  Roland McGrath  <roland@hack.frob.com>
8707         * nptl/createthread.c: New file.
8709         * nptl/createthread.c: Moved ...
8710         * sysdeps/unix/sysv/linux/createthread.c: ... here.
8712         * nptl/createthread.c: Add proper top-line comment.
8713         (do_clone): Folded into ...
8714         (create_thread): ... here.  Take new arguments STOPPED_START and
8715         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
8716         increment __nptl_threads, do event-reporting logic, do
8717         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8718         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
8719         resource cleanup if sched_setaffinity or sched_setscheduler fails,
8720         just send SIGCANCEL.
8721         * nptl/pthread_create.c: Forward-declare create_thread before
8722         including createthread.c.
8723         (start_thread): Use new macro START_THREAD_DEFN to replace defining
8724         declaration, and new macro START_THREAD_SELF to replace argument.
8725         Remove return statement.
8726         (report_thread_creation): New function.
8727         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
8728         synchronization logic, and __nptl_nthreads increment here, around
8729         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
8730         PD->parent_cancelhandling here, before create_thread.  When
8731         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8732         __deallocate_stack, and ENOMEM translation here.
8734 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
8736         [BZ #17616]
8737         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8738         (mptwo): Rename to __mptwo.
8739         (__inv): Use __mptwo instead of mptwo.
8740         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8741         (mptwo): Rename to __mptwo.
8742         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8743         of mpone and __mptwo instead of mptwo.
8744         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8745         instead of mpone.
8746         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8747         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8748         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8749         of mpone and __mptwo instead of mptwo.
8750         (__mpranred): Use __mpone instead of mpone.
8751         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8752         variable.
8753         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8754         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8755         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8756         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8757         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8758         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8759         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8760         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8761         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8762         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8763         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8764         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8765         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8766         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8767         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8768         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8769         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8770         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8771         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8773 2014-11-18  Tom de Vries  <tom@codesoucery.com>
8775         * manual/signal.texi (Primitives Interrupted by Signals): In section,
8776         replace BSD Handler xref with BSD Signal Handling.
8778 2014-11-17  Richard Henderson  <rth@redhat.com>
8780         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8781         (_FP_PACK_RAW_2): Remove.
8782         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8783         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8784         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8785         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8786         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8787         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8788         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8789         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8790         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8791         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8792         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8793         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8794         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8795         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8796         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8797         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8799 2014-11-14  Roland McGrath  <roland@hack.frob.com>
8801         * signal/signal.h [__USE_MISC]
8802         (struct sigvec): Remove type.
8803         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8804         (sigvec): Remove declaration.
8805         * sysdeps/posix/sigvec.c: Moved ...
8806         * signal/sigvec.c: ... here, replacing old file.
8807         (struct sigvec): New type, copied from old signal.h definition.
8808         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8809         (__sigvec): Convert definition to prototype.
8810         (sigvec): Replace weak_alias with compat_symbol.
8811         * signal/Versions (libc: GLIBC_2.21): New version set.
8812         * include/signal.h: Remove __sigvec declaration.
8813         * sysdeps/unix/bsd/sigvec.c: Remove file.
8814         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8815         * manual/signal.texi (BSD Handler): Remove subsection.
8816         Move siginterrupt up to ...
8817         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
8818         (Blocking in BSD): Fold subsection into its parent.
8819         * NEWS: Mention sigvec removal.
8821 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8823         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8824         (DLA_FMS): Make definition conditional only on [__FMA4__].
8825         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8826         definition.
8828         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8829         Make definition conditional only on [PROF].
8830         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8831         definition.
8832         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8833         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8835         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8836         !__GNUC__].
8837         * include/signal.h (__sigpause): Move declaration above call to
8838         libc_hidden_proto.
8839         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8840         variable.
8841         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8842         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8844 2014-11-14  David S. Miller  <davem@davemloft.net>
8846         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8847         Define before including <string/memcpy.c> and <string/mempcpy.c>.
8849 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8851         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8852         * configure: Regenerated.
8853         * manual/install.texi (Tools for Compilation): Document a
8854         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8855         compiler verified to work.
8856         * INSTALL: Regenerated.
8858         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8859         redeclare with asm name.
8860         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8861         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8862         including <string.h>.
8863         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8864         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8865         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8866         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8867         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8868         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8869         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8871 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
8873         * stdlib/strtol.c (__strtol): Use prototype definition.
8875         [BZ #17594]
8876         * stdlib/strtol.c (SYM__): New macro.
8877         (SYM__1): Likewise.
8878         (__strtol): Likewise.
8879         (strtol): Rename to __strtol and define as weak alias of
8880         __strtol.  Use libc_hidden_weak.
8882 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8884         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8885         Use numbered labels in inline assembly.
8887 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8889         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8890         Add setjmp LIBC_PROBE.
8891         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8892         Likewise.
8893         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8894         Add longjmp, longjmp_target LIBC_PROBE.
8895         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8896         Likewise.
8898 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8900         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8901         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8902         to get rid of unused variable warning.
8904 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8906         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8907         Check for unwind_backtrace ==  NULL only in SHARED case.
8908         (__backchain_backtrace): Compile only in SHARED case.
8909         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8910         Likewise.
8911         (__backchain_backtrace): Declare as static.
8913 2014-11-12  Roland McGrath  <roland@hack.frob.com>
8915         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8916         (__libc_multiple_threads_ptr): Variable moved ...
8917         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8919 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
8921         * conform/GlibcConform.pm: New file.
8922         * conform/conformtest.pl: Use GlibcConform module.
8923         * conform/linknamespace.pl: New file.
8924         * conform/list-header-symbols.pl: Likewise.
8925         * conform/Makefile (linknamespace-symlists-base): New variable.
8926         (linknamespace-symlists-tests): Likewise.
8927         (linknamespace-header-base): Likewise.
8928         (linknamespace-header-tests): Likewise.
8929         (tests-special): Add new tests.
8930         ($(linknamespace-symlists-tests)): New rule.
8931         (linknamespace-libs): New variable.
8932         ($(objpfx)symlist-stdlibs): New rule.
8933         ($(linknamespace-header-tests)): Likewise.
8934         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8935         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8936         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8937         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8938         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8939         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8940         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8941         (test-xfail-ISO/math.h/linknamespace): Likewise.
8942         (test-xfail-ISO/signal.h/linknamespace): Likewise.
8943         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8944         (test-xfail-ISO/time.h/linknamespace): Likewise.
8945         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8946         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8947         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8948         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8949         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8950         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8951         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8952         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8953         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8954         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8955         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8956         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8957         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8958         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8959         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8960         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8961         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8962         (test-xfail-XPG3/search.h/linknamespace): Likewise.
8963         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8964         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8965         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8966         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8967         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8968         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8969         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8970         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8971         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8972         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8973         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8974         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8975         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8976         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8977         (test-xfail-XPG4/search.h/linknamespace): Likewise.
8978         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8979         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8980         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8981         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8982         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8983         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8984         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8985         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8986         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8987         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8988         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8989         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8990         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8991         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8992         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8993         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8994         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8995         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8996         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8997         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8998         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8999         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9000         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9001         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9002         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9003         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9004         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9005         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9006         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9007         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9008         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9009         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9010         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9011         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9012         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9013         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9014         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9015         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9016         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9017         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9018         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9019         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9020         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9021         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9022         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9023         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9024         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9025         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9026         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9027         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9028         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9029         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9030         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9031         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9032         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9033         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9034         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9035         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9036         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9037         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9038         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9039         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9040         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9041         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9042         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9043         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9044         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9045         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9046         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9047         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9048         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9049         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9050         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9051         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9052         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9053         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9054         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9055         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9056         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9057         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9058         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9059         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9060         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9061         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9062         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9063         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9064         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9065         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9066         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9067         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9068         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9069         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9070         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9071         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9072         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9073         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9074         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9075         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9076         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9077         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9078         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9079         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9080         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9081         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9082         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9083         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9084         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9085         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9086         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9087         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9088         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9089         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9090         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9091         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9092         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9093         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9094         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9096         [BZ #17589]
9097         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9098         of fgets_unlocked.
9100         [BZ #17585]
9101         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9102         (memmem): Rename to __memmem and define as weak alias of
9103         __memmem.  Use libc_hidden_weak.
9104         (__memmem): Use libc_hidden_def.
9105         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
9106         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9107         memmem.
9109         [BZ #17582]
9110         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9111         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
9112         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9113         and define as weak alias of __fgets_unlocked.  Use
9114         libc_hidden_weak.
9115         (__fgets_unlocked): Use libc_hidden_def.
9116         * include/stdio.h (__fgets_unlocked): Declare.  Use
9117         libc_hidden_proto.
9118         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9119         __fgets_unlocked instead of fgets_unlocked.
9120         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9121         (GET_NPROCS_CONF_PARSER): Likewise.
9122         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9123         (GET_NPROCS_CONF_PARSER): Likewise.
9125         [BZ #17574]
9126         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9127         weak alias of __wmemset.  Use libc_hidden_weak.
9128         (__wmemset): Use libc_hidden_def.
9129         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
9130         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9131         of wmemset.
9133         [BZ #17573]
9134         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9135         with asm name __mempcpy.
9136         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9138         [BZ #17572]
9139         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9140         and define as weak alias of __rawmemchr.
9141         (__rawmemchr): Do not define as strong alias of rawmemchr.
9143         [BZ #17571]
9144         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9145         alias of __qsort_r.
9146         (qsort): Call __qsort_r instead of qsort_r.
9147         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9148         (__qsort_r): Declare.  Call libc_hidden_proto.
9149         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9150         instead of qsort_r.
9151         * nscd/gai.c (__qsort_r): Define to qsort_r.
9152         * posix/tst-rfc3484.c (__qsort_r): Likewise.
9153         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9154         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9156         [BZ #17570]
9157         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9158         define as weak alias of __malloc_info.
9160         [BZ #17584]
9161         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9162         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9163         (__rewinddir): Use libc_hidden_def.
9164         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9165         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9166         (__rewinddir): Use libc_hidden_def.
9167         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9168         weak alias of __rewinddir.  Don't use libc_hidden_def.
9169         (__rewinddir): Use libc_hidden_def.
9170         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9171         (__rewinddir): Use libc_hidden_proto.
9172         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9173         rewinddir.
9174         (__getcwd): Use __rewinddir instead of rewinddir.
9176         [BZ #17583]
9177         * libio/fileno.c (fileno): Rename to __fileno and define as weak
9178         alias of __fileno.  Use libc_hidden_weak.
9179         (__fileno): Use libc_hidden_def.
9180         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9181         * libio/ftello.c (ftello): Rename to __ftello and define as weak
9182         alias of __ftello.
9183         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9184         __ftello.
9185         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9186         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
9187         libc_hidden_def.
9188         (fread_unlocked): Don't use libc_hidden_ver.
9189         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9190         and define as weak alias of __fread_unlocked.  Don't use
9191         libc_hidden_def.
9192         (__fread_unlocked): Use libc_hidden_def.
9193         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
9194         (ftello): Don't use libc_hidden_proto.
9195         (__ftello): Declare.  Use libc_hidden_proto.
9196         (fread_unlocked): Don't use libc_hidden_proto.
9197         (__fread_unlocked): Declare.  Use libc_hidden_proto.
9198         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9199         and __ftello instead of fileno, fread_unlocked and ftello.
9201 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9203         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9204         GOT12.
9205         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9206         Likewise.
9207         (_dl_start_user): Likewise.
9208         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9210 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
9211             Siddhesh Poyarekar  <siddhesh@redhat.com>
9213         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9214         Move argv and envp down instead of moving argc up.
9215         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9217 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
9219         [BZ #17506]
9220         * test-skeleton.c (main): Return successful if one of
9221         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9222         * string/tst-strcoll-overflow.c: Define expected status.
9224 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
9226         [BZ #17475]
9227         * locale/iso-639.def: Define Bhili and Tulu language codes.
9229 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
9231         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9233 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
9235         [BZ #17555]
9236         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9238 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9240         * configure.ac: Updated check of minimal required version to
9241         2.22.
9242         * manual/install.texi (Tools for Compilation): Updated version
9243         number.
9244         * configure: Regenerated.
9245         * INSTALL: Likewise.
9247 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
9249         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9250         __tls_get_addr.
9252 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
9254         * include/sys/wait.h (__libc_waitpid): Remove declaration.
9255         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9256         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9257         libc_hidden_weak.
9258         (waitpid): Define as alias of __waitpid.
9259         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9260         __waitpid.
9261         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9262         libc_hidden_weak.
9263         (waitpid): Define as alias of __waitpid.
9264         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9265         __libc_waitpid alias.
9266         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9267         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9268         Likewise.
9269         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9270         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9271         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9272         alias.
9273         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9274         __waitpid.
9275         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9276         libc_hidden_weak.
9277         (waitpid): Define as alias of __waitpid.
9279 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
9281         * manual/llio.texi: Add comment that write safety has been
9282         fixed in Linux.
9284         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9285         (localplt-build-dso): Add elf/ld.so.
9286         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9287         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9288         and free for ld.so.
9289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9290         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9292         Likewise.
9293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9294         Likewise.
9295         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9296         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9297         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9298         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9299         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9300         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9301         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9302         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9303         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9304         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9305         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9307 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
9309         [BZ #14132]
9310         * include/libc-symbols.h (INTUSE): Remove macro.
9311         (INTDEF): Likewise.
9312         (INTVARDEF): Likewise.
9313         (_INTVARDEF): Likewise.
9314         (INTDEF2): Likewise.
9315         (INTVARDEF2): Likewise.
9316         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9317         rtld_hidden_def instead of INTVARDEF.
9318         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9319         (_dl_starting_up_internal): Remove declaration.
9320         (_dl_starting_up): Use rtld_hidden_proto.
9321         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9322         declaration.
9323         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9324         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9325         _dl_starting_up.
9326         * elf/dl-writev.h (_dl_writev): Likewise.
9327         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9328         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9329         _dl_starting_up_internal.
9331 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9333         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9334         test-skeleton.c.
9336 2014-11-05  Will Newton  <will.newton@linaro.org>
9338         * benchtests/Makefile: (bench-malloc): Add malloc thread
9339         scalability benchmark.
9340         * benchtests/bench-malloc-threads.c: New file.
9342 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
9344         * sysdeps/aarch64/strchrnul.S: New file.
9346 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9348         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9349         definition.
9350         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9351         Likwise.
9352         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9353         Likewise.
9354         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9355         Likewise.
9356         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9357         Likewise.
9358         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9359         Likewise.
9361 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
9363         * catgets/test-gencat.c: Use test-skeleton.c.
9364         * catgets/tst-catgets.c: Likewise.
9365         * csu/tst-empty.c: Likewise.
9366         * elf/tst-audit2.c: Likewise.
9367         * elf/tst-global1.c: Likewise.
9368         * elf/tst-pathopt.c: Likewise.
9369         * elf/tst-piemod1.c: Likewise.
9370         * elf/tst-tls10.c: Likewise.
9371         * elf/tst-tls11.c: Likewise.
9372         * elf/tst-tls12.c: Likewise.
9373         * gnulib/tst-gcc.c: Likewise.
9374         * iconvdata/tst-e2big.c: Likewise.
9375         * iconvdata/tst-loading.c: Likewise.
9376         * iconv/tst-iconv1.c: Likewise.
9377         * iconv/tst-iconv2.c: Likewise.
9378         * inet/test-inet6_opt.c: Likewise.
9379         * inet/tst-gethnm.c: Likewise.
9380         * inet/tst-network.c: Likewise.
9381         * inet/tst-ntoa.c: Likewise.
9382         * intl/tst-codeset.c: Likewise.
9383         * intl/tst-gettext2.c: Likewise.
9384         * intl/tst-gettext3.c: Likewise.
9385         * intl/tst-ngettext.c: Likewise.
9386         * intl/tst-translit.c: Likewise.
9387         * io/test-stat.c: Likewise.
9388         * libio/test-fmemopen.c: Likewise.
9389         * libio/tst-freopen.c: Likewise.
9390         * libio/tst-sscanf.c: Likewise.
9391         * libio/tst-ungetwc1.c: Likewise.
9392         * libio/tst-ungetwc2.c: Likewise.
9393         * libio/tst-widetext.c: Likewise.
9394         * localedata/tst-ctype.c: Likewise.
9395         * localedata/tst-digits.c: Likewise.
9396         * localedata/tst-leaks.c: Likewise.
9397         * localedata/tst-mbswcs1.c: Likewise.
9398         * localedata/tst-mbswcs2.c: Likewise.
9399         * localedata/tst-mbswcs3.c: Likewise.
9400         * localedata/tst-mbswcs4.c: Likewise.
9401         * localedata/tst-mbswcs5.c: Likewise.
9402         * localedata/tst-setlocale.c: Likewise.
9403         * localedata/tst-trans.c: Likewise.
9404         * localedata/tst-wctype.c: Likewise.
9405         * localedata/tst-xlocale1.c: Likewise.
9406         * login/tst-grantpt.c: Likewise.
9407         * malloc/tst-calloc.c: Likewise.
9408         * malloc/tst-malloc.c: Likewise.
9409         * malloc/tst-mallocstate.c: Likewise.
9410         * malloc/tst-mcheck.c: Likewise.
9411         * malloc/tst-mtrace.c: Likewise.
9412         * malloc/tst-obstack.c: Likewise.
9413         * math/atest-exp2.c: Likewise.
9414         * math/atest-exp.c: Likewise.
9415         * math/atest-sincos.c: Likewise.
9416         * math/test-matherr.c: Likewise.
9417         * math/test-misc.c: Likewise.
9418         * math/test-powl.c: Likewise.
9419         * math/tst-definitions.c: Likewise.
9420         * misc/tst-dirname.c: Likewise.
9421         * misc/tst-efgcvt.c: Likewise.
9422         * misc/tst-fdset.c: Likewise.
9423         * misc/tst-hsearch.c: Likewise.
9424         * misc/tst-mntent2.c: Likewise.
9425         * nptl/tst-sem7.c: Likewise.
9426         * nptl/tst-sem8.c: Likewise.
9427         * nptl/tst-sem9.c: Likewise.
9428         * nss/test-netdb.c: Likewise.
9429         * posix/tst-fnmatch.c: Likewise.
9430         * posix/tst-getlogin.c: Likewise.
9431         * posix/tst-gnuglob.c: Likewise.
9432         * posix/tst-mmap.c: Likewise.
9433         * pwd/tst-getpw.c: Likewise.
9434         * resolv/tst-inet_ntop.c: Likewise.
9435         * rt/tst-timer.c: Likewise.
9436         * stdio-common/test-fseek.c: Likewise.
9437         * stdio-common/test-popen.c: Likewise.
9438         * stdio-common/test-vfprintf.c: Likewise.
9439         * stdio-common/tst-cookie.c: Likewise.
9440         * stdio-common/tst-fileno.c: Likewise.
9441         * stdio-common/tst-gets.c: Likewise.
9442         * stdio-common/tst-obprintf.c: Likewise.
9443         * stdio-common/tst-perror.c: Likewise.
9444         * stdio-common/tst-sprintf2.c: Likewise.
9445         * stdio-common/tst-sprintf3.c: Likewise.
9446         * stdio-common/tst-sprintf.c: Likewise.
9447         * stdio-common/tst-swprintf.c: Likewise.
9448         * stdio-common/tst-tmpnam.c: Likewise.
9449         * stdio-common/tst-unbputc.c: Likewise.
9450         * stdio-common/tst-wc-printf.c: Likewise.
9451         * stdlib/tst-environ.c: Likewise.
9452         * stdlib/tst-fmtmsg.c: Likewise.
9453         * stdlib/tst-limits.c: Likewise.
9454         * stdlib/tst-rand48-2.c: Likewise.
9455         * stdlib/tst-rand48.c: Likewise.
9456         * stdlib/tst-random2.c: Likewise.
9457         * stdlib/tst-random.c: Likewise.
9458         * stdlib/tst-strtol.c: Likewise.
9459         * stdlib/tst-strtoll.c: Likewise.
9460         * stdlib/tst-tls-atexit.c: Likewise.
9461         * stdlib/tst-xpg-basename.c: Likewise.
9462         * string/test-ffs.c: Likewise.
9463         * string/tst-bswap.c: Likewise.
9464         * string/tst-inlcall.c: Likewise.
9465         * string/tst-strtok.c: Likewise.
9466         * string/tst-strxfrm.c: Likewise.
9467         * sysdeps/x86_64/tst-audit10.c: Likewise.
9468         * sysdeps/x86_64/tst-audit3.c: Likewise.
9469         * sysdeps/x86_64/tst-audit4.c: Likewise.
9470         * sysdeps/x86_64/tst-audit5.c: Likewise.
9471         * time/tst-ftime_l.c: Likewise.
9472         * time/tst-getdate.c: Likewise.
9473         * time/tst-mktime3.c: Likewise.
9474         * time/tst-mktime.c: Likewise.
9475         * time/tst-posixtz.c: Likewise.
9476         * time/tst-strptime2.c: Likewise.
9477         * time/tst-strptime3.c: Likewise.
9478         * wcsmbs/tst-btowc.c: Likewise.
9479         * wcsmbs/tst-mbrtowc.c: Likewise.
9480         * wcsmbs/tst-mbsrtowcs.c: Likewise.
9481         * wcsmbs/tst-wchar-h.c: Likewise.
9482         * wcsmbs/tst-wcpncpy.c: Likewise.
9483         * wcsmbs/tst-wcrtomb.c: Likewise.
9484         * wcsmbs/tst-wcsnlen.c: Likewise.
9485         * wcsmbs/tst-wcstof.c: Likewise.
9487 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
9489         [BZ #14132]
9490         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9491         INTDEF.
9492         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9493         declaration.
9494         (_dl_mcount): Use rtld_hidden_proto.
9495         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9496         _dl_mcount.
9497         * elf/rtld.c (_rtld_global_ro): Likewise.
9499         [BZ #14132]
9500         * elf/dl-init.c (_dl_init): Don't use INTDEF.
9501         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9502         of _dl_init_internal.
9503         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9504         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9505         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9506         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9507         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9508         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9509         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9510         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9511         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9512         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9513         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9514         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9515         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9516         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9517         * sysdeps/tile/dl-start.S (_start): Likewise.
9518         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9519         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9521         [BZ #14132]
9522         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9523         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9524         (rtld_progname): Make macro definition unconditional.
9525         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9526         INTDEF.
9527         (dlmopen_doit): Do not use INTUSE with _dl_argv.
9528         (dl_main): Likewise.
9529         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9530         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9531         instead of _dl_argv_internal.
9532         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9533         __GI__dl_argv instead of INTUSE(_dl_argv).
9534         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9535         __GI__dl_argv instead of _dl_argv_internal.
9537         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9538         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9539         macro.
9540         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9541         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9542         New macro.
9543         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9544         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9545         macro.
9546         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9547         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9549 2014-11-04  Andreas Schwab  <schwab@suse.de>
9551         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9553 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9555         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9556         mtvsrd instruction in binary form.
9558 2014-11-03  Andreas Schwab  <schwab@suse.de>
9560         [BZ #17522]
9561         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9562         for less than MB_LEN_MAX use a local buffer of that size.
9563         * libio/tst-fputws.c: New file.
9564         * libio/Makefile (tests): Add tst-fputws.
9566 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
9568         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9569         the size of the fpu_fr.fpu_dregs[] array.
9571 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
9573         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9574         (__nanosleep): Do not define as alias.
9575         (nanosleep): Define as alias of __nanosleep.
9576         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9577         __libc_nanosleep name.
9579 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9581         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9582         install.texi in comment.
9584 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9586         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9587         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9588         ... add here and use lwsync or sync ...
9589         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9590         ... and add here using lwsync.
9592 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9594         * elf/dl-machine-reject-phdr.h: New file.
9595         * elf/dl-load.c: #include that.
9596         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9597         if that returned true.
9599 2014-10-31  Roland McGrath  <roland@hack.frob.com>
9601         [BZ #17496]
9602         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9603         gen-as-const-headers chunk.  Add a big scare comment after the last
9604         safe place to touch before-compile.
9606 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9608         * manual/install.texi (Tools for Compilation): Update autoconf
9609         version requirements.
9610         * INSTALL: Regenerated.
9612         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9613         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9614         (__libc_pselect): Likewise.
9616         [BZ #14138]
9617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9622 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9624         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9625         correct barrier instruction.
9626         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9627         Likewise.
9628         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9629         Likewise.
9631 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9633         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9634         after defining inlines.  Instead, just use parens to defeat macro
9635         expansion of __isctype in its declaration.
9637 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9639         * include/sys/uio.h (__libc_readv): Remove declaration.
9640         (__libc_writev): Likewise.
9641         * misc/readv.c (__libc_readv): Rename to __readv.
9642         (__readv): Do not define as alias.
9643         (readv): Define as alias of __readv.
9644         * misc/writev.c (__libc_writev): Rename to __writev.
9645         (__writev): Do not define as alias.
9646         (writev): Define as alias of __writev.
9647         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9648         (__readv): Do not define as alias.
9649         (readv): Define unconditionally as alias of __readv.
9650         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9651         (__writev): Do not define as alias.
9652         (writev): Define unconditionally as alias of __writev.
9653         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9654         name.
9655         (writev): Do not define __libc_writev name.
9657 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9659         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9660         (convert_charseq): New function, broken out of ...
9661         (use_from_charmap): ... here.  Call it.
9662         (use_to_charmap): Use convert_charseq and free instead of duplicating
9663         its code with a variable-length stack struct.
9665 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9667         * include/fcntl.h (__libc_creat): Remove declaration.
9668         * io/creat.c (__libc_creat): Rename to creat.
9669         (creat): Do not define as alias.
9670         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9671         of creat instead of __libc_creat.
9672         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9673         to creat.
9674         (creat): Do not define as alias.
9675         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9676         __libc_creat.
9677         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9678         __libc_creat name.
9679         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9680         Likewise.
9682 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
9684         * manual/llio.texi: Add comments discussing why write() may be
9685         considered MT-unsafe on Linux.
9687 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
9689         * dl-load.c (local_strdup): Remove.
9690         (expand_dynamic_string_token): Use __strdup.
9691         (decompose_rpath): Likewise.
9692         (_dl_map_object): Likewise.
9694 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
9696         [BZ #14132]
9697         * sysdeps/generic/unwind-dw2-fde.c
9698         (__register_frame_info_bases_internal): Do not declare.
9699         (__register_frame_info_table_bases_internal): Likewise.
9700         (__deregister_frame_info_bases_internal): Likewise.
9701         (__register_frame_info_bases): Declare and use hidden_proto before
9702         definition.  Use hidden_def instead of INTDEF.
9703         (__register_frame_info_table_bases): Likewise.
9704         (__deregister_frame_info_bases): Likewise.
9705         (__register_frame_info): Do not use INTUSE.
9706         (__register_frame): Likewise.
9707         (__register_frame_info_table): Likewise.
9708         (__register_frame_table): Likewise.
9709         (__deregister_frame_info): Likewise.
9710         (__deregister_frame): Likewise.
9712 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
9714         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9715         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9716         not undefine.
9717         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9718         Likewise.
9719         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9720         Likewise.
9722 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
9724         [BZ #14138]
9725         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9726         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9727         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9728         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9729         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9730         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9731         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9732         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9733         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9734         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9735         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9736         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9737         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9738         syscall.
9739         (setfsuid): Likewise.
9740         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9741         (setfsuid): Likewise.
9742         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9743         (setfsuid): Likewise.
9744         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9745         Likewise.
9746         (setfsuid): Likewise.
9747         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9748         (setfsuid): Likewise.
9749         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9750         Likewise.
9751         (setfsuid): Likewise.
9753 2014-10-27  Andreas Schwab  <schwab@suse.de>
9755         [BZ #17501]
9756         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9757         check for Slow_SSE4_2 feature bit.
9758         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9759         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9760         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9761         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
9763 2014-10-24  Roland McGrath  <roland@hack.frob.com>
9765         * configure.ac: Validate compiler version with a empirical test of
9766         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9767         $CC -v output.
9768         * configure: Regenerated.
9770         * inet/htons.c (htons): Prototypify.
9771         * inet/htonl.c (htonl): Likewise.
9773 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9775         * string/strncat.c (strncat): Improve performance by using strlen.
9777 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9779         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9781 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9783         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9784         Call libc_fetestexcept_aarch64.
9786 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9788         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9789         Call libc_feholdexcept_aarch64.
9791 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9793         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9794         Call get_rounding_mode.
9796 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9798         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9799         Simplify logic.
9801 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9803         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9804         Simplify logic.
9806 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
9808         [BZ #14138]
9809         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9810         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9811         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9812         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9813         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9814         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9815         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9816         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9817         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9818         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9819         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9820         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9821         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9822         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9823         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9824         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9825         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9826         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9827         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9828         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9829         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9830         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9831         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9832         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9833         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9834         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9835         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9836         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9837         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9838         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9839         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9840         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9841         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9842         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9843         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9844         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9845         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9846         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9847         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9848         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9849         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9850         syscall.
9851         (geteuid): Likewise.
9852         (getgid): Likewise.
9853         (getuid): Likewise.
9854         (getresgid): Likewise.
9855         (getresuid): Likewise.
9856         (getgroups): Likewise.
9857         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9858         (geteuid): Likewise.
9859         (getgid): Likewise.
9860         (getuid): Likewise.
9861         (getresgid): Likewise.
9862         (getresuid): Likewise.
9863         (getgroups): Likewise.
9864         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9865         (geteuid): Likewise.
9866         (getgid): Likewise.
9867         (getuid): Likewise.
9868         (getresgid): Likewise.
9869         (getresuid): Likewise.
9870         (getgroups): Likewise.
9871         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9872         Likewise.
9873         (geteuid): Likewise.
9874         (getgid): Likewise.
9875         (getuid): Likewise.
9876         (getresgid): Likewise.
9877         (getresuid): Likewise.
9878         (getgroups): Likewise.
9879         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9880         (geteuid): Likewise.
9881         (getgid): Likewise.
9882         (getuid): Likewise.
9883         (getresgid): Likewise.
9884         (getresuid): Likewise.
9885         (getgroups): Likewise.
9886         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9887         Likewise.
9888         (geteuid): Likewise.
9889         (getgid): Likewise.
9890         (getuid): Likewise.
9891         (getgroups): Likewise.
9893         [BZ #14138]
9894         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9895         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9896         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9897         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9898         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9899         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9900         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9901         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9902         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9903         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9904         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9905         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9906         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9907         __chown.
9908         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9909         (lchown): Likewise.
9910         (fchown): Likewise.
9911         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9912         Likewise.
9913         (lchown): Likewise.
9914         (fchown): Likewise.
9915         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9916         (lchown): Likewise.
9917         (fchown): Likewise.
9918         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9919         Likewise.
9920         (lchown): Likewise.
9921         (fchown): Likewise.
9923 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9925         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9926         Simplify logic.
9928 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9930         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9931         Cleanup logic.
9933 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9935         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9936         Remove unused include.
9938 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9940         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9941         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9942         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9943         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9945 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
9946             Helge Deller <deller@gmx.de>
9948         [BZ #17508]
9949         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9950         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9951         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9953 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
9955         [BZ #14132]
9956         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9957         Remove macro definition.
9958         (__ashrdi3_v_glibc20): Likewise.
9959         (__lshrdi3_v_glibc20): Likewise.
9960         (__cmpdi2_v_glibc20): Likewise.
9961         (__ucmpdi2_v_glibc20): Likewise.
9962         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9963         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9964         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9965         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9966         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9967         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9969 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9971         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9972         old GNU extension [0] syntax.
9973         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9974         alloca rather than an array member with variable length.
9975         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9976         * nscd/nscd.c (invalidate_db): New function, broken out of ...
9977         (parse_opt): ... here.  Likewise use alloca there.
9978         Validate the -i argument before checking for rootness.
9979         (send_shutdown): New function, broken out of ...
9980         (parse_opt): ... here.
9982 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9984         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9985         macro to get at the _rt_local_ro field.
9986         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9987         ([PIC] case) or _dl_hwcap ([!PIC] case).
9988         * sysdeps/arm/setjmp.S: Likewise.
9990         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9991         * sysdeps/arm/configure.ac: New check to define it.
9992         * sysdeps/arm/configure: Regenerated.
9993         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9994         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9995         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9996         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9997         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9998         Use move/movt pair instead of a load.
9999         (LDST_GLOBAL): Macro removed.
10000         (LDR_GLOBAL): New macro replaces it.
10001         (LDR_HIDDEN): New macro.
10002         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10003         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10005         * setjmp/tst-setjmp-static.c: New file.
10006         * setjmp/Makefile (tests): Add it.
10007         (tests-static): New variable.
10009 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
10011         [BZ #17485]
10012         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10014 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
10016         [BZ #14132]
10017         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10019 2014-10-21  Roland McGrath  <roland@hack.frob.com>
10021         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10023 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10025         * io/fts.c (dirent_not_directory): New function.
10026         (fts_build): Call it.
10028 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10030         * nptl/version.c (__nptl_main): Use normal __write rather than
10031         INTERNAL_SYSCALL.
10032         (banner): Update copyright years.
10034         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10035         gettimeofday.
10036         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10037         * nptl/pthread_cond_timedwait.c: Likewise.
10038         * nptl/pthread_mutex_timedlock.c: Likewise.
10039         * nptl/sem_timedwait.c: Likewise.
10041         * sysdeps/nptl/bits/libc-lock.h
10042         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10043         (__libc_lock_init_recursive): Return void, not 0.
10044         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10045         (__libc_rwlock_init): Likewise.
10046         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10048 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10050         [BZ #15215]
10051         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10052         (__pthread_once_slow): ... here.
10053         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10054         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10056 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10058         [BZ #15215]
10059         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10060         __PTHREAD_ONCE_FORK_GEN_INCR): New.
10061         * sysdeps/nptl/fork.c (__libc_fork): Use them.
10062         * nptl/pthread_once.c (__pthread_once): Likewise.
10063         Update comments.
10065 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
10067         [BZ #14138]
10068         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10069         name.
10070         (writev): Use __libc_writev as strong name.
10071         * sysdeps/unix/sysv/linux/readv.c: Remove file.
10072         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10074 2014-10-17  Roland McGrath  <roland@hack.frob.com>
10076         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10078         * sysdeps/i386/nptl/tls.h
10079         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10080         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10081         New macros.
10082         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10083         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10084         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10085         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10086         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10087         Call CHECK_THREAD_SYSINFO instead of doing an assert.
10089         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10090         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10091         on [__NR_futex].
10092         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10093         broken out of ...
10094         (__pthread_mutex_init): ... here.  Call it.
10095         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10096         Conditionalize PI cases on [__NR_futex].
10097         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10098         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10099         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10101         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10102         conditional on [SIGSETXID].
10103         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10104         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10105         is defined.  Likewise for SIGSETXID.
10106         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10107         Conditionalize definitions on [SIGSETXID].
10108         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10109         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10110         unblocking on [SIGCANCEL].
10112         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10113         [__NR_set_robust_list].
10115 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10117         * string/strcoll_l.c (get_next_seq): Fix up formatting.
10118         (do_compare): Likewise.
10120 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
10122         [BZ #15884]
10123         * string/strcoll_l.c: Don't include stdio.h.
10124         (coll_seq): Remove members idxarr and rulearr.
10125         (get_next_seq_cached): Remove function.
10126         (get_next_seq): Likewise.
10127         (get_next_seq_nocache): Rename to get_next_seq.
10128         (do_compare): Remove function.
10129         (do_compare_nocache): Rename to do_compare.
10130         (STRCOLL): Remove weight and rules cache.
10132 2014-10-16  Roland McGrath  <roland@hack.frob.com>
10134         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10135         * sysdeps/arm/sfp-machine.h: ... to here.
10136         * sysdeps/arm/Implies: Remove arm/soft-fp.
10138 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
10140         * conform/data/sys/utsname.h-data (*_t): Allow.
10141         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10142         [POSIX] (WEXITED): Do not expect constant.
10143         [POSIX] (WSTOPPED): Likewise.
10144         [POSIX] (WNOHANG): Likewise.
10145         [POSIX] (WNOWAIT): Likewise.
10146         [POSIX] (siginfo_t): Do not expect type or elements.
10147         [POSIX] (pid_t): Do not expect type.
10148         [POSIX] (signal.h): Do not allow header.
10149         [POSIX] (sys/resource.h): Likewise.
10150         [POSIX] (si_*): Do not allow pattern.
10151         [POSIX] (W*): Likewise.
10152         [POSIX] (P_*): Likewise.
10153         [POSIX] (BUS_*): Likewise.
10154         [POSIX] (CLD_*): Likewise.
10155         [POSIX] (FPE_*): Likewise.
10156         [POSIX] (ILL_*): Likewise.
10157         [POSIX] (POLL_*): Likewise.
10158         [POSIX] (SEGV_*): Likewise.
10159         [POSIX] (SI_*): Likewise.
10160         [POSIX] (TRAP_*): Likewise.
10161         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10162         variable.
10164 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10166         [BZ #12926]
10167         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10168         infinite loop when __recvmsg returns 0.
10170 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
10172         * CANCEL-FCT-WAIVE: Remove file.
10173         * CANCEL-FILE-WAIVE: Likewise.
10175         [BZ #14132]
10176         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10177         instead of INTVARDEF.
10178         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10179         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10180         rtld_hidden_data_def instead of INTVARDEF.
10181         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10182         * elf/dl-deps.c (expand_dst): Likewise.
10183         * elf/dl-load.c (_dl_dst_count): Likewise.
10184         (_dl_dst_substitute): Likewise.
10185         (decompose_rpath): Likewise.
10186         (_dl_init_paths): Likewise.
10187         (open_path): Likewise.
10188         (_dl_map_object): Likewise.
10189         * elf/rtld.c (dl_main): Likewise.
10190         (process_dl_audit): Likewise.
10191         (process_envvars): Likewise.
10192         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10193         Remove declaration.
10194         (__libc_enable_secure): Use rtld_hidden_proto.
10196 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10198         * elf/dl-load.c
10199         (add_path): New function broken out of _dl_rtld_di_serinfo.
10200         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
10202 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10204         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10205         parentheses around macro arguments.
10206         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10207         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10208         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10209         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10210         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10211         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10212         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10213         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10214         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10215         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10216         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10217         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10218         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10219         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10220         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10221         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10222         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10223         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10224         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10225         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10226         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10227         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10228         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10229         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10230         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10231         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10232         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10233         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10234         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10235         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10236         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10237         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10238         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10239         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10240         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10241         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10242         Likewise.
10243         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10244         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10245         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10246         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10247         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10248         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10249         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10250         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10251         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10252         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10253         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10254         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10255         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10256         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10257         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10258         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10259         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10260         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10261         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10262         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10263         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10264         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10265         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10266         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10267         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10268         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10269         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10270         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10271         (_FP_FRAC_SRS_1): Likewise.
10272         (_FP_FRAC_CLZ_1): Likewise.
10273         (_FP_MUL_MEAT_1_imm): Likewise.
10274         (_FP_MUL_MEAT_1_wide): Likewise.
10275         (_FP_MUL_MEAT_1_hard): Likewise.
10276         (_FP_SQRT_MEAT_1): Likewise.
10277         (_FP_FRAC_ASSEMBLE_1): Likewise.
10278         (_FP_FRAC_DISASSEMBLE_1): Likewise.
10279         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10280         (__FP_CLZ_2): Likewise.
10281         (_FP_MUL_MEAT_2_wide): Likewise.
10282         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10283         (_FP_MUL_MEAT_2_gmp): Likewise.
10284         (_FP_MUL_MEAT_2_120_240_double): Likewise.
10285         (_FP_SQRT_MEAT_2): Likewise.
10286         (_FP_FRAC_ASSEMBLE_2): Likewise.
10287         (_FP_FRAC_DISASSEMBLE_2): Likewise.
10288         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10289         (_FP_FRAC_CLZ_4): Likewise.
10290         (_FP_MUL_MEAT_4_wide): Likewise.
10291         (_FP_MUL_MEAT_4_gmp): Likewise.
10292         (_FP_SQRT_MEAT_4): Likewise.
10293         (_FP_FRAC_ASSEMBLE_4): Likewise.
10294         (_FP_FRAC_DISASSEMBLE_4): Likewise.
10295         * soft-fp/op-common.h (_FP_CMP): Likewise.
10296         (_FP_CMP_EQ): Likewise.
10297         (_FP_CMP_UNORD): Likewise.
10298         (_FP_TO_INT): Likewise.
10299         (_FP_FROM_INT): Likewise.
10300         [!__FP_CLZ] (__FP_CLZ): Likewise.
10301         (_FP_DIV_HELP_imm): Likewise.
10302         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10303         Likewise.
10304         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10305         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10306         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10307         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10308         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10309         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10310         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10311         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10312         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10313         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10314         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10315         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10316         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10317         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10318         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10319         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10320         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10321         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10322         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10323         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10324         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10325         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10326         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10327         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10328         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10329         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10330         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10331         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10332         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10333         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10334         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10335         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10336         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10337         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10338         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10339         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10340         (FP_UNPACK_RAW_SP): Likewise.
10341         (FP_PACK_RAW_S): Likewise.
10342         (FP_PACK_RAW_SP): Likewise.
10343         (FP_UNPACK_S): Likewise.
10344         (FP_UNPACK_SP): Likewise.
10345         (FP_UNPACK_SEMIRAW_S): Likewise.
10346         (FP_UNPACK_SEMIRAW_SP): Likewise.
10347         (FP_PACK_S): Likewise.
10348         (FP_PACK_SP): Likewise.
10349         (FP_PACK_SEMIRAW_S): Likewise.
10350         (FP_PACK_SEMIRAW_SP): Likewise.
10351         (_FP_SQRT_MEAT_S): Likewise.
10352         (FP_CMP_S): Likewise.
10353         (FP_CMP_EQ_S): Likewise.
10354         (FP_CMP_UNORD_S): Likewise.
10355         (FP_TO_INT_S): Likewise.
10356         (FP_FROM_INT_S): Likewise.
10358         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10360         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10361         (FP_EX_INVALID_IMZ): Likewise.
10362         (FP_EX_INVALID_IMZ_FMA): Likewise.
10363         (FP_EX_INVALID_ISI): Likewise.
10364         (FP_EX_INVALID_ZDZ): Likewise.
10365         (FP_EX_INVALID_IDI): Likewise.
10366         (FP_EX_INVALID_SQRT): Likewise.
10367         (FP_EX_INVALID_CVI): Likewise.
10368         (FP_EX_INVALID_VC): Likewise.
10369         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10370         "invalid" exceptions.
10371         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10372         (_FP_ADD_INTERNAL): Likewise.
10373         (_FP_MUL): Likewise.
10374         (_FP_FMA): Likewise.
10375         (_FP_DIV): Likewise.
10376         (_FP_CMP_CHECK_NAN): Likewise.
10377         (_FP_SQRT): Likewise.
10378         (_FP_TO_INT): Likewise.
10379         (FP_EXTEND): Likewise.
10381 2014-10-09  Allan McRae  <allan@archlinux.org>
10383         * po/fr.po: Update French translation from translation project.
10385 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10387         [BZ #14132]
10388         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10389         of INTDEF.
10390         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10391         (__cxa_atexit): Use libc_hidden_proto.
10392         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10394         [BZ #14132]
10395         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10396         declaration.
10397         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10398         [!_ISOMAC] (__iswspace_l_internal): Likewise.
10399         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10400         [!_ISOMAC] (__iswctype_internal): Likewise.
10401         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10402         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10403         alias.
10404         (fcntl): Remove __fcntl_internal alias.
10405         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10406         __connect_internal alias.
10407         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10408         Likewise.
10410         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10411         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10412         FP_DENORM_ZERO.
10413         (_FP_CHECK_FLUSH_ZERO): New macro.
10414         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10415         (_FP_CMP): Likewise.
10416         (_FP_CMP_EQ): Likewise.
10417         (_FP_TO_INT): Do not set inexact for subnormal arguments if
10418         FP_DENORM_ZERO.
10419         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10420         (FP_TRUNC): Likewise.
10422         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10423         treated as invalid conversion, not as normal exponent.
10425         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10426         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
10427         (_FP_CMP_EQ): Likewise.
10428         (_FP_CMP_UNORD): Likewise.
10429         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10430         (FP_CMP_EQ_D): Likewise.
10431         (FP_CMP_UNORD_D): Likewise.
10432         * soft-fp/extended.h (FP_CMP_E): Likewise.
10433         (FP_CMP_EQ_E): Likewise.
10434         (FP_CMP_UNORD_E): Likewise.
10435         * soft-fp/quad.h (FP_CMP_Q): Likewise.
10436         (FP_CMP_EQ_Q): Likewise.
10437         (FP_CMP_UNORD_Q): Likewise.
10438         * soft-fp/single.h (FP_CMP_S): Likewise.
10439         (FP_CMP_EQ_S): Likewise.
10440         (FP_CMP_UNORD_S): Likewise.
10441         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10442         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10443         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10444         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10445         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10446         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10447         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10448         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10449         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10450         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10451         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10452         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10453         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10454         to FP_CMP_Q.
10455         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10456         FP_CMP_Q.
10457         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10458         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10459         FP_CMP_EQ_Q.
10460         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10461         FP_CMP_Q.
10462         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10463         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10464         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10465         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10466         FP_CMP_EQ_Q.
10467         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10468         FP_CMP_Q.
10469         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10470         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10471         FP_CMP_EQ_Q.
10472         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10473         FP_CMP_Q.
10474         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10475         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10476         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10477         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10478         FP_CMP_EQ_Q.
10480         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10481         a subnormal result, set the underflow exception if trapping on
10482         underflow is enabled.
10483         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10484         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10485         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10486         redefine to 0.
10487         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10488         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10489         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10490         * soft-fp/extendxftf2.c (__extendxftf2): Use
10491         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10493         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10494         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10495         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10496         FP_HANDLE_EXCEPTIONS.
10497         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10498         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10499         FP_HANDLE_EXCEPTIONS.
10500         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10501         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10502         FP_HANDLE_EXCEPTIONS.
10503         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10504         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10505         FP_HANDLE_EXCEPTIONS.
10507 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
10509         [BZ #14132]
10510         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10511         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10512         use INTUSE.
10513         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10514         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10515         Remove alias.
10516         (__adjtimex): Define using libc_hidden_ver.
10517         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10518         Remove declaration.
10519         (ntp_gettime): Call __adjtimex directly.
10520         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10521         Remove declaration.
10522         (ntp_gettimex): Call __adjtimex directly.
10523         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10524         __adjtimex_internal alias.
10526 2014-10-08  Roland McGrath  <roland@hack.frob.com>
10528         [BZ #17460]
10529         * nscd/nscd.c (more_help): Rewrite list of tables collection
10530         using xstrdup and asprintf.
10532         * nscd/nscd_conf.c: Remove local xstrdup declaration.
10534 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10535             Roland McGrath  <roland@hack.frob.com>
10537         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10538         (do_lookup_unique): ... local function 'enter' here; update callers.
10540 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
10542         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10543         compat_symbol calls on [SHARED].
10544         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10545         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10546         Remove.
10547         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10548         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10549         (oldsetrlimit): Remove.
10550         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10552         (lchown): New syscall entry.
10553         (oldsetrlimit): Remove.
10554         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10555         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10556         (oldsetrlimit): Remove.
10557         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10559         [BZ #14138]
10560         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10561         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10562         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10563         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10564         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10565         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10566         (fchown): Likewise.
10567         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10568         (fchown): Likewise.
10569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10570         Likewise.
10572 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10574         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10575         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10576         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10577         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10578         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10579         Likewise.
10580         (__old_sem_post): Likewise.
10582 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
10584         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10585         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10586         HAVE_CLOCK_GETTIME_VSYSCALL macros.
10587         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10588         Use INLINE_VSYSCALL macro.
10589         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10590         __vdso_clock_gettime.
10591         * sysdeps/unix/sysv/linux/tile/init-first.c
10592         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10593         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10594         __vdso_clock_gettime.
10596         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10597         to set up frame more cleanly.
10599         * sysdeps/tile/memcmp.c: New file.
10601         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10603         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10604         * sysdeps/tile/tilegx/strcasestr.c: New file.
10605         * sysdeps/tile/tilegx/strnlen.c: New file.
10606         * sysdeps/tile/tilegx/strstr.c: New file.
10608         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10610 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
10612         * nptl/tst-setuid3.c: Write errors to stdout.
10614 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10616         * elf/dl-deps.c
10617         (preload): New functions broken out of _dl_map_object_deps.
10618         (_dl_map_object_deps):  Remove a nested function. Update call sites.
10620 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
10622         [BZ #14138]
10623         * sysdeps/unix/sysv/linux/execve.c: Remove file.
10624         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10626 2014-10-01  Steve Ellcey  <sellcey@mips.com>
10628         * sysdeps/mips/strcmp.S: New.
10630 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
10632         [BZ #14138]
10633         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10634         (linkat): Likewise.
10635         (mkdirat): Likewise.
10636         (readlinkat): Likewise.
10637         (renameat): Likewise.
10638         (symlinkat): Likewise.
10639         (unlinkat): Likewise.
10640         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10641         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10642         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10643         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10644         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10645         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10646         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10648 2014-09-30  Will Newton  <will.newton@linaro.org>
10650         * math/math.h: Define long double math functions if
10651         _LIBC_TEST is defined.
10652         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10654         * localedata/Makefile: Move assignment to tests-special
10655         into an ifdef testing run-built-tests.
10656         * timezone/Makefile: Likewise.
10658 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
10660         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10661         with $(BASH) not $(SHELL).
10663 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
10664             Matthew LeGendre  <legendre1@llnl.gov>
10666         [BZ #17411]
10667         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10668         l_reloc_result.
10670 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10672         * stdio-common/printf_fp.c
10673         (hack_digit): New function, broken out of ...
10674         (__printf_fp): ... local function here.  Update call sites.
10675         hack_digit now takes an additional parameter that is a pointer
10676         to a struct of the referenced locals.  Those locals moved inside
10677         the struct and references updated.
10679 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
10681         * aclocal.m4: Require autoconf 2.69.
10682         * configure: Regenerated.
10683         * sysdeps/aarch64/configure: Likewise.
10684         * sysdeps/alpha/configure: Likewise.
10685         * sysdeps/arm/armv7/configure: Likewise.
10686         * sysdeps/arm/configure: Likewise.
10687         * sysdeps/ia64/configure: Likewise.
10688         * sysdeps/mach/configure: Likewise.
10689         * sysdeps/mips/configure: Likewise.
10690         * sysdeps/s390/configure: Likewise.
10691         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10694         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10695         file.
10696         * sysdeps/ia64/configure.ac: Likewise.
10698 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
10700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10701         specify symbol version for ld.so.  Do not include entry for
10702         libpthread.
10703         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10704         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10705         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10707         [BZ #14171]
10708         * Makeconfig [$(build-shared) = yes]
10709         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10710         makefiles.
10711         [$(build-shared) = yes && $(soversions.mk-done) = t]
10712         ($(common-objpfx)gnu/lib-names.h): Remove rule.
10713         [$(build-shared) = yes && $(soversions.mk-done) = t]
10714         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
10715         to Makerules.
10716         [$(build-shared) = yes && $(soversions.mk-done) = t]
10717         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10718         here.
10719         [$(build-shared) = yes && $(soversions.mk-done) = t]
10720         (common-generated): Don't append gnu/lib-names.h and
10721         gnu/lib-names.stmp here.
10722         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10723         (lib-names-h-abi): New variable.
10724         [$(build-shared) = yes && $(soversions.mk-done) = t]
10725         (lib-names-stmp-abi): Likewise.
10726         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10727         abi-variants] (before-compile): Append
10728         $(common-objpfx)$(lib-names-h-abi).
10729         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10730         abi-variants] (common-generated): Append gnu/lib-names.h.
10731         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10732         abi-variants] (install-others-nosubdir): Depend on
10733         $(inst_includedir)/$(lib-names-h-abi).
10734         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10735         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10736         [$(build-shared) = yes && $(soversions.mk-done) = t]
10737         ($(common-objpfx)$(lib-names-h-abi)): New rule.
10738         [$(build-shared) = yes && $(soversions.mk-done) = t]
10739         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10740         [$(build-shared) = yes && $(soversions.mk-done) = t]
10741         (common-generated): Append $(lib-names-h-abi) and
10742         $(lib-names-stmp-abi).
10743         * scripts/lib-names.awk: Do not handle multi being set.
10744         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10745         Remove variable.
10746         (abi-lp64_be-ld-soname): Likewise.
10747         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10748         Likewise.
10749         (abi-hard-ld-soname): Likewise.
10750         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10751         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10752         Remove variable.
10753         (abi-o32_hard-ld-soname): Likewise.
10754         (abi-o32_soft_2008-ld-soname): Likewise.
10755         (abi-o32_hard_2008-ld-soname): Likewise.
10756         (abi-n32_soft-ld-soname): Likewise.
10757         (abi-n32_hard-ld-soname): Likewise.
10758         (abi-n32_soft_2008-ld-soname): Likewise.
10759         (abi-n32_hard_2008-ld-soname): Likewise.
10760         (abi-n64_soft-ld-soname): Likewise.
10761         (abi-n64_hard-ld-soname): Likewise.
10762         (abi-n64_soft_2008-ld-soname): Likewise.
10763         (abi-n64_hard_2008-ld-soname): Likewise.
10764         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10765         Likewise.
10766         (abi-64-v2-ld-soname): Likewise.
10767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10768         ld.so entries.
10769         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10770         variable.
10771         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10772         entry.
10773         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10774         variable.
10775         (abi-64-ld-soname): Likewise.
10776         (abi-x32-ld-soname): Likewise.
10777         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10778         entry.
10779         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10781 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
10783         [BZ #14138]
10784         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10785         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10786         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10787         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10788         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10789         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10790         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10791         syscall entry for GLIBC_2.2 symbol version.
10792         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10793         Likewise.
10794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10795         (setrlimit): Likewise.
10796         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10797         Likewise.
10799 2014-09-23  Will Newton  <will.newton@linaro.org>
10801         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10802         _LINUX_ARM_SYSDEP_H include guard too.
10803         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10804         define.
10806 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10808         * sysdeps/unix/sysv/linux/eventfd.c:
10809         Make first argument unsigned.
10810         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10811         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10813 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
10815         * socket/recvmmsg.c (recvmmsg): Drop const argument.
10816         * socket/sys/socket.h: Likewise
10817         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10819 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10821         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10823 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
10825         * time/tst-ftime.c: New test.
10826         * time/Makefile (tests): Add tst-ftime.
10828 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
10830         * soft-fp/extended.h: Fix comment formatting.
10831         * soft-fp/op-1.h: Likewise.
10832         * soft-fp/op-2.h: Likewise.
10833         * soft-fp/op-4.h: Likewise.
10834         * soft-fp/op-8.h: Likewise.
10835         * soft-fp/op-common.h: Likewise.
10836         * soft-fp/soft-fp.h: Likewise.
10838         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10840 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
10842         [BZ #6652]
10843         * Makeconfig (soversions-default-setname): Remove variable.
10844         ($(common-objpfx)soversions.i): Don't pass default_setname to
10845         soversions.awk.
10846         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10847         oldest_abi to abi-versions.awk.
10848         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10849         * config.make.in (oldest-abi): Remove variable.
10850         * configure.ac (--enable-oldest-abi): Remove configure option.
10851         * configure: Regenerated.
10852         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10853         text.
10854         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10855         * scripts/soversions.awk: Do not handle default_setname variable.
10856         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10857         variable.
10858         * sysdeps/mach/hurd/configure: Regenerated.
10859         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10860         variable.
10861         * sysdeps/unix/sysv/linux/configure: Regenerated.
10863 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10865         * elf/Makefile (CFLAGS-interp.c): Remove.
10866         ($(elf-objpfx)runtime-linker.h): Generate header with linker
10867         path string.
10868         * elf/interp.c: Include generated runtime-linker.h
10870         * Makerules (lib%.so): Don't include $(+interp) in
10871         prerequisites.
10872         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10873         * dlfcn/eval.c: Remove file.
10875         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10876         macros.
10878         [BZ #17266]
10879         * misc/sys/cdefs.h: Define __extern_always_inline for clang
10880         4.2 and newer.
10882         [BZ #17370]
10883         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10885 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10886             Jakub Jelinek  <jakub@redhat.com>
10888         [BZ #17266]
10889         * libio/stdio.h: Check definition of __fortify_function
10890         instead of __extern_always_inline to include bits/stdio2.h.
10891         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10892         check if __extern_always_inline is defined.
10893         [__USE_MISC || __USE_XOPEN]: Likewise.
10894         [__USE_ISOC99] Likewise.
10895         * misc/sys/cdefs.h (__fortify_function): Define only if
10896         __extern_always_inline is defined.
10897         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10898         __extern_always_inline and __extern_inline only for g++-4.3
10899         and newer or a compatible gcc.
10901 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
10903         [BZ #17371]
10904         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10905         last change to handle zero prefix length.
10907 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10909         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10910         _SC_REGEX_VERSION.
10912         * posix/getconf.c (vars): Add _POSIX_IPV6 and
10913         _POSIX_RAW_SOCKETS.
10915 2014-09-13  Allan McRae  <allan@archlinux.org>
10917         * po/ru.po: Update Russian translation from translation project.
10919 2014-09-12  Roland McGrath  <roland@hack.frob.com>
10921         * locale/programs/locale.c (show_locale_vars): Inline local function
10922         into its sole call site.  Clean up some style nits.
10923         (print_item): New function, broken out of ...
10924         (show_info): ... local function here.  Clean up style nits.
10926         * locale/programs/ld-ctype.c (set_one_default): New function, broken
10927         out of ...
10928         (set_class_defaults): ... local function set_default here.
10929         Define set_default as a macro locally to pass constant parameters.
10930         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10931         rather than a shared local.
10933         * stdlib/rpmatch.c (try): New function, broken out of ...
10934         (rpmatch): ... local function here.  Also, prototypify definition.
10936 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
10938         * scripts/soversions.awk: Do not handle configuration names.
10939         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10940         vendor and os variables to soversions.awk.
10941         * configure.ac: Do not modify gnu-* host_os.
10942         * configure: Regenerated
10943         * shlib-versions: Remove first column with configuration names.
10944         * nptl/shlib-versions: Likewise.
10945         * nptl_db/shlib-versions: Likewise.
10946         * sysdeps/hppa/shlib-versions: Likewise.
10947         * sysdeps/m68k/shlib-versions: Likewise.
10948         * sysdeps/mach/hurd/shlib-versions: Likewise.
10949         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10950         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10951         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10952         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10953         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10954         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10955         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10956         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10958         Likewise.
10959         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10960         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10961         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10962         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10963         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10964         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10965         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10966         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10969         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10971         Regenerated.
10972         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10974         Condition symbol version definitions on [HAVE_ELFV2_ABI].
10976         * shlib-versions: Remove OS-specific entries.  Moved to files in
10977         sysdeps.
10978         * sysdeps/mach/hurd/shlib-versions: New file.
10979         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10981         * nptl/shlib-versions: Remove architecture-specific entries.
10982         Moved to files in sysdeps.
10983         * shlib-versions: Likewise.
10984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10985         file.
10986         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10987         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10988         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10989         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10991         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10992         (UDP_NO_CHECK6_RX): Likewise.
10994 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10996         * sysdeps/posix/sysconf.c (__sysconf): Spell
10997         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10999 2014-08-12  Florian Weimer  <fweimer@redhat.com>
11001         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11002         loading.
11003         * iconv/Versions (__gconv_transliterate): Export for use from
11004         gconv modules.
11005         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11006         (struct __gconv_trans_data, __gconv_trans_fct,
11007         __gconv_trans_context_fct, __gconv_trans_query_fct,
11008         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11009         definitions.
11010         (struct __gconv_step_data): Remove __trans member.
11011         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
11012         longer hidden.  Remove unused trans_data argument.
11013         * iconv/gconv_int.h (struct trans_struct): Remove definition.
11014         (__gconv_translit_find): Remove declaration.
11015         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
11016         prototype.
11017         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11018         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11019         trans_data argument.  Add hidden definition.
11020         (__gconv_translit_find): Remove.
11021         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11022         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11023         * iconv/skeleton.c: Remove transliteration initialization.
11024         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11025         __gconv_step_data initialization.
11026         * libio/iofwide.c (__libio_translit_): Remove.
11027         (_IO_fwide): Adjust struct __gconv_step_data initialization.
11028         * wcsmbs/btowc.c (__btowc): Likewise.
11029         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11030         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11031         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11032         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11033         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11034         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11035         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11036         * wcsmbs/wctob.c (wctob): Likewise.
11038 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11040         [BZ #16194]
11041         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11042         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
11043         register usage.
11044         * sysdeps/x86/Makefile: Adjust.
11046 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11047             Roland McGrath  <roland@hack.frob.com>
11049         * locale/weight.h: Add include guard.
11050         (findidx): Make static rather than auto; take new parameters
11051         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11052         * locale/weightwc.h: Likewise.
11053         * posix/fnmatch_loop.c
11054         (FCT): Change type of EXTRA from int32_t to wint_t.
11055         Don't include either header inside the function.
11056         Call FINDIDX rather than findidx, and pass new arguments.
11057         #undef FINDIDX at the end of the file.
11058         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11059         FINDIDX before including fnmatch_loop.c for the non-wide version.
11060         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11061         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11062         for the wide version.
11063         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11064         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11065         Pass new arguments to findidx.
11066         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11067         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11068         Don't #include it inside the function.  Pass new arguments to findidx.
11069         * posix/regex_internal.h
11070         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11071         (re_string_elem_size_at): Don't #include it inside the function.
11072         Pass new arguments to findidx.
11073         * string/strcoll_l.c: #include WEIGHT_H at top level.
11074         (get_next_seq): Don't #include it inside the function.
11075         Pass new arguments to findidx.
11076         (get_next_seq_nocache): Likewise.
11077         * string/strxfrm_l.c: #include WEIGHT_H at top level.
11078         (STRXFRM): Don't #include it inside the function.
11079         Pass new arguments to findidx.
11081 2014-09-11  Florian Weimer  <fweimer@redhat.com>
11083         [BZ #17344]
11084         * malloc/malloc.c (unlink): Turn asserts into a call to
11085         malloc_printerr.
11087 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
11089         [BZ #17370]
11090         * libio/wfileops (do_ftell_wide): Free OUT.
11092 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
11094         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11096 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11098         [BZ #17363]
11099         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11100         group if the current group is empty.
11102 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11104         * benchtests/bench-memset.c (test_main): Add more test from size
11105         from 32 to 512 bytes.
11106         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11107         Add POWER8 memset object.
11108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11109         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11110         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11111         implementation.
11112         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11113         Likewise.
11114         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11115         multiarch POWER8 memset optimization.
11116         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11117         POWER8 memset optimization.
11119         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11120         Remove bzero multiarch objects.
11121         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11122         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11123         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11124         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11125         Remove define.
11126         [__bzero]: Redefine to specific name.
11127         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11128         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11129         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11130         define.
11131         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11132         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11134 2014-09-10  Florian Weimer  <fweimer@redhat.com>
11136         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11137         warnings into errors.
11139         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11140         __cxa_thread_atexit_impl prototype.
11142 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11144         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11145         Fix capitalization of error message.
11147 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11149         * sysdeps/mips/preconfigure: Modify ABI tests.
11151 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
11153         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11155 2014-09-07  Roland McGrath  <roland@hack.frob.com>
11156             Carlos O'Donell  <carlos@systemhalted.org>
11158         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11159         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11160         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11161         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11162         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11163         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11164         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11165         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11166         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11167         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11168         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11169         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11170         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11171         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11172         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11173         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11174         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11175         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11176         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11177         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11178         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11179         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11180         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11181         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11182         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11183         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11184         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11185         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11186         Deconditionalize the code that was previously under [RESET_PID].
11187         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11188         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11189         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11190         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11191         include sysdep.h.
11193 2014-09-08  Allan McRae  <allan@archlinux.org>
11195         * version.h (RELEASE): Set to "development".
11196         (VERSION): Set to "2.20.90"
11198 2014-09-07  Allan McRae  <allan@archlinux.org
11200         * version.h (RELEASE): Set to "stable".
11201         (VERSION): Set to "2.20"
11202         * include/features.h (__GLIBC_MINOR__): Set to 20.
11204         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11205         Liebler.
11207         * po/ko.po: Update Korean translation from translation project.
11209 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
11211         [BZ #17354]
11212         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11213         macro for handling signed relocations.
11215 2014-09-03  Florian Weimer  <fweimer@redhat.com>
11217         [BZ #17325]
11218         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11219         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11220         assert.
11221         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11222         * iconvdata/ibm935.c (BODY): Likewise.
11223         * iconvdata/ibm937.c (BODY): Likewise.
11224         * iconvdata/ibm939.c (BODY): Likewise.
11225         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11226         assert.
11227         * iconvdata/Makefile (iconv-test.out): Pass module list to test
11228         script.
11229         * iconvdata/run-iconv-test.sh: New test loop for checking for
11230         decoder crashers.
11232 2014-09-02  Khem Raj  <raj.khem@gmail.com>
11234         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11235         libm_hidden_ver.
11237 2014-09-01  Allan McRae  <allan@archlinux.org>
11239         * po/eo.po: Update Esperanto translation from translation project.
11241         * po/ca.po: Update Catalan translation from translation project.
11243 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11245         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11246         __proc_dostop call.
11248 2014-08-27  Mark Wielaard  <mjw@redhat.com>
11250         [BZ #17319]
11251         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11252         to call set_thread_area instead of hand written asm.
11253         (__NR_set_thread_area): Removed define.
11254         (TLS_FLAG_WRITABLE): Likewise.
11255         (__ASSUME_SET_THREAD_AREA): Remove check.
11256         (TLS_EBX_ARG): Remove define.
11257         (TLS_LOAD_EBX): Likewise.
11259 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11261         Simplify atomicity of socket creation in bind.
11263         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11264         looking up the name after linking the file.
11266 2014-08-27  Allan McRae  <allan@archlinux.org>
11268         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11270 2014-08-26  Florian Weimer  <fweimer@redhat.com>
11272         [BZ #17187]
11273         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11274         trans_compare, open_translit, __gconv_translit_find):
11275         Remove module loading code.
11277 2014-08-26  Allan McRae  <allan@archlinux.org>
11279         * po/vi.po: Update Vietnamese translation from translation project.
11281         * po/uk.po: Update Ukrainian translation from translation project.
11283         * po/fr.po: Update French translation from translation project.
11285         * po/ru.po: Update Russian translation from translation project.
11287         * po/pl.po: Update Polish translation from translation project.
11289         * po/cs.po: Update Czech translation from translation project.
11291         * po/de.po: Update German translation from translation project.
11293         * po/bg.po: Update Bulgarian translation from translation project.
11295         * po/sv.po: Update Sweedish translation from translation project.
11297         * po/nl.po: Update Dutch translation from translation project.
11299         * po/es.po: Update Spanish translation from translation project.
11301 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11303         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11305         * catgets/Makefile (CPPFLAGS-gencat): Remove.
11306         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11307         (CPPFLAGS-iconvconfig): Likewise.
11308         * timezone/Makefile (CPPFLAGS-zic): Likewise.
11310         * include/libc-symbols.h: Remove unnecessary check for
11311         NOT_IN_libc.
11312         * nptl/pthreadP.h: Likewise.
11313         * sysdeps/aarch64/setjmp.S: Likewise.
11314         * sysdeps/alpha/setjmp.S: Likewise.
11315         * sysdeps/arm/sysdep.h: Likewise.
11316         * sysdeps/i386/setjmp.S: Likewise.
11317         * sysdeps/m68k/setjmp.c: Likewise.
11318         * sysdeps/posix/getcwd.c: Likewise.
11319         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11320         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11321         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11322         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11323         * sysdeps/sh/sh3/setjmp.S: Likewise.
11324         * sysdeps/sh/sh4/setjmp.S: Likewise.
11325         * sysdeps/unix/alpha/sysdep.h: Likewise.
11326         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11327         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11328         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11329         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11332         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11333         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11334         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11335         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11336         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11337         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11338         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11339         * sysdeps/x86_64/setjmp.S: Likewise.
11341 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
11343         [BZ #17263]
11344         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11345         <stdint.h>.
11346         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11347         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11349 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11351         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11353         [BZ #17262]
11354         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11355         and __x86_64__ when disabling x87 inline functions.
11357 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11359         [BZ #17259]
11360         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11361         asm statement with __cpuid_count.
11363 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
11365         * configure.ac: Change __ehdr_start code to dereference the struct.
11366         Run readelf on the output to look for relocations.
11367         * configure: Regenerated.
11369 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
11371         [BZ #17261]
11372         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11373         value to 0.
11374         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11376 2014-08-12  Roland McGrath  <roland@hack.frob.com>
11378         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11380 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
11382         [BZ #16892]
11383         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11384         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11386 2014-08-12  Sean Anderson  <seanga2@gmail.com>
11388         * malloc/malloc.c: Fix typo in comment.
11390 2014-08-09  Allan McRae  <allan@archlinux.org>
11392         * Regenerate libc.po.
11394 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
11396         * intl/tst-gettext2.sh: Check every lang file for creation.
11398 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11400         * sysdeps/aarch64/fpu/math_private.h
11401         (libc_feholdsetround_noex_aarch64_ctx): New function.
11403 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11405         * sysdeps/arm/armv6/strcpy.S (strcpy):
11406         Fix performance issue in misaligned cases.
11408 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11410         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11411         Move definition from termios.h.
11412         (struct termio): Likewise.
11413         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11414         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11415         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11416         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11417         Likewise.
11418         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11419         Move definition to ioctl-types.h
11420         (struct termio): Likewise.
11421         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11422         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11423         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11424         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11425         Likewise.
11427 2014-08-05  Richard Henderson  <rth@redhat.com>
11429         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11430         exceptions.
11431         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11432         Add fraiseexcpt.
11433         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11434         Use __feraiseexcept.
11435         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11436         Protect libm symbols with IS_IN_libm.
11438         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11440 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
11442         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11444 2014-08-04  Will Newton  <will.newton@linaro.org>
11446         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11447         file.
11449 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
11451         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11452         variants for each function.
11454 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11456         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11457         appended ...
11458         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11459         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11460         appended ...
11461         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11462         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11463         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11464         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11465         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11466         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11467         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11468         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11469         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11470         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11471         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11472         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11473         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11474         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11475         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11476         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11477         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11478         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11479         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11480         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11481         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11482         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11483         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11484         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11485         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11486         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11487         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11488         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11489         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11490         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11491         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11492         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11493         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11494         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11495         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11496         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11497         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11498         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11499         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11500         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11501         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11502         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11503         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11504         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11505         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11506         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11507         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11508         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11509         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11510         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11511         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11512         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11513         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11514         Update #include.
11515         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11516         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11518 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11520         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11521         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11522         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11523         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11524         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11525         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11527 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11529         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11530         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11531         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11532         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11534 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11536         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11537         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11538         (__libc_vfork): Define function under this name.
11539         (__vfork): Define as an alias.
11540         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11541         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11543 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11545         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11546         that was previously under [RESET_PID].
11547         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11549 2014-08-04  Andreas Schwab  <schwab@suse.de>
11551         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11553 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
11555         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11556         (main): Likewise.
11558 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11560         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11562 2014-08-01  Richard Henderon  <rth@redhat.com>
11564         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11565         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11566         typo in exact zero test.
11567         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11568         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11569         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11571 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11573         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11574         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11575         * sysdeps/arm/sysdep.h: ... here.
11576         [!__ASSEMBLER__]: Include <stdint.h>.
11578 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11580         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11581         (HAVE_WCTYPE_H): Likewise.
11582         (HAVE_ISWCTYPE): Likewise.
11583         (ENABLE_NLS): Likewise.
11584         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11585         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11587         * posix/regex_internal.c: Check if DEBUG is defined and is
11588         set.
11590         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11591         (HAVE_MBSRTOWCS): Likewise.
11592         * posix/fnmatch.c: Include string.h unconditionally.
11594 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11596         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11597         reversal.
11599 2014-07-31  Roland McGrath  <roland@hack.frob.com>
11601         * sysdeps/generic/safe-fatal.h: New file.
11602         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11603         * nptl/forward.c: Include it.
11604         (__pthread_unwind): Use __safe_fatal as default action, rather
11605         than a bogus use of INTERNAL_SYSCALL that could never work.
11607         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11608         * configure.ac (libc_cv_builtin_trap): New test.
11609         * configure: Regenerated.
11610         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11611         (ABORT_INSTRUCTION): Define using __builtin_trap.
11613         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11614         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11615         * sysdeps/nptl/nptl-signals.h: New file.
11616         * nptl/pthreadP.h: Include <nptl-signals.h>.
11618 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11620         * sysdeps/s390/s390-64/utf16-utf32-z9.c
11621         (ONE_DIRECTION): Define.
11622         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11623         (ONE_DIRECTION): Define.
11624         * sysdeps/s390/s390-64/utf8-utf32-z9.c
11625         (ONE_DIRECTION): Define.
11627 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11629         * sysdeps/s390/Makefile: Delete file.
11630         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11631         * sysdeps/s390/__longjmp.c: Delete file.
11632         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11633         Remove fields __flags and __reserved.
11634         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11635         and add versioning.
11636         * sysdeps/s390/rtld-__longjmp.c: Delete file.
11637         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11638         * sysdeps/s390/rtld-setjmp.S: Likewise.
11639         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11640         * sysdeps/s390/s390-32/__longjmp.c: ... here.
11641         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11642         * sysdeps/s390/s390-32/setjmp.S: ... here.
11643         Add versioning.
11644         (__sigsetjmp): Remove setting __flags field.
11645         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11646         * sysdeps/s390/s390-64/__longjmp.c: ... here.
11647         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11648         * sysdeps/s390/s390-64/setjmp.S: ... here.
11649         Add versioning.
11650         (__sigsetjmp): Remove setting __flags field.
11651         * sysdeps/s390/setjmp.S: Delete file.
11652         * sysdeps/s390/sigjmp.c: Likewise.
11653         * sysdeps/s390/v1-longjmp.c: Likewise.
11654         * sysdeps/s390/v1-setjmp.h: Likewise.
11655         * sysdeps/s390/v1-sigjmp.c: Likewise.
11656         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11657         Remove v1-longjmp_chk.
11658         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11659         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11660         Include debug/longjmp_chk.c and add versioning.
11661         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11662         Include nptl/pt-longjmp.c and add versioning.
11663         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11664         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11665         Include __longjmp.c.
11666         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11667         Move to ...
11668         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11669         (__getcontext): Remove setting __flags field.
11670         Add versioning.
11671         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11672         Don't restore upper high grps.
11673         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11674         Likewise.
11675         (__swapcontext): Remove setting uc_flags field.
11676         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11677         Delete file.
11678         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11679         Include __longjmp.c.
11680         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11681         Move to ...
11682         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11683         (__getcontext): Remove setting __flags field.
11684         Add versioning.
11685         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11686         (__swapcontext): Remove setting uc_flags field.
11687         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11688         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11689         Remove fields uc_high_gprs and __reserved.
11690         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11691         New file with reverted content.
11692         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11693         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11694         Regenerated.
11695         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11696         Regenerated.
11698 2014-07-31  Andreas Schwab  <schwab@suse.de>
11700         * config.h.in (HAVE_IFUNC): Define to 0.
11701         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11702         definedness.
11704 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
11706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11707         memmove-avx-unaligned, memcpy-avx-unaligned and
11708         mempcpy-avx-unaligned.
11709         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11710         Add tests for AVX memcpy functions.
11711         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11712         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11713         memcpy_chk.
11714         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11715         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11716         memmove_chk.
11717         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11718         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11719         mempcpy_chk.
11720         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11721         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11722         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11724 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11726         [BZ #17213]
11727         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11728         powerpc64le.
11730 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
11732         [BZ #16839]
11733         * manual/llio.texi: Add section about open file description locks.
11734         * manual/examples/ofdlocks.c: Example of open file description
11735         lock usage.
11736         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11737         F_OFD_SETLK, and F_OFD_SETLKW.
11739 2014-07-23  Allan McRae  <allan@archlinux.org>
11741         * po/es.po: Update Spanish translation from translation project.
11743 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
11745         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11747 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
11749         [BZ #17078]
11750         * sysdeps/arm/dl-machine.h (elf_machine_rela)
11751         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11752         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11754 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
11756         [BZ #17088]
11757         * math/fesetenv.c (__fesetenv)
11758         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11759         * math/feupdateenv.c (__feupdateenv)
11760         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11762         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11763         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11764         (__ASSUME_SOCKETCALL): Do not define.
11766         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11767         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11768         (__ASSUME_SOCKETCALL): Do not define.
11769         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11770         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11771         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11772         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11773         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11774         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11775         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11776         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11778         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11779         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11780         (__ASSUME_SOCKETCALL): Do not define.
11781         (__ASSUME_IPC64): Define unconditionally.
11782         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11783         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11784         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11785         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11786         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11787         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11788         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11789         Likewise.
11791         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11792         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11793         (__ASSUME_SOCKETCALL): Do not define.
11794         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11795         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11796         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11797         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11798         (__ASSUME_REQUEUE_PI): Define unconditionally.
11799         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11800         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11801         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11802         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11803         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11804         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11806         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11807         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11808         (__ASSUME_SOCKETCALL): Do not define.
11809         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11810         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11811         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11812         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11813         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11814         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11816         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11817         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11818         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11819         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11820         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11821         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11822         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11823         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11824         (__ASSUME_GETCPU_SYSCALL): Likewise.
11826         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11827         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
11828         cases for individual architectures.
11829         * sysdeps/gnu/configure: Regenerated.
11830         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11831         LIBC_SLIBDIR_RTLDDIR.
11832         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11833         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11834         LIBC_SLIBDIR_RTLDDIR.
11835         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11837         LIBC_SLIBDIR_RTLDDIR.
11838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11839         Regenerated.
11840         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11841         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11842         file.
11843         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11844         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11845         file.
11846         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11847         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11848         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11849         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11851         * sysdeps/aarch64/shlib-versions: Move to ...
11852         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11853         * sysdeps/alpha/shlib-versions: Move to ...
11854         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11855         * sysdeps/arm/shlib-versions: Move to ...
11856         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11857         * sysdeps/hppa/shlib-versions: Move all contents except for
11858         libgcc_s entry to ...
11859         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
11860         entry from ...
11861         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
11862         * sysdeps/ia64/shlib-versions: Move to ...
11863         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
11864         entry from ...
11865         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
11866         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11867         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11868         * sysdeps/microblaze/shlib-versions: Move to ...
11869         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11870         * sysdeps/mips/shlib-versions: Move to ...
11871         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
11872         entry from ...
11873         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
11874         * sysdeps/tile/shlib-versions: Move to ...
11875         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11876         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11877         from ...
11878         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
11879         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11880         entry from ...
11881         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
11883 2014-07-17  Will Newton  <will.newton@linaro.org>
11885         * sysdeps/arm/bits/atomic.h
11886         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11887         (__arch_compare_and_exchange_bool_16_int): Likewise.
11888         (__arch_compare_and_exchange_bool_64_int): Likewise.
11890         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11891         into an #else block.
11893 2014-07-16  Roland McGrath  <roland@hack.frob.com>
11895         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11896         just Linux configurations.  Test empirically that the compiler sets
11897         __ARM_EABI__, rather than using the tuple to decide.
11898         * sysdeps/arm/preconfigure: Regenerated.
11899         * sysdeps/unix/sysv/linux/arm/configure: File removed.
11900         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11901         contents appended ...
11902         * sysdeps/arm/configure.ac: ... here.
11903         * sysdeps/arm/configure: Regenerated.
11905 2014-07-15  Roland McGrath  <roland@hack.frob.com>
11907         * nptl/pthread_kill.c: New file.
11908         * nptl/pthread_sigmask.c: New file.
11909         * nptl/pthread_sigqueue.c: New file.
11911         * sysdeps/nptl/lowlevellock.h: New file.
11912         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11913         * sysdeps/nptl/lowlevellock-futex.h: New file.
11915         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11916         Remove dead declarations.
11918 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
11920         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11921         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11922         config-cflags-avx2.
11923         * sysdeps/x86_64/configure.ac: Likewise.
11924         * sysdeps/i386/configure: Regenerated.
11925         * sysdeps/x86_64/configure: Likewise.
11926         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11927         memset-avx2 only if config-cflags-avx2 is yes.
11928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11929         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11930         defined.
11931         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11932         only if HAVE_AVX2_SUPPORT is defined.
11933         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11935 2014-07-14  Alan Modra  <amodra@gmail.com>
11937         [BZ #17153]
11938         * elf/elf.h (DT_PPC64_NUM): Correct value.
11939         * NEWS: Add to fixed bug list.
11941 2014-07-13  Jim Meyering  <meyering@fb.com>
11943         [BZ 17150]
11944         regex: don't deref NULL upon heap allocation failure
11945         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11946         failure in one more place.
11947         To trigger the segfault, configure grep -with-included-regex,
11948         build it, and run these commands:
11949         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11951 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
11953         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11955 2014-07-11  Richard Henderson  <rth@redhat.com>
11957         * sysdeps/aarch64/libm-test-ulps: Update.
11959 2014-07-10  Florian Weimer  <fweimer@redhat.com>
11961         [BZ #17135]
11962         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11963         * nptl/allocatestack.c (__nptl_setxid_error): New function.
11964         (__nptl_setxid): Initialize error member.  Call
11965         __nptl_setxid_error.
11966         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11967         * nptl/descr.h (struct xid_command): Add error member.
11968         * nptl/tst-setuid3.c: New file.
11969         * nptl/Makefile (tests): Add it.
11971 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11973         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11974         New define.
11975         (__lll_trylock): Use __lll_base_trylock.
11976         (__lll_cond_trylock): Likewise.
11978 2014-07-10  Roland McGrath  <roland@hack.frob.com>
11980         * nptl/pthread_create.c (start_thread): Use atomic_or and
11981         lll_futex_wake directly rather than lll_robust_dead.
11982         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11983         (lll_robust_dead): Macro removed.
11984         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11985         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11986         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11987         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11988         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11989         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11990         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11991         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11992         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11993         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11994         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11995         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11996         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11997         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11998         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12000         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12001         Use atomic_compare_and_exchange_val_acq directly rather than
12002         lll_robust_trylock.
12003         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12004         (__lll_robust_trylock, lll_robust_trylock): Removed.
12005         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12006         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12007         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12008         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12009         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12010         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12011         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12012         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12013         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12014         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12015         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12016         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12017         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12018         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12020 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12022         * manual/locale.texi (Locale Names): New section documenting
12023         locale name syntax.  Adjust menu and node chaining accordingly.
12024         (Choosing Locale): Reference Locale Names, Locale Categories.
12025         Mention setting LC_ALL=C.  Reflect that name syntax is now
12026         documented.
12027         (Locale Categories): New section title.  Reference Locale Names.
12028         LC_ALL is an environment variable, but not a category.
12029         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12030         description, now in Locale Name.  Reference that section.  Locale
12031         name syntax is now documented.
12033 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12035         [BZ #17137]
12036         * locale/findlocale.c (name_present, valid_locale_name): New
12037         functions.
12038         (_nl_find_locale): Use the loc_name variable to store name
12039         candidates.  Call name_present and valid_locale_name to check and
12040         validate locale names.  Return an error if the locale is invalid.
12042 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12044         * locale/setlocale.c (setlocale): Use strdup for allocating
12045         composite name copy.
12047 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12049         Sync up with gnulib.
12050         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12051         [!_LIBC && ENABLE_NLS]: Include gettext.h.
12052         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12053         and _GL_ARG_NONNULL.
12054         [USE_UNLOCKED_IO]: Include unlocked-io.h.
12055         [!_LIBC]: Include code for Windows and Cygwin.
12056         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12057         Include prototype for int strerror_r.
12058         [!_LIBC] (is_open): New function.
12059         (flush_stdout): New function.
12060         (print_errno_message): Use it.
12061         (error): Likewise.
12062         (error_at_line): Likewise.
12063         (error_tail) Add function attribute macros.  Use
12064         __builtin_expect.
12066         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12068         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12070         * io/ftw.c: Include sys/param.h unconditionally.
12072         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12074         [BZ #17125]
12075         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12076         libc_freeres_ptr.
12077         (freecache): New function to free CACHE on exit.
12079         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12080         initialization.
12082 2014-07-09  David S. Miller  <davem@davemloft.net>
12084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12086         * sysdeps/sparc/nptl/internaltypes.h: Delete.
12087         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12088         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12089         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12090         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12091         * sysdeps/sparc/nptl/sem_init.c: Likewise.
12092         * sysdeps/sparc/nptl/sem_post.c: Likewise.
12093         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12094         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12095         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12096         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12097         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12098         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12100 2014-07-09  Andreas Schwab  <schwab@suse.de>
12102         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12103         output.
12104         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12105         (do_test): Likewise.
12107         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12109 2014-07-09  Will Newton  <will.newton@linaro.org>
12111         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12112         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12113         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12114         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12115         * sysdeps/hppa/start.S (_start): Likewise.
12117 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
12119         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12121         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12122         defined.
12124 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12126         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12127         after checking that it is non-NULL.
12129         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12131 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12133         * sysdeps/powerpc/memmove.c: Remove file.
12134         * sysdeps/powerpc/powerpc32/power4/memcopy.h
12135         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12136         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12137         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12138         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12139         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12140         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12141         string memmove instead of removed powerpc one.
12143         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12144         [weak_alias]: Fix compiler warning due trailing data.
12145         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12146         [weak_alias]: Likewise.
12147         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12148         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12151         (__libc_ifunc_impl_list): Add memmove functions.
12153 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12155         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12156         Remove code.
12157         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12158         Likewise
12159         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12160         Likewise
12161         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12162         Likewise
12163         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12164         Likewise
12165         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12166         Likewise
12167         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12168         Likewise
12169         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12170         Likewise
12171         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12172         Likewise
12173         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12174         Likewise
12175         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12176         Likewise
12177         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12178         Likewise
12179         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12180         Likewise
12181         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12182         Likewise
12183         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12184         Likewise
12185         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12186         Likewise
12187         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12188         Likewise
12190 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12192         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12193         to avoid alignment traps in non-cacheable memory.
12194         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12196         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12197         multiarch objects.
12198         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12199         file: multiarch power7 memmove.
12200         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12201         multiarch default memmove.
12202         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12203         multiarch memove for powerpc32/power4.
12205         * string/bcopy.c: Use full path to include memmove.c.
12206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12207         multiarch objects.
12208         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12209         bcopy for powerpc64.
12210         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12211         bcopy for powerpc64.
12212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12213         and memmove implementations.
12214         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12215         optimized multiarch memmove for POWER7/powerpc64.
12216         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12217         default multiarch memmove for powerpc64.
12218         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12219         multiarch for powerpc64.
12220         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12221         for POWER7/powerpc64.
12222         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12223         memmove for POWER7/powerpc64.
12225         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12226         glibc default one.
12228         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12229         __ELF_NATIVE_CLASS equal to 64.
12231 2014-07-07  Roland McGrath  <roland@hack.frob.com>
12233         * sysdeps/nptl/lowlevellock.h: File removed.
12235         * NEWS: NPTL is no longer an add-on!
12236         * nptl/internaltypes.h: Moved ...
12237         * sysdeps/nptl/internaltypes.h: ... here.
12238         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12239         * sysdeps/nptl/fork.c: Likewise.
12240         * sysdeps/nptl/gai_misc.h: Likewise.
12241         * sysdeps/nptl/librt-cancellation.c: Likewise.
12242         * sysdeps/nptl/jmp-unwind.c: Likewise.
12243         * sysdeps/nptl/setxid.h: Likewise.
12244         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12245         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12246         * sysdeps/unix/sysv/linux/arm/Implies: New file.
12247         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12248         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12249         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12250         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12251         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12252         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12253         * sysdeps/unix/sysv/linux/mips/Implies: New file.
12254         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12255         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12256         * sysdeps/unix/sysv/linux/sh/Implies: New file.
12257         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12258         * sysdeps/unix/sysv/linux/tile/Implies: New file.
12259         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12260         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12261         * nptl/Makeconfig: Moved ...
12262         * sysdeps/nptl/Makeconfig: ... here.
12263         * nptl/configure: File removed.
12264         * nptl/ANNOUNCE: File removed.
12265         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12266         * sysdeps/unix/sysv/linux/configure: Regenerated.
12268         * nptl/Makefile (routines): Add libc_pthread_init,
12269         libc_multiple_threads, register-atfork and unregister-atfork.
12270         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12271         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12272         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12273         pthread-pi-defines.sym, structsem.sym.
12274         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12275         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12276         [$(subdir) = nptl] (tests): Add tst-setgetname.
12277         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12278         * sysdeps/unix/sysv/linux/sigaction.c: Just include
12279         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12280         [!LIBC_SIGACTION]: Remove aliases.
12281         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12282         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12283         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12284         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12285         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12286         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12287         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12288         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12289         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12290         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12291         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12292         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12293         __libc_allocate_rtsig_private.
12294         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12295         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12296         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12297         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12298         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12299         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12300         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12301         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12302         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12303         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12304         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12305         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12306         * nptl/internaltypes.h: ... here.
12307         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12308         * sysdeps/nptl/jmp-unwind.c: ... here.
12309         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12310         * nptl/libc-lowlevellock.c: ... here.
12311         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12312         * nptl/libc_multiple_threads.c: ... here.
12313         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12314         * nptl/libc_pthread_init.c: ... here.
12315         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12316         * nptl/lowlevelbarrier.sym: ... here.
12317         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12318         * nptl/lowlevelcond.sym: ... here.
12319         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12320         * nptl/lowlevellock.c: ... here.
12321         * nptl/lowlevellock.h: Moved ...
12322         * sysdeps/nptl/lowlevellock.h: ... here.
12323         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12324         * nptl/lowlevelrobustlock.c: ... here.
12325         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12326         * nptl/lowlevelrobustlock.sym: ... here.
12327         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12328         * nptl/lowlevelrwlock.sym: ... here.
12329         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12330         * nptl/pt-fork.c: ... here.
12331         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12332         * nptl/pthread-pi-defines.sym: ... here.
12333         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12334         * nptl/pthread_attr_getaffinity.c: ... here.
12335         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12336         * nptl/pthread_attr_setaffinity.c: ... here.
12337         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12338         * nptl/pthread_mutex_cond_lock.c: ... here.
12339         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12340         Update #include.
12341         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12342         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12343         * nptl/pthread_once.c: ... here, replacing old file.
12344         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12345         * nptl/pthread_yield.c: ... here.
12346         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12347         * nptl/register-atfork.c: ... here.
12348         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12349         * nptl/sem_post.c: ... here.
12350         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12351         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12352         * nptl/sem_timedwait.c: ... here.
12353         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12354         * nptl/sem_trywait.c: ... here.
12355         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12356         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12357         * nptl/sem_wait.c: ... here.
12358         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12359         * nptl/structsem.sym: ... here.
12360         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12361         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12362         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12363         * nptl/unregister-atfork.c: ... here.
12364         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12365         * nptl/unwindbuf.sym: ... here.
12366         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12367         * sysdeps/nptl/fork.c: ... here.
12368         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12369         * sysdeps/nptl/fork.h: ... here.
12370         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12371         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12372         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12373         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12374         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12375         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12376         * sysdeps/unix/sysv/linux/getpid.c: ... here.
12377         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12378         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12379         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12380         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12381         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12382         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12383         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12384         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12385         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12386         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12387         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12388         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12389         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12390         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12391         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12392         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12393         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12394         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12395         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12396         * sysdeps/unix/sysv/linux/raise.c: ... here.
12397         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12398         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12399         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12400         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12401         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12402         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12403         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12404         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12405         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12406         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12407         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12408         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12409         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12410         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12411         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12413 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12415         * sysdeps/generic/memcopy.h: Add comment for
12416         MEMCPY_OK_FOR_FWD_MEMMOVE.
12418 2014-07-04  Will Newton  <will.newton@linaro.org>
12420         * string/memchr.c: Merge from gnulib.
12421         [_LIBC]: Remove conditionals.
12422         (__ptr_t): Remove define.
12423         (LONG_MAX_32_BITS): Likewise.
12424         (LONG_MAX): Likewise.
12425         (MEMCHR): Use ANSI prototype and optimize algorithm.
12427         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12429 2014-07-03  Roland McGrath  <roland@hack.frob.com>
12431         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12432         (lll_futex_timed_wait_bitset): Fix syscall argument count.
12434         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12435         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12436         in a bare environment with no <stdlib.h> installed.
12437         * sysdeps/nptl/configure: Regenerated.
12439         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12441         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12442         AC_EGREP_CPP for kernel header checks, so they only succeed if
12443         including <linux/version.h> actually works right.
12444         * sysdeps/unix/sysv/linux/configure: Regenerated.
12446         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12447         value so it's not diagnosed as unused.
12449         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12450         thing) with "ifeq ($(subdir),rt)".
12452 2014-07-03  Richard Henderson  <rth@redhat.com>
12454         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12455         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12456         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12458         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12459         (math_force_eval): New.
12461         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12462         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12464         * sysdeps/alpha/fpu/s_round.c: Remove file.
12465         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12467         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12468         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12469         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12470         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12471         (_dl_start, print_statistics): Likewise.
12472         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12473         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12475         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12476         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12477         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12478         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12479         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12480         (HP_SMALL_TIMING_AVAIL): Define.
12481         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12482         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12483         (HP_SMALL_TIMING_AVAIL): Define.
12484         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12485         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12487         * sysdeps/aarch64/hp-timing.h: New file.
12489         * sysdeps/generic/hp-timing.h: Remove dead comment.
12490         * sysdeps/generic/hp-timing-common.h: New file.
12491         * sysdeps/alpha/hp-timing.h: Include it.
12492         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12493         * sysdeps/i386/i686/hp-timing.h: Likewise.
12494         * sysdeps/ia64/hp-timing.h: Likewise.
12495         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12496         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12497         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12498         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12499         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12500         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12501         (hp_timing_t): New.
12503         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12504         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12505         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12506         * elf/rtld.c (_dl_start_final): Likewise.
12507         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12508         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12509         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12510         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12511         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12512         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12513         (HP_TIMING_DIFF_INIT): Remove.
12514         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12515         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12516         (HP_TIMING_DIFF_INIT): Remove.
12517         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12518         * sysdeps/i386/i686/hp-timing.c: Remove file.
12519         * sysdeps/x86_64/hp-timing.c: Remove file.
12520         * sysdeps/ia64/hp-timing.c: Remove file.
12521         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12522         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12523         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12524         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12526         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12527         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12528         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12529         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12530         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12531         (HP_TIMING_ACCUM): Remove.
12532         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12533         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12534         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12536         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12537         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12538         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12539         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12540         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12541         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12542         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12543         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12545         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12547 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
12549         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12551 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12553         Sync up with gettext.
12554         * intl/loadmsgcat.c: Define O_BINARY if not defined.
12555         [_MSC_VER]: Include malloc.h
12556         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12557         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12558         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
12559         TEMP_FAILURE_RETRY.  Cast return of alloca.
12560         [!_LIBC] Call gl_rwlock_init.
12561         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12563 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12565         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12566         before checking its value.
12568 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12570         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12572         * debug/memcpy_chk.c: Don't include pagecopy.h.
12573         * debug/mempcpy_chk.c: Likewise.
12574         * string/memcpy.c: Likewise.
12575         * string/memmove.c: Likewise.
12576         * sysdeps/powerpc/memmove.c: Likewise.
12577         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
12578         definition of PAGE_COPY_FWD_MAYBE here...
12579         * sysdeps/generic/pagecopy.h: ... from here.
12580         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12582 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12583             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12585         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12587         optimizations.
12588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12589         (__libc_ifunc_impl_list): Likewise.
12590         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12591         multiarch strcat for PPC64.
12592         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12593         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12595 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12597         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12599 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12601         * intl/loadmsgcat.c: Remove declaration of
12602         get_sysdep_segment_value.
12603         (get_sysdep_segment_value): Use ISO C style.
12604         (_nl_load_domain): Use ISO C style.  Get rid of redundant
12605         semicolon.  Fix typo and formatting in comment.
12606         (_nl_unload_domain): Use ISO C style.
12608         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12610 2014-07-02  Will Newton  <will.newton@linaro.org>
12612         * malloc/obstack.c: Merge from gnulib master.
12613         [HAVE_CONFIG_H]: Remove conditional code.
12614         [!_LIBC]: Include config.h.
12615         [!ELIDE_CODE]: Don't include inttypes.h, include
12616         stdint.h unconditionally.
12617         (print_and_abort): Mark as _Noreturn.
12618         (_obstack_allocated_p): Mark as __attribute_pure__.
12619         (obstack_free): Rename to __obstack_free.
12620         [!__attribute__]: Remove conditional code.
12621         * malloc/obstack.h: Merge from gnulib master.
12622         [__cplusplus]: Move conditional down.
12623         [!__attribute_pure__]: Define __attribute_pure__ here
12624         if it is not already defined.
12625         (_obstack_memory_used): Mark as __attribute_pure__.
12626         [!__obstack_free]: Define as obstack_free.
12627         [__GNUC__]: Remove check for ancient NeXT gcc.
12629 2014-07-02  Will Newton  <will.newton@linaro.org>
12630             Paul Eggert  <eggert@cs.ucla.edu>
12632         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12634 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12636         * resolv/gethnamaddr.c: Add comment warning that the file is
12637         not maintained.
12639 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
12641         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12642         entries.
12644         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12645         entry for aio_cancel and aio_cancel64.
12646         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12647         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12648         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12649         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12650         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12651         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12652         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12653         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12654         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12655         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12656         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12657         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12658         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12660 2014-07-01  Roland McGrath  <roland@hack.frob.com>
12662         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12663         * nptl/pthread_mutex_lock.c: Likewise.
12664         * nptl/pthread_mutex_timedlock.c: Likewise.
12665         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12667 2014-07-01  Richard henderson  <rth@redhat.com>
12669         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12670         (__isnan, __isnanl): Remove.
12671         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12673         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12675 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12677         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12679 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12681         * resolv/nss_dns/dns-host.c (getanswer_r)
12682         [MULTI_PTRS_ARE_ALIASES]: Remove code.
12684 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
12686         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12687         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12688         undefine.
12689         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12690         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12692 2014-07-01  Roland McGrath <roland@hack.frob.com>
12694         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12695         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12697         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12698         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12700         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12701         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12702         ... here.
12703         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12704         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12706         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12707         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12708         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12709         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12711         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12712         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12713         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12714         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12715         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12716         Moved ...
12717         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12718         ... here.
12719         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12720         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12721         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12722         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12723         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12724         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12725         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12726         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12727         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12728         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12729         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12730         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12731         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12732         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12733         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12734         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12735         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12736         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12737         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12738         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12739         ... here.
12740         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12741         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12742         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12743         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12744         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12745         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12746         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12747         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12749 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
12751         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12752         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12753         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12754         Add sysdep.
12756 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12760 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12762         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12763         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12765         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12767         * sysdeps/arm/libm-test-ulps: Regenerated.
12769 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12770             Roland McGrath <roland@hack.frob.com>
12772         * test-skeleton.c (signal_handler): Kill the whole process group
12773         before killing the child individually.
12774         (main): Report any failure on `setpgid'.
12776 2014-06-30  Roland McGrath  <roland@hack.frob.com>
12778         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12779         from _TLS_H to _ARM_NPTL_TLS_H.
12780         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12781         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12783 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12785         [BZ #16539]
12786         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12787         (__expm1l): Return argument unchanged when small but not
12788         subnormal.
12790         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12791         include macro name.
12792         (_FP_UNPACK_RAW_1_P): Likewise.
12793         (_FP_PACK_RAW_1): Likewise.
12794         (_FP_PACK_RAW_1_P): Likewise.
12795         (_FP_MUL_MEAT_1_wide): Likewise.
12796         (_FP_MUL_MEAT_DW_1_hard): Likewise.
12797         (_FP_MUL_MEAT_1_hard): Likewise.
12798         (_FP_DIV_MEAT_1_imm): Likewise.
12799         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12800         (_FP_DIV_MEAT_1_udiv): Likewise.
12801         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12802         (_FP_UNPACK_RAW_2): Likewise.
12803         (_FP_UNPACK_RAW_2_P): Likewise.
12804         (_FP_PACK_RAW_2): Likewise.
12805         (_FP_PACK_RAW_2_P): Likewise.
12806         (_FP_MUL_MEAT_DW_2_wide): Likewise.
12807         (_FP_MUL_MEAT_2_wide): Likewise.
12808         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12809         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12810         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12811         (_FP_MUL_MEAT_2_gmp): Likewise.
12812         (_FP_DIV_MEAT_2_udiv): Likewise.
12813         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12814         (_FP_FRAC_SRL_4): Likewise.
12815         (_FP_FRAC_SRST_4): Likewise.
12816         (_FP_FRAC_SRS_4): Likewise.
12817         (_FP_UNPACK_RAW_4): Likewise.
12818         (_FP_UNPACK_RAW_4_P): Likewise.
12819         (_FP_PACK_RAW_4): Likewise.
12820         (_FP_PACK_RAW_4_P): Likewise.
12821         (_FP_MUL_MEAT_DW_4_wide): Likewise.
12822         (_FP_MUL_MEAT_4_wide): Likewise.
12823         (_FP_MUL_MEAT_4_gmp): Likewise.
12824         (umul_ppppmnnn): Likewise.
12825         (_FP_DIV_MEAT_4_udiv): Likewise.
12826         (__FP_FRAC_ADD_4): Likewise.
12827         (__FP_FRAC_SUB_3): Likewise.
12828         (__FP_FRAC_SUB_4): Likewise.
12829         (__FP_FRAC_DEC_3): Likewise.
12830         (__FP_FRAC_DEC_4): Likewise.
12831         (__FP_FRAC_ADDI_4): Likewise.
12832         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12833         (_FP_FRAC_SRL_8): Likewise.
12834         (_FP_FRAC_SRS_8): Likewise.
12836         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12837         include macro name.
12838         (FP_UNPACK_RAW_EP): Likewise.
12839         (FP_PACK_RAW_E): Likewise.
12840         (FP_PACK_RAW_EP): Likewise.
12841         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12842         (_FP_ISSIGNAN): Likewise.
12843         (_FP_ADD_INTERNAL): Likewise.
12844         (_FP_FMA): Likewise.
12845         (_FP_CMP): Likewise.
12846         (_FP_SQRT): Likewise.
12847         (_FP_TO_INT): Likewise.
12848         (_FP_FROM_INT): Likewise.
12849         (FP_EXTEND): Likewise.
12850         (_FP_DIV_MEAT_N_loop): Likewise.
12852 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12854         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12855         throughout.
12857 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
12859         [BZ #17097]
12860         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12861         result with correct sign in case of exponents that produce
12862         overflow except for X very close to 1.
12864 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
12866         mktime: merge #if/#ifdef usage from glibc
12867         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12868         as that works with both Glibc's and Gnulib's style.
12869         See thread starting at Siddhesh Poyarekar's bug report at:
12870         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12872 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12874         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12875         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12876         * sysdeps/tile/tilegx/memmove.c: Remove file.
12878 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12880         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12881         abi-name definition.
12882         * scripts/soversions.awk: Do not handle or generate ABI lines.
12883         * shlib-versions: Remove ABI entries.
12884         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12885         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12887 2014-06-27  Roland McGrath  <roland@hack.frob.com>
12889         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12890         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12891         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12892         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12893         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12894         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12895         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12896         Moved ...
12897         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12898         ... here.
12899         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12900         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12902         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12904         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12906         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12907         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12908         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12909         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12910         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12912         Moved ...
12913         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12914         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12915         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12916         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12917         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12918         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12919         Moved ...
12920         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12922         Moved ...
12923         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12924         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12925         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12926         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12927         Moved ...
12928         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12929         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12930         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12932         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12934         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12935         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12936         Moved ...
12937         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12939         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12940         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12941         Moved ...
12942         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12943         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12944         Moved ...
12945         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12946         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12947         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12948         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12949         Moved ...
12950         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12951         ... here.
12952         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12953         Identical file removed.
12954         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12955         Moved ...
12956         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12957         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12958         Identical file removed.
12959         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12960         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12961         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12962         Moved ...
12963         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12964         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12965         Identical file removed.
12966         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12967         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12968         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12969         Identical file removed.
12970         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12971         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12972         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12973         Identical file removed.
12974         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12975         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12976         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12977         Identical file removed.
12978         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12979         Moved ...
12980         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12981         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12982         Identical file removed.
12983         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12984         Moved ...
12985         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12986         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12987         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12988         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12989         Identical file removed.
12990         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12991         Moved ...
12992         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12993         ... here.
12994         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12995         Identical file removed.
12996         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12997         Moved ...
12998         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12999         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13000         Identical file removed.
13001         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13002         Moved ...
13003         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13004         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13005         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13006         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13007         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13009         Moved ...
13010         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13011         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13012         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13014         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13015         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13016         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13017         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13018         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13020 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
13022         [BZ #17092]
13023         * nscd/nscd.c (monitor_child): Return exit status of child
13024         instead of return value from wait syscall.
13026 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13028         * configure.ac (libc_commonpagesize): Remove variable.
13029         (libc_relro_required): Likewise.
13030         (libc_cv_z_relro): Remove configure test.
13031         * configure: Regenerated.
13032         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13033         variable.
13034         (libc_relro_required): Likewise.
13035         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13036         (libc_relro_required): Likewise.
13037         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13038         (libc_relro_required): Likewise.
13039         * sysdeps/arm/preconfigure: Regenerated.
13040         * sysdeps/ia64/preconfigure: Remove file.
13041         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13042         variable.
13043         (libc_relro_required): Likewise.
13045         [BZ #16561]
13046         [BZ #16562]
13047         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13048         (__ieee754_yn): Set FE_TONEAREST mode internally and then
13049         recompute overflowing results in original rounding mode.
13050         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13051         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13052         recompute overflowing results in original rounding mode.
13053         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13054         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13055         recompute overflowing results in original rounding mode.
13056         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13057         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13058         recompute overflowing results in original rounding mode.
13059         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13060         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13061         recompute overflowing results in original rounding mode.
13062         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13063         (libc_feholdsetround_ctx): New macro.
13064         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13065         * sysdeps/i386/fpu/libm-test-ulps: Update.
13066         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13068 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13070         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13071         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13072         corresponding .cpsetup call.
13074 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13076         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13077         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13078         * sysdeps/arm/Makefile [$(subdir) = csu]
13079         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13080         (static-only-routines): Add aeabi_read_tp here.
13081         (shared-only-routines): Add libc-aeabi_read_tp here.
13082         (CFLAGS-libc-start.c): Add -fexceptions here.
13083         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13084         (sysdep_routines, static-only-routines, shared-only-routines):
13085         Don't add to these here.
13086         (CFLAGS-libc-start.c): Likewise.
13088         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13089         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13090         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13091         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13092         * sysdeps/arm/Makefile [$(subdir) = rt]
13093         (librt-sysdep_routines, librt-shared-only-routines):
13094         Append rt-aeabi_unwind_cpp_pr1 here.
13095         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13096         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13097         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13098         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13099         Append nptl-aeabi_unwind_cpp_pr1 here.
13100         (tests): Filter out tst-cleanupx4 here.
13101         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13102         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13103         Don't do those here.
13105 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13107         * scripts/list-sources.sh: Do not handle ports specially.
13109 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13111         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13112         * sysdeps/arm/feupdateenv.c: Likewise.
13114         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13116 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13118         * manual/texinfo.tex: Update to version 2014-05-05.10 with
13119         trailing whitespace removed.
13120         * scripts/config.guess: Update to version 2014-03-23.
13121         * scripts/config.sub: Update to version 2014-05-01
13122         * scripts/install-sh: Update to version 2013-12-25.23.
13123         * scripts/move-if-change: Update from gnulib.
13125 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13127         * debug/memmove_chk.c: Remove pagecopy.h include.
13129 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
13131         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
13132         identical to gnulib mktime.
13134 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13136         * configure.ac: Do not test for machine being rs6000.  Do not test
13137         for powerpc*-*soft.
13138         * configure: Regenerated.
13140         [BZ #11505]
13141         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13142         test.
13143         * configure: Regenerated.
13144         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13145         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13146         Remove configure test.
13147         * sysdeps/arm/configure: Regenerated.
13148         * sysdeps/nptl/configure.ac: Do not check
13149         libc_cv_asm_cfi_directives.
13150         * sysdeps/nptl/configure: Regenerated.
13151         * sysdeps/x86_64/nptl/configure.ac: Remove file.
13152         * sysdeps/x86_64/nptl/configure: Remove generated file.
13153         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13154         unconditional.
13155         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13157 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13159         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13160         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13161         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13162         it is defined.
13164         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13165         instead of whether it is defined.
13166         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13167         * sysdeps/hppa/dl-machine.h: Likewise.
13168         * sysdeps/ia64/dl-machine.h: Likewise.
13169         * sysdeps/m68k/dl-machine.h: Likewise.
13170         * sysdeps/microblaze/dl-machine.h: Likewise.
13171         * sysdeps/mips/dl-machine.: Likewise.
13172         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13173         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13174         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13175         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13176         * sysdeps/sh/dl-machine.h: Likewise.
13177         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13178         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13179         * sysdeps/tile/dl-machine.h: Likewise.
13180         * sysdeps/x86_64/dl-machine.h: Likewise.
13182         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13183         code.
13184         (verify_persistent_db): Likewise.
13186 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13189         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13191         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13193         Moved ...
13194         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13195         ... here.
13196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13197         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13199         Identical file removed.
13200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13201         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13203         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13205         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13207         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13209         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13211         Moved ...
13212         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13214         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13216         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13218         Moved ...
13219         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13221         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13223         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13225         Identical file removed.
13226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13227         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13229         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13231         Moved ...
13232         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13233         ... here.
13234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13235         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13237         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13239         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13241         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13243         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13245         Moved ...
13246         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13248         Moved ...
13249         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13251         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13253         Moved ...
13254         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13256         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13258         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13259         folded into ...
13260         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13261         * sysdeps/unix/sysv/linux/s390/Versions
13262         (libpthread: GLIBC_2.19): New version set.
13263         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13264         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13265         (librt: GLIBC_2.3.3): New version set.
13266         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13267         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13268         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13269         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13270         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13271         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13272         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13273         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13274         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13275         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13276         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13277         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13278         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13279         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13280         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13281         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13282         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13283         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13284         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13285         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13286         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13287         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13288         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13289         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13290         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13291         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13292         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13293         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13294         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13295         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13296         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13297         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13298         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13299         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13300         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13301         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13302         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13303         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13304         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13305         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13306         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13307         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13308         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13309         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13310         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13312         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13313         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13314         (__libc_vfork): Define the function under this name.
13315         [!NOT_IN_libc] (__vfork): Make this an alias.
13316         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13317         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13318         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13319         (__libc_vfork): Define the function under this name.
13320         [!NOT_IN_libc] (__vfork): Make this an alias.
13321         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13322         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13323         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13324         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13325         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13326         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13328         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13329         code that was previously under [RESET_PID].
13330         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13331         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13332         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13334         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13335         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13336         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13337         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13338         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13339         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13340         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13341         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13342         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13343         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13344         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13345         Moved ...
13346         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13347         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13348         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13349         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13350         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13351         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13352         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13353         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13354         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13355         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13356         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13357         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13358         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13359         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13360         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13361         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13362         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13363         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13364         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13365         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13366         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13367         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13368         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13369         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13370         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13371         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13372         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13373         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13374         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13376 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13378         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13379         that was previously under [RESET_PID].
13380         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13382 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13384         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13385         not undefine and redefine.
13386         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13387         [O_CLOEXEC]: Make code unconditional.
13388         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13389         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13390         <kernel-features.h>.
13391         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13392         conditional variable definition.
13393         (shm_open) [O_CLOEXEC]: Make code unconditional.
13394         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13395         code.
13397         * configure.ac (USE_REGPARMS): Don't define here.
13398         * configure: Regenerated.
13399         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13400         * sysdeps/i386/configure: Regenerated.
13402         * nptl/createthread.c: Don't include kernel-features.h.
13403         * nptl/pthread_cancel.c: Likewise.
13404         * nptl/pthread_condattr_setclock.c: Likewise.
13405         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13406         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13407         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13408         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13409         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13410         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13411         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13412         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13414         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13415         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13416         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13417         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13418         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13419         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13420         * nscd/gai.c: Likewise.
13421         * nss/nss_db/db-open.c: Likewise.
13422         * sysdeps/generic/ldsodefs.h: Likewise.
13423         * sysdeps/sh/nptl/tls.h: Likewise.
13424         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13425         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13426         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13427         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13428         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13429         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13430         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13431         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13432         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13433         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13434         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13435         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13436         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13437         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13438         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13439         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13440         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13441         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13442         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13443         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13444         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13445         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13446         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13447         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13448         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13449         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13450         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13451         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13452         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13453         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13454         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13455         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13456         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13457         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13458         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13459         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13460         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13461         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13462         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13463         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13464         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13465         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13466         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13467         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13468         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13469         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13470         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13471         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13472         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13473         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13474         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13475         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13476         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13477         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13478         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13479         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13480         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13481         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13504         * sysdeps/unix/sysv/linux/pread.c: Likewise.
13505         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13506         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13507         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13508         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13509         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13510         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13511         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13512         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13513         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13514         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13515         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13516         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13517         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13518         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13519         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13520         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13521         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13522         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13523         * sysdeps/unix/sysv/linux/system.c: Likewise.
13524         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13525         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13526         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13527         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13528         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13529         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13530         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13532         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13533         * configure: Regenerated.
13534         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13536         * configure.ac (base_machine): Do not set specially for particular
13537         machines here.
13538         * configure: Regenerated.
13539         * sysdeps/powerpc/preconfigure: Move machine and base_machine
13540         settings from configure.ac.
13541         * sysdeps/i386/preconfigure: New file.
13542         * sysdeps/s390/preconfigure: Likewise.
13543         * sysdeps/sh/preconfigure: Likewise.
13544         * sysdeps/sparc/preconfigure: Likewise.
13546 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13548         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13549         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13550         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13551         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13552         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13553         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13554         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13555         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13556         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13557         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13558         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13559         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13560         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13561         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13562         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13563         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13564         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13565         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13566         * sysdeps/sparc/sparc64/Makefile: ... appended here.
13568         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13569         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13570         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13571         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13572         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13573         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13574         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13575         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13576         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13577         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13578         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13579         * sysdeps/sparc/sparc32/sem_post.c: ... here.
13580         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13581         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13582         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13583         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13584         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13585         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13586         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13587         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13588         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13589         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13590         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13591         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13592         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13593         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13594         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13595         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13596         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13597         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13598         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13599         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13600         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13601         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13602         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13603         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13604         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13605         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13608         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13610         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13612         Moved ...
13613         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13614         ... here.
13615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13616         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13618         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13620         Moved ...
13621         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13623         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13625         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13627         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13629         Moved ...
13630         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13632         Moved ...
13633         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13635         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13637         Moved ...
13638         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13640         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13642         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13644         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13646         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13648         Moved ...
13649         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13650         ... here.
13651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13652         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13654         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13656         Moved ...
13657         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13659         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13661         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13663         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13665         Moved ...
13666         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13668         Moved ...
13669         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13671         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13673         Moved ...
13674         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13676         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13678         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13680 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13682         * timezone/checktab.awk: Update from tzcode 2014e.
13683         * timezone/private.h: Likewise.
13684         * timezone/tzfile.h: Likewise.
13685         * timezone/zdump.c: Likewise.
13686         * timezone/zic.c: Likewise.
13688         * sysdeps/unix/sysv/linux/kernel-features.h
13689         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13690         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13691         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13692         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13693         Remove conditional code.
13695 2014-06-25  Will Newton  <will.newton@linaro.org>
13697         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13698         (_dl_arm_cap_flags): Add HWCAP2 values.
13699         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13700         (_DL_HWCAP_COUNT): Increase to 37.
13701         (_DL_HWCAP_LAST): New define.
13702         (_DL_HWCAP2_LAST): New define.
13703         (_dl_procinfo): Add support for printing
13704         AT_HWCAP2 entries.
13705         (_dl_string_hwcap): Use _dl_hwcap_string.
13707 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13711 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13713         * README: Do not mention ports directory.
13715         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13716         Remove macro.
13717         * sysdeps/unix/sysv/linux/futimes.c: Do not include
13718         <kernel-features.h>.
13719         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13720         conditional variable definition.
13721         (__futimes): Update comment.
13722         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13723         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13725         [BZ #16560]
13726         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13727         arguments close to 0.
13728         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13729         Likewise.
13730         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13731         Likewise.
13732         * math/auto-libm-test-in: Add more tests of exp10.
13733         * math/auto-libm-test-out: Regenerated.
13734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13736         * sysdeps/unix/sysv/linux/kernel-features.h
13737         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13738         * sysdeps/unix/sysv/linux/readv.c: Do not include
13739         <kernel-features.h>.
13740         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13741         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13742         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13743         unconditional.
13744         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13745         conditional code.
13746         * sysdeps/unix/sysv/linux/writev.c: Do not include
13747         <kernel-features.h>.
13748         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13749         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13750         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13751         unconditional.
13752         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13753         conditional code.
13755 2014-06-25  Will Newton  <will.newton@linaro.org>
13757         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13758         comment changes throughout the file.  Remove checks
13759         for HAVE_*_H definitions that are not required.
13760         (__gen_tempname): Call abort if an unknown kind value is
13761         passed.
13763 2014-06-25  Andreas Schwab  <schwab@suse.de>
13765         [BZ #17086]
13766         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13767         scalbln, scalblnf, scalblnl in libc.
13769 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13771         [BZ #17086]
13772         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13773         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13774         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13776 2014-06-24  Roland McGrath  <roland@hack.frob.com>
13778         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13779         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13780         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13781         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13782         Update #include.
13783         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13784         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13785         Update #include.
13786         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13787         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13788         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13789         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13790         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13791         * sysdeps/x86/bits/pthreadtypes.h: ... here.
13792         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13793         * sysdeps/x86/bits/semaphore.h: ... here.
13794         * sysdeps/x86/nptl/elide.h: Moved ...
13795         * sysdeps/x86/elide.h: ... here.
13796         * sysdeps/x86_64/nptl/Implies: File removed.
13797         * sysdeps/i386/nptl/Implies: File removed.
13799 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
13801         [BZ #16539]
13802         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13803         return the argument for normal arguments with exponent below -64.
13804         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13805         Likewise.
13806         * math/auto-libm-test-in: Add another test of expm1.
13807         * math/auto-libm-test-out: Regenerated.
13809         [BZ #16287]
13810         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13811         calling __erfcl for arguments at least 16.
13812         * math/auto-libm-test-in: Add more tests of erf.
13813         * math/auto-libm-test-out: Regenerated.
13815         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13816         individual architectures.
13817         * sysdeps/unix/sysv/linux/configure: Regenerated.
13818         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13819         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13820         * sysdeps/unix/sysv/linux/powerpc/configure.ac
13821         (ldd_rewrite_script): Define variable.
13822         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13824         file.
13825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13826         generated file.
13827         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13828         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13829         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13830         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13831         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13832         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13833         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13834         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13836 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13838         [BZ #17084]
13839         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13840         Rename member __data.d to __data.__elision_data.
13842 2014-06-24  Wilco  <wdijkstr@arm.com>
13844         * NEWS: Add 16918 to fixed bug list.
13846 2014-06-24  Wilco  <wdijkstr@arm.com>
13848         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13850 2014-06-24  Wilco  <wdijkstr@arm.com>
13852         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13853         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13854         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13855         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13856         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13857         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13858         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13859         Use _FPU_MASK_RM.
13861 2014-06-24  Wilco  <wdijkstr@arm.com>
13863         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13865 2014-06-24  Wilco  <wdijkstr@arm.com>
13867         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13868         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13869         * sysdeps/arm/fesetround.c (fesetround): Remove space.
13870         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13872 2014-06-24  Wilco  <wdijkstr@arm.com>
13874         [BZ #16918]
13875         * sysdeps/arm/feupdateenv.c (feupdateenv):
13876         Rewrite to reduce FPSCR accesses and fix return value.
13878 2014-06-24  Wilco  <wdijkstr@arm.com>
13880         * sysdeps/arm/fclrexcpt.c (feclearexcept):
13881         Optimize to avoid unnecessary FPSCR writes.
13882         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13883         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13884         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13885         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13887 2014-06-24  Wilco  <wdijkstr@arm.com>
13889         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13890         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13891         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13892         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13893         Call libc_fetestexcept_vfp.
13894         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13895         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13896         __SOFTFP__ ifdef so that they can be built for softfp.
13898 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13900         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13901         argument type signed char.
13903         * Makerules (check-abi): Dump diff of symlist if the test
13904         fails.
13906 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13908         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13909         using abort.
13911         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13912         Remove unused variable ST.
13914 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13916         [BZ #16354]
13917         [BZ #17061]
13918         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13919         small arguments before calling __expm1.
13920         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13921         small arguments before calling __expm1f.
13922         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13923         small arguments before calling __expm1l.
13924         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13925         Likewise.
13926         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13927         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
13928         spurious underflow for some cosh tests.
13929         * math/auto-libm-test-out: Regenerated.
13930         * sysdeps/i386/fpu/libm-test-ulps: Update.
13932         [BZ #17050]
13933         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13934         (__ieee754_y1): Set errno if return value overflows.
13935         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13936         (__ieee754_y1f): Set errno if return value overflows.
13937         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13938         (__ieee754_y1l): Set errno if return value overflows.
13939         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13940         (__ieee754_y1l): Set errno if return value overflows.
13941         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13942         * math/auto-libm-test-out: Regenerated.
13944         * math/gen-auto-libm-tests.c: Document use of
13945         ignore-zero-inf-sign.
13946         (input_flag_type): Add value flag_ignore_zero_inf_sign.
13947         (input_flags): Add ignore-zero-inf-sign.
13948         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13949         * math/gen-libm-test.pl (generate_testfile): Handle
13950         ignore-zero-inf-sign.
13951         * math/auto-libm-test-in: Mark some cpow tests with
13952         ignore-zero-inf-sign and some with xfail-rounding.
13953         * math/auto-libm-test-out: Regenerated.
13954         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13955         * sysdeps/i386/fpu/libm-test-ulps: Update.
13956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13958         [BZ #16315]
13959         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13960         overflowing or underflowing operations take place with sign of
13961         result.
13962         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13963         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13964         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13965         (__ieee754_pow): Recompute overflowing and underflowing results in
13966         original rounding mode.
13967         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13968         (__powl_helper): Allow negative argument X and scale negated value
13969         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
13970         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13971         overflowing or underflowing operations take place with sign of
13972         result.
13973         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13974         Include <math.h>.
13975         * math/auto-libm-test-in: Add more tests of pow.
13976         * math/auto-libm-test-out: Regenerated.
13977         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13978         (pow_tonearest_test_data): Remove.
13979         (pow_test_tonearest): Likewise.
13980         (pow_towardzero_test_data): Likewise.
13981         (pow_test_towardzero): Likewise.
13982         (pow_downward_test_data): Likewise.
13983         (pow_test_downward): Likewise.
13984         (pow_upward_test_data): Likewise.
13985         (pow_test_upward): Likewise.
13986         (main): Don't call removed functions.
13987         * sysdeps/i386/fpu/libm-test-ulps: Update.
13988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13990 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13993         Moved ...
13994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13996         Moved ...
13997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13999         Moved ...
14000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14002         Moved ...
14003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14005         File removed.
14006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14007         File removed.
14008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14009         File removed.
14010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14011         File removed.
14012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14013         File removed.
14014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14015         File removed.
14016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14017         File removed.
14018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14019         File removed.
14020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14021         File removed.
14022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14023         File removed.
14024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14025         File removed.
14026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14027         File removed.
14028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14029         Moved ...
14030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14032         Moved ...
14033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14034         ... here.
14035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14036         Moved ...
14037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14039         Moved ...
14040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14042         Moved ...
14043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14045         Moved ...
14046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14048         Moved ...
14049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14051         Moved ...
14052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14054         Moved ...
14055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14058         ... here.
14059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14060         Moved ...
14061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14063         Moved ...
14064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14065         ... here.
14066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14067         Moved ...
14068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14069         ... here.
14070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14071         Moved ...
14072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14073         ... here.
14074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14075         Moved ...
14076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14078         Moved ...
14079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14083         Moved ...
14084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14085         ... here.
14086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14087         Moved ...
14088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14089         ... here.
14090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14091         Moved ...
14092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14094         Moved ...
14095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14097         Moved ...
14098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14100         Moved ...
14101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14103         Moved ...
14104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14105         ... here.
14106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14107         Moved ...
14108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14110         Moved ...
14111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14113         Moved ...
14114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14116         Moved ...
14117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14121         Moved ...
14122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14124         Moved ...
14125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14127         Moved ...
14128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14129         ... here.
14130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14131         Moved ...
14132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14133         ... here.
14134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14135         Moved ...
14136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14137         ... here.
14138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14139         Moved ...
14140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14142         Moved ...
14143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14145         Moved ...
14146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14148         Moved ...
14149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14150         ... here.
14151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14152         Moved ...
14153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14154         ... here.
14155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14156         Moved ...
14157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14158         ... here.
14159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14160         Moved ...
14161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14163         Moved ...
14164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14166 2014-06-23  Will Newton  <will.newton@linaro.org>
14167             Wilco  <wdijkstr@arm.com>
14169         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14170         implementation.  Include get-rounding-mode.h.
14171         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14172         [!libc_feholdsetround_noex_ctx]: Define
14173         libc_feholdsetround_noex_ctx.
14174         [!libc_feholdsetround_noexf_ctx]: Define
14175         libc_feholdsetround_noexf_ctx.
14176         [!libc_feholdsetround_noexl_ctx]: Define
14177         libc_feholdsetround_noexl_ctx.
14178         (libc_feholdsetround_ctx): New function.
14179         (libc_feresetround_ctx): New function.
14180         (libc_feholdsetround_noex_ctx): New function.
14181         (libc_feresetround_noex_ctx): New function.
14183 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14185         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14186         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14187         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14188         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14189         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14190         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14192         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14193         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14194         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14195         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14196         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14197         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14198         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14199         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14200         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14201         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14202         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14203         Moved ...
14204         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14205         ... here.
14206         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14207         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14208         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14209         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14210         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14211         Moved ...
14212         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14213         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14214         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14215         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14216         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14217         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14218         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14219         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14220         Moved ...
14221         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14222         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14223         Moved ...
14224         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14225         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14226         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14227         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14228         Moved ...
14229         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14230         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14231         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14232         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14233         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14234         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14235         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14236         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14237         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14238         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14239         Moved ...
14240         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14241         ... here.
14242         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14243         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14244         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14245         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14246         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14247         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14248         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14249         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14250         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14251         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14252         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14253         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14254         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14255         Moved ...
14256         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14257         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14258         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14259         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14260         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14261         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14262         Moved ...
14263         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14264         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14265         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14266         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14267         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14269         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14270         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14271         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14272         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14273         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14274         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14275         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14276         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14277         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14278         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14279         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14280         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14281         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14282         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14283         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14284         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14285         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14286         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14287         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14288         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14289         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14290         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14291         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14292         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14293         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14294         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14295         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14296         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14298 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14300         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14301         (FALLOC_FL_COLLAPSE_RANGE): New macro.
14302         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14303         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14304         (IPV6_PMTUDISC_INTERFACE): Likewise.
14305         (IPV6_PMTUDISC_OMIT): Likewise.
14307 2014-06-23  Andreas Schwab  <schwab@suse.de>
14309         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14310         Remove unused errout label.
14312 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14314         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14315         macro: hardware supports Vector Crypto instructions.
14317 2014-06-23  Will Newton  <will.newton@linaro.org>
14319         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14320         rather than __builtin_expect.
14322         * elf/dl-lookup.c (undefined_msg): Remove variable.
14323         (_dl_lookup_symbol_x): Replace undefined_msg with string
14324         literal.
14326         * elf/dl-lookup.c (do_lookup_unique): New function.
14327         (do_lookup_x): Move STB_GNU_UNIQUE handling code
14328         to a separate function.
14330 2014-06-23  Andreas Schwab  <schwab@suse.de>
14332         [BZ #17079]
14333         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14334         before reading the next line.
14336 2014-06-23  Will Newton  <will.newton@linaro.org>
14338         * test-skeleton.c (signal_handler): Use printf and %m
14339         rather than perror.  Use printf rather than fprintf to
14340         stderr.  Use puts rather than fputs to stderr.
14341         (main): Likewise.
14343 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
14345         * nscd/nscd.c (thread_info_t): Remove typedef.
14346         (thread_info): Remove variable.
14348 2014-06-21  Allan McRae  <allan@archlinux.org>
14350         * NEWS: Mention CVE-2014-4043.
14352 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14354         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14355         * nptl/smp.h: ... here.
14357         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14359         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14360         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14361         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14362         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14364         * nptl/allocatestack.c: Include <stack-aliasing.h>.
14365         * nptl/stack-aliasing.h: New file.
14366         * sysdeps/i386/i686/stack-aliasing.h: New file.
14367         * sysdeps/i386/i686/nptl/Makefile: File removed.
14368         * sysdeps/x86_64/stack-aliasing.h: New file.
14369         * sysdeps/x86_64/nptl/Makefile
14370         (CFLAGS-pthread_create.c): Variable removed.
14372         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14373         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14374         old file.
14375         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14376         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14377         old file.
14379 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
14381         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14382         (__ASSUME_SIGFRAME_V2): Remove macro.
14383         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14384         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14385         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14386         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14387         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14388         Declare as function.  Remove conditional macro definitions.
14389         (__default_rt_sa_restorer): Likewise.
14390         (__default_sa_restorer_v1): Remove declaration.
14391         (__default_sa_restorer_v2): Likewise.
14392         (__default_rt_sa_restorer_v1): Likewise.
14393         (__default_rt_sa_restorer_v2): Likewise.
14394         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14395         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14396         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14398 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14400         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14401         (libpthread-routines): Add sysdep.
14402         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14403         * sysdeps/unix/sysv/linux/sparc/Versions
14404         (libpthread: GLIBC_2.3.3): New version set.
14405         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14406         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14407         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14408         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14409         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
14410         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14411         Moved ...
14412         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14413         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14414         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14415         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14416         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14417         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14418         * sysdeps/sparc/nptl/sem_init.c: ... here.
14419         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14420         * sysdeps/sparc/nptl/sem_post.c: ... here.
14421         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14422         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14423         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14424         * sysdeps/sparc/nptl/sem_wait.c: ... here.
14425         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14426         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14427         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14428         (libpthread-routines): Add cpu_relax.
14429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14430         File removed.
14431         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14432         (librt: GLIBC_2.3.3): New version set.
14433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14434         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14435         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14436         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14439         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14441         Moved ...
14442         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14444         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14446         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14448         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14450         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14452         Moved ...
14453         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14454         Update #include.
14455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14456         Moved ...
14457         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14458         Update #include.
14459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14460         Moved ...
14461         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14462         Update #include.
14463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14464         Moved ...
14465         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14466         Update #include.
14467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14468         Moved ...
14469         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14470         Update #include.
14471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14472         Moved ...
14473         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14474         Update #include.
14475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14476         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14478         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14480         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14482         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14484         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14486         Moved ...
14487         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14489         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14491         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14493 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14495         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14496         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14497         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14498         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14499         * nscd/nscd.c: Likewise.
14500         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14501         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14502         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14503         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14505         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14506         <kernel-features.h>.
14507         (init_mq_netlink): Remove conditional have_sock_cloexec
14508         definitions.  Remove code conditional on have_sock_cloexec < 0.
14509         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14510         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14511         * sysdeps/unix/sysv/linux/opensock.c: Do not include
14512         <kernel-features.h>.
14513         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14514         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14516 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14518         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14519         Add tests for memset_chk and memset.
14521         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14522         with AVX2_Usable.
14524 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14526         [BZ #16046]
14527         * elf/tst-dl-iter-static.c: New file.
14528         * elf/Makefile (tests-static): Add tst-dl-iter-static.
14530         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14531         error.
14533 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14535         * sysdeps/unix/sysv/linux/kernel-features.h
14536         (__ASSUME_F_GETOWN_EX): Remove macro.
14537         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14538         <kernel-features.h>.
14539         (miss_F_GETOWN_EX): Remove variable or macro.
14540         (do_fcntl): Do not check miss_F_GETOWN_EX.
14541         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14543         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14544         Remove macro.
14545         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14546         [!__ASSUME_AT_RANDOM]: Remove conditional code.
14547         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14549         * sysdeps/unix/sysv/linux/kernel-features.h
14550         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14551         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14552         [ADJ_OFFSET_SS_READ]: Make code unconditional.
14553         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14555 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14557         [BZ #17075]
14558         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14559         Fix calculation of the symbol's value.
14560         * sysdeps/arm/tst-armtlsdescloc.c: New file.
14561         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14562         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14563         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14564         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14565         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14566         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14567         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14568         (modules-names): Add `tst-armtlsdescmod',
14569         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14570         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14571         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14572         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14573         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14574         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14575         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14576         ($(objpfx)tst-armtlsdescloc): New dependency.
14577         ($(objpfx)tst-armtlsdescextnow): Likewise.
14578         ($(objpfx)tst-armtlsdescextlazy): Likewise.
14579         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14580         TLS scheme support.
14581         * sysdeps/arm/configure: Regenerate.
14583 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14585         * include/fcntl.h (__atfct_seterrno): Remove prototype.
14586         (__atfct_seterrno_2): Likewise.
14587         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14588         <kernel-features.h>.
14589         (__ASSUME_ATFCTS): Do not undefine and redefine.
14590         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14591         (__have_atfcts): Remove conditional definition.
14592         (__fxstatat([__NR_fstatat64]: Make code unconditional.
14593         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14594         unreachable if [__ASSUME_ATFCTS].
14595         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14596         not undefine and redefine.
14597         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14598         <kernel-features.h>.
14599         (faccessat) [__NR_faccessat]: Make code unconditional.
14600         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14601         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14602         <kernel-features.h>.
14603         (fchmodat) [__NR_fchmodat]: Make code unconditional.
14604         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14605         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14606         <kernel-features.h>.
14607         (fchownat) [__NR_fchownat]: Make code unconditional.
14608         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14609         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14610         <kernel-features.h>.
14611         (futimesat) [__NR_futimesat]: Make code unconditional.
14612         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14613         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14614         <kernel-features.h>.
14615         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14616         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14617         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14618         <kernel-features.h>.
14619         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14620         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14621         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14622         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14623         <kernel-features.h>.
14624         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14625         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14626         * sysdeps/unix/sysv/linux/linkat.c: Do not include
14627         <kernel-features.h>.
14628         (linkat) [__NR_linkat]: Make code unconditional.
14629         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14630         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14631         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14632         <kernel-features.h>.
14633         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14634         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14635         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14636         <kernel-features.h>.
14637         (mkdirat) [__NR_mkdirat]: Make code unconditional.
14638         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14639         * sysdeps/unix/sysv/linux/openat.c: Do not include
14640         <kernel-features.h>.
14641         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14642         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14643         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14644         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14645         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14646         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14647         <kernel-features.h>.
14648         (readlinkat) [__NR_readlinkat]: Make code unconditional.
14649         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
14650         result of INLINE_SYSCALL directly, not via int variable.
14651         * sysdeps/unix/sysv/linux/renameat.c: Do not include
14652         <kernel-features.h>.
14653         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14654         (renameat) [__NR_renameat]: Make code unconditional.
14655         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14656         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14657         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14658         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14659         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14660         (__ASSUME_ATFCTS): Do not undefine and redefine.
14661         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14662         <kernel-features.h>.
14663         (symlinkat) [__NR_symlinkat]: Make code unconditional.
14664         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14665         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14666         <kernel-features.h>.
14667         (unlinkat) [__NR_unlinkat]: Make code unconditional.
14668         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14669         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14670         (__ASSUME_ATFCTS): Do not undefine and redefine.
14671         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14672         <kernel-features.h>.
14673         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14674         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14675         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14676         <kernel-features.h>.
14677         (__xmknodat) [__NR_mknodat]: Make code unconditional.
14678         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14680 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14682         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14684 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
14686         [BZ #17069]
14687         * posix/regcomp.c (parse_reg_exp): Deallocate partially
14688         constructed tree before returning error.
14689         * posix/bug-regexp36.c: Expand test case.
14691 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14693         [BZ #6803]
14694         * math/libm-test.inc (scalbln_test_date):
14695         Add errno expectations.
14696         * math/w_scalblnf.c: New File.
14697         Add wrapper which checks for setting errno to ERANGE.
14698         Add weak_alias for corresponding scalbln function.
14699         * math/w_scalbln.c: Likewise.
14700         * math/w_scalblnl.c: Likewise.
14701         * math/Makefile (libm-calls): Add w_scalbln.
14702         * sysdeps/ieee754/flt-32/s_scalblnf.c:
14703         Remove weak_alias for corresponding scalbln function.
14704         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14705         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14706         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14707         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14708         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14709         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14710         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14711         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14712         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14713         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14714         Remove long_double_symbol for scalblnl function in libm, libc.
14715         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14716         Add wrapper which checks for setting errno to ERANGE.
14717         Add long_double_symbol for scalblnl function in libm, libc.
14718         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14719         Remove long_double_symbol for scalblnl in libm.
14720         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14721         Add wrapper which checks for setting errno to ERANGE.
14722         Add long_double_symbol for scalblnl function in libm.
14723         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14724         Do not use wrapper because of own implementation.
14726 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
14728         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14729         3 bytes for __pad1 for x32.
14730         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14732 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
14733             H.J. Lu  <hongjiu.lu@intel.com>
14735         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14736         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14737         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14738         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14739         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14741 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
14743         [BZ #17069]
14744         * posix/regcomp.c (parse_expression): Deallocate partially
14745         constructed tree before returning error.
14746         * posix/Makefile.c (tests): Add bug-regex36.
14747         (generated): Add bug-regex36.mtrace.
14748         (tests-special): Add $(objpfx)bug-regex36-mem.out
14749         (bug-regex36-ENV): New variable.
14750         ($(objpfx)bug-regex36-mem.out): New rule.
14751         * posix/bug-regex36.c: New file.
14753 2014-06-19  Will Newton  <will.newton@linaro.org>
14755         * malloc/malloc.c (systrim): If extra is zero then return
14756         early.
14758 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14760         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14762 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
14764         * sysdeps/aarch64/strchr.S: New file.
14766 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14768         [BZ #17022]
14769         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14770         from arguments -2 or below.
14771         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14772         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14774 2014-06-18  Andreas Schwab  <schwab@suse.de>
14776         [BZ #17062]
14777         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14778         of a bracket expr not to run off the end of the string.
14779         * posix/Makefile (tests): Add tst-fnmatch3.
14780         * posix/tst-fnmatch3.c: New file.
14782 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14784         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14785         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14786         [$(cross-compiling) = no]: Likewise.
14787         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14788         [$(cross-compiling) = no]: Likewise.
14790 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14792         [BZ #17031]
14793         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14794         double, adjusted for any remainder from the high double.
14795         * math/libm-test.inc (nearbyint): Add tests.
14796         (rint): Likewise.
14798 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14800         * nptl/sysdeps/powerpc/Makefile: Moved ...
14801         * sysdeps/powerpc/nptl/Makefile: ... here.
14802         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14803         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14804         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14805         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14806         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14807         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14808         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14809         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14810         * nptl/sysdeps/powerpc/tls.h: Moved ...
14811         * sysdeps/powerpc/nptl/tls.h: ... here.
14813 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
14815         [BZ #16681]
14816         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14817         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14818         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14819         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14820         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14821         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14822         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14823         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14824         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14826 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
14828         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14830 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
14832         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14833         defined operator.
14835         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14836         $TIMEOUTFACTOR.
14838 2014-06-16  Florian Weimer  <fweimer@redhat.com>
14840         [BZ #17058]
14841         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14842         non-executed part of the test.
14844 2014-06-16  Andreas Schwab  <schwab@suse.de>
14846         * string/bits/string2.h (strdup, strndup): Update feature guard.
14848 2014-06-14  David S. Miller  <davem@davemloft.net>
14850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14852 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
14854         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14855         that was previously under [RESET_PID].
14856         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14858         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14859         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14860         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14861         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14862         (__libc_vfork): New strong alias.
14863         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14865 2014-06-14 Andi Kleen  <ak@linux.intel.com>
14867         * sysdeps/generic/elide.h: New file.
14869 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14871         * Makefile (installed-headers): Adjust path of pthread.h header.
14873 2014-06-13  Roland McGrath  <roland@hack.frob.com>
14875         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14876         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14877         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14878         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14880         * nptl/sysdeps/s390/Makefile: Moved ...
14881         * sysdeps/s390/nptl/Makefile: ... here.
14882         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14883         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14884         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14885         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14886         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14887         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14888         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14889         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14890         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14891         * sysdeps/s390/nptl/pthreaddef.h: ... here.
14892         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14893         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14894         * nptl/sysdeps/s390/tls.h: Moved ...
14895         * sysdeps/s390/nptl/tls.h: ... here.
14897         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14898         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14900 2014-06-13  David S. Miller  <davem@davemloft.net>
14902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14905         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14909         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14910         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14911         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14912         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14913         Remove RESET_PID cpp guards.
14914         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14915         Remove RESET_PID cpp guards.
14916         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14918 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
14920         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14921         __sp to uintptr_t.
14923 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14925         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14926         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14927         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14928         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14929         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14930         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14931         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14932         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14933         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14934         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14935         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14936         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14937         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14938         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14939         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14940         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14941         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14942         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14943         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14944         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14946         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14947         (pthread_rwlock_rdlock): Add elision.
14948         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14949         (pthread_rwlock_wrlock): Add elision.
14950         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14951         (pthread_rwlock_trywrlock): Add elision.
14952         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14953         (pthread_rwlock_tryrdlock): Add elision.
14954         * nptl/pthread_rwlock_unlock.c: Include elide.h.
14955         (pthread_rwlock_tryrdlock): Add elision unlock.
14956         * nptl/sysdeps/pthread/pthread.h:
14957         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14958         (PTHREAD_RWLOCK_INITIALIZER,
14959         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14960         Handle new elision field.
14961         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14962         * sysdeps/arm/nptl/bits/pthreadtypes.h
14963         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14964         * sysdeps/sh/nptl/bits/pthreadtypes.h
14965         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14966         * sysdeps/tile/nptl/bits/pthreadtypes.h
14967         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14968         * sysdeps/a/nptl/bits/pthreadtypes.h
14969         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14970         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14971         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14972         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14973         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14974         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14975         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14976         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14977         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14978         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14979         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14980         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14981         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14982         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14983         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14984         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14985         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14986         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14987         (elision_init): Set try_xbegin to zero when no RTM.
14988         * sysdeps/x86/nptl/bits/pthreadtypes.h
14989         (pthread_rwlock_t): Change __pad1 to __rwelision.
14990         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14992 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14994         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14995         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14996         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14997         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14999 2014-06-13  Meador Inge  <meadori@codesourcery.com>
15001         [BZ #16996]
15002         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15003         that the cached result has been set before returning it.
15005 2014-06-12  Roland McGrath  <roland@hack.frob.com>
15007         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15008         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15009         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15010         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15011         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15012         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15014         * nptl/sysdeps/sparc/Makefile: Moved ...
15015         * sysdeps/sparc/nptl/Makefile: ... here.
15016         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15017         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15018         * nptl/sysdeps/sparc/tls.h: Moved ...
15019         * sysdeps/sparc/nptl/tls.h: ... here.
15020         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15021         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15022         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15023         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15024         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15025         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15026         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15027         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15028         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15029         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15030         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15031         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15032         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15033         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15034         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15035         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15036         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15037         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15038         Update #include.
15039         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15040         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15041         Update #include.
15042         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15043         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15044         Update #include.
15045         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15046         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15047         Update #include.
15049         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15051         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15052         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15054         * sysdeps/pthread/posix-timer.h: Include <list.h>.
15055         (struct list_links): Type removed.
15056         (struct thread_node, struct timer_node): Replace struct list_links
15057         with struct list_head.
15058         (list_unlink_ip): Likewise.
15059         * sysdeps/pthread/timer_routines.c
15060         (timer_free_list, thread_free_list, thread_active_list): Likewise.
15061         (list_append, list_insbefore): Likewise.
15062         (list_init): Function removed.
15063         (thread_init, init_module): Use INIT_LIST_HEAD instead.
15064         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15065         * sysdeps/pthread/Makefile: ... here, new file.
15067         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15068         * sysdeps/nptl/Implies: ... here.
15069         * sysdeps/unix/sysv/linux/Implies: Add nptl.
15070         * nptl/sysdeps/pthread/list.h: Moved ...
15071         * include/list.h: ... here.
15072         * nptl/sysdeps/pthread/createthread.c: Moved ...
15073         * nptl/createthread.c: ... here.
15074         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15075         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15076         * nptl/pt-longjmp.c: ... here.
15077         * nptl/sysdeps/pthread/Makefile: Moved ...
15078         * sysdeps/nptl/Makefile: ... here.
15079         * nptl/sysdeps/pthread/Subdirs: Moved ...
15080         * sysdeps/nptl/Subdirs: ... here.
15081         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15082         * sysdeps/nptl/aio_misc.h: ... here.
15083         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15084         * sysdeps/nptl/bits/libc-lock.h: ... here.
15085         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15086         * sysdeps/nptl/bits/libc-lockP.h: ... here.
15087         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15088         * sysdeps/nptl/bits/stdio-lock.h: ... here.
15089         * nptl/sysdeps/pthread/configure: Moved ...
15090         * sysdeps/nptl/configure: ... here.
15091         * nptl/sysdeps/pthread/configure.ac: Moved ...
15092         * sysdeps/nptl/configure.ac: ... here.
15093         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15094         * sysdeps/nptl/gai_misc.h: ... here.
15095         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15096         * sysdeps/nptl/librt-cancellation.c: ... here.
15097         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15098         * sysdeps/nptl/malloc-machine.h: ... here.
15099         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15100         * sysdeps/nptl/pthread-functions.h: ... here.
15101         * nptl/sysdeps/pthread/pthread.h: Moved ...
15102         * sysdeps/nptl/pthread.h: ... here.
15103         * nptl/sysdeps/pthread/setxid.h: Moved ...
15104         * sysdeps/nptl/setxid.h: ... here.
15105         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15106         * sysdeps/nptl/sigfillset.c: ... here.
15107         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15108         * sysdeps/nptl/tcb-offsets.h: ... here.
15109         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15110         * sysdeps/nptl/tst-mqueue8x.c: ... here.
15111         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15112         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15113         * nptl/sysdeps/pthread/allocalim.h: Moved ...
15114         * sysdeps/pthread/allocalim.h: ... here.
15115         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15116         * sysdeps/pthread/bits/sigthread.h: ... here.
15117         * nptl/sysdeps/pthread/flockfile.c: Moved ...
15118         * sysdeps/pthread/flockfile.c: ... here.
15119         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15120         * sysdeps/pthread/ftrylockfile.c: ... here.
15121         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15122         * sysdeps/pthread/funlockfile.c: ... here.
15123         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15124         * sysdeps/pthread/posix-timer.h: ... here.
15125         * nptl/sysdeps/pthread/timer_create.c: Moved ...
15126         * sysdeps/pthread/timer_create.c: ... here.
15127         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15128         * sysdeps/pthread/timer_delete.c: ... here.
15129         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15130         * sysdeps/pthread/timer_getoverr.c: ... here.
15131         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15132         * sysdeps/pthread/timer_gettime.c: ... here.
15133         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15134         * sysdeps/pthread/timer_routines.c: ... here.
15135         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15136         * sysdeps/pthread/timer_settime.c: ... here.
15137         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15138         * sysdeps/pthread/tst-timer.c: ... here.
15139         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15140         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15142         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15143         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15145         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15146         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15147         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15148         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15149         Update #include target.
15150         * nptl/sysdeps/i386/i686/Makefile: Moved ...
15151         * sysdeps/i386/i686/nptl/Makefile: ... here.
15152         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15153         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15154         Update #include target.
15155         * nptl/sysdeps/i386/i686/tls.h: Moved ...
15156         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
15157         * nptl/sysdeps/i386/Makefile: Moved ...
15158         * sysdeps/i386/nptl/Makefile: ... here.
15159         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15160         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15161         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15162         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15163         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15164         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15165         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15166         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15167         * sysdeps/i386/nptl/pthreaddef.h: ... here.
15168         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15169         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15170         * nptl/sysdeps/i386/tls.h: Moved ...
15171         * sysdeps/i386/nptl/tls.h: ... here.
15173         * sysdeps/sh/Makefile [$(subdir) = csu]
15174         (gen-as-const-headers): Add tcb-offsets.sym.
15175         * nptl/sysdeps/sh/Makefile: File removed.
15176         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15177         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15178         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15179         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15180         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15181         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15182         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15183         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15184         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15185         * sysdeps/sh/nptl/pthreaddef.h: ... here.
15186         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15187         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15188         * nptl/sysdeps/sh/tls.h: Moved ...
15189         * sysdeps/sh/nptl/tls.h: ... here.
15190         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15191         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15192         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15193         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15194         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15195         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15196         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15197         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15198         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15199         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15200         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15201         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15202         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15203         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15204         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15205         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15206         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15207         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15208         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15209         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15210         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15211         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15212         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15213         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15214         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15215         Moved ...
15216         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15217         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15218         Moved ...
15219         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15220         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15221         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15222         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15223         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15224         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15225         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15226         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15227         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15228         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15229         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15230         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15231         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15232         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15233         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15234         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15235         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15236         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15237         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15239 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15241         * posix/spawn_faction_addopen.c: Include string.h.
15243 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15245         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15246         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15247         * nptl/sysdeps/x86_64/Makefile: Moved ...
15248         * sysdeps/x86_64/nptl/Makefile: ... here.
15249         * nptl/sysdeps/x86_64/configure: Moved ...
15250         * sysdeps/x86_64/nptl/configure: ... here.
15251         * nptl/sysdeps/x86_64/configure.ac: Moved ...
15252         * sysdeps/x86_64/nptl/configure.ac: ... here.
15253         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15254         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15255         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15256         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15257         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15258         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15259         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15260         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15261         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15262         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15263         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15264         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15265         * nptl/sysdeps/x86_64/tls.h: Moved ...
15266         * sysdeps/x86_64/nptl/tls.h: ... here.
15267         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15268         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15269         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15270         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15272         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15274 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15278 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
15280         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15281         type.
15282         [POSIX] (off_t): Likewise.
15283         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15284         [POSIX] (S_ISBLK): Require macro.
15285         [POSIX] (S_ISCHR): Likewise.
15286         [POSIX] (S_ISDIR): Likewise.
15287         [POSIX] (S_ISFIFO): Likewise.
15288         [POSIX] (S_ISREG): Likewise.
15289         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15290         optional-macro.
15291         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15292         type.
15293         [POSIX] (time_t): Likewise.
15294         [POSIX] (timer_t): Likewise.
15296 2014-06-11  Florian Weimer  <fweimer@redhat.com>
15298         [BZ #17048]
15299         * posix/spawn_int.h (struct __spawn_action): Make the path string
15300         non-const to support deallocation.
15301         * posix/spawn_faction_addopen.c
15302         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15303         * posix/spawn_faction_destroy.c
15304         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
15305         path in all spawn_do_open actions.
15306         * posix/tst-spawn.c (do_test): Exercise the copy operation in
15307         posix_spawn_file_actions_addopen.
15309 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
15311         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15312         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15313         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15314         conditional code always true.
15315         (__libc_vfork): New alias.
15317 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15319         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15320         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15322         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15324         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15325         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15327         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15328         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15330         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15331         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15333 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15335         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15336         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15337         multiarch strcmp for PPC64.
15338         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15339         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15341         multiarch optimizations.
15342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15343         (__libc_ifunc_impl_list): Likewise.
15345 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15347         * benchtests/scripts/validate_benchout.py: New script.
15348         * benchtests/Makefile (bench-func): Call it.
15349         * benchtests/scripts/benchout.schema.json: New file.
15351 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
15353         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15354         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15355         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15356         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15357         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15358         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15359         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15360         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15361         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15362         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15363         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15364         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15365         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15366         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15367         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15368         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15370         Moved ...
15371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15372         ... here.
15373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15374         Moved ...
15375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15377         Moved ...
15378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15379         ... here.
15380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15381         Moved ...
15382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15383         ... here.
15384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15385         Moved ...
15386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15388         Moved ...
15389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15390         ... here.
15391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15392         Moved ...
15393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15394         ... here.
15395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15396         Moved ...
15397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15399         Moved ...
15400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15401         ... here.
15402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15403         Moved ...
15404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15405         ... here.
15406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15407         Moved ...
15408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15409         ... here.
15410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15411         Moved ...
15412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15414         Moved ...
15415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15416         ... here.
15417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15418         Moved ...
15419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15420         ... here.
15421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15422         Moved ...
15423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15424         ... here.
15425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15426         Moved ...
15427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15429         Moved ...
15430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15431         ... here.
15432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15433         Moved ...
15434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15435         ... here.
15436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15437         Moved ...
15438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15440         Moved ...
15441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15442         ... here.
15443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15444         Moved ...
15445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15447         Moved ...
15448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15450         Moved ...
15451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15452         ... here.
15453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15454         Moved ...
15455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15456         ... here.
15457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15458         Moved ...
15459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15460         ... here.
15461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15462         Moved ...
15463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15465         Moved ...
15466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15467         ... here.
15468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15469         Moved ...
15470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15471         ... here.
15472         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15473         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15474         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15475         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15476         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15477         Moved ...
15478         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15479         ... here.
15480         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15481         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15482         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15483         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15484         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15485         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15486         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15487         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15488         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15489         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15490         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15491         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15492         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15493         Moved ...
15494         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15495         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15496         Moved ...
15497         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15498         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15499         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15500         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15501         Moved ...
15502         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15503         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15504         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15505         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15506         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15507         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15508         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15510 2014-06-10  Wilco  <wdijkstr@arm.com>
15512         * math/test-fenv-return.c: New file.
15513         * math/Makefile: Add new test test-fenv-return.
15515 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
15517         [BZ #17042]
15518         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15519         when x - 1 is zero.
15520         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15521         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15522         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15523         0.0L for an argument of 1.0L.
15524         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15525         Likewise.
15526         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15527         value when x - 1 is zero.
15528         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15529         * sysdeps/i386/fpu/libm-test-ulps: Update.
15530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15532 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
15534         [BZ #15119]
15535         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15537 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15539         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15540         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15542 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15544         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15545         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15547         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15548         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15550         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15551         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15553         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15554         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15556         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15557         if not already defined.
15558         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15559         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15560         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15561         (TLS_INIT_TP): Use it.
15562         (TLS_DEFINE_INIT_TP): New macro.
15563         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15565 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
15567         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15568         constant.
15569         [POSIX] (IXANY): Likewise.
15570         [POSIX] (OLCUC): Likewise.
15571         [POSIX || POSIX2008] (CBAUD): Do not allow.
15572         [POSIX || POSIX2008] (DEFECHO): Likewise.
15573         [POSIX || POSIX2008] (ECHOCTL): Likewise.
15574         [POSIX || POSIX2008] (ECHOKE): Likewise.
15575         [POSIX || POSIX2008] (ECHOPRT): Likewise.
15576         [POSIX || POSIX2008] (EXTA): Likewise.
15577         [POSIX || POSIX2008] (EXTB): Likewise.
15578         [POSIX || POSIX2008] (FLUSHO): Likewise.
15579         [POSIX || POSIX2008] (LOBLK): Likewise.
15580         [POSIX || POSIX2008] (PENDIN): Likewise.
15581         [POSIX || POSIX2008] (SWTCH): Likewise.
15582         [POSIX || POSIX2008] (VDISCARD): Likewise.
15583         [POSIX || POSIX2008] (VDSUSP): Likewise.
15584         [POSIX || POSIX2008] (VLNEXT): Likewise.
15585         [POSIX || POSIX2008] (VREPRINT): Likewise.
15586         [POSIX || POSIX2008] (VSTATUS): Likewise.
15587         [POSIX || POSIX2008] (VWERASE): Likewise.
15588         (B*): Change to B[0123456789]*.
15589         * conform/data/time.h-data [POSIX || UNIX98]
15590         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15591         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15592         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15593         [POSIX] (tm_*): Do not allow.
15595 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
15597         * Makefile (install): Don't set LANGUAGE.
15598         * Makefile.in (install): Likewise.
15599         * assert/Makefile (test-assert-ENV): Remove variable.
15600         (test-assert-perr-ENV): Likewise.
15601         * elf/Makefile (neededtest4-ENV): Likewise.
15602         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15603         [$(cross-compiling) = no]: Don't set LANGUAGE.
15604         * io/ftwtest-sh (LANG): Remove variable.
15605         * libio/Makefile (tst-widetext-ENV): Likewise.
15606         * manual/install.texi (Running make install): Don't refer to
15607         environment settings for make install.
15608         * INSTALL: Regenerated.
15609         * nptl/tst-tls6.sh: Don't set LANG.
15610         * posix/globtest.sh (LANG): Remove variable.
15611         * string/Makefile (tester-ENV): Likewise.
15612         (inl-tester-ENV): Likewise.
15613         (noinl-tester-ENV): Likewise.
15614         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15615         [$(cross-compiling) = no]: Don't set LANGUAGE.
15616         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15617         without explicit environment settings.
15619 2014-06-06  Roland McGrath  <roland@hack.frob.com>
15621         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15622         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15623         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15624         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15626 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
15628         * crypt/crypt-private.h [DOS]: Add some includes taken from the
15629         other files in the crypt directory.
15630         * crypt/crypt.c: Remove duplicate includes.
15631         * crypt/crypt-entry.c: Likewise.
15632         * crypt/crypt_util.c: Likewise.
15634 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
15636         * Makeconfig (run-program-env): New variable.
15637         (run-program-prefix-before-env): Likewise.
15638         (run-program-prefix-after-env): Likewise.
15639         (run-program-prefix): Define in terms of new variables.
15640         (built-program-cmd-before-env): New variable.
15641         (built-program-cmd-after-env): Likewise.
15642         (built-program-cmd): Define in terms of new variables.
15643         (test-program-prefix-before-env): New variable.
15644         (test-program-prefix-after-env): Likewise.
15645         (test-program-prefix): Define in terms of new variables.
15646         (test-program-cmd-before-env): New variable.
15647         (test-program-cmd-after-env): Likewise.
15648         (test-program-cmd): Define in terms of new variables.
15649         * Rules (make-test-out): Use $(run-program-env).
15650         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15651         (help): Do not mention environment variables.  Mention
15652         --timeoutfactor option.
15653         (timeoutfactor): New variable.
15654         (blacklist_exports): Remove function.
15655         (exports): Remove variable.
15656         (command): Do not include ${exports}.
15657         * manual/install.texi (Configuring and compiling): Do not mention
15658         test wrappers preserving environment variables.  Mention that last
15659         assignment to a variable must take precedence.
15660         * INSTALL: Regenerated.
15661         * benchtests/Makefile (run-bench): Use $(run-program-env).
15662         * catgets/Makefile ($(objpfx)test1.cat): Use
15663         $(built-program-cmd-before-env), $(run-program-env) and
15664         $(built-program-cmd-after-env).
15665         ($(objpfx)test2.cat): Do not specify environment variables
15666         explicitly.
15667         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15668         $(run-program-env) and $(built-program-cmd-after-env).
15669         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15670         $(run-program-env) and $(test-program-cmd-after-env).
15671         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15672         explicitly.
15673         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15674         run_program_env and test_program_cmd_after_env arguments.
15675         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15676         * elf/tst-pathopt.sh: Use run_program_env argument.
15677         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15678         $(test-wrapper-env) and $(run-program-env).
15679         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15680         run_program_env arguments.
15681         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15682         * intl/Makefile ($(objpfx)tst-gettext.out): Use
15683         $(test-program-prefix-before-env), $(run-program-env) and
15684         $(test-program-prefix-after-env).
15685         ($(objpfx)tst-gettext2.out): Likewise.
15686         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15687         run_program_env and test_program_prefix_after_env arguments.
15688         * intl/tst-gettext2.sh: Likewise.
15689         * intl/tst-gettext4.sh: Do not set environment variables
15690         explicitly.
15691         * intl/tst-gettext6.sh: Likewise.
15692         * intl/tst-translit.sh: Likewise.
15693         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15694         $(test-program-prefix-before-env), $(run-program-env) and
15695         $(test-program-prefix-after-env).
15696         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15697         run_program_env and test_program_prefix_after_env arguments.
15698         * math/Makefile (run-regen-ulps): Use $(run-program-env).
15699         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15700         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
15701         explicitly with each use of ${test_wrapper_env}.
15702         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15703         $(test-program-prefix-before-env), $(run-program-env) and
15704         $(test-program-prefix-after-env).
15705         * posix/tst-getconf.sh: Do not set environment variables
15706         explicitly.
15707         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15708         run_program_env and test_program_prefix_after_env arguments.
15709         * stdio-common/tst-printf.sh: Do not set environment variables
15710         explicitly.
15711         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15712         $(test-program-prefix-before-env), $(run-program-env) and
15713         $(test-program-prefix-after-env).
15714         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15715         run_program_env and test_program_prefix_after_env arguments.
15716         Split $test calls into $test_pre and $test.
15717         * timezone/Makefile (build-testdata): Use
15718         $(built-program-cmd-before-env), $(run-program-env) and
15719         $(built-program-cmd-after-env).
15721 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15723         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15724         strlen for non SHARED builds.
15726 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15728         * nptl/allocatestack.c (check_list): Inlined function...
15729         (__reclaim_stacks): ... here.
15731 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15733         [BZ #15698]
15734         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15735         memory overrun.
15737 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
15739         * Rules (make-test-out): Include
15740         LOCPATH=$(common-objpfx)localedata in default environment.
15741         * debug/Makefile (tst-chk1-ENV): Remove variable.
15742         (tst-chk2-ENV): Likewise.
15743         (tst-chk3-ENV): Likewise.
15744         (tst-chk4-ENV): Likewise.
15745         (tst-chk5-ENV): Likewise.
15746         (tst-chk6-ENV): Likewise.
15747         (tst-lfschk1-ENV): Likewise.
15748         (tst-lfschk2-ENV): Likewise.
15749         (tst-lfschk3-ENV): Likewise.
15750         (tst-lfschk4-ENV): Likewise.
15751         (tst-lfschk5-ENV): Likewise.
15752         (tst-lfschk6-ENV): Likewise.
15753         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15754         (tst-iconv7-ENV): Likewise.
15755         * intl/Makefile (LOCPATH-ENV): Likewise.
15756         (tst-codeset-ENV): Likewise.
15757         (tst-gettext3-ENV): Likewise.
15758         (tst-gettext5-ENV): Likewise.
15759         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15760         (tst-fopenloc-ENV): Likewise.
15761         (tst-fgetws-ENV): Remove variable.
15762         (tst-ungetwc1-ENV): Likewise.
15763         (tst-ungetwc2-ENV): Likewise.
15764         (bug-ungetwc2-ENV): Likewise.
15765         (tst-swscanf-ENV): Likewise.
15766         (bug-ftell-ENV): Likewise.
15767         (tst-fgetwc-ENV): Likewise.
15768         (tst-fseek-ENV): Likewise.
15769         (tst-ftell-partial-wide-ENV): Likewise.
15770         (tst-ftell-active-handler-ENV): Likewise.
15771         (tst-ftell-append-ENV): Likewise.
15772         * posix/Makefile (tst-fnmatch-ENV): Likewise.
15773         (tst-regexloc-ENV): Likewise.
15774         (bug-regex1-ENV): Likewise.
15775         (tst-regex-ENV): Likewise.
15776         (tst-regex2-ENV): Likewise.
15777         (bug-regex5-ENV): Likewise.
15778         (bug-regex6-ENV): Likewise.
15779         (bug-regex17-ENV): Likewise.
15780         (bug-regex18-ENV): Likewise.
15781         (bug-regex19-ENV): Likewise.
15782         (bug-regex20-ENV): Likewise.
15783         (bug-regex22-ENV): Likewise.
15784         (bug-regex23-ENV): Likewise.
15785         (bug-regex25-ENV): Likewise.
15786         (bug-regex26-ENV): Likewise.
15787         (bug-regex30-ENV): Likewise.
15788         (bug-regex32-ENV): Likewise.
15789         (bug-regex33-ENV): Likewise.
15790         (bug-regex34-ENV): Likewise.
15791         (bug-regex35-ENV): Likewise.
15792         (tst-rxspencer-ENV): Likewise.
15793         (tst-rxspencer-no-utf8-ENV): Likewise.
15794         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15795         (tst-sscanf-ENV): Likewise.
15796         (tst-swprintf-ENV): Likewise.
15797         (tst-swscanf-ENV): Likewise.
15798         (test-vfprintf-ENV): Likewise.
15799         (scanf13-ENV): Likewise.
15800         (bug14-ENV): Likewise.
15801         (tst-grouping-ENV): Likewise.
15802         * stdlib/Makefile (tst-strtod-ENV): Likewise.
15803         (tst-strtod3-ENV): Likewise.
15804         (tst-strtod4-ENV): Likewise.
15805         (tst-strtod5-ENV): Likewise.
15806         (testmb2-ENV): Likewise./
15807         * string/Makefile (tst-strxfrm-ENV): Likewise.
15808         (tst-strxfrm2-ENV): Likewise.
15809         (bug-strcoll1-ENV): Likewise.
15810         (test-strcasecmp-ENV): Likewise.
15811         (test-strncasecmp-ENV): Likewise.
15812         * time/Makefile (tst-strptime-ENV): Likewise.
15813         (tst-ftime_l-ENV): Likewise.
15814         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15815         (tst-mbrtowc-ENV): Likewise.
15816         (tst-wcrtomb-ENV): Likewise.
15817         (tst-mbrtowc2-ENV): Likewise.
15818         (tst-c16c32-1-ENV): Likewise.
15819         (tst-mbsnrtowcs-ENV): Likewise.
15821 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15823         * manual/resource.texi (How to get information about the memory
15824         subsystem?): Fix typo.
15825         Reported by Peon de la Parra Ivan <peon@keba.com>
15827 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
15829         [BZ #16882]
15830         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15831         (pthread_spin_lock): Branch out of spin loop to proper location.
15832         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15833         (pthread_spin_lock): Likewise.
15835         * nptl/tst-spin4.c: New test.
15836         * nptl/Makefile (tests): Add tst-spin4.
15838 2014-06-03  Andreas Schwab  <schwab@suse.de>
15840         [BZ #15946]
15841         * resolv/res_send.c (send_dg): Reload file descriptor after
15842         calling reopen.
15844 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
15846         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15848 2014-06-03  Richard Henderson  <rth@redhat.com>
15850         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15851         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15852         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15853         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
15854         in the SAVE_PID block.
15855         (__libc_vfork): New alias.
15856         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15858         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15859         child in registers, not on the stack.  Remove RESET_PID conditionals.
15860         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15862 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15864         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15866 2014-06-03  Wilco  <wdijkstr@arm.com>
15868         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15869         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15870         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15871         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15872         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15873         Likewise.
15875 2014-06-03  Wilco  <wdijkstr@arm.com>
15877         * sysdeps/aarch64/fpu/math_private.h
15878         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15879         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15880         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15881         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15882         Fix declarations.
15884 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15886         * crypt/crypt-private.h: Include ufc-crypt.h.
15887         (__b64_from_24bit): Declare extern.
15888         * crypt/crypt_util.c(__b64_from_24bit): New function.
15889         (b64t): New static const variable.
15890         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15891         (b64t): Remove variable.
15892         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15893         * crypt/sha256-crypt.c: Include crypt-private.h.
15894         (b64t): Remove variable.
15895         (__sha256_crypt_r): Remove b64_from_24bit and replace
15896         with __b64_from_24bit.
15897         * crypt/sha512-crypt.c: Likewise.
15899 2014-06-02  Roland McGrath  <roland@hack.frob.com>
15901         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15902         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15903         Label the code __libc_vfork rather than __vfork.
15904         [!NOT_IN_libc] (vfork): Define as weak alias.
15905         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15906         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15907         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15909 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15911         * malloc/malloc.c (malloc_info): Fix format specifier for
15912         n_mmaps.
15914 2014-06-02  Wilco  <wdijkstr@arm.com>
15916         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15917         FPCR write.
15919 2014-06-02  Wilco  <wdijkstr@arm.com>
15921         [BZ #17009]
15922         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15923         Rewrite to reduce FPCR/FPSR accesses.
15925 2014-06-01  David S. Miller  <davem@davemloft.net>
15927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15929 2014-05-31  David S. Miller  <davem@davemloft.net>
15931         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15932         to occur in round to nearest mode when |x| >= 2.0
15934 2014-05-30  Richard Henderson  <rth@twiddle.net>
15936         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15937         (PSEUDO_RET_NOERRNO): Remove.
15938         (ret): Don't redefine.
15939         (ret_NOERRNO): Define in terms of ret.
15940         (ret_ERRVAL): Likewise.
15942         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15943         use of PSEUDO_RET; perform the error check directly.
15945 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
15947         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15948         with __int128_t.
15950 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15952         * malloc/malloc (malloc_info): Fix formatting.
15954 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15955             Roland McGrath  <roland@hack.frob.com>
15957         * malloc/malloc (malloc_info): Also print mmapped statistics.
15959 2014-05-30  Roland McGrath  <roland@hack.frob.com>
15961         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15962         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15964 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
15966         * malloc/malloc.c (malloc_info): Inline mi_arena.
15968 2014-05-29  Richard Henderson  <rth@twiddle.net>
15970         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15971         Remove comma before expanding ASM_ARGS_##nr.
15972         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15973         Make _x0 a strict output; make _x8 a strict input; adjust expansion
15974         of ASM_ARGS_##nr.
15975         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15976         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15977         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15978         (ASM_ARGS_1): Add leading comma.
15980         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15981         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15982         to __errno_location.
15983         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15984         Remove the expected plt for __errno_location.
15986         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15987         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15988         call to __read_tp.
15990         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15991         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
15992         it and break it down.
15993         (DOCARGS_0, DOCARGS_1): Do nothing.
15994         (DOCARGS_2): Update to store into the new stack frame.
15995         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15996         (UNDOCARGS_1): Update to restore from the new stack frame.
15997         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15998         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16000         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16001         (SINGLE_THREAD_P): New parameter for result regno.
16002         (PSEUDO): Update to match; use cbz instead of beq.
16004         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16005         Use ENTRY to define the _nocancel entry point.  Share the syscall
16006         and syscall error check paths with the cancel path.
16007         (PSEUDO_END): New.
16009         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16010         whitespace; tabs before and after asm mnemonics.
16012 2014-05-29  Eric Wong  <normalperson@yhbt.net>
16014         [BZ #15132]
16015         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16016         Call fstat64 or stat64 internally, depending on arguments passed.
16017         Replace stat buffer argument with file descriptor argument.
16018         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16019         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16020         Pass fd to __internal_statvfs instead of calling fstat64.
16021         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16022         Pass fd to __internal_statvfs64 instead of calling fstat64.
16023         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16024         Pass -1 to __internal_statvfs instead of calling stat64.
16025         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16026         Pass -1 to __internal_statvfs64 instead of calling stat64.
16028 2014-05-28  Roland McGrath  <roland@hack.frob.com>
16030         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16031         that was previously under [RESET_PID].
16032         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16034         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16035         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16037 2014-05-27  Roland McGrath  <roland@hack.frob.com>
16039         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16041         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16042         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16044 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
16046         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16048 2014-05-27  Andreas Schwab  <schwab@suse.de>
16050         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16051         TLS_INIT_TP macro.
16052         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16053         * elf/rtld.c (init_tls, dl_main): Likewise.
16054         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16055         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16056         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16057         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16058         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16059         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16060         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16061         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16062         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16063         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16064         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16065         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16066         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16067         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16068         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16069         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16070         * sysdeps/generic/tls.h: Update description.
16072 2014-05-27  Will Newton  <will.newton@linaro.org>
16074         [BZ #16990]
16075         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16076         and restore r2 rather than just restoring.
16078 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16080         [BZ #16724]
16081         * libio/tst-ftell-append.c: New test case.
16082         * libio/Makefile (tests): Add test case.
16083         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16084         append mode.
16085         * libio/wfileops.c (do_ftell_wide): Likewise.
16087 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16091         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16092         ...
16093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16095         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16096         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16097         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16098         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16099         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16100         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16101         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16102         Moved ...
16103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16104         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16105         Moved ...
16106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16107         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16108         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16109         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16110         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16111         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16112         ...
16113         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16114         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16115         Moved ...
16116         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16117         here.
16118         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16119         ...
16120         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16121         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16122         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16124         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16125         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16126         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16127         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16129         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16130         merge into ...
16131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16133         ...
16134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16136         ...
16137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16139         Moved ...
16140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16141         here.
16142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16143         Moved ...
16144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16145         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16146         Moved ...
16147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16150         conditional [RESET_PID].
16151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16152         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16153         removed.
16154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16155         removed.
16157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16158         <tcb-offsets.h>.
16159         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16160         (__libc_vfork): New strong alias.
16161         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16162         removed.
16163         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16164         Removed.
16166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16167         <tcb-offsets.h>.
16168         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16169         (__libc_vfork): New strong alias.
16170         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16171         removed.
16172         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16173         removed.
16175 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
16177         * malloc/malloc.c (mi_arena): New function.
16178         (malloc_info): Remove nested function mi_arena. Call non-nosted
16179         function mi_arena.
16181 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16183         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16184         by insrwi.
16185         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16186         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16187         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16188         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16189         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16190         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16191         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16193 2014-05-26  Andreas Schwab  <schwab@suse.de>
16195         [BZ #16984]
16196         * locale/programs/repertoire.c (repertoire_read): Add slash
16197         between I18NPATH element and file name.
16198         * locale/programs/locfile.c (locfile_read): Likewise.
16200 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16202         * nptl/pthread_mutexattr_settype.c
16203         (__pthread_mutexattr_settype):
16204         Disable lock elision for PTHREAD_MUTEX_NORMAL.
16206 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16208         * nptl/tst-mutex5 (do_test):
16209         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16211 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16213         * benchtests/README: Document 'init' directive.
16214         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16215         BENCH_INIT.
16216         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16217         (parse_file): Recognize 'init' directive.
16219 2014-05-26  Kyle McMartin  <kyle@redhat.com>
16221         [BZ #16796]
16222         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16223         alignment of struct pthread.
16225 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16227         [BZ #16878]
16228         * nscd/netgroupcache.c (addgetnetgrentX): Look for
16229         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16230         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16231         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16233 2014-05-25  Richard Henderson  <rth@twiddle.net>
16235         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16236         (SINGLE_THREAD_P_PIC): Remove.
16237         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16238         (SINGLE_THREAD_P_PIC): Remove.
16240         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16241         branch to syscall error ...
16242         (PSEUDO): ... here.
16243         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16244         from __local_syscall_error to .Lsyscall_error.
16245         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16246         (SYSCALL_ERROR): Update label name.
16248         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16249         Do not use DOARGS/UNDOARGS.
16250         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16251         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16252         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16253         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16254         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16256         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16257         block comment.
16259         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16260         define if !NOT_IN_libc.
16261         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16262         define with non-default symbol versions.
16264 2014-05-23  Richard Henderson  <rth@twiddle.net>
16266         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16267         (vfork, __vfork): Define via compat_symbol.
16269         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16270         [!HAVE_IFUNC] (vfork_compat): Remove.
16271         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16273 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16275         [BZ #16978]
16276         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16277         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16278         variable.
16280 2014-05-23  Richard Henderson  <rth@twiddle.net>
16282         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16283         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16284         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16285         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16287         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16288         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16289         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16290         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16291         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16292         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16293         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16294         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16295         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16296         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16297         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16298         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16299         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16300         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16301         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16302         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16303         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16304         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16305         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16306         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16307         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16308         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16309         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16310         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16311         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16312         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16313         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16314         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16315         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16316         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16317         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16318         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16319         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16320         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16321         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16322         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16323         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16324         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16325         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16326         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16327         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16328         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16329         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16330         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16331         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16332         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16333         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16334         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16335         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16336         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16337         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16338         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16339         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16340         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16341         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16342         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16344         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16345         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16346         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
16347         before exiting on error.
16348         (__libc_vfork): New strong alias.
16349         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16350         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16352         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16353         that was previously under [RESET_PID].
16354         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16356         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16358 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16360         [BZ #16977]
16361         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16362         value when x - 1 is zero.
16363         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16364         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16365         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16366         0.0L for an argument of 1.0L.
16367         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16368         Likewise.
16369         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16370         value when x - 1 is zero.
16371         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16372         * sysdeps/i386/fpu/libm-test-ulps: Update.
16373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16375 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16377         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16378         alphasort and versionsort.
16380 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16382         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16383         macro.
16384         [copysignf]: Likewise.
16386 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16388         * crypt/md5-crypt.c: Fix formatting.
16390 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16392         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16393         (b64_from_24bit): New function.
16395 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16397         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16398         libc_hidden_builtin_def to ifunc.
16399         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16400         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16402 2014-05-21  Roland McGrath  <roland@hack.frob.com>
16404         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16405         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16407 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
16409         * nscd/Depend (linuxthreads): Remove.
16410         (nptl): Add.
16411         * resolv/Depend (linuxthreads): Remove.
16412         * rt/Depend (linuxthreads): Remove.
16414         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16415         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16416         $(common-objpfx)elf/.
16417         (link-libc-before-gnulib): Likewise.
16418         (elfobjdir): Remove variable.
16419         * Makefile (install): Use $(elf-objpfx) instead of
16420         $(common-objpfx)elf/.
16421         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16422         $(elfobjdir)/.
16423         (link-libc-deps): Likewise.
16424         ($(common-objpfx)libc.so): Likewise.
16425         ($(common-objpfx)linkobj/libc.so): Likewise.
16426         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16427         instead of $(common-objpfx)elf/.
16428         (symbolic-link-list): Likewise.
16429         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16430         [$(cross-compiling) = no]: Likewise.
16431         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16432         $(elfobjdir)/.
16433         (static-gnulib-arch): Likewise.
16434         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16435         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16436         $(common-objpfx)elf/.
16438 2014-05-21  Richard Henderson  <rth@redhat.com>
16440         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16441         (SINGLE_THREAD_P): Use the correct width load.  Fold
16442         into the ldr offset.
16444         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16445         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16447 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
16449         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16450         (libgcc_s_resume): Use __attribute_used__.
16451         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16452         Likewise.
16454 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16456         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16457         optimization when used with float constants.
16459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16461 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
16463         [BZ #16915]
16464         * locale/nl_langinfo_l.c: Make direct reference to every
16465         _nl_current_CATEGORY symbol.
16466         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16467         (tests-static): Add tst-langinfo-static.
16468         (tests-special): Add tst-langinfo-static.out.
16469         ($(objpfx)tst-langinfo.out): Redirect output.
16470         ($(objpfx)tst-langinfo-static.out): New.
16471         * localedata/tst-langinfo.sh: Send output to stdout.
16472         * localedata/tst-langinfo-static.c: New file.
16474         [BZ #16965]
16475         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16476         when the shift amount is modulo the limb size.
16478 2014-05-20  Richard Henderson  <rth@redhat.com>
16480         [BZ #16967]
16481         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16482         Change type of sa_flags from unsigned int to int.
16484         [BZ #16966]
16485         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16487         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16489 2014-05-20  Will Newton  <will.newton@linaro.org>
16491         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16492         Test the return value of the system call in the nocancel case.
16494 2014-05-20  Will Newton  <will.newton@linaro.org>
16495             Yvan Roux  <yvan.roux@linaro.org>
16497         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16498         #include of asm/ptrace.h.
16499         (PTRACE_GET_THREAD_AREA): Remove #undef.
16500         (PTRACE_GETHBPREGS): Likewise.
16501         (PTRACE_SETHBPREGS): Likewise.
16502         (struct user_regs_struct): New structure.
16503         (struct user_fpsimd_struct): New structure.
16504         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16505         #include of asm/ptrace.h and second #include of sys/user.h.
16506         (PTRACE_GET_THREAD_AREA): Remove #undef.
16507         (PTRACE_GETHBPREGS): Likewise.
16508         (PTRACE_SETHBPREGS): Likewise.
16509         (ELF_NGREG): Use new struct user_regs_struct.
16510         (elf_fpregset_t): Use new struct user_fpsimd_struct.
16512 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16514         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16515         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16517 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
16519         [BZ #16958]
16520         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16521         membar to avoid block loads/stores to overlap previous stores.
16523 2014-05-17  Richard Henderson  <rth@redhat.com>
16525         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16526         Create the __##syscall_name##_nocancel entry point.
16527         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16528         Remove; let the sysdep-cancel.h code create it.
16530 2014-05-17  David S. Miller  <davem@davemloft.net>
16532         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16533         Protect with __USE_GNU.
16534         (TIOCSET_TEMPT): Likewise.
16535         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16536         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16537         these are already provided in bits/ioctl-types.h
16539 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16541         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16542         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16544         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16545         Use wait4 regardless of [__NR_waitpid].
16547 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16549         PR libgcc/60166
16550         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16551         (_FP_NANSIGN_Q): Set the quiet bit.
16553 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
16555         * benchtests/Makefile
16556         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16557         not $(common-objpfx)math/libm.so.
16558         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16559         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16560         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16561         $(common-objpfx)dlfcn/libdl.so.
16562         ($(objpfx)tst-audit8): Depend on $(libm), not
16563         $(common-objpfx)math/libm.so.
16564         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16565         not $(common-objpfx)dlfcn/libdl.so.
16566         * math/Makefile
16567         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16568         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
16569         [$(build-shared) = yes].
16570         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16571         $(common-objpfx)nptl/libpthread.so.
16572         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16573         $(common-objpfx)math/libm.so$(libm.so-version) or
16574         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16575         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16576         $(common-objpfx)dlfcn/libdl.so.
16577         * setjmp/Makefile (link-libm): Remove variable.
16578         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16579         * stdio-common/Makefile (link-libm): Remove variable.
16580         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16581         * stdlib/Makefile (link-libm): Remove variable.
16582         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16583         ($(objpfx)tst-strtod-round): Likewise.
16584         ($(objpfx)tst-tininess): Likewise.
16585         ($(objpfx)tst-strtod-underflow): Likewise.
16586         ($(objpfx)tst-strtod6): Likewise.
16587         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16588         $(libdl), not $(common-objpfx)nptl/libpthread.so and
16589         $(common-objpfx)dlfcn/libdl.so.
16591 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16593         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16594         BSD terminal modes definitions.
16596 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16598         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16599         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16601         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16602         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16603         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16604         Don't do #include_next.
16605         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16606         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16607         Don't do #include_next.
16608         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16609         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16610         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16611         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16613 2014-05-16  Allan McRae  <allan@archlinux.org>
16615         * po/sv.po: Update Swedish translation from translation project.
16617         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16618         in sed expression.
16620 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
16622         [BZ #16917]
16623         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16624         errno if the TIOCGPTN ioctl fails with an error different than
16625         EINVAL.
16626         * login/tst-ptsname.c: New file.
16627         * login/Makefile (tests): Add tst-ptsname.
16629         [BZ #16943]
16630         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16631         and prlimit64.
16633 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16635         [BZ #16849]
16636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16637         herrno to return EAI_AGAIN.
16639 2014-05-14  Roland McGrath  <roland@hack.frob.com>
16641         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16642         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16643         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16644         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16645         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16646         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16647         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16648         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16649         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16650         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16651         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16652         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16653         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16654         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16655         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16656         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16657         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16658         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16659         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16660         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16661         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16662         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16663         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16664         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16665         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16666         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16667         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16668         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16669         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16670         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16672         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16674         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16676         Moved ...
16677         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16679         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16681         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16683         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16685         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16687         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16689         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16691         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16693         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16695         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16697         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16699         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16701         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16703         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16705         Moved ...
16706         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16708         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16710         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16712         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16714         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16716         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16718         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16720         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16722         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16724         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16726         Moved ...
16727         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16729         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16731         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16732         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16733         (libpthread-sysdep_routines): Add elision-related stuff here instead.
16734         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16735         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16736         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16737         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16738         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16739         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16740         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16741         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16742         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16743         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16744         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16745         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16746         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16747         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16748         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16749         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16750         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16751         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16752         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16753         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16754         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16755         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16756         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16757         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16758         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16759         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16760         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16761         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16763         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16764         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16766         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16767         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16768         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16769         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16770         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16771         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16772         Moved ...
16773         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16774         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16775         Moved ...
16776         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16777         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16778         Moved ...
16779         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16780         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16781         Moved ...
16782         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16783         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16784         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16785         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16786         Moved ...
16787         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16788         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16789         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16790         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16791         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16792         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16793         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16794         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16795         Moved ...
16796         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16797         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16798         Moved ...
16799         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16800         ... here.
16801         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16802         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16803         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16804         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16805         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16806         Moved ...
16807         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16808         ... here.
16809         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16810         Moved ...
16811         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16812         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16813         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16814         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16815         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16816         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16817         Moved ...
16818         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16819         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16820         Moved ...
16821         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16822         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16823         Moved ...
16824         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16825         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16826         Moved ...
16827         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16828         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16829         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16830         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16831         Moved ...
16832         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16833         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16834         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16835         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16836         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16837         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16838         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16839         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16840         Moved ...
16841         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16842         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16843         Moved ...
16844         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16845         ... here.
16846         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16847         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16848         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16849         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16850         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16851         Moved ...
16852         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16853         ... here.
16854         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16855         Moved ...
16856         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16857         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16858         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16859         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16860         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16861         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16862         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16863         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16864         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16865         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16866         Moved ...
16867         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16868         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16869         Moved ...
16870         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16871         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16872         Moved ...
16873         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16874         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16875         Moved ...
16876         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16877         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16878         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16879         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16880         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16881         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16882         Moved ...
16883         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16884         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16885         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16886         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16887         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16888         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16889         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16890         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16891         Moved ...
16892         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16893         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16894         Moved ...
16895         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16896         ... here.
16897         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16898         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16899         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16900         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16901         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16902         Moved ...
16903         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16904         ... here.
16905         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16906         Moved ...
16907         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16908         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16909         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16910         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16911         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16912         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16913         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16914         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16915         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16916         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16917         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16919         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16920         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16922         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16923         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16925         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16926         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16927         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16928         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16929         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16930         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16931         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16932         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16933         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16934         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16935         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16936         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16937         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16938         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16939         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16940         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16941         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16942         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16943         Moved ...
16944         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16945         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16946         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16947         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16948         Moved ...
16949         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16950         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16951         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16952         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16953         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16954         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16955         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16956         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16957         Moved ...
16958         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16959         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16960         Moved ...
16961         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16962         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16963         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16964         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16965         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16966         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16967         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16968         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16969         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16970         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16971         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16972         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16973         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16974         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16975         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16976         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16977         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16979         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16980         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16981         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16982         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16983         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16985         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16986         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16987         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16988         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16989         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16990         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16991         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16992         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16993         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16994         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16996         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16997         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16999         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17000         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17001         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17002         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17003         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17004         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17005         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17006         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17007         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17008         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17009         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17010         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17011         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17012         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17013         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17014         Update #include.
17015         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17016         Likewise.
17017         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17018         Likewise.
17019         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17020         Likewise.
17021         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17022         Likewise.
17023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17024         Likewise.
17025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17026         Likewise.
17027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17028         Likewise.
17029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17030         Likewise.
17031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17032         Likewise.
17033         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17034         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17035         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17036         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17037         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17038         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17039         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17040         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17041         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17042         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17043         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17044         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17045         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17046         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
17047         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
17049         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17050         that was previously under [RESET_PID].
17051         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17052         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17053         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17055         * sysdeps/i386/nptl/Implies: New file.
17056         * sysdeps/x86_64/nptl/Implies: New file.
17057         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17058         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17059         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17060         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17062         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17063         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17064         (__libc_vfork): New strong alias.
17065         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17066         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17068         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17069         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17070         (__libc_vfork): New strong alias.
17071         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17072         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17074         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17075         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17076         (__libc_vfork): New strong alias.
17077         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17078         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17079         * nptl/pt-vfork.c: New file.
17080         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17081         (libpthread: GLIBC_2.20): New version set (empty).
17083 2014-05-14  Will Newton  <will.newton@linaro.org>
17085         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17086         rather than #if.
17088 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17090         [BZ #16564]
17091         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17092         arguments with exponent 65 or above.
17093         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17094         arguments 0x1p113L or above.
17095         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17096         to arguments 0x1p107L or above.
17097         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17098         positive arguments with exponent 65 or above.
17099         * math/auto-libm-test-in: Add more tests of log1p.
17100         * math/auto-libm-test-out: Regenerated.
17102         [BZ #16928]
17103         * math/s_cacos.c (__cacos): Ensure zero real part of result from
17104         non-finite arguments is +0.
17105         * math/s_cacosf.c (__cacosf): Likewise.
17106         * math/s_cacosl.c (__cacosl): Likewise.
17107         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17108         * sysdeps/i386/fpu/libm-test-ulps: Update.
17109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17111         [BZ #16927]
17112         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17113         value.
17114         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17115         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17116         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17117         for explicit high bit of mantissa when testing for argument equal
17118         to 1.
17119         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17120         * sysdeps/i386/fpu/libm-test-ulps: Update.
17121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17123         [BZ #16516]
17124         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17125         (__erf): Scale by 16 instead of 8 in potentially underflowing
17126         case.  Ensure exception if result actually underflows.
17127         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17128         (__erff): Scale by 16 instead of 8 in potentially underflowing
17129         case.  Ensure exception if result actually underflows.
17130         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17131         (efx8): Remove variable.
17132         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17133         case.  Ensure exception if result actually underflows.
17134         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17135         (efx8): Remove variable.
17136         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17137         case.  Ensure exception if result actually underflows.
17138         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17139         (efx8): Remove variable.
17140         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17141         case.  Ensure exception if result actually underflows.
17142         * math/auto-libm-test-in: Add more tests of erf.
17143         * math/auto-libm-test-out: Regenerated.
17145 2014-05-14  Andreas Schwab  <schwab@suse.de>
17147         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17148         Remove code conditionalized on USE___THREAD.
17150         * config.h.in (HAVE_PT_CHOWN): Define as 0.
17151         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17152         not definedness.
17154 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17156         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17157         Define unconditionally.
17158         (__ASSUME_O_CLOEXEC): Likewise.
17159         (__ASSUME_SOCK_CLOEXEC): Likewise.
17160         (__ASSUME_IN_NONBLOCK): Likewise.
17161         (__ASSUME_PIPE2): Likewise.
17162         (__ASSUME_EVENTFD2): Likewise.
17163         (__ASSUME_SIGNALFD4): Likewise.
17164         (__ASSUME_DUP3): Likewise.
17165         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17166         (__ASSUME_DUP3): Do not define.
17167         (__ASSUME_EVENTFD2): Likewise.
17168         (__ASSUME_IN_NONBLOCK): Likewise.
17169         (__ASSUME_O_CLOEXEC): Likewise.
17170         (__ASSUME_PIPE2): Likewise.
17171         (__ASSUME_SIGNALFD4): Likewise.
17172         (__ASSUME_SOCK_CLOEXEC): Likewise.
17173         (__ASSUME_UTIMES): Undefine.
17174         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17175         (__ASSUME_UTIMES): Do not define.
17176         (__ASSUME_O_CLOEXEC): Likewise.
17177         (__ASSUME_SOCK_CLOEXEC): Likewise.
17178         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17179         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17180         0x020621].
17181         (__ASSUME_PIPE2): Likewise.
17182         (__ASSUME_EVENTFD2): Likewise.
17183         (__ASSUME_SIGNALFD4): Likewise.
17184         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17185         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17186         Do not define.
17187         (__ASSUME_EVENTFD2): Likewise.
17188         (__ASSUME_SIGNALFD4): Likewise.
17189         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17190         (__ASSUME_32BITUIDS): Likewise.
17191         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17192         (__ASSUME_IPC64): Likewise.
17193         (__ASSUME_ST_INO_64_BIT): Likewise.
17194         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17195         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17196         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17197         (__ASSUME_UTIMES): Do not define.
17198         (__ASSUME_PSELECT): Likewise.
17199         (__ASSUME_PPOLL): Likewise.
17200         (__ASSUME_O_CLOEXEC): Likewise.
17201         (__ASSUME_SOCK_CLOEXEC): Likewise.
17202         (__ASSUME_IN_NONBLOCK): Likewise.
17203         (__ASSUME_PIPE2): Likewise.
17204         (__ASSUME_EVENTFD2): Likewise.
17205         (__ASSUME_SIGNALFD4): Likewise.
17206         (__ASSUME_DUP3): Likewise.
17207         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17208         (__ASSUME_UTIMES): Likewise.
17209         (__ASSUME_O_CLOEXEC): Likewise.
17210         (__ASSUME_SOCK_CLOEXEC): Likewise.
17211         (__ASSUME_IN_NONBLOCK): Likewise.
17212         (__ASSUME_PIPE2): Likewise.
17213         (__ASSUME_EVENTFD2): Likewise.
17214         (__ASSUME_SIGNALFD4): Likewise.
17215         (__ASSUME_DUP3): Likewise.
17216         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17217         (__ASSUME_UTIMES): Likewise.
17218         (__ASSUME_O_CLOEXEC): Likewise.
17219         (__ASSUME_SOCK_CLOEXEC): Likewise.
17220         (__ASSUME_IN_NONBLOCK): Likewise.
17221         (__ASSUME_PIPE2): Likewise.
17222         (__ASSUME_EVENTFD2): Likewise.
17223         (__ASSUME_SIGNALFD4): Likewise.
17224         (__ASSUME_DUP3): Likewise.
17225         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17226         Likewise.
17227         (__ASSUME_UTIMES): Likewise.
17228         (__ASSUME_EVENTFD2): Likewise.
17229         (__ASSUME_SIGNALFD4): Likewise.
17230         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17231         (__ASSUME_O_CLOEXEC): Likewise.
17232         (__ASSUME_SOCK_CLOEXEC): Likewise.
17233         (__ASSUME_IN_NONBLOCK): Likewise.
17234         (__ASSUME_PIPE2): Likewise.
17235         (__ASSUME_EVENTFD2): Likewise.
17236         (__ASSUME_SIGNALFD4): Likewise.
17237         (__ASSUME_DUP3): Likewise.
17238         (__ASSUME_UTIMES): Undefine.
17240         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17241         feclearexcept.  Remove symbol versioning code.
17242         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
17243         symbol versioning code.
17244         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
17245         symbol versioning code.
17246         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17247         feupdateenv.  Remove symbol versioning code.
17248         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17249         fegetexceptflag.  Remove symbol versioning code.
17250         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17251         fesetexceptflag.  Remove symbol versioning code.
17252         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17253         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
17254         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17255         (__posix_fadvise64_l32): Remove prototype.
17256         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17257         code.
17259 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17261         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17262         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17263         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17264         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17266 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
17268         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17269         current working directory
17271 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17273         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17274         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17275         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17276         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17277         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17278         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17279         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17280         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17281         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17282         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17283         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17284         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17285         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17286         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17287         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17288         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17289         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17290         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17291         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17292         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17293         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17294         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17295         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17296         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17297         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17298         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17299         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17300         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17301         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17302         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17303         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17304         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17305         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17306         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17307         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17308         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17309         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17310         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17311         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17312         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17313         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17314         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17316         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17317         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17319         * sysdeps/unix/sysv/linux/arm/Makefile
17320         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17321         Add rt-aeabi_unwind_cpp_pr1.
17322         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17323         Add nptl-aeabi_unwind_cpp_pr1.
17324         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17325         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17326         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17327         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17328         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17329         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17331         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17332         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17333         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17334         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17336         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17337         Deconditionalize the code that was previously under [RESET_PID].
17338         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17340         * sysdeps/generic/exit-thread.h: New file.
17341         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17342         * include/unistd.h (__exit_thread): Remove declaration.
17343         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17344         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17345         * csu/libc-start.c: Include <exit-thread.h>.
17346         (LIBC_START_MAIN): Pass no argument to __exit_thread.
17347         * nptl/pthread_create.c: Include <exit-thread.h>.
17348         (start_thread): Call __exit_thread in place of __exit_thread_inline.
17349         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17350         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17351         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17352         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17353         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17354         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17355         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17356         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17357         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17358         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17359         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17360         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17361         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17362         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17363         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17364         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17366 2014-05-13  Andreas Schwab  <schwab@suse.de>
17368         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17370 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
17372         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17373         (__ASSUME_UTIMES): Do not condition on kernel version.
17374         (__ASSUME_PSELECT): Define unconditionally.
17375         (__ASSUME_PPOLL): Likewise.
17376         (__ASSUME_ATFCTS): Likewise.
17377         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17378         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17379         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17380         (__ASSUME_UTIMENSAT): Define unconditionally.
17381         (__ASSUME_PRIVATE_FUTEX): Likewise.
17382         (__ASSUME_FALLOCATE): Likewise.
17383         (__ASSUME_O_CLOEXEC): Likewise.
17384         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17385         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17386         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17387         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17388         (__ASSUME_IN_NONBLOCK): Likewise.
17389         (__ASSUME_PIPE2): Likewise.
17390         (__ASSUME_EVENTFD2): Likewise.
17391         (__ASSUME_SIGNALFD4): Likewise.
17392         (__ASSUME_DUP3): Likewise.
17393         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17394         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17395         (__ASSUME_AT_RANDOM): Likewise.
17396         (__ASSUME_PREADV): Likewise.
17397         (__ASSUME_PWRITEV): Likewise.
17398         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17399         (__ASSUME_F_GETOWN_EX): Define unconditionally.
17400         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17401         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17402         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17403         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17404         (__ASSUME_O_CLOEXEC): Define unconditionally.
17405         (__ASSUME_PSELECT): Do not undefine conditionally.
17406         (__ASSUME_PPOLL): Likewise.
17407         (__ASSUME_ATFCTS): Likewise.
17408         (__ASSUME_SET_ROBUST_LIST): Likewise.
17409         (__ASSUME_UTIMENSAT): Likewise.
17410         (__ASSUME_FDATASYNC): Define unconditionally.
17411         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17412         (__ASSUME_SIGFRAME_V2): Likewise.
17413         )__ASSUME_EVENTFD2): Likewise.
17414         (__ASSUME_SIGNALFD4): Likewise.
17415         (__ASSUME_PSELECT): Do not undefine conditionally.
17416         (__ASSUME_PPOLL): Likewise.
17417         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17418         (__ASSUME_PSELECT): Define unconditionally.
17419         (__ASSUME_PPOLL): Likewise.
17420         (__ASSUME_O_CLOEXEC): Likewise.
17421         (__ASSUME_SOCK_CLOEXEC): Likewise.
17422         (__ASSUME_IN_NONBLOCK): Likewise.
17423         (__ASSUME_PIPE2): Likewise.
17424         (__ASSUME_EVENTFD2): Likewise.
17425         (__ASSUME_SIGNALFD4): Likewise.
17426         (__ASSUME_DUP3): Likewise.
17427         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17428         (__ASSUME_O_CLOEXEC): Likewise.
17429         (__ASSUME_SOCK_CLOEXEC): Likewise.
17430         (__ASSUME_IN_NONBLOCK): Likewise.
17431         (__ASSUME_PIPE2): Likewise.
17432         (__ASSUME_EVENTFD2): Likewise.
17433         (__ASSUME_SIGNALFD4): Likewise.
17434         (__ASSUME_DUP3): Likewise.
17435         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17436         (__ASSUME_EVENTFD2): Likewise.
17437         (__ASSUME_SIGNALFD4): Likewise.
17438         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17440 2014-05-12  Andreas Schwab  <schwab@suse.de>
17442         [BZ #16932]
17443         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17444         (_nss_nis_gethostbyname4_r): Return error if item length is larger
17445         than maximum RPC packet size.
17446         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17447         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17448         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17449         (_nss_nis_getservbyport_r): Likewise.
17451 2014-05-12  Will Newton  <will.newton@linaro.org>
17453         * malloc/Makefile (tests): Add tst-mallopt.
17454         * malloc/tst-mallopt.c: New file.
17456 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17458         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17459         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17461 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17463         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17464         (tst-tlsmod6.so): Likewise.
17466 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17468         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17470 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
17472         [BZ #16064]
17473         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17474         and <dl-procinfo.h>.
17475         (__fegetenv): Save SSE state in envp->__eip if supported.
17476         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17477         envp->__eip if supported.
17478         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17479         and <dl-procinfo.h>.
17480         (__fesetenv): Always set __eip, __cs_selector, __opcode,
17481         __data_offset and __data_selector in environment to 0.  Set SSE
17482         state if supported.
17483         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17484         test-fenv-sse.
17485         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17486         -mfpmath=sse.
17487         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17489 2014-05-09  Will Newton  <will.newton@linaro.org>
17491         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17492         and libc_relro_required for ARM.
17493         * sysdeps/arm/preconfigure: Regenerate.
17495 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
17496             Stefan Liebler  <stli@linux.vnet.ibm.com>
17498         * config.make.in (enable-lock-elision): New Makefile variable.
17499         * configure.ac: Likewise.
17500         * configure: Regenerate.
17501         * sysdeps/s390/configure.ac:
17502         Add check for gcc transactions support.
17503         * sysdeps/s390/configure: Regenerate.
17504         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17505         Build elision files if enabled.
17506         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17507         Add lock elision support for s390.
17508         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17509         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17510         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17511         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17512         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17513         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17514         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17515         Likewise.
17516         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17517         Likewise.
17518         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17519         Likewise.
17520         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17521         Likewise.
17522         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17523         (__lll_timedlock_elision, __lll_lock_elision)
17524         (__lll_unlock_elision, __lll_trylock_elision)
17525         (lll_timedlock_elision, lll_lock_elision)
17526         (lll_unlock_elision, lll_trylock_elision): Add.
17527         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17528         (pthread_mutex_t): Add lock elision support for s390.
17530 2014-05-14  Wilco  <wdijkstr@arm.com>
17532         * sysdeps/arm/fclrexcpt.c: Cleanup.
17533         * sysdeps/arm/fedisblxcpt.c: Cleanup.
17534         * sysdeps/arm/feenablxcpt.c: Cleanup.
17535         * sysdeps/arm/fegetenv.c: Cleanup.
17536         * sysdeps/arm/fegetexcept.c: Cleanup.
17537         * sysdeps/arm/fegetround.c: Cleanup.
17538         * sysdeps/arm/feholdexcpt.c: Cleanup.
17539         * sysdeps/arm/fesetenv.c: Cleanup.
17540         * sysdeps/arm/fesetround.c: Cleanup.
17541         * sysdeps/arm/feupdateenv.c: Cleanup.
17542         * sysdeps/arm/fgetexcptflg.c: Cleanup.
17543         * sysdeps/arm/fraiseexcpt.c: Cleanup.
17544         * sysdeps/arm/fsetexcptflg.c: Cleanup.
17545         * sysdeps/arm/ftestexcept.c: Cleanup.
17546         * sysdeps/arm/get-rounding-mode.h: Cleanup.
17547         * sysdeps/arm/setfpucw.c: Cleanup.
17549 2014-05-09  Will Newton  <will.newton@linaro.org>
17551         * sysdeps/arm/armv7/strcmp.S: New file.
17552         * NEWS: Mention addition of ARMv7 optimized strcmp.
17554 2014-05-08  Roland McGrath  <roland@hack.frob.com>
17556         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17557         look for %.ac rather than %.in.
17559         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17560         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17561         * sysdeps/mach/hurd/configure: Regenerated.
17562         * sysdeps/unix/sysv/linux/configure: Regenerated.
17564         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17566 2014-05-07  Steve Ellcey  <sellcey@mips.com>
17568         [BZ# 16922]
17569         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17570         (LONG_SUB): Ditto.
17571         (PTR_SUB): Ditto.
17573 2014-05-07  Andreas Schwab  <schwab@suse.de>
17575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17576         when skipping over non-matching result from nscd.
17578 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
17580         [BZ #16876]
17581         * nptl/sockperf.c (client): Check socket return value.
17583         [BZ #16877]
17584         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17585         nscd security class.
17587 2014-05-06  Roland McGrath  <roland@hack.frob.com>
17589         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17590         * sysdeps/arm/unwind.h: ... here.
17592 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
17594         [BZ# 16916]
17595         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17596         Define.
17598 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17600         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17601         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17602         multiarch strncpy for PPC64.
17603         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17604         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17606         multiarch optimizations.
17607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17608         (__libc_ifunc_impl_list): Likewise.
17609         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17610         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17611         multiarch stpncpy for PPC64.
17612         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17613         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17615 2014-05-06  Andreas Schwab  <schwab@suse.de>
17617         [BZ #16912]
17618         * gmon/mcount.c (_MCOUNT_DECL): Use
17619         atomic_compare_and_exchange_bool_acq instead of
17620         catomic_compare_and_exchange_bool_acq.
17622 2014-05-05  Roland McGrath  <roland@hack.frob.com>
17624         * elf/Makefile (others, install-bin): Remove pldd.
17625         (pldd-modules): Variable removed.
17626         ($(objpfx)pldd): Target removed.
17627         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17628         (others, install-bin): Append pldd here.
17629         ($(objpfx)pldd): New target.
17631         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17632         to 0, so the first #if test emitted later doesn't see it undefined.
17633         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17634         * sysdeps/gnu/errlist.c: Regenerated.
17636 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17638         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17639         [libc_hidden_builtin_def]: Define to empty value.
17640         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17641         [libc_hidden_builtin_def]: Likewise.
17642         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17643         [libc_hidden_builtin_def]: Likewise.
17644         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17645         [libc_hidden_builtin_def]: Likewise.
17646         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17647         __redirect_memcpy and define ifunc as default hidden symbol.
17648         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17649         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17651 2014-05-04  Adam Conrad  <adconrad@0c3.net>
17653         * locale/iso-4217.def: Reintroduce XDR currency.
17655 2014-05-04  Allan McRae  <allan@archlinux.org>
17657         * po/eo.po: Update Esperanto translation from translation project.
17659 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
17661         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17662         and FEATURE_INDEX_MAX to 1.
17663         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17665 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17667         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17668         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17669         * iconvdata/big5.c (ONE_DIRECTION): Define.
17670         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17671         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17672         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17673         * iconvdata/cp932.c (ONE_DIRECTION): Define.
17674         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17675         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17676         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17677         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17678         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17679         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17680         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17681         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17682         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17683         * iconvdata/gbk.c (ONE_DIRECTION): Define.
17684         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17685         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17686         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17687         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17688         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17689         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17690         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17691         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17692         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17693         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17694         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17695         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17696         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17697         * iconvdata/iso646.c (ONE_DIRECTION): Define.
17698         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17699         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17700         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17701         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17702         * iconvdata/johab.c (ONE_DIRECTION): Define.
17703         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17704         * iconvdata/sjis.c (ONE_DIRECTION): Define.
17705         * iconvdata/t.61.c (ONE_DIRECTION): Define.
17706         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17707         * iconvdata/tscii.c (ONE_DIRECTION): Define.
17708         * iconvdata/uhc.c (ONE_DIRECTION): Define.
17709         * iconvdata/unicode.c (ONE_DIRECTION): Define.
17710         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17711         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17712         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17714 2014-05-01  Roland McGrath  <roland@hack.frob.com>
17716         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17717         (_IO_JUMPS_OFFSET): Define to 0.
17719         * nptl/sysdeps/pthread/bits/libc-lock.h
17720         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17721         (__libc_lock_define_initialized_recursive): Always define using
17722         initializer.  Modern compilers treat uninitialized (implicit zero) and
17723         explicit zero initializers the same (i.e. put the datum in bss).
17725 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17727         * nscd/nscd-client.h: Include <string.h>.
17729 2014-05-01  David S. Miller  <davem@davemloft.net>
17731         [BZ #16885]
17732         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17733         multiple zero bytes exist at the end of a string.
17734         Reported by Aurelien Jarno <aurelien@aurel32.net>
17736         * string/test-strcmp.c (check): Add explicit test for situations where
17737         there are multiple zero bytes after the first.
17739 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17741         [BZ #16890]
17742         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17743         when compiling wprintf.
17744         * stdio-common/tstdiomisc.c (t3): New function.
17745         (main): Call it.
17747 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17749         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17750         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17751         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17752         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17754 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17756         * stdlib/longlong.h: Updated from GCC.
17758 2014-05-01  Will Newton  <will.newton@linaro.org>
17759             Bernard Ogden  <bernie.ogden@linaro.org>
17761         * NEWS: Update fixed bug list.
17763         [BZ #15119]
17764         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17766 2014-04-30  David S. Miller  <davem@davemloft.net>
17768         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17769         (libc_feholdexcept_setround_sparc_ctx): New function.
17770         (libc_fesetenv_sparc_ctx): Likewise.
17771         (libc_feupdateenv_sparc_ctx): Likewise.
17772         (libc_feholdsetround_sparc_ctx): Likewise.
17773         (libc_feholdexcept_setround_ctx): Define.
17774         (libc_feholdexcept_setroundf_ctx): Likewise.
17775         (libc_feholdexcept_setroundl_ctx): Likewise.
17776         (libc_fesetenv_ctx): Likewise.
17777         (libc_fesetenvf_ctx): Likewise.
17778         (libc_fesetenvl_ctx): Likewise.
17779         (libc_feupdateenv_ctx): Likewise.
17780         (libc_feupdateenvf_ctx): Likewise.
17781         (libc_feupdateenvl_ctx): Likewise.
17782         (libc_feresetround_ctx): Likewise.
17783         (libc_feresetroundf_ctx): Likewise.
17784         (libc_feresetroundl_ctx): Likewise.
17785         (libc_feholdsetround_ctx): Likewise.
17786         (libc_feholdsetroundf_ctx): Likewise.
17787         (libc_feholdsetroundl_ctx): Likewise.
17789         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17790         with __USE_GNU instead of XOPEN cpp guards.
17792         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17793         0.
17795         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17796         with XOPEN cpp guards.
17798 2014-04-30  Julian Brown  <julian@codesourcery.com>
17800         [BZ #16888]
17801         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17802         handling.
17804 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
17806         [BZ #9894]
17807         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17808         Change to 2.6.32.
17809         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17810         * sysdeps/unix/sysv/linux/configure: Regenerated.
17811         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17812         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17813         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17814         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17815         * README: Update reference to required Linux kernel version.
17816         * manual/install.texi (Linux): Update reference to required Linux
17817         kernel headers version.
17818         * INSTALL: Regenerated.
17820         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17821         header inclusion.
17822         [POSIX] (limits.h): Likewise.
17823         [POSIX] (math.h): Likewise.
17824         [POSIX] (sys/wait.h): Likewise.
17825         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17826         function.
17827         [POSIX] (stddef.h): Do not allow header inclusion.
17829 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17831         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17833 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
17835         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17836         Return immediately after lll_futex_wake.
17838 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17840         [BZ #16791]
17841         * nscd/nscd-client.h (datahead_init_common): Initialize entire
17842         structure.
17843         (datahead_init_pos): Call datahead_init_common early.
17844         (datahead_init_neg): Likewise.
17846         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17847         datahead_init_neg): New functions.
17848         * nscd/aicache.c (addhstaiX): Use them.
17849         * nscd/grpcache.c (cache_addgr): Likewise.
17850         * nscd/hstcache.c (cache_addhst): Likewise.
17851         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17852         * nscd/netgroupcache.c (do_notfound): Likewise.
17853         (addgetnetgrentX): Likewise.
17854         (addinnetgrX): Likewise.
17855         * nscd/pwdcache.c (cache_addpw): Likewise.
17856         * nscd/servicescache.c (cache_addserv): Likewise.
17858 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17859             Atsushi Onoe  <atsushi@onoe.org>
17861         [BZ #14308]
17862         [BZ #12994]
17863         [BZ #13651]
17864         * resolv/res_query.c (__libc_res_nsearch): Return if at least
17865         one response is valid.
17866         * resolv/res_send.c (send_dg): Check for validity of other
17867         response if the current response is a referral.
17869 2014-04-29  Steve Ellcey  <sellcey@mips.com>
17871         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17873 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
17875         [BZ #16823]
17876         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17877         Always divide by positive zero when computing -Inf result.
17878         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17879         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17881 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17883         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17884         FPSCR if value do not change.
17885         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17886         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17887         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17888         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17889         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17890         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17891         function.
17893 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
17895         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17896         * sysdeps/unix/sysv/linux/hppa: Move directory from
17897         ports/systeps/unix/sysv/linux/hppa.
17898         * README: Update listing for hppa-*-linux-gnu.
17900 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
17902         [BZ #16754]
17903         * manual/stdio.texi (Hook functions): Fix types of stream hook
17904         functions.
17905         [BZ #16854]
17906         * socket/sys/socket.h: Fix typo in comment.
17908 2014-04-28  Wilco  <wdijkstr@arm.com>
17910         * sysdeps/arm/fenv_private.h: New file.
17911         * sysdeps/arm/math_private.h: New file.
17912         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17914 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
17916         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17917         with __int128_t.
17918         (La_x86_64_retval): Likewise.
17920 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
17922         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17923         fpsr if value didn't change.
17924         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17925         to fpcr if value didn't change.
17926         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17927         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17928         fpsr or fpcr if value didn't change.
17929         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17930         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17931         fpcr if value didn't change.
17932         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17933         to fpsr if value didn't change.
17935 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17937         * nptl/tst-sem3.c: Use test-skeleton.c
17938         (main): Rename to do_test.  Use return instead of
17939         exit.
17940         * nptl/tst-sem4.c: Use test-skeleton.c
17941         (main): Rename to do_test.
17943 2014-04-22  David S. Miller  <davem@davemloft.net>
17945         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17946         (struct sigaction): New struct member __glibc_reserved0, change
17947         type of sa_flags to int.
17949 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
17951         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17952         (COUNT_LEADING_ZEROS_0): Define for AArch64.
17954 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17956         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17957         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17959 2014-04-22  Will Newton  <will.newton@linaro.org>
17960             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
17962         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17963         (__longjmp): Add longjmp and longjmp_target SystemTap
17964         probes.
17965         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17966         (__sigsetjmp): Add setjmp SystemTap probe.
17968 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
17970         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17971         match manual order.
17973 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17975         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17977         * sysdeps/powerpc/fpu/fenv_private.h
17978         (libc_feholdexcept_setroundl_ctx): Define to
17979         libc_feholdexcept_setround_ppc_ctx.
17980         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17981         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17982         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17983         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17985 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17987         * sysdeps/aarch64/math-tests.h: New file.
17989 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
17991         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17992         New.
17993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17994         Check and set bit_AVX2_Usable.
17995         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17996         macro.
17997         (bit_AVX2): Likewise.
17998         (index_AVX2_Usable): Likewise.
17999         (CPUID_AVX2): Likewise.
18000         (HAS_AVX2): Likewise.
18002 2014-04-17  Will Newton  <will.newton@linaro.org>
18004         * manual/setjmp.texi (System V contexts): Add note that
18005         calling setcontext on a context created by a call to a
18006         signal handler is undefined.  Update text to note that
18007         setcontext from a signal handler is possible but not
18008         recommended.
18010         [BZ #16629]
18011         * stdlib/tst-setcontext.c: Include signal.h.
18012         (main): Check that the signal stack before and
18013         after swapcontext is the same.
18015         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18016         Re-implement to restore registers in user code and avoid
18017         rt_sigreturn system call.
18019 2014-04-17  Wilco  <wdijkstr@arm.com>
18021         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18022         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18023         * math/test-fenv.c: Skip exception trap tests on targets which only
18024         support non-stop mode.
18026 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18027             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18029         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18030         (libc_feholdsetround_aarch64_ctx)
18031         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18032         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18033         (libc_feresetround_ctx, libc_feresetroundf_ctx)
18034         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18035         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18036         (libc_feresetround_noexl_ctx): Define.
18038 2014-04-16  Richard Henderson  <rth@redhat.com>
18040         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18042         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18043         unwind tables.
18045         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18046         const from the non-libc, non-ldso copy.
18048         * sysdeps/alpha/libm-test-ulps: Regenerate.
18050 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
18051             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18053         * sysdeps/aarch64/fpu/math_private.h: New file.
18055 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18057         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18059 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
18061         [BZ #16275]
18062         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18063         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18064         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18065         Intel MPX bound registers before _dl_profile_fixup.
18066         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18067         registers after _dl_profile_fixup.  Save and restore bound
18068         registers bnd0/bnd1 when calling _dl_call_pltexit.
18069         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18070         (LR_BND_OFFSET): Likewise.
18071         (LRV_BND0_OFFSET): Likewise.
18072         (LRV_BND1_OFFSET): Likewise.
18074 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18076         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18077         to...
18078         * sysdeps/mach/hurd/i386/tls.h: ... here.
18079         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18080         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18081         fields.
18083 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18085         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18087 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18089         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18091 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18093         [BZ #14770]
18094         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18095         * sysdeps/s390/configure: Regenerate.
18097         [BZ #16824]
18098         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18099         Set round-to-nearest internally to reduce error accumulation.
18101 2014-04-16  Alan Modra  <amodra@gmail.com>
18103         [BZ #16740]
18104         [BZ #16619]
18105         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18106         * math/libm-test.inc (frexp_test_data): Add tests.
18107         * NEWS: Update fixed bug list.
18109 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18111         * benchtests/Makefile: Depend on libraries in build directory.
18112         (bench-math): Separate out math tests.
18113         (bench-pthread): Separate out pthread tests.
18114         (bench): Include math and pthread tests.
18116 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
18118         [BZ #16831]
18119         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18120         _dl_debug_initialize.
18122         * configure.ac: Remove SELinux header check.
18123         * configure: Regenerate.
18124         * nscd/selinux.c (perms): Array of const char* to permission names.
18125         (nscd_request_avc_has_perm): Call security_deny_unknown to find
18126         default policy. Call string_to_security_class and string_to_av_perm to
18127         translate strings. Enforce default policy and call avs_has_perm with
18128         results of translated strings.
18130 2014-04-13  David S. Miller  <davem@davemloft.net>
18132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18134 2014-04-12  Allan McRae  <allan@archlinux.org>
18136         [BZ #16838]
18137         * manual/string.texi (Collation Functions): Fix qsort argument
18138         order in example.
18139         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18141 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
18143         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18144         Make the test a no-op if there are no exceptions defined.
18146 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18148         * elf/Makefile (tests): make tst-dlopen-aout conditional on
18149         enable-hardcoded-path-in-tests
18151 2014-04-11  Will Newton  <will.newton@linaro.org>
18153         * benchtests/Makefile (extra-objs): Add json-lib.o.
18154         (bench-func): Tidy up JSON output.
18155         * benchtests/bench-skeleton.c: Include json-lib.h.
18156         (main): Use JSON library functions to do output of
18157         benchmark results.
18158         * benchtests/bench-timing-type.c (main): Output the
18159         timing type simply, leaving formatting to the user.
18160         * benchtests/json-lib.c: New file.
18161         * benchtests/json-lib.h: Likewise.
18163 2014-04-11  Torvald Riegel  <triegel@redhat.com>
18165         [BZ #15215]
18166         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18167         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
18168         memory barriers.  Add comments.
18169         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18170         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18171         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18172         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18173         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18174         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18176 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18178         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18179         * sysdeps/s390/s390-64/configure.ac: ... this ...
18180         * sysdeps/s390/configure.ac: ... to here.
18181         * sysdeps/s390/s390-32/configure: Delete file.
18182         * sysdeps/s390/s390-64/configure: Delete file.
18183         * sysdeps/s390/configure: Regenerate.
18185 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
18187         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18189 2014-04-11  Will Newton  <will.newton@linaro.org>
18191         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18192         to zero if it is not defined elsewhere.  (mtrim): Test
18193         the value of MALLOC_DEBUG with #if rather than #ifdef.
18195 2014-04-10 Torvald Riegel  <triegel@redhat.com>
18197         * benchtests/pthread_once-inputs: New file.
18198         * benchtests/pthread_once-source.c: New file.
18199         * benchtests/README: Update documentation.
18201 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18202             H.J. Lu  <hongjiu.lu@intel.com>
18204         [BZ #16275]
18205         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18206         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18207         * sysdeps/x86_64/configure: Regenerated.
18208         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18209         macro.
18210         (REGISTER_SAVE_RAX): Likewise.
18211         (REGISTER_SAVE_RCX): Likewise.
18212         (REGISTER_SAVE_RDX): Likewise.
18213         (REGISTER_SAVE_RSI): Likewise.
18214         (REGISTER_SAVE_RDI): Likewise.
18215         (REGISTER_SAVE_R8): Likewise.
18216         (REGISTER_SAVE_R9): Likewise.
18217         (REGISTER_SAVE_BND0): Likewise.
18218         (REGISTER_SAVE_BND1): Likewise.
18219         (REGISTER_SAVE_BND2): Likewise.
18220         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
18221         bound registers when calling _dl_fixup.
18223 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18225         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18226         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18227         of its definition.
18228         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18229         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18230         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18231         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18232         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18233         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18234         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18236 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
18238         [BZ #15514]
18239         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18240         pathconf(_PC_NAME_MAX).
18242 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18244         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18245         Remove macro usage.
18246         (__PTHREAD_SPINS): Move definition to ...
18247         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18248         (__PTHREAD_SPINS): ... here.
18249         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18250         (__PTHREAD_SPIN): Likewise.
18251         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18252         (__PTHREAD_SPIN): Likewise.
18253         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18254         (__PTHREAD_SPIN): Likewise.
18255         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18256         (__PTHREAD_SPIN): Likewise.
18257         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18258         (__PTHREAD_SPIN): Likewise.
18259         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18260         (__PTHREAD_SPIN): Likewise.
18261         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18262         (__PTHREAD_SPIN): Likewise.
18263         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18264         (__PTHREAD_SPIN): Likewise.
18265         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18266         (__PTHREAD_SPIN): Likewise.
18267         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18268         (__PTHREAD_SPIN): Likewise.
18269         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18270         (__PTHREAD_SPIN): Likewise.
18271         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18272         (__PTHREAD_SPIN): Likewise.
18274         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18275         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18276         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18277         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18278         imply folder.
18279         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18280         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18281         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18282         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18283         correct imply path.
18284         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18285         strlen symbol for non multi-arch builds.
18286         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18287         missing hidden_def and weak_alias.
18289 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
18291         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18293 2014-04-07  Will Newton  <will.newton@linaro.org>
18295         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18296         and contents.  [!_LIBC] Remove #ifndef and contents.
18297         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
18298         * string/memccpy.c (__memccpy): Use ANSI prototype.
18299         * string/memfrob.c (memfrob): Likewise.
18300         * string/strcoll.c (STRCOLL): Likewise.
18301         * string/strlen.c (strlen): Likewise.
18302         * string/strtok.c (STRTOK): Likewise.
18303         * string/strcat.c: Remove unused #include of memcopy.h.
18304         (strcat): Use ANSI prototype.
18305         * string/strchr.c: Remove unused #include of memcopy.h.
18306         (strchr): Use ANSI prototype.
18307         * string/strcmp.c: Remove unused #include of memcopy.h.
18308         (strcmp): Use ANSI prototype.
18309         * string/strcpy.c: Remove unused #include of memcopy.h.
18310         (strcpy): Use ANSI prototype.
18312 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18314         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18315         * config.make.in (config-extra-cppflags): Set it from
18316         libc_extra_cppflags.
18317         * configure.ac (libc_extra_cflags): Make it accumulate over
18318         configure fragments.
18319         (libc_extra_cppflags): New flag.
18320         * configure. Regenerate.
18321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18322         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18323         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18326         [BZ #16815]
18327         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18328         result for FE_DOWNWARD rounding mode.
18329         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18330         Likewise.
18331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18333 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
18335         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18336         in function argument name.
18338 2014-04-03  David Svoboda  <svoboda@cert.org>
18340         [BZ #5666]
18341         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18342         explicitly.
18344 2014-04-03  Roland McGrath  <roland@hack.frob.com>
18346         * elf/dl-unmap-segments.h: New file.
18347         * sysdeps/generic/ldsodefs.h
18348         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18349         * elf/dl-close.c: Include <dl-unmap-segments.h>.
18350         * elf/dl-fptr.c: Likewise.
18351         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18352         * sysdeps/aarch64/tlsdesc.c: Likewise.
18353         * sysdeps/arm/tlsdesc.c: Likewise.
18354         * sysdeps/i386/tlsdesc.c: Likewise.
18355         * sysdeps/tile/dl-runtime.c: Likewise.
18356         * sysdeps/x86_64/tlsdesc.c: Likewise.
18357         * elf/dl-load.h: New file.
18358         * elf/dl-load.c: Include it.
18359         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18360         Macros moved to dl-load.h.
18361         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18362         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18363         Use _dl_unmap_segments in place of __munmap.
18364         Break out segment-mapping loop into ...
18365         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18367 2014-04-03  Will Newton  <will.newton@linaro.org>
18369         * elf/dl-lookup.c (do_lookup_x): Remove comment
18370         referring to nested function and move variable
18371         declarations down to before first use.
18373 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
18375         [BZ #16799]
18376         [BZ #16800]
18377         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18378         with 0 numerator.
18379         * math/s_catanf.c (__catanf): Likewise.
18380         * math/s_catanh.c (__catanh): Likewise.
18381         * math/s_catanhf.c (__catanhf): Likewise.
18382         * math/s_catanhl.c (__catanhl): Likewise.
18383         * math/s_catanl.c (__catanl): Likewise.
18384         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18385         by positive zero when computing -Inf result.
18386         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18387         (catanh_test): Likewise.
18388         * sysdeps/i386/fpu/libm-test-ulps: Update.
18389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18391         [BZ #16789]
18392         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18393         instead of using underflowing value in computing result.
18394         * math/s_clog10.c (__clog10): Likewise.
18395         * math/s_clog10f.c (__clog10f): Likewise.
18396         * math/s_clog10l.c (__clog10l): Likewise.
18397         * math/s_clogf.c (__clogf): Likewise.
18398         * math/s_clogl.c (__clogl): Likewise.
18399         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18400         (clog10_test): Likewise.
18401         * sysdeps/i386/fpu/libm-test-ulps: Update.
18402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18404 2014-04-02  Alan Modra  <amodra@gmail.com>
18406         [BZ #16739]
18407         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18408         output when value is near a power of two.  Use int64_t for lx and
18409         remove casts.  Use decimal rather than hex exponent constants.
18410         Don't use long double multiplication when double will suffice.
18411         * math/libm-test.inc (nextafter_test_data): Add tests.
18412         * NEWS: Add 16739 and 16786 to bug list.
18414         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18416         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18418 2014-04-01  Will Newton  <will.newton@linaro.org>
18420         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18421         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
18423 2014-04-01  Florian Weimer  <fweimer@redhat.com>
18425         [BZ #13347]
18426         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18427         * nptl/tst-setuid2.c: New file.
18428         * nptl/Makefile (xtests): Add tst-setuid2.
18430 2014-04-01  Alan Modra  <amodra@gmail.com>
18432         [BZ #16786]
18433         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18435 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18437         [BZ #6803]
18438         [BZ #6804]
18439         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18440         set errno as appropriate.
18441         * math/w_scalbf.c (__scalbf): Likewise.
18442         * math/w_scalbl.c (__scalbl): Likewise.
18443         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18444         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18445         * math/libm-test.inc (scalb_test_data): Add errno expectations.
18446         Add more NaN tests.
18448         [BZ #16349]
18449         * math/w_atan2.c: Include <errno.h>.
18450         (__atan2): Set errno for result underflowing to zero.
18451         * math/w_atan2f.c: Include <errno.h>.
18452         (__atan2f): Set errno for result underflowing to zero.
18453         * math/w_atan2l.c: Include <errno.h>.
18454         (__atan2l): Set errno for result underflowing to zero.
18455         * math/auto-libm-test-in: Don't allow missing errno for some atan2
18456         tests.
18457         * math/auto-libm-test-out: Regenerated.
18459 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18461         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18462         Encode instruction correctly in little endian.
18463         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18464         Likewise.
18465         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18466         Likewise.
18467         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18468         Likewise.
18469         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18470         Likewise.
18472 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18474         [BZ #9894]
18475         * sysdeps/unix/sysv/linux/kernel-features.h
18476         [__sparc__ && !__arch64__ && !__sparc_v9__]
18477         (__ASSUME_SET_ROBUST_LIST): Do not define.
18478         [__sparc__ && !__arch64__ && !__sparc_v9__]
18479         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18480         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18481         Likewise.
18482         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18483         (__ASSUME_FUTEX_LOCK_PI): Undefine.
18484         (__ASSUME_REQUEUE_PI): Likewise.
18485         (__ASSUME_SET_ROBUST_LIST): Likewise.
18486         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18487         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18488         Undefine.
18489         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18490         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18491         Likewise.
18492         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18493         Likewise.
18494         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18495         Likewise.
18496         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18497         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18498         Undefine.
18499         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18500         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18501         Likewise.
18503         [BZ #16648]
18504         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18505         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18506         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18508 2014-03-31  Will Newton  <will.newton@linaro.org>
18510         * benchtests/Makefile (bench): Add ffs and ffsll to list
18511         of tests.
18512         * benchtests/ffs-inputs: New file.
18513         * benchtests/ffsll-inputs: Likewise.
18515 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
18517         [BZ #16770]
18518         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18519         too large before casting to int.
18520         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18521         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18522         * math/libm-test.inc (scalb_test_data): Add more tests.
18524 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18526         * benchtests/Makefile (DETAILED_OPT): New make option.
18527         (bench-func): Run benchmark program with -d if DETAILED_OPT is
18528         set.
18529         * benchtests/bench-skeleton.c: Include stdbool.h.
18530         (main): Store and print timings per input.
18531         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18532         member to each argument value.
18533         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18534         (_print_arg_data): Initialize per-input timing to 0.
18536         * benchtests/Makefile (timing-type): New binary.
18537         (bench-clean): Also remove bench-timing-type.
18538         (bench): New target for timing-type.
18539         (bench-func): Print output in JSON format.
18540         * benchtests/bench-skeleton.c (main): Print output in JSON
18541         format.
18542         * benchtests/bench-timing-type.c: New file.
18543         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18544         (TIMING_PRINT_STATS): Remove.
18545         * benchtests/scripts/bench.py (_print_arg_data): Store variant
18546         name separately.
18548         * benchtests/bench-modf.c: Remove.
18549         * benchtests/modf-inputs: New inputs file.
18551 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
18553         [BZ #16362]
18554         * math/s_clog10.c (M_PI_LOG10E): New macro.
18555         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18556         imaginary parts are 0.
18557         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18558         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18559         imaginary parts are 0.
18560         * math/s_clog10l.c (M_PI_LOG10El): New macro.
18561         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18562         imaginary parts are 0.
18563         * math/libm-test.inc (clog10_test_data): Update expected results
18564         for when real and imaginary parts are 0.
18566 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
18568         * elf/dl-load.c: Finish conversion of __builtin_expect into
18569         __glibc_{un}likely.
18571 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
18573         [BZ #16348]
18574         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18575         1+x for argument with exponent below -67.
18576         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18577         Likewise.
18578         * math/auto-libm-test-in: Add more tests of exp.
18579         * math/auto-libm-test-out: Regenerated.
18581 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18583         [BZ #16759]
18584         * inet/getnetgrent_r.c (get_nonempty_val): New function.
18585         (nscd_getnetgrent): Use it.
18587         [BZ #16760]
18588         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18589         of stpcpy.
18591 2014-03-27  Andi Kleen  <ak@linux.intel.com>
18593         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18594         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18595         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18596         (lll_robust_unlock): Remove out of line section. Use cfi
18597         intrinsics.
18598         (LLL_STUB_UNWIND_INFO*): Remove.
18599         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18600         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18601         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18602         (lll_robust_unlock): Remove out of line section. Use cfi
18603         intrinsics.
18604         (LLL_STUB_UNWIND_INFO*): Remove.
18606 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18608         [BZ #16758]
18609         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18610         blank values.
18612 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
18614         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18616 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
18618         [BZ #16198]
18619         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18620         fnstenv.
18621         * math/test-fenv-preserve.c: New file.
18622         * math/Makefile (tests): Add test-fenv-preserve.
18624 2014-03-26  Will Newton <will.newton@linaro.org>
18626         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18628 2014-03-25  Roland McGrath  <roland@hack.frob.com>
18630         * scripts/versionlist.awk: Partition the version sets and emit all
18631         GLIBC_* (sorted) before all others (sorted).
18633 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18635         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18636         GLIBC_2.2.5 version.
18638 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18640         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18641         calls.
18643         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18644         previous change.
18646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18648 2014-03-25  Andreas Schwab  <schwab@suse.de>
18650         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18651         label to be used after in6ailist is initialized.
18653 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18655         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18656         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18658 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18660         [BZ #16357]
18661         [BZ #16599]
18662         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18663         min_plus_half.
18664         (fp_formats): Update initializers.
18665         (init_fp_formats): Initialize new field.
18666         (output_for_one_input_case): Allow underflow for results up to
18667         min_plus_half.
18668         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18669         * math/auto-libm-test-in: Don't mark some underflows from asin and
18670         atanh as spurious.
18671         * math/auto-libm-test-out: Regenerated.
18672         * sysdeps/i386/fpu/libm-test-ulps: Update.
18673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18675 2014-03-25  Andreas Schwab  <schwab@suse.de>
18677         * libio/Makefile (tst-ftell-partial-wide-ENV)
18678         (tst-ftell-active-handler-ENV): Define.
18680 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
18682         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18684 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18686         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18688 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18690         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18691         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18692         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18694 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18696         [BZ #16634]
18697         * elf/dl-load.c (open_verify): Add mode parameter.
18698         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18699         (open_path): Change from boolean 'secure' to complete flag 'mode'
18700         (_dl_map_object): Adjust.
18701         * elf/Makefile (tests): Add tst-dlopen-aout.
18702         * elf/tst-dlopen-aout.c: New test.
18704 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
18706         [BZ #16714]
18707         * sysdeps/unix/sysv/linux/s390/bits/stat.h
18708         (struct stat): Rename member pad0 to __glibc_reserved0.
18710         [BZ #16712]
18711         * sysdeps/s390/s390-32/bits/wordsize.h
18712         (__WORDSIZE32_SIZE_ULONG): New define.
18713         * sysdeps/s390/s390-64/bits/wordsize.h
18714         (__WORDSIZE32_SIZE_ULONG): Likewise.
18715         * sysdeps/generic/stdint.h (SIZE_MAX):
18716         Define as UL if __WORDSIZE32_SIZE_ULONG.
18718         [BZ #16713]
18719         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18720         (__glibc_reserved0): New variable.
18721         (sa_flags): Change type to int.
18723         * posix/Makefile (before-compile): Use += before-compile instead
18724         of a :=.
18726         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18727         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18729 2014-03-20  Andreas Schwab  <schwab@suse.de>
18731         [BZ #16743]
18732         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18733         non-matching result from nscd.
18735 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18737         * scripts/bench.py: Moved to ...
18738         * benchtests/scripts/bench.py: ... here.
18739         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18741 2014-03-24  Andreas Schwab  <schwab@suse.de>
18743         [BZ #16002]
18744         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18745         alloca_account and account alloca use for struct in6ailist.
18747 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18749         [BZ #16284]
18750         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18751         rounding mode to recompute results that overflow to infinity or
18752         underflow to zero.
18753         * math/auto-libm-test-in: Don't mark tests as expected to fail for
18754         bug 16284.
18755         * math/auto-libm-test-out: Regenerated.
18756         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18757         (ccosh_test): Likewise.
18758         (csin_test_data): Use plus_oflow.
18759         (csin_test): Use ALL_RM_TEST.
18760         (csinh_test_data): Use plus_oflow.
18761         (csinh_test): Use ALL_RM_TEST.
18762         * sysdeps/i386/fpu/libm-test-ulps: Update.
18763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18765 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
18767         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18768         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18769         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18771         [BZ #16731]
18772         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18773         when x - 1 is zero.
18774         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18775         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18776         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18777         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18778         argument is 1.
18779         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18780         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18781         zero.
18782         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18783         * sysdeps/i386/fpu/libm-test-ulps: Update.
18784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18786 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18788         * scripts/bench.pl: Remove file.
18789         * scripts/bench.py: New benchmark script.
18790         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18791         * benchtests/README: Mention python dependency.
18792         * scripts/pylintrc: New file.
18793         * scripts/pylint: New file.
18795         * bits/mathdef.h: Use #ifdef instead of #if.
18796         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18797         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18798         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18799         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18800         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18801         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18803 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18804             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18806         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18808         and strpbrk-ppc64 objects.
18809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18810         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18811         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18812         multiarch strpbrk for POWER7.
18813         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18814         multiarch strpbrk for PPC64.
18815         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18816         ifunc selector.
18817         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18818         strpbrk for POWER7.
18820 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18822         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18823         (atan_test): Likewise.
18824         (atanh_test_data): Use NO_TEST_INLINE for two tests.
18825         (atanh_test): Use ALL_RM_TEST.
18826         (atan2_test_data): Likewise.
18827         (cabs_test): Likewise.
18828         (cacosh_test): Likewise.
18829         (carg_test): Likewise.
18830         (casin_test): Likewise.
18831         (casinh_test): Likewise.
18832         (cbrt_test): Likewise.
18833         (csqrt_test): Likewise.
18834         (erf_test): Likewise.
18835         (erfc_test): Likewise.
18836         (pow10_test): Likewise.
18837         (exp2_test): Likewise.
18838         (hypot_test): Likewise.
18839         (j0_test): Likewise.
18840         (j1_test): Likewise.
18841         (lgamma_test): Likewise.
18842         (gamma_test): Likewise.
18843         (sincos_test): Likewise.
18844         (tanh_test): Likewise.
18845         (y0_test): Likewise.
18846         (y1_test): Likewise.
18847         * sysdeps/i386/fpu/libm-test-ulps: Update.
18848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18850 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18852         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18853         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18854         and strcspn-ppc64 objects.
18855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18856         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18857         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18858         multiarch strcspn for POWER7.
18859         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18860         multiarch strcspn for PPC64.
18861         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18862         ifunc selector.
18863         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18864         strcspn for POWER7.
18866 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18868         * math/gen-libm-test.pl (generate_testfile): Expect only function
18869         name as argument to AUTO_TESTS_* and pass results for all rounding
18870         modes to parse_args.
18871         (parse_auto_input): Separate inputs of automatic tests from
18872         outputs before storing in %auto_tests.
18873         * math/libm-test.inc (acos_test_data): Update call to
18874         AUTO_TESTS_f_f.
18875         (acos_test): Use ALL_RM_TEST.
18876         (acos_tonearest_test_data): Remove.
18877         (acos_test_tonearest): Likewise.
18878         (acos_towardzero_test_data): Likewise.
18879         (acos_test_towardzero): Likewise.
18880         (acos_downward_test_data): Likewise.
18881         (acos_test_downward): Likewise.
18882         (acos_upward_test_data): Likewise.
18883         (acos_test_upward): Likewise.
18884         (acosh_test_data): Update call to AUTO_TESTS_f_f.
18885         (asin_test_data): Likewise.
18886         (asin_test): Use ALL_RM_TEST.
18887         (asin_tonearest_test_data): Remove.
18888         (asin_test_tonearest): Likewise.
18889         (asin_towardzero_test_data): Likewise.
18890         (asin_test_towardzero): Likewise.
18891         (asin_downward_test_data): Likewise.
18892         (asin_test_downward): Likewise.
18893         (asin_upward_test_data): Likewise.
18894         (asin_test_upward): Likewise.
18895         (asinh_test_data): Update call to AUTO_TESTS_f_f.
18896         (atan_test_data): Likewise.
18897         (atanh_test_data): Likewise.
18898         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18899         (cabs_test_data): Update call to AUTO_TESTS_c_f.
18900         (carg_test_data): Likewise.
18901         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18902         (ccos_test_data): Update call to AUTO_TESTS_c_c.
18903         (ccosh_test_data): Likewise.
18904         (cexp_test_data): Likewise.
18905         (clog_test_data): Likewise.
18906         (clog10_test_data): Likewise.
18907         (cos_test_data): Update call to AUTO_TESTS_f_f.
18908         (cos_test): Use ALL_RM_TEST.
18909         (cos_tonearest_test_data): Remove.
18910         (cos_test_tonearest): Likewise.
18911         (cos_towardzero_test_data): Likewise.
18912         (cos_test_towardzero): Likewise.
18913         (cos_downward_test_data): Likewise.
18914         (cos_test_downward): Likewise.
18915         (cos_upward_test_data): Likewise.
18916         (cos_test_upward): Likewise.
18917         (cosh_test_data): Update call to AUTO_TESTS_f_f.
18918         (cosh_test): Use ALL_RM_TEST.
18919         (cosh_tonearest_test_data): Remove.
18920         (cosh_test_tonearest): Likewise.
18921         (cosh_towardzero_test_data): Likewise.
18922         (cosh_test_towardzero): Likewise.
18923         (cosh_downward_test_data): Likewise.
18924         (cosh_test_downward): Likewise.
18925         (cosh_upward_test_data): Likewise.
18926         (cosh_test_upward): Likewise.
18927         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18928         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18929         (ctan_test_data): Likewise.
18930         (ctan_test): Use ALL_RM_TEST.
18931         (ctan_tonearest_test_data): Remove.
18932         (ctan_test_tonearest): Likewise.
18933         (ctan_towardzero_test_data): Likewise.
18934         (ctan_test_towardzero): Likewise.
18935         (ctan_downward_test_data): Likewise.
18936         (ctan_test_downward): Likewise.
18937         (ctan_upward_test_data): Likewise.
18938         (ctan_test_upward): Likewise.
18939         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18940         (ctanh_test): Use ALL_RM_TEST.
18941         (ctanh_tonearest_test_data): Remove.
18942         (ctanh_test_tonearest): Likewise.
18943         (ctanh_towardzero_test_data): Likewise.
18944         (ctanh_test_towardzero): Likewise.
18945         (ctanh_downward_test_data): Likewise.
18946         (ctanh_test_downward): Likewise.
18947         (ctanh_upward_test_data): Likewise.
18948         (ctanh_test_upward): Likewise.
18949         (erf_test_data): Update call to AUTO_TESTS_f_f.
18950         (erfc_test_data): Likewise.
18951         (exp_test_data): Likewise.
18952         (exp_test): Use ALL_RM_TEST.
18953         (exp_tonearest_test_data): Remove.
18954         (exp_test_tonearest): Likewise.
18955         (exp_towardzero_test_data): Likewise.
18956         (exp_test_towardzero): Likewise.
18957         (exp_downward_test_data): Likewise.
18958         (exp_test_downward): Likewise.
18959         (exp_upward_test_data): Likewise.
18960         (exp_test_upward): Likewise.
18961         (exp10_test_data): Update call to AUTO_TESTS_f_f.
18962         (exp10_test): Use ALL_RM_TEST.
18963         (exp10_tonearest_test_data): Remove.
18964         (exp10_test_tonearest): Likewise.
18965         (exp10_towardzero_test_data): Likewise.
18966         (exp10_test_towardzero): Likewise.
18967         (exp10_downward_test_data): Likewise.
18968         (exp10_test_downward): Likewise.
18969         (exp10_upward_test_data): Likewise.
18970         (exp10_test_upward): Likewise.
18971         (exp2_test_data): Update call to AUTO_TESTS_f_f.
18972         (expm1_test_data): Likewise.
18973         (expm1_test): Use ALL_RM_TEST.
18974         (expm1_tonearest_test_data): Remove.
18975         (expm1_test_tonearest): Likewise.
18976         (expm1_towardzero_test_data): Likewise.
18977         (expm1_test_towardzero): Likewise.
18978         (expm1_downward_test_data): Likewise.
18979         (expm1_test_downward): Likewise.
18980         (expm1_upward_test_data): Likewise.
18981         (expm1_test_upward): Likewise.
18982         (fma_test_data): Update call to AUTO_TESTS_fff_f.
18983         (fma_test): Use ALL_RM_TEST.
18984         (fma_towardzero_test_data): Remove.
18985         (fma_test_towardzero): Likewise.
18986         (fma_downward_test_data): Likewise.
18987         (fma_test_downward): Likewise.
18988         (fma_upward_test_data): Likewise.
18989         (fma_test_upward): Likewise.
18990         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18991         (j0_test_data): Update call to AUTO_TESTS_f_f.
18992         (j1_test_data): Likewise.
18993         (jn_test_data): Update call to AUTO_TESTS_if_f.
18994         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18995         (log_test_data): Update call to AUTO_TESTS_f_f.
18996         (log10_test_data): Likewise.
18997         (log1p_test_data): Likewise.
18998         (log2_test_data): Likewise.
18999         (pow_test_data): Update call to AUTO_TESTS_ff_f.
19000         (pow_tonearest_test_data): Likewise.
19001         (sin_test_data): Update call to AUTO_TESTS_f_f.
19002         (sin_test): Use ALL_RM_TEST.
19003         (sin_tonearest_test_data): Remove.
19004         (sin_test_tonearest): Likewise.
19005         (sin_towardzero_test_data): Likewise.
19006         (sin_test_towardzero): Likewise.
19007         (sin_downward_test_data): Likewise.
19008         (sin_test_downward): Likewise.
19009         (sin_upward_test_data): Likewise.
19010         (sin_test_upward): Likewise.
19011         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19012         (sinh_test_data): Update call to AUTO_TESTS_f_f.
19013         (sinh_test): Use ALL_RM_TEST.
19014         (sinh_tonearest_test_data): Remove.
19015         (sinh_test_tonearest): Likewise.
19016         (sinh_towardzero_test_data): Likewise.
19017         (sinh_test_towardzero): Likewise.
19018         (sinh_downward_test_data): Likewise.
19019         (sinh_test_downward): Likewise.
19020         (sinh_upward_test_data): Likewise.
19021         (sinh_test_upward): Likewise.
19022         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19023         (sqrt_test): Use ALL_RM_TEST.
19024         (sqrt_tonearest_test_data): Remove.
19025         (sqrt_test_tonearest): Likewise.
19026         (sqrt_towardzero_test_data): Likewise.
19027         (sqrt_test_towardzero): Likewise.
19028         (sqrt_downward_test_data): Likewise.
19029         (sqrt_test_downward): Likewise.
19030         (sqrt_upward_test_data): Likewise.
19031         (sqrt_test_upward): Likewise.
19032         (tan_test_data): Update call to AUTO_TESTS_f_f.
19033         (tan_test): Use ALL_RM_TEST.
19034         (tan_tonearest_test_data): Remove.
19035         (tan_test_tonearest): Likewise.
19036         (tan_towardzero_test_data): Likewise.
19037         (tan_test_towardzero): Likewise.
19038         (tan_downward_test_data): Likewise.
19039         (tan_test_downward): Likewise.
19040         (tan_upward_test_data): Likewise.
19041         (tan_test_upward): Likewise.
19042         (tanh_test_data): Update call to AUTO_TESTS_f_f.
19043         (tgamma_test_data): Likewise.
19044         (y0_test_data): Likewise.
19045         (y1_test_data): Likewise.
19046         (yn_test_data): Update call to AUTO_TESTS_if_f.
19047         (main): Do not call removed functions.
19049 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19051         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19052         (ldexp_test_data): Remove.
19053         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
19054         scalbn_test_data.
19055         (scalb_test): Use ALL_RM_TEST.
19057 2014-03-19  Andreas Schwab  <schwab@suse.de>
19059         * nscd/nscd.service: Also invalidate netgroup cache on reload.
19061 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19063         [BZ #16649]
19064         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19065         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19066         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19067         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19068         (__ASSUME_PREADV): Undefine.
19069         (__ASSUME_PWRITEV): Likewise.
19071 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19073         * bits/mman-linux.h: Add comment about non-Linux use.
19074         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19075         bits/mman-linux.h resting place.
19077         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19078         * bits/mman-linux.h: ... here.
19080 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19082         * conform/conformtest.pl: Add standard definition when calling C
19083         preprocessor on data files.
19084         (checknamespace): Remove unused variable.
19086 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19088         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19089         minus_oflow, plus_uflow and minus_uflow in expected results.
19090         * math/libm-test.inc (scalbn_test_data): Add more tests of
19091         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
19092         minus_uflow.
19093         (scalbn_test): Use ALL_RM_TEST.
19094         (scalbln_test_data): Add more tests of negative arguments.  Use
19095         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19096         (scalbln_test): Use ALL_RM_TEST.
19098 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19100         * scripts/abilist.awk: Ignore symbols marked with .hidden.
19102 2014-03-18  Will Newton  <will.newton@linaro.org>
19104         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19105         inaccurate comment.
19107 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19109         * Makerules [!subdir] (check-abi): Exit with error status if a
19110         test failed.
19112 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19114         * math/libm-test.inc (nearbyint_test_data): Include all tests used
19115         for rint.  Include results for all rounding modes.
19116         (nearbyint_test): Use ALL_RM_TEST.
19117         (rint_test_data): Include all tests used for nearbyint.
19119 2014-03-17  Will Newton  <will.newton@linaro.org>
19121         * nptl/sysdeps/pthread/pthread.h: Revert previous
19122         change.
19124         * sysdeps/generic/ldsodefs.h: Revert previous
19125         change.
19127         * libio/genops.c: Revert previous change.
19128         * libio/libioP.h: Likewise.
19129         * stdio-common/vfprintf.c: Likewise.
19131         * sysdeps/generic/math_private.h: Revert previous
19132         change.
19134         * sysdeps/generic/math_private.h: Check whether
19135         HAVE_RM_CTX is defined with #ifdef rather
19136         than #if.
19138         * argp/argp-fmtstream.h: Check whether
19139         __STRICT_ANSI__ is defined with #ifdef rather
19140         than #if.
19141         * argp/argp.h: Likewise.
19143         * libio/genops.c: Check whether
19144         _IO_JUMPS_OFFSET is defined with #ifdef rather
19145         than #if.
19146         * libio/libioP.h: Likewise.
19147         * stdio-common/vfprintf.c: Likewise.
19149         * sysdeps/generic/ldsodefs.h: Check whether
19150         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19151         than #if.
19153         * nptl/sysdeps/pthread/pthread.h: Check
19154         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19155         its value.
19157 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19159         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19160         setting O_APPEND.
19161         * libio/tst-ftell-active-handler.c (do_append_test): Add a
19162         test case.
19164         [BZ #16680]
19165         * libio/fileops.c (_IO_file_open): Seek to end of file but
19166         don't cache the offset.
19167         (get_file_offset): Remove function.
19168         (do_ftell): Use cached offset when available.
19169         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19170         don't cache the offset.
19171         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19172         case.
19173         (do_one_test): Call it.
19174         (do_ftell_test): Fix up expected old offset for a+ mode.
19175         * libio/wfileops.c (do_ftell_wide): Used cached offset when
19176         available.
19178         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19179         up test status with function return status.
19180         (do_write_test): Likewise.
19181         (do_append_test): Likewise.
19183         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19184         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19185         Remove.
19187 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19189         * math/gen-libm-test.pl (parse_args): Handle results specified for
19190         each rounding mode separately.
19191         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19192         tests and results from lrint_tonearest_test_data,
19193         lrint_towardzero_test_data, lrint_downward_test_data and
19194         lrint_upward_test_data.
19195         (lrint_test): Use ALL_RM_TEST.
19196         (lrint_tonearest_test_data): Remove.
19197         (lrint_test_tonearest): Likewise.
19198         (lrint_towardzero_test_data): Likewise.
19199         (lrint_test_towardzero): Likewise.
19200         (lrint_downward_test_data): Likewise.
19201         (lrint_test_downward): Likewise.
19202         (lrint_upward_test_data): Likewise.
19203         (lrint_test_upward): Likewise.
19204         (llrint_test_data): Merge in per-rounding-mode tests and results
19205         from llrint_tonearest_test_data, llrint_towardzero_test_data,
19206         llrint_downward_test_data and llrint_upward_test_data.
19207         (llrint_test): Use ALL_RM_TEST.
19208         (llrint_tonearest_test_data): Remove.
19209         (llrint_test_tonearest): Likewise.
19210         (llrint_towardzero_test_data): Likewise.
19211         (llrint_test_towardzero): Likewise.
19212         (llrint_downward_test_data): Likewise.
19213         (llrint_test_downward): Likewise.
19214         (llrint_upward_test_data): Likewise.
19215         (llrint_test_upward): Likewise.
19216         (rint_test_data): Merge in per-rounding-mode tests and results
19217         from rint_tonearest_test_data, rint_towardzero_test_data,
19218         rint_downward_test_data and rint_upward_test_data.  Add
19219         per-rounding-mode results for tests not in those arrays.
19220         (rint_test): Use ALL_RM_TEST.
19221         (rint_tonearest_test_data): Remove.
19222         (rint_test_tonearest): Likewise.
19223         (rint_towardzero_test_data): Likewise.
19224         (rint_test_towardzero): Likewise.
19225         (rint_downward_test_data): Likewise.
19226         (rint_test_downward): Likewise.
19227         (rint_upward_test_data): Likewise.
19228         (rint_test_upward): Likewise.
19229         (main): Don't call removed functions.
19231 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19233         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19234         "Compiled on ..." crapola.  It is anti-useful.
19236 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
19238         * scripts/evaluate-test.sh: Handle fourth argument to determine
19239         whether test run should stop on failure.
19240         * Makeconfig (stop-on-test-failure): New variable.
19241         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19242         $(stop-on-test-failure).
19243         * Makefile (tests): Give a summary of results from testing and
19244         exit with failure status if they include an ERROR or FAIL.
19245         (xtests): Likewise.
19246         * manual/install.texi (Configuring and compiling): Mention
19247         stop-on-test-failure=y.
19248         * INSTALL: Regenerated.
19250 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19252         * scripts/versionlist.awk: New file.
19253         * Makerules [$(build-shared) = yes]
19254         (postclean-generated): Add Versions.def, not Versions.def.v and
19255         Versions.def.v.i.
19256         ($(common-objpfx)Versions.def.v.i): Target removed.
19257         ($(common-objpfx)Versions.def): New target.
19258         ($(common-objpfx)Versions.all): Depend on that rather that
19259         $(common-objpfx)Versions.def.v.
19260         * Versions.def: File removed.
19262         * Makeconfig (+gccwarn): Add -Wundef.
19263         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19264         a dl-sysdep.h breaking its contract.
19265         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19266         * include/stackinfo.h: New file.
19267         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19268         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19269         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19270         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19271         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19272         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19273         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19274         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19275         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19276         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19277         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19278         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19279         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19280         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19281         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19283 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19285         [BZ #16707]
19286         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19287         implementation.
19288         * math/libm-test.inc (round_test_data): Add more tests.
19290         [BZ #16706]
19291         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19292         implementation.
19293         * math/libm-test.inc (nearbyint_test_data): Add more tests.
19295         [BZ #16701]
19296         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19297         implementation.
19298         * math/libm-test.inc (ceil_test_data): Add more tests.
19300         * math/libm-test.inc (trunc_test_data): Add more tests related to
19301         BZ#16414.
19303 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19305         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19306         with #if rather than #ifdef.
19307         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19309 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
19311         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19312         first.  Disable AVX-512 GCC support if assembler doesn't support
19313         it.
19314         * sysdeps/x86_64/configure: Regenerated.
19316 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
19318         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19319         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19320         (__old_pthread_attr_setstack): Likewise.
19321         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19322         [!_STACK_GROWS_DOWN]: Likewise.
19324 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
19326         * config.make.in (have-bash2): Delete.
19327         * configure.ac (libc_cv_have_bash2): Delete.
19328         * configure: Regenerate.
19329         * elf/Makefile (common-ldd-rewrite): Rename to ...
19330         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
19331         (sh-ldd-rewrite): Delete.
19332         (bash-ldd-rewrite): Delete.
19333         (have-bash2): Delete checks.
19334         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19335         ldd-rewrite.
19337         * config.make.in (have-ksh): Delete.
19338         (KSH): Delete.
19339         * configure.ac (libc_cv_have_ksh): Delete.
19340         * configure: Regenerate.
19342         * elf/Makefile: Delete $(have-ksh) check.
19343         ($(objpfx)sotruss): Change KSH to BASH.
19344         * elf/sotruss.ksh: Rename to ...
19345         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
19346         function style to match POSIX.  Drop ksh vim mode setting.
19348         * manual/time.texi (Specifying the Time Zone with TZ): Change
19349         Tuesday to Thursday.
19351         * debug/tst-longjmp_chk2.c: Update header comment.
19352         (stackoverflow_handler): Add comment.  Call assert on pass value.
19354 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
19356         [BZ #16194]
19357         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19358         (HAVE_AVX512_ASM_SUPPORT): Likewise.
19359         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19360         (La_x86_64_vector): Add zmm.
19361         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19362         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19363         ($(objpfx)tst-audit10): New target.
19364         ($(objpfx)tst-audit10.out): Likewise.
19365         (tst-audit10-ENV): New.
19366         (AVX512-CFLAGS): Likewise.
19367         (CFLAGS-tst-audit10.c): Likewise.
19368         (CFLAGS-tst-auditmod10a.c): Likewise.
19369         (CFLAGS-tst-auditmod10b.c): Likewise.
19370         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19371         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19372         * sysdeps/x86_64/configure: Regenerated.
19373         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19374         AVX-512 zmm register support.
19375         (_dl_x86_64_save_sse): Likewise.
19376         (_dl_x86_64_restore_sse): Likewise.
19377         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19378         size vector registers.
19379         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19380         (ZMM_SIZE): Likewise.
19381         * sysdeps/x86_64/tst-audit10.c: New file.
19382         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19383         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19385 2014-03-13  Roland McGrath  <roland@hack.frob.com>
19387         * configure.ac (HAVE_EHDR_START): New check.
19388         * configure: Regenerated.
19389         * config.h.in (HAVE_EHDR_START): New #undef.
19390         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19391         assuming the lowest-addressed segment maps the start of the file.
19393 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
19395         * INSTALL: Regenerated.
19397 2014-03-13  Will Newton  <will.newton@linaro.org>
19399         * manual/setjmp.texi (System V contexts): Improve
19400         clarity and grammar of documentation.
19402 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19404         [BZ #16381]
19405         * elf/Makefile (tests): Add tst-pie2.
19406         (tests-pie): Add tst-pie2.
19407         * elf/tst-pie2.c: New file.
19408         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19409         for ET_EXEC.
19410         * elf/rtld.c (map_doit): Load executable as lt_executable.
19411         (dl_main): Likewise.
19413 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
19415         [BZ #16642]
19416         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19417         (__ASSUME_PSELECT): Undefine.
19419 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19421         [BZ #16689]
19422         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19423         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19424         static build.
19425         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19426         selector for static builds.
19428 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19430         [BZ #16695]
19431         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19432         key in the buffer.
19434 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19436         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19437         IFUNC selector for static builds.
19439 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
19441         * sysdeps/mips/math_private.h [__mips_hard_float]
19442         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19443         libc_feresetround_mips_ctx.
19444         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19445         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19446         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19448         [BZ #16677]
19449         * math/s_nextafter.c (__nextafter): Do not return value from
19450         overflowing computation.
19451         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19452         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19453         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19454         Likewise.
19455         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19456         Likewise.
19457         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19458         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19460 2014-03-11  Roland McGrath  <roland@hack.frob.com>
19462         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19463         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19464         Move sfi_sp use from the load-multiple (that no longer sets sp) to
19465         the new mov targetting sp.
19467 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19469         [BZ #16683]
19470         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19471         Define it for static builds as well.
19472         (NO_BZERO_IMPL): Likewise.
19474 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19476         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19477         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19478         multiarch strspn for PPC64.
19479         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19480         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19482         (__libc_ifunc_impl_list): Likewise.
19483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19484         multiarch optimizations
19485         * string/strspn.c (strspn): Using macro to redefine symbol name.
19487 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19488             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19490         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19491         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19492         multiarch strncat for PPC64.
19493         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19494         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19496         (__libc_ifunc_impl_list): Likewise.
19497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19498         multiarch optimizations
19500 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19502         [BZ #16639]
19503         * nscd/nscd.service: Make service type forking.
19505 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19507         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19508         sign in non default rounding modes.
19509         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19511 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
19513         * math/libm-test.inc (ALL_RM_TEST): New macro.
19514         (ceil_test): Use ALL_RM_TEST.
19515         (cimag_test): Likewise.
19516         (conj_test): Likewise.
19517         (copysign_test): Likewise.
19518         (cproj_test): Likewise.
19519         (creal_test): Likewise.
19520         (fabs_test): Likewise.
19521         (floor_test): Likewise.
19522         (fmax_test): Likewise.
19523         (fmin_test): Likewise.
19524         (fmod_test): Likewise.
19525         (fpclassify_test): Likewise.
19526         (frexp_test): Likewise.
19527         (ilogb_test): Likewise.
19528         (isfinite_test): Likewise.
19529         (finite_test): Likewise.
19530         (isgreater_test): Likewise.
19531         (isgreaterequal_test): Likewise.
19532         (isinf_test): Likewise.
19533         (isless_test): Likewise.
19534         (islessequal_test): Likewise.
19535         (islessgreater_test): Likewise.
19536         (isnan_test): Likewise.
19537         (isnormal_test): Likewise.
19538         (issignaling_test): Likewise.
19539         (isunordered_test): Likewise.
19540         (logb_test): Likewise.
19541         (logb_downward_test_data): Remove.
19542         (logb_test_downward): Likewise.
19543         (lround_test): Use ALL_RM_TEST.
19544         (llround_test): Likewise.
19545         (modf_test): Likewise.
19546         (nexttoward_test): Likewise.
19547         (remainder_test): Likewise.
19548         (drem_test): Likewise.
19549         (remainder_tonearest_test_data): Likewise.
19550         (remainder_test_tonearest): Likewise.
19551         (drem_test_tonearest): Likewise.
19552         (remainder_towardzero_test_data): Likewise.
19553         (remainder_test_towardzero): Likewise.
19554         (drem_test_towardzero): Likewise.
19555         (remainder_downward_test_data): Likewise.
19556         (remainder_test_downward): Likewise.
19557         (drem_test_downward): Likewise.
19558         (remainder_upward_test_data): Likewise.
19559         (remainder_test_upward): Likewise.
19560         (drem_test_upward): Likewise.
19561         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
19562         (round_test): Use ALL_RM_TEST.
19563         (signbit_test): Likewise.
19564         (trunc_test): Likewise.
19565         (significand_test): Likewise.
19566         (main): Don't call removed functions.
19568 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19570         [BZ #16674]
19571         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19572         || __USE_XOPEN2K8].
19573         (ILL_ILLOPN): Likewise.
19574         (ILL_ILLADR): Likewise.
19575         (ILL_ILLTRP): Likewise.
19576         (ILL_PRVOPC): Likewise.
19577         (ILL_PRVREG): Likewise.
19578         (ILL_COPROC): Likewise.
19579         (ILL_BADSTK): Likewise.
19580         (FPE_INTDIV): Likewise.
19581         (FPE_INTOVF): Likewise.
19582         (FPE_FLTDIV): Likewise.
19583         (FPE_FLTOVF): Likewise.
19584         (FPE_FLTUND): Likewise.
19585         (FPE_FLTRES): Likewise.
19586         (FPE_FLTINV): Likewise.
19587         (FPE_FLTSUB): Likewise.
19588         (SEGV_MAPERR): Likewise.
19589         (SEGV_ACCERR): Likewise.
19590         (BUS_ADRALN): Likewise.
19591         (BUS_ADRERR): Likewise.
19592         (BUS_OBJERR): Likewise.
19593         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19594         (TRAP_TRACE): Likewise.
19595         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19596         __USE_XOPEN2K8].
19597         (CLD_KILLED): Likewise.
19598         (CLD_DUMPED): Likewise.
19599         (CLD_TRAPPED): Likewise.
19600         (CLD_STOPPED): Likewise.
19601         (CLD_CONTINUED): Likewise.
19602         (POLL_IN): Likewise.
19603         (POLL_OUT): Likewise.
19604         (POLL_MSG): Likewise.
19605         (POLL_ERR): Likewise.
19606         (POLL_PRI): Likewise.
19607         (POLL_HUP): Likewise.
19608         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19609         Likewise.
19610         (ILL_ILLOPN): Likewise.
19611         (ILL_ILLADR): Likewise.
19612         (ILL_ILLTRP): Likewise.
19613         (ILL_PRVOPC): Likewise.
19614         (ILL_PRVREG): Likewise.
19615         (ILL_COPROC): Likewise.
19616         (ILL_BADSTK): Likewise.
19617         (FPE_INTDIV): Likewise.
19618         (FPE_INTOVF): Likewise.
19619         (FPE_FLTDIV): Likewise.
19620         (FPE_FLTOVF): Likewise.
19621         (FPE_FLTUND): Likewise.
19622         (FPE_FLTRES): Likewise.
19623         (FPE_FLTINV): Likewise.
19624         (FPE_FLTSUB): Likewise.
19625         (SEGV_MAPERR): Likewise.
19626         (SEGV_ACCERR): Likewise.
19627         (BUS_ADRALN): Likewise.
19628         (BUS_ADRERR): Likewise.
19629         (BUS_OBJERR): Likewise.
19630         (BUS_MCEERR_AR): Likewise.
19631         (BUS_MCEERR_AO): Likewise.
19632         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19633         (TRAP_TRACE): Likewise.
19634         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19635         __USE_XOPEN2K8].
19636         (CLD_KILLED): Likewise.
19637         (CLD_DUMPED): Likewise.
19638         (CLD_TRAPPED): Likewise.
19639         (CLD_STOPPED): Likewise.
19640         (CLD_CONTINUED): Likewise.
19641         (POLL_IN): Likewise.
19642         (POLL_OUT): Likewise.
19643         (POLL_MSG): Likewise.
19644         (POLL_ERR): Likewise.
19645         (POLL_PRI): Likewise.
19646         (POLL_HUP): Likewise.
19647         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19648         (ILL_ILLOPN): Likewise.
19649         (ILL_ILLADR): Likewise.
19650         (ILL_ILLTRP): Likewise.
19651         (ILL_PRVOPC): Likewise.
19652         (ILL_PRVREG): Likewise.
19653         (ILL_COPROC): Likewise.
19654         (ILL_BADSTK): Likewise.
19655         (FPE_INTDIV): Likewise.
19656         (FPE_INTOVF): Likewise.
19657         (FPE_FLTDIV): Likewise.
19658         (FPE_FLTOVF): Likewise.
19659         (FPE_FLTUND): Likewise.
19660         (FPE_FLTRES): Likewise.
19661         (FPE_FLTINV): Likewise.
19662         (FPE_FLTSUB): Likewise.
19663         (SEGV_MAPERR): Likewise.
19664         (SEGV_ACCERR): Likewise.
19665         (BUS_ADRALN): Likewise.
19666         (BUS_ADRERR): Likewise.
19667         (BUS_OBJERR): Likewise.
19668         (BUS_MCEERR_AR): Likewise.
19669         (BUS_MCEERR_AO): Likewise.
19670         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19671         (TRAP_TRACE): Likewise.
19672         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19673         __USE_XOPEN2K8].
19674         (CLD_KILLED): Likewise.
19675         (CLD_DUMPED): Likewise.
19676         (CLD_TRAPPED): Likewise.
19677         (CLD_STOPPED): Likewise.
19678         (CLD_CONTINUED): Likewise.
19679         (POLL_IN): Likewise.
19680         (POLL_OUT): Likewise.
19681         (POLL_MSG): Likewise.
19682         (POLL_ERR): Likewise.
19683         (POLL_PRI): Likewise.
19684         (POLL_HUP): Likewise.
19685         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19686         Likewise.
19687         (ILL_ILLOPN): Likewise.
19688         (ILL_ILLADR): Likewise.
19689         (ILL_ILLTRP): Likewise.
19690         (ILL_PRVOPC): Likewise.
19691         (ILL_PRVREG): Likewise.
19692         (ILL_COPROC): Likewise.
19693         (ILL_BADSTK): Likewise.
19694         (ILL_BADIADDR): Likewise.
19695         (ILL_BREAK): Likewise.
19696         (FPE_INTDIV): Likewise.
19697         (FPE_INTOVF): Likewise.
19698         (FPE_FLTDIV): Likewise.
19699         (FPE_FLTOVF): Likewise.
19700         (FPE_FLTUND): Likewise.
19701         (FPE_FLTRES): Likewise.
19702         (FPE_FLTINV): Likewise.
19703         (FPE_FLTSUB): Likewise.
19704         (FPE_DECOVF): Likewise.
19705         (FPE_DECDIV): Likewise.
19706         (FPE_DECERR): Likewise.
19707         (FPE_INVASC): Likewise.
19708         (FPE_INVDEC): Likewise.
19709         (SEGV_MAPERR): Likewise.
19710         (SEGV_ACCERR): Likewise.
19711         (SEGV_PSTKOVF): Likewise.
19712         (BUS_ADRALN): Likewise.
19713         (BUS_ADRERR): Likewise.
19714         (BUS_OBJERR): Likewise.
19715         (BUS_MCEERR_AR): Likewise.
19716         (BUS_MCEERR_AO): Likewise.
19717         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19718         (TRAP_TRACE): Likewise.
19719         (TRAP_BRANCH): Likewise.
19720         (TRAP_HWBKPT): Likewise.
19721         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19722         __USE_XOPEN2K8].
19723         (CLD_KILLED): Likewise.
19724         (CLD_DUMPED): Likewise.
19725         (CLD_TRAPPED): Likewise.
19726         (CLD_STOPPED): Likewise.
19727         (CLD_CONTINUED): Likewise.
19728         (POLL_IN): Likewise.
19729         (POLL_OUT): Likewise.
19730         (POLL_MSG): Likewise.
19731         (POLL_ERR): Likewise.
19732         (POLL_PRI): Likewise.
19733         (POLL_HUP): Likewise.
19734         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19735         (ILL_ILLOPN): Likewise.
19736         (ILL_ILLADR): Likewise.
19737         (ILL_ILLTRP): Likewise.
19738         (ILL_PRVOPC): Likewise.
19739         (ILL_PRVREG): Likewise.
19740         (ILL_COPROC): Likewise.
19741         (ILL_BADSTK): Likewise.
19742         (FPE_INTDIV): Likewise.
19743         (FPE_INTOVF): Likewise.
19744         (FPE_FLTDIV): Likewise.
19745         (FPE_FLTOVF): Likewise.
19746         (FPE_FLTUND): Likewise.
19747         (FPE_FLTRES): Likewise.
19748         (FPE_FLTINV): Likewise.
19749         (FPE_FLTSUB): Likewise.
19750         (SEGV_MAPERR): Likewise.
19751         (SEGV_ACCERR): Likewise.
19752         (BUS_ADRALN): Likewise.
19753         (BUS_ADRERR): Likewise.
19754         (BUS_OBJERR): Likewise.
19755         (BUS_MCEERR_AR): Likewise.
19756         (BUS_MCEERR_AO): Likewise.
19757         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19758         (TRAP_TRACE): Likewise.
19759         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19760         __USE_XOPEN2K8].
19761         (CLD_KILLED): Likewise.
19762         (CLD_DUMPED): Likewise.
19763         (CLD_TRAPPED): Likewise.
19764         (CLD_STOPPED): Likewise.
19765         (CLD_CONTINUED): Likewise.
19766         (POLL_IN): Likewise.
19767         (POLL_OUT): Likewise.
19768         (POLL_MSG): Likewise.
19769         (POLL_ERR): Likewise.
19770         (POLL_PRI): Likewise.
19771         (POLL_HUP): Likewise.
19772         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19773         (ILL_ILLOPN): Likewise.
19774         (ILL_ILLADR): Likewise.
19775         (ILL_ILLTRP): Likewise.
19776         (ILL_PRVOPC): Likewise.
19777         (ILL_PRVREG): Likewise.
19778         (ILL_COPROC): Likewise.
19779         (ILL_BADSTK): Likewise.
19780         (FPE_INTDIV): Likewise.
19781         (FPE_INTOVF): Likewise.
19782         (FPE_FLTDIV): Likewise.
19783         (FPE_FLTOVF): Likewise.
19784         (FPE_FLTUND): Likewise.
19785         (FPE_FLTRES): Likewise.
19786         (FPE_FLTINV): Likewise.
19787         (FPE_FLTSUB): Likewise.
19788         (SEGV_MAPERR): Likewise.
19789         (SEGV_ACCERR): Likewise.
19790         (BUS_ADRALN): Likewise.
19791         (BUS_ADRERR): Likewise.
19792         (BUS_OBJERR): Likewise.
19793         (BUS_MCEERR_AR): Likewise.
19794         (BUS_MCEERR_AO): Likewise.
19795         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19796         (TRAP_TRACE): Likewise.
19797         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19798         __USE_XOPEN2K8].
19799         (CLD_KILLED): Likewise.
19800         (CLD_DUMPED): Likewise.
19801         (CLD_TRAPPED): Likewise.
19802         (CLD_STOPPED): Likewise.
19803         (CLD_CONTINUED): Likewise.
19804         (POLL_IN): Likewise.
19805         (POLL_OUT): Likewise.
19806         (POLL_MSG): Likewise.
19807         (POLL_ERR): Likewise.
19808         (POLL_PRI): Likewise.
19809         (POLL_HUP): Likewise.
19810         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19811         (ILL_ILLOPN): Likewise.
19812         (ILL_ILLADR): Likewise.
19813         (ILL_ILLTRP): Likewise.
19814         (ILL_PRVOPC): Likewise.
19815         (ILL_PRVREG): Likewise.
19816         (ILL_COPROC): Likewise.
19817         (ILL_BADSTK): Likewise.
19818         (FPE_INTDIV): Likewise.
19819         (FPE_INTOVF): Likewise.
19820         (FPE_FLTDIV): Likewise.
19821         (FPE_FLTOVF): Likewise.
19822         (FPE_FLTUND): Likewise.
19823         (FPE_FLTRES): Likewise.
19824         (FPE_FLTINV): Likewise.
19825         (FPE_FLTSUB): Likewise.
19826         (SEGV_MAPERR): Likewise.
19827         (SEGV_ACCERR): Likewise.
19828         (BUS_ADRALN): Likewise.
19829         (BUS_ADRERR): Likewise.
19830         (BUS_OBJERR): Likewise.
19831         (BUS_MCEERR_AR): Likewise.
19832         (BUS_MCEERR_AO): Likewise.
19833         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19834         (TRAP_TRACE): Likewise.
19835         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19836         __USE_XOPEN2K8].
19837         (CLD_KILLED): Likewise.
19838         (CLD_DUMPED): Likewise.
19839         (CLD_TRAPPED): Likewise.
19840         (CLD_STOPPED): Likewise.
19841         (CLD_CONTINUED): Likewise.
19842         (POLL_IN): Likewise.
19843         (POLL_OUT): Likewise.
19844         (POLL_MSG): Likewise.
19845         (POLL_ERR): Likewise.
19846         (POLL_PRI): Likewise.
19847         (POLL_HUP): Likewise.
19848         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19849         (ILL_ILLOPN): Likewise.
19850         (ILL_ILLADR): Likewise.
19851         (ILL_ILLTRP): Likewise.
19852         (ILL_PRVOPC): Likewise.
19853         (ILL_PRVREG): Likewise.
19854         (ILL_COPROC): Likewise.
19855         (ILL_BADSTK): Likewise.
19856         (ILL_DBLFLT): Likewise.
19857         (ILL_HARDWALL): Likewise.
19858         (FPE_INTDIV): Likewise.
19859         (FPE_INTOVF): Likewise.
19860         (FPE_FLTDIV): Likewise.
19861         (FPE_FLTOVF): Likewise.
19862         (FPE_FLTUND): Likewise.
19863         (FPE_FLTRES): Likewise.
19864         (FPE_FLTINV): Likewise.
19865         (FPE_FLTSUB): Likewise.
19866         (SEGV_MAPERR): Likewise.
19867         (SEGV_ACCERR): Likewise.
19868         (BUS_ADRALN): Likewise.
19869         (BUS_ADRERR): Likewise.
19870         (BUS_OBJERR): Likewise.
19871         (BUS_MCEERR_AR): Likewise.
19872         (BUS_MCEERR_AO): Likewise.
19873         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19874         (TRAP_TRACE): Likewise.
19875         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19876         __USE_XOPEN2K8].
19877         (CLD_KILLED): Likewise.
19878         (CLD_DUMPED): Likewise.
19879         (CLD_TRAPPED): Likewise.
19880         (CLD_STOPPED): Likewise.
19881         (CLD_CONTINUED): Likewise.
19882         (POLL_IN): Likewise.
19883         (POLL_OUT): Likewise.
19884         (POLL_MSG): Likewise.
19885         (POLL_ERR): Likewise.
19886         (POLL_PRI): Likewise.
19887         (POLL_HUP): Likewise.
19888         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19889         (ILL_ILLOPN): Likewise.
19890         (ILL_ILLADR): Likewise.
19891         (ILL_ILLTRP): Likewise.
19892         (ILL_PRVOPC): Likewise.
19893         (ILL_PRVREG): Likewise.
19894         (ILL_COPROC): Likewise.
19895         (ILL_BADSTK): Likewise.
19896         (FPE_INTDIV): Likewise.
19897         (FPE_INTOVF): Likewise.
19898         (FPE_FLTDIV): Likewise.
19899         (FPE_FLTOVF): Likewise.
19900         (FPE_FLTUND): Likewise.
19901         (FPE_FLTRES): Likewise.
19902         (FPE_FLTINV): Likewise.
19903         (FPE_FLTSUB): Likewise.
19904         (SEGV_MAPERR): Likewise.
19905         (SEGV_ACCERR): Likewise.
19906         (BUS_ADRALN): Likewise.
19907         (BUS_ADRERR): Likewise.
19908         (BUS_OBJERR): Likewise.
19909         (BUS_MCEERR_AR): Likewise.
19910         (BUS_MCEERR_AO): Likewise.
19911         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19912         (TRAP_TRACE): Likewise.
19913         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19914         __USE_XOPEN2K8].
19915         (CLD_KILLED): Likewise.
19916         (CLD_DUMPED): Likewise.
19917         (CLD_TRAPPED): Likewise.
19918         (CLD_STOPPED): Likewise.
19919         (CLD_CONTINUED): Likewise.
19920         (POLL_IN): Likewise.
19921         (POLL_OUT): Likewise.
19922         (POLL_MSG): Likewise.
19923         (POLL_ERR): Likewise.
19924         (POLL_PRI): Likewise.
19925         (POLL_HUP): Likewise.
19926         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19927         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19929         [BZ #16670]
19930         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19931         before #include of <time.h>.
19932         [!__USE_XOPEN2K] (__need_timespec): Likewise.
19933         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19934         (test-xfail-UNIX98/sched.h/conform): Likewise.
19936 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19938         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19939         error absence of trapping exception support.
19940         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19942 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19944         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19945         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19946         * timezone/Makefile (testdata): Move definition above include of
19947         Rules.
19948         (test-zones): New variable.
19949         (tests-special): Add zone files.
19950         (build-testdata): Use $(evaluate-test).
19952         * elf/Makefile (tests-special): Rename tests to end with .out.
19953         ($(objpfx)noload-mem): Likewise.
19954         ($(objpfx)tst-leaks1-mem): Likewise.
19955         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19956         * iconv/Makefile (xtests-special): Change test-iconvconfig to
19957         $(objpfx)test-iconvconfig.out.
19958         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
19959         set -e inside subshell and redirect output to file.
19960         * iconvdata/Makefile (generated): Rename tests to end with .out.
19961         Correct type.
19962         (tests-special): Rename tests to end with .out.
19963         ($(objpfx)mtrace-tst-loading): Likewise.
19964         * intl/Makefile (generated): Likewise.
19965         (tests-special): Likewise.
19966         ($(objpfx)mtrace-tst-gettext): Likewise.
19967         * misc/Makefile (generated): Likewise.
19968         (tests-special): Likewise.
19969         ($(objpfx)tst-error1-mem): Likewise.
19970         * nptl/Makefile (tests-special): Likewise.
19971         ($(objpfx)tst-stack3-mem): Likewise.
19972         (generated): Likewise.
19973         * posix/Makefile (generated): Likewise.
19974         (tests-special): Likewise.
19975         (xtests-special): Likewise.
19976         ($(objpfx)tst-fnmatch-mem): Likewise.
19977         ($(objpfx)bug-regex2-mem): Likewise.
19978         ($(objpfx)bug-regex14-mem): Likewise.
19979         ($(objpfx)bug-regex21-mem): Likewise.
19980         ($(objpfx)bug-regex31-mem): Likewise.
19981         ($(objpfx)tst-vfork3-mem): Likewise.
19982         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19983         ($(objpfx)tst-pcre-mem): Likewise.
19984         ($(objpfx)tst-boost-mem): Likewise.
19985         ($(objpfx)bug-ga2-mem): Likewise.
19986         ($(objpfx)bug-glob2-mem): Likewise.
19987         * resolv/Makefile (generate): Likewise.
19988         (tests-special): Likewise.
19989         (xtests-special): Likewise.
19990         (generated): Likewise.
19991         ($(objpfx)mtrace-tst-leaks): Likewise.
19992         ($(objpfx)mtrace-tst-leaks2): Likewise.
19994         * scripts/merge-test-results.sh: New file.
19995         * Makefile (tests-special-notdir): New variable.
19996         (tests): Run merge-test-results.sh.
19997         (xtests): Likewise.
19998         * Rules (tests-special-notdir): New variable.
19999         (xtests-special-notdir): Likewise.
20000         (tests): Run merge-test-results.sh
20001         (xtests): Likewise.
20003         * Makeconfig (test-xfail-name): New variable.
20004         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20005         compute variable name for expected failures.
20006         * conform/Makefile (conformtest-headers-data): New variable.
20007         (conformtest-standards): Likewise.
20008         (conformtest-headers-ISO): Likewise.
20009         (conformtest-headers-ISO99): Likewise.
20010         (conformtest-headers-ISO11): Likewise.
20011         (conformtest-headers-POSIX): Likewise.
20012         (conformtest-headers-XPG3): Likewise.
20013         (conformtest-headers-XPG4): Likewise.
20014         (conformtest-headers-UNIX98): Likewise.
20015         (conformtest-headers-XOPEN2K): Likewise.
20016         (conformtest-headers-POSIX2008): Likewise.
20017         (conformtest-headers-XOPEN2K8): Likewise.
20018         (conformtest-header-list-base): Likewise.
20019         (conformtest-header-list-tests): Likewise.
20020         (conformtest-header-base): Likewise.
20021         (conformtest-header-tests): Likewise.
20022         (tests-special): Add $(conformtest-header-list-tests).  If
20023         [$(fast-check) && !$(cross-compiling)], add
20024         $(conformtest-header-tests) instead of
20025         $(objpfx)run-conformtest.out.
20026         (generated): Add $(conformtest-header-list-base).  If
20027         [$(fast-check) && !$(cross-compiling)], add
20028         $(conformtest-header-base).  Remove previous setting.
20029         ($(conformtest-header-list-tests)): New target.
20030         (test-xfail-run-conformtest): Remove variable.
20031         ($(objpfx)run-conformtest.out): Remove target.
20032         (test-xfail-ISO11/complex.h/conform): New variable.
20033         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20034         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20035         (test-xfail-XPG3/varargs.h/conform): Likewise.
20036         (test-xfail-XPG4/varargs.h/conform): Likewise.
20037         (test-xfail-UNIX98/varargs.h/conform): Likewise.
20038         (test-xfail-XPG4/ndbm.h/conform): Likewise.
20039         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20040         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20041         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20042         (test-xfail-XPG3/fcntl.h/conform): Likewise.
20043         (test-xfail-XPG3/ftw.h/conform): Likewise.
20044         (test-xfail-XPG3/grp.h/conform): Likewise.
20045         (test-xfail-XPG3/langinfo.h/conform): Likewise.
20046         (test-xfail-XPG3/limits.h/conform): Likewise.
20047         (test-xfail-XPG3/pwd.h/conform): Likewise.
20048         (test-xfail-XPG3/search.h/conform): Likewise.
20049         (test-xfail-XPG3/signal.h/conform): Likewise.
20050         (test-xfail-XPG3/stdio.h/conform): Likewise.
20051         (test-xfail-XPG3/stdlib.h/conform): Likewise.
20052         (test-xfail-XPG3/string.h/conform): Likewise.
20053         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20054         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20055         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20056         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20057         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20058         (test-xfail-XPG3/sys/types.h/conform): Likewise.
20059         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20060         (test-xfail-XPG3/termios.h/conform): Likewise.
20061         (test-xfail-XPG3/time.h/conform): Likewise.
20062         (test-xfail-XPG3/unistd.h/conform): Likewise.
20063         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20064         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20065         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20066         (test-xfail-XPG4/netdb.h/conform): Likewise.
20067         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20068         (test-xfail-XPG4/signal.h/conform): Likewise.
20069         (test-xfail-XPG4/stdio.h/conform): Likewise.
20070         (test-xfail-XPG4/stdlib.h/conform): Likewise.
20071         (test-xfail-XPG4/stropts.h/conform): Likewise.
20072         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20073         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20074         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20075         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20076         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20077         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20078         (test-xfail-XPG4/sys/time.h/conform): Likewise.
20079         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20080         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20081         (test-xfail-XPG4/termios.h/conform): Likewise.
20082         (test-xfail-XPG4/ucontext.h/conform): Likewise.
20083         (test-xfail-XPG4/unistd.h/conform): Likewise.
20084         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20085         (test-xfail-POSIX/sched.h/conform): Likewise.
20086         (test-xfail-POSIX/signal.h/conform): Likewise.
20087         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20088         (test-xfail-POSIX/tar.h/conform): Likewise.
20089         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20090         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20091         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20092         (test-xfail-UNIX98/netdb.h/conform): Likewise.
20093         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20094         (test-xfail-UNIX98/sched.h/conform): Likewise.
20095         (test-xfail-UNIX98/signal.h/conform): Likewise.
20096         (test-xfail-UNIX98/stdio.h/conform): Likewise.
20097         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20098         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20099         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20100         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20101         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20102         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20103         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20104         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20105         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20106         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20107         (test-xfail-UNIX98/unistd.h/conform): Likewise.
20108         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20109         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20110         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20111         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20112         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20113         (test-xfail-XOPEN2K/math.h/conform): Likewise.
20114         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20115         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20116         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20117         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20118         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20119         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20120         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20121         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20122         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20123         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20124         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20125         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20126         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20127         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20128         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20129         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20130         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20131         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20132         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20133         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20134         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20135         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20136         (test-xfail-POSIX2008/signal.h/conform): Likewise.
20137         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20138         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20139         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20140         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20141         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20142         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20143         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20144         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20145         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20146         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20147         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20148         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20149         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20150         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20151         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20152         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20153         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20154         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20155         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20156         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20157         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20158         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20159         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20160         (conformtest-cc-flags): Likewise.
20161         ($(conformtest-header-tests): New target.
20162         * conform/check-header-lists.sh: New file.
20163         * conform/run-conformtest.sh: Remove.
20165         * conform/conformtest.pl: Allow ' and \ in values given for
20166         constants.
20167         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20168         inclusion.
20169         [POSIX] (sys/types.h): Likewise.
20170         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20171         inclusion.
20172         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20173         inclusion.
20174         * conform/data/signal.h-data (SIGIO): Remove expectation.
20175         [XPG3] (SIGBUS): Do not expect.
20176         [POSIX || XPG3] (SIGPOLL): Likewise.
20177         [POSIX || XPG3] (SIGPROF): Likewise.
20178         [POSIX || XPG3] (SIGSYS): Likewise.
20179         [XPG3] (SIGTRAP): Likewise.
20180         [POSIX || XPG3] (SIGURG): Likewise.
20181         [POSIX || XPG3] (SIGVTALRM): Likewise.
20182         [POSIX || XPG3] (SIGXCPU): Likewise.
20183         [POSIX || XPG3] (SIGXFSZ): Likewise.
20184         [POSIX] (SA_SIGINFO): Expect.
20185         [XPG3] (siginfo_t): Do not expect type or contents.
20186         [POSIX] (si_pid): Do not expect element.
20187         [POSIX] (si_uid): Likewise.
20188         [POSIX] (si_addr): Likewise.
20189         [POSIX] (si_status): Likewise.
20190         [POSIX] (si_band): Likewise.
20191         [XPG4] (si_value): Likewise.
20192         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20193         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20194         [POSIX || XPG3] (ILL_ILLADR): Likewise.
20195         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20196         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20197         [POSIX || XPG3] (ILL_PRVREG): Likewise.
20198         [POSIX || XPG3] (ILL_COPROC): Likewise.
20199         [POSIX || XPG3] (ILL_BADSTK): Likewise.
20200         [POSIX || XPG3] (FPE_INTDIV): Likewise.
20201         [POSIX || XPG3] (FPE_INTOVF): Likewise.
20202         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20203         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20204         [POSIX || XPG3] (FPE_FLTUND): Likewise.
20205         [POSIX || XPG3] (FPE_FLTRES): Likewise.
20206         [POSIX || XPG3] (FPE_FLTINV): Likewise.
20207         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20208         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20209         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20210         [POSIX || XPG3] (BUS_ADRALN): Likewise.
20211         [POSIX || XPG3] (BUS_ADRERR): Likewise.
20212         [POSIX || XPG3] (BUS_OBJERR): Likewise.
20213         [POSIX || XPG3] (CLD_EXITED): Likewise.
20214         [POSIX || XPG3] (CLD_KILLED): Likewise.
20215         [POSIX || XPG3] (CLD_DUMPED): Likewise.
20216         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20217         [POSIX || XPG3] (CLD_STOPPED): Likewise.
20218         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20219         [POSIX || XPG3] (POLL_IN): Likewise.
20220         [POSIX || XPG3] (POLL_OUT): Likewise.
20221         [POSIX || XPG3] (POLL_MSG): Likewise.
20222         [POSIX || XPG3] (POLL_ERR): Likewise.
20223         [POSIX || XPG3] (POLL_PRI): Likewise.
20224         [POSIX || XPG3] (POLL_HUP): Likewise.
20225         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20226         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20227         (SIG*): Do not allow.
20228         [XPG3] (si_*): Likewise.
20229         [XPG3] (SI_*): Likewise.
20230         [XPG3 || XPG4] (sigev_*): Likewise.
20231         [XPG3 || XPG4] (SIGEV_*): Likewise.
20232         [XPG3 || XPG4] (sival_*): Likewise.
20233         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20234         [POSIX || XPG3] (BUS_*): Likewise.
20235         [POSIX || XPG3] (CLD_*): Likewise.
20236         [POSIX || XPG3] (FPE_*): Likewise.
20237         [POSIX || XPG3] (ILL_*): Likewise.
20238         [POSIX || XPG3] (POLL_*): Likewise.
20239         [POSIX || XPG3] (SEGV_*): Likewise.
20240         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20241         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20242         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20243         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20244         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20245         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20246         Specify type and value.
20247         (TVERSLEN): Likewise.
20248         (REGTYPE): Likewise.
20249         (AREGTYPE): Likewise.
20250         (LNKTYPE): Likewise.
20251         (SYMTYPE): Likewise.
20252         (CHRTYPE): Likewise.
20253         (BLKTYPE): Likewise.
20254         (DIRTYPE): Likewise.
20255         (FIFOTYPE): Likewise.
20256         (CONTTYPE): Likewise.
20257         (TSUID): Likewise.
20258         (TSGID): Likewise.
20259         (TSVTX): Likewise.
20260         (TUREAD): Likewise.
20261         (TUWRITE): Likewise.
20262         (TUEXEC): Likewise.
20263         (TGREAD): Likewise.
20264         (TGWRITE): Likewise.
20265         (TGEXEC): Likewise.
20266         (TOREAD): Likewise.
20267         (TOWRITE): Likewise.
20268         (TOEXEC): Likewise.
20269         [POSIX] (TSVTX): Expect constant.
20271 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
20273         * Makefile (tests): Change dependencies to ....
20274         (tests-special): ... additions to this variable.
20275         (tests): Depend on $(tests-special).
20276         * Makerules (check-abi-list): New variable.
20277         (check-abi): Depend on $(check-abi-list).
20278         [$(subdir) = elf] (tests-special): Add
20279         $(objpfx)check-abi-libc.out.
20280         [$(build-shared) = yes && subdir] (tests-special): Add
20281         $(check-abi-list).
20282         [$(build-shared) = yes && subdir] (tests): Do not depend on
20283         check-abi.
20284         * Rules (tests): Depend on $(tests-special).
20285         (xtests): Depend on $(xtests-special).
20286         * catgets/Makefile (tests): Change dependencies to ....
20287         (tests-special): ... additions to this variable.
20288         * conform/Makefile (tests): Change dependencies to ....
20289         (tests-special): ... additions to this variable.
20290         * elf/Makefile (tests): Change dependencies to ....
20291         (tests-special): ... additions to this variable.
20292         * grp/Makefile (tests): Change dependencies to ....
20293         (tests-special): ... additions to this variable.
20294         * iconv/Makefile (xtests): Change dependencies to ....
20295         (xtests-special): ... additions to this variable.
20296         * iconvdata/Makefile (tests): Change dependencies to ....
20297         (tests-special): ... additions to this variable.
20298         * intl/Makefile (tests): Change dependencies to ....
20299         (tests-special): ... additions to this variable.  Also add
20300         $(objpfx)tst-gettext.out.
20301         * io/Makefile (tests): Change dependencies to ....
20302         (tests-special): ... additions to this variable.
20303         * libio/Makefile (tests): Change dependencies to ....
20304         (tests-special): ... additions to this variable.
20305         * malloc/Makefile (tests): Change dependencies to ....
20306         (tests-special): ... additions to this variable.
20307         * misc/Makefile (tests): Change dependencies to ....
20308         (tests-special): ... additions to this variable.
20309         * nptl/Makefile (tests): Change dependencies to ....
20310         (tests-special): ... additions to this variable.
20311         * nptl_db/Makefile (tests): Change dependencies to ....
20312         (tests-special): ... additions to this variable.
20313         * posix/Makefile (tests): Change dependencies to ....
20314         (tests-special): ... additions to this variable.
20315         (xtests): Change dependencies to ....
20316         (xtests-special): ... additions to this variable.
20317         * resolv/Makefile (tests): Change dependencies to ....
20318         (tests-special): ... additions to this variable.
20319         (xtests): Change dependencies to ....
20320         (xtests-special): ... additions to this variable.
20321         * stdio-common/Makefile (tests): Change dependencies to ....
20322         (tests-special): ... additions to this variable.
20323         (do-tst-unbputc): Remove target.
20324         (do-tst-printf): Likewise.
20325         * stdlib/Makefile (tests): Change dependencies to ....
20326         (tests-special): ... additions to this variable.
20327         * string/Makefile (tests): Change dependencies to ....
20328         (tests-special): ... additions to this variable.
20329         * sysdeps/x86/Makefile (tests): Change dependencies to ....
20330         (tests-special): ... additions to this variable.
20332         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20333         whole file.
20334         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20335         whole file.
20336         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20337         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20339         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20340         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20341         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20342         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20343         * conform/data/libgen.h-data [XPG3]: Likewise.
20344         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20345         * conform/data/ndbm.h-data [XPG3]: Likewise.
20346         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20347         * conform/data/netdb.h-data [XPG3]: Likewise.
20348         * conform/data/netinet/in.h-data [XPG3]: Likewise.
20349         * conform/data/poll.h-data [XPG3]: Likewise.
20350         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20351         * conform/data/strings.h-data [XPG3]: Likewise.
20352         * conform/data/stropts.h-data [XPG3]: Likewise.
20353         * conform/data/sys/mman.h-data [XPG3]: Likewise.
20354         * conform/data/sys/resource.h-data [XPG3]: Likewise.
20355         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20356         Likewise.
20357         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20358         * conform/data/sys/time.h-data [XPG3]: Likewise.
20359         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20360         * conform/data/sys/uio.h-data [XPG3]: Likewise.
20361         * conform/data/sys/un.h-data [XPG3]: Likewise.
20362         * conform/data/syslog.h-data [XPG3]: Likewise.
20363         * conform/data/ucontext.h-data [XPG3]: Likewise.
20364         * conform/data/utmpx.h-data [XPG3]: Likewise.
20365         * conform/data/varargs.h-data [UNIX98]: Enable file.
20367         * manual/Makefile (INSTALL_INFO): Remove variable setting.
20369         * math/libm-test.inc (struct test_f_f_data): Move expected results
20370         into structure for each rounding mode.
20371         (struct test_ff_f_data): Likewise.
20372         (struct test_ff_f_data_nexttoward): Likewise.
20373         (struct test_fi_f_data): Likewise.
20374         (struct test_fl_f_data): Likewise.
20375         (struct test_if_f_data): Likewise.
20376         (struct test_fff_f_data): Likewise.
20377         (struct test_c_f_data): Likewise.
20378         (struct test_f_f1_data): Likewise.
20379         (struct test_fF_f1_data): Likewise.
20380         (struct test_ffI_f1_data): Likewise.
20381         (struct test_c_c_data): Likewise.
20382         (struct test_cc_c_data): Likewise.
20383         (struct test_f_i_data): Likewise.
20384         (struct test_ff_i_data): Likewise.
20385         (struct test_f_l_data): Likewise.
20386         (struct test_f_L_data): Likewise.
20387         (struct test_fFF_11_data): Likewise.
20388         (RM_): New macro.
20389         (RM_FE_DOWNWARD): Likewise.
20390         (RM_FE_TONEAREST): Likewise.
20391         (RM_FE_TOWARDZERO): Likewise.
20392         (RM_FE_UPWARD): Likewise.
20393         (RUN_TEST_LOOP_f_f): Update references to expected results.
20394         (RUN_TEST_LOOP_2_f): Likewise.
20395         (RUN_TEST_LOOP_fff_f): Likewise.
20396         (RUN_TEST_LOOP_c_f): Likewise.
20397         (RUN_TEST_LOOP_f_f1): Likewise.
20398         (RUN_TEST_LOOP_fF_f1): Likewise.
20399         (RUN_TEST_LOOP_fI_f1): Likewise.
20400         (RUN_TEST_LOOP_ffI_f1): Likewise.
20401         (RUN_TEST_LOOP_c_c): Likewise.
20402         (RUN_TEST_LOOP_cc_c): Likewise.
20403         (RUN_TEST_LOOP_f_i): Likewise.
20404         (RUN_TEST_LOOP_f_i_tg): Likewise.
20405         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20406         (RUN_TEST_LOOP_f_b): Likewise.
20407         (RUN_TEST_LOOP_f_b_tg): Likewise.
20408         (RUN_TEST_LOOP_f_l): Likewise.
20409         (RUN_TEST_LOOP_f_L): Likewise.
20410         (RUN_TEST_LOOP_fFF_11): Likewise.
20411         * math/gen-libm-test.pl (parse_args): Output four copies of
20412         expected results for each test.
20414         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20415         (__ASSUME_UTIMES): Remove.
20416         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20417         (__ASSUME_UTIMES): Likewise.
20419         * math/gen-auto-libm-tests.c: Update comment on output format.
20420         (output_for_one_input_case): Generate before-rounding and
20421         after-rounding information as conditions on output flags not
20422         floating-point format.
20423         * math/auto-libm-test-out: Regenerated.
20424         * math/gen-libm-test.pl (cond_value): New function.
20425         (or_cond_value): Use cond_value.
20426         (generate_testfile): Handle conditional exceptions.
20428 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
20430         * math/libm-test.inc (max_valid_error): New variable.
20431         (init_max_error): Take new argument specifying whether function
20432         results are exactly determined.  Set max_valid_error and bound
20433         other variables for errors based on this argument.
20434         (set_max_error): Do not record results above max_valid_error.
20435         (check_float_internal): Only accept errors of up to 0.5ulps if
20436         also at most max_valid_error.
20437         (START): Take new argument EXACT and pass it to init_max_error.
20438         (acos_test): Update call to START.
20439         (acos_test_tonearest): Likewise.
20440         (acos_test_towardzero): Likewise.
20441         (acos_test_downward): Likewise.
20442         (acos_test_upward): Likewise.
20443         (acosh_test): Likewise.
20444         (asin_test): Likewise.
20445         (asin_test_tonearest): Likewise.
20446         (asin_test_towardzero): Likewise.
20447         (asin_test_downward): Likewise.
20448         (asin_test_upward): Likewise.
20449         (asinh_test): Likewise.
20450         (atan_test): Likewise.
20451         (atanh_test): Likewise.
20452         (atan2_test): Likewise.
20453         (cabs_test): Likewise.
20454         (cacos_test): Likewise.
20455         (cacosh_test): Likewise.
20456         (carg_test): Likewise.
20457         (casin_test): Likewise.
20458         (casinh_test): Likewise.
20459         (catan_test): Likewise.
20460         (catanh_test): Likewise.
20461         (cbrt_test): Likewise.
20462         (ccos_test): Likewise.
20463         (ccosh_test): Likewise.
20464         (ceil_test): Likewise.
20465         (cexp_test): Likewise.
20466         (cimag_test): Likewise.
20467         (clog_test): Likewise.
20468         (clog10_test): Likewise.
20469         (conj_test): Likewise.
20470         (copysign_test): Likewise.
20471         (cos_test): Likewise.
20472         (cos_test_tonearest): Likewise.
20473         (cos_test_towardzero): Likewise.
20474         (cos_test_downward): Likewise.
20475         (cos_test_upward): Likewise.
20476         (cosh_test): Likewise.
20477         (cosh_test_tonearest): Likewise.
20478         (cosh_test_towardzero): Likewise.
20479         (cosh_test_downward): Likewise.
20480         (cosh_test_upward): Likewise.
20481         (cpow_test): Likewise.
20482         (cproj_test): Likewise.
20483         (creal_test): Likewise.
20484         (csin_test): Likewise.
20485         (csinh_test): Likewise.
20486         (csqrt_test): Likewise.
20487         (ctan_test): Likewise.
20488         (ctan_test_tonearest): Likewise.
20489         (ctan_test_towardzero): Likewise.
20490         (ctan_test_downward): Likewise.
20491         (ctan_test_upward): Likewise.
20492         (ctanh_test): Likewise.
20493         (ctanh_test_tonearest): Likewise.
20494         (ctanh_test_towardzero): Likewise.
20495         (ctanh_test_downward): Likewise.
20496         (ctanh_test_upward): Likewise.
20497         (erf_test): Likewise.
20498         (erfc_test): Likewise.
20499         (exp_test): Likewise.
20500         (exp_test_tonearest): Likewise.
20501         (exp_test_towardzero): Likewise.
20502         (exp_test_downward): Likewise.
20503         (exp_test_upward): Likewise.
20504         (exp10_test): Likewise.
20505         (exp10_test_tonearest): Likewise.
20506         (exp10_test_towardzero): Likewise.
20507         (exp10_test_downward): Likewise.
20508         (exp10_test_upward): Likewise.
20509         (pow10_test): Likewise.
20510         (exp2_test): Likewise.
20511         (expm1_test): Likewise.
20512         (expm1_test_tonearest): Likewise.
20513         (expm1_test_towardzero): Likewise.
20514         (expm1_test_downward): Likewise.
20515         (expm1_test_upward): Likewise.
20516         (fabs_test): Likewise.
20517         (fdim_test): Likewise.
20518         (floor_test): Likewise.
20519         (fma_test): Likewise.
20520         (fma_test_towardzero): Likewise.
20521         (fma_test_downward): Likewise.
20522         (fma_test_upward): Likewise.
20523         (fmax_test): Likewise.
20524         (fmin_test): Likewise.
20525         (fmod_test): Likewise.
20526         (fpclassify_test): Likewise.
20527         (frexp_test): Likewise.
20528         (hypot_test): Likewise.
20529         (ilogb_test): Likewise.
20530         (isfinite_test): Likewise.
20531         (finite_test): Likewise.
20532         (isgreater_test): Likewise.
20533         (isgreaterequal_test): Likewise.
20534         (isinf_test): Likewise.
20535         (isless_test): Likewise.
20536         (islessequal_test): Likewise.
20537         (islessgreater_test): Likewise.
20538         (isnan_test): Likewise.
20539         (isnormal_test): Likewise.
20540         (issignaling_test): Likewise.
20541         (isunordered_test): Likewise.
20542         (j0_test): Likewise.
20543         (j1_test): Likewise.
20544         (jn_test): Likewise.
20545         (ldexp_test): Likewise.
20546         (lgamma_test): Likewise.
20547         (gamma_test): Likewise.
20548         (lrint_test): Likewise.
20549         (lrint_test_tonearest): Likewise.
20550         (lrint_test_towardzero): Likewise.
20551         (lrint_test_downward): Likewise.
20552         (lrint_test_upward): Likewise.
20553         (llrint_test): Likewise.
20554         (llrint_test_tonearest): Likewise.
20555         (llrint_test_towardzero): Likewise.
20556         (llrint_test_downward): Likewise.
20557         (llrint_test_upward): Likewise.
20558         (log_test): Likewise.
20559         (log10_test): Likewise.
20560         (log1p_test): Likewise.
20561         (log2_test): Likewise.
20562         (logb_test): Likewise.
20563         (logb_test_downward): Likewise.
20564         (lround_test): Likewise.
20565         (llround_test): Likewise.
20566         (modf_test): Likewise.
20567         (nearbyint_test): Likewise.
20568         (nextafter_test): Likewise.
20569         (nexttoward_test): Likewise.
20570         (pow_test): Likewise.
20571         (pow_test_tonearest): Likewise.
20572         (pow_test_towardzero): Likewise.
20573         (pow_test_downward): Likewise.
20574         (pow_test_upward): Likewise.
20575         (remainder_test): Likewise.
20576         (drem_test): Likewise.
20577         (remainder_test_tonearest): Likewise.
20578         (drem_test_tonearest): Likewise.
20579         (remainder_test_towardzero): Likewise.
20580         (drem_test_towardzero): Likewise.
20581         (remainder_test_downward): Likewise.
20582         (drem_test_downward): Likewise.
20583         (remainder_test_upward): Likewise.
20584         (drem_test_upward): Likewise.
20585         (remquo_test): Likewise.
20586         (rint_test): Likewise.
20587         (rint_test_tonearest): Likewise.
20588         (rint_test_towardzero): Likewise.
20589         (rint_test_downward): Likewise.
20590         (rint_test_upward): Likewise.
20591         (round_test): Likewise.
20592         (scalb_test): Likewise.
20593         (scalbn_test): Likewise.
20594         (scalbln_test): Likewise.
20595         (signbit_test): Likewise.
20596         (sin_test): Likewise.
20597         (sin_test_tonearest): Likewise.
20598         (sin_test_towardzero): Likewise.
20599         (sin_test_downward): Likewise.
20600         (sin_test_upward): Likewise.
20601         (sincos_test): Likewise.
20602         (sinh_test): Likewise.
20603         (sinh_test_tonearest): Likewise.
20604         (sinh_test_towardzero): Likewise.
20605         (sinh_test_downward): Likewise.
20606         (sinh_test_upward): Likewise.
20607         (sqrt_test): Likewise.
20608         (sqrt_test_tonearest): Likewise.
20609         (sqrt_test_towardzero): Likewise.
20610         (sqrt_test_downward): Likewise.
20611         (sqrt_test_upward): Likewise.
20612         (tan_test): Likewise.
20613         (tan_test_tonearest): Likewise.
20614         (tan_test_towardzero): Likewise.
20615         (tan_test_downward): Likewise.
20616         (tan_test_upward): Likewise.
20617         (tanh_test): Likewise.
20618         (tgamma_test): Likewise.
20619         (trunc_test): Likewise.
20620         (y0_test): Likewise.
20621         (y1_test): Likewise.
20622         (yn_test): Likewise.
20623         (significand_test): Likewise.
20625         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20626         individual tests in comment.
20627         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20628         (prev_max_error): New variable.
20629         (prev_real_max_error): Likewise.
20630         (prev_imag_max_error): Likewise.
20631         (compare_ulp_data): Don't refer to test names in comment.
20632         (find_test_ulps): Remove function.
20633         (find_function_ulps): Likewise.
20634         (find_complex_function_ulps): Likewise.
20635         (init_max_error): Take function name as argument.  Look up ulps
20636         for that function.
20637         (print_ulps): Remove function.
20638         (print_max_error): Use prev_max_error instead of calling
20639         find_function_ulps.
20640         (print_complex_max_error): Use prev_real_max_error and
20641         prev_imag_max_error instead of calling find_complex_function_ulps.
20642         (check_float_internal): Take max_ulp parameter instead of calling
20643         find_test_ulps.  Don't call print_ulps.
20644         (check_float): Update call to check_float_internal.
20645         (check_complex): Update calls to check_float_internal.
20646         (START): Pass argument to init_max_error.
20647         * math/gen-libm-test.pl (%results): Don't include "kind"
20648         information.
20649         (parse_ulps): Don't handle ulps of individual tests.
20650         (print_ulps_file): Likewise.
20651         (output_ulps): Likewise.
20652         * math/README.libm-test: Update.
20653         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20654         individual tests.
20655         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20656         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20657         * sysdeps/arm/libm-test-ulps: Likewise.
20658         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20659         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20660         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20661         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20662         * sysdeps/microblaze/libm-test-ulps: Likewise.
20663         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20664         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20665         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20666         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20667         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20668         * sysdeps/sh/libm-test-ulps: Likewise.
20669         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20670         * sysdeps/tile/libm-test-ulps: Likewise.
20671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20673 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
20675         * math/libm-test.inc (print_complex_max_error): Check separately
20676         whether real and imaginary errors are within allowed range and
20677         pass 0 to print_complex_function_ulps instead of value within
20678         allowed range.
20680 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20682         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20683         formatting.
20684         (get_handles_fopen): Likewise.
20685         (do_write_test): Likewise.
20687         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20689         * libio/fileops.c (do_ftell): Use cached offset when
20690         available.
20691         * libio/iofwide.c (do_ftell_wide): Likewise.
20692         * libio/iofdopen.c (_IO_new_fdopen): Don't use
20693         _IO_file_attach.
20694         * libio/wfileops.c (_IO_fwide): Don't cache offset.
20696         [BZ #16532]
20697         * libio/libioP.h (get_file_offset): New function.
20698         * libio/fileops.c (get_file_offset): Likewise.
20699         (do_ftell): Likewise.
20700         (_IO_new_file_seekoff): Split out ftell logic.
20701         * libio/wfileops.c (do_ftell_wide): Likewise.
20702         (_IO_wfile_seekoff): Split out ftell logic.
20703         * libio/tst-ftell-active-handler.c: New test case.
20704         * libio/Makefile (tests): Add it.
20706 2014-03-03  Roland McGrath  <roland@hack.frob.com>
20708         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20709         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20711 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20713         [BZ #16639]
20714         * nscd/connections.c (nscd_init): Call do_exit.
20715         (start_threads): Call do_exit and notify_parent.
20716         (begin_drop_privileges): Call do_exit.
20717         (finish_drop_privileges): Likewise.
20718         * nscd/selinux.c (preserve_capabilities): Likewise.
20719         (install_real_capabilities): Likewise.
20720         (nscd_selinux_enabled): Likewise.
20721         (avc_create_thread): Likewise.
20722         (avc_alloc_lock): Likewise.
20723         (nscd_avc_init): Likewise.
20724         * nscd/nscd.c (parent_fd): New static variable.
20725         (main): Create a pipe between parent and child processes.
20726         Skip closing parent_fd.
20727         (monitor_child): New function.
20728         (do_exit): Likewise.
20729         (notify_parent): Likewise.
20730         * nscd/nscd.h (notify_parent): Likewise.
20731         (do_exit): Likewise.
20733 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
20735         * malloc/malloc.c (__libc_calloc): Revert last change.
20737 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20741 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20743         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20744         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20745         implementation.
20746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20747         (__libc_ifunc_impl_list): Likewise.
20748         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20749         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20750         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20751         * string/strrchr.c: Define STRRCHR.
20753 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
20755         * benchtest/bench-strtok.c (simple_strtok): Delete.
20756         (strtok_string): Use as benchmark.
20757         * string/strtok (STRTOK): New macro.
20759 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
20761         * manual/threads.texi: Add header and standard comments to all
20762         functions.
20764         * elf/dl-lookup.c (check_match): New function.
20765         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20766         (do_lookup_x): Remove nested function check_match. Use non-nested
20767         function check_match.
20769 2014-02-28  Roland McGrath  <roland@hack.frob.com>
20771         * csu/Makefile (generated, before-compile): Use += rather than =.
20772         * catgets/Makefile (generated, generated-dirs): Likewise.
20773         * debug/Makefile (generated): Likewise.
20774         * dlfcn/Makefile (generated): Likewise.
20775         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20776         * iconvdata/Makefile (before-compile, generated): Likewise.
20777         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20778         * libio/Makefile (generated): Likewise.
20779         * malloc/Makefile (generated): Likewise.
20780         * manual/Makefile (generated, generated-dirs): Likewise.
20781         * misc/Makefile (generated): Likewise.
20782         * posix/Makefile (generated): Likewise.
20783         * resolv/Makefile (generated): Likewise.
20784         * sunrpc/Makefile (generated, generated-dirs): Likewise.
20785         * timezone/Makefile (generated, generated-dirs): Likewise.
20787         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20789 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20792         power8 implementation.
20793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20794         file: POWER8 llround ifunc implementation.
20795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20796         (__lllround): Add POWER8 implementation.
20797         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20798         POWER8 llround implementation.
20800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20801         power8 implementation.
20802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20803         file: POWER8 llrint ifunc implementation.
20804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20805         Add POWER8 implementation.
20806         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20807         POWER8 llrint implementation.
20809         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20810         power8 implementation.
20811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20812         file: POWER8 finite ifunc implementation.
20813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20814         Add POWER8 implementation.
20815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20816         Likewise.
20817         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20818         POWER8 finite implementation.
20819         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20821         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20822         power8 implementation.
20823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20824         file: POWER8 isinf ifunc implementation.
20825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20826         POWER8 implementation.
20827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20828         Likewise.
20829         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20830         isinf implementation.
20831         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20833         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20834         (INIT_ARCH): Add hwcap2 initialization.
20835         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20836         power8 implementation.
20837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20838         file: POWER8 isnan ifunc implementation.
20839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20840         POWER8 implementation.
20841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20842         Likewise.
20843         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20844         isnan implementation.
20845         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20847 2014-02-27  Joey Ye  <joey.ye@arm.com>
20849         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20850         (_FP_NANFRAC_Q): Set to zero.
20852 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20854         [BZ #16623]
20855         * math/auto-libm-test-in: New test inputs.
20856         * math/auto-libm-test-out: Regenerate.
20857         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20858         and DA.
20859         (__cos): Likewise.
20860         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20862 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
20864         * scripts/evaluate-test.sh: Take new argument indicating whether
20865         failure is expected.
20866         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20867         indicating whether failure is expected.
20868         * conform/Makefile (test-xfail-run-conformtest): New variable.
20869         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20870         level.
20871         * posix/Makefile (test-xfail-annexc): New variable.
20872         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20874 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
20876         * argp/Makefile: Include Makeconfig immediately after defining
20877         subdir.
20878         * assert/Makefile: Likewise.
20879         * benchtests/Makefile: Likewise.
20880         * catgets/Makefile: Likewise.
20881         * conform/Makefile: Likewise.
20882         * crypt/Makefile: Likewise.
20883         * csu/Makefile: Likewise.
20884         (all): Remove target.
20885         * ctype/Makefile: Include Makeconfig immediately after defining
20886         subdir.
20887         * debug/Makefile: Likewise.
20888         * dirent/Makefile: Likewise.
20889         * dlfcn/Makefile: Likewise.
20890         * gmon/Makefile: Likewise.
20891         * gnulib/Makefile: Likewise.
20892         * grp/Makefile: Likewise.
20893         * gshadow/Makefile: Likewise.
20894         * hesiod/Makefile: Likewise.
20895         * hurd/Makefile: Likewise.
20896         (all): Remove target.
20897         * iconvdata/Makefile: Include Makeconfig immediately after
20898         defining subdir.
20899         * inet/Makefile: Likewise.
20900         * intl/Makefile: Likewise.
20901         * io/Makefile: Likewise.
20902         * libio/Makefile: Likewise.
20903         (all): Remove target.
20904         * locale/Makefile: Include Makeconfig immediately after defining
20905         subdir.
20906         * login/Makefile: Likewise.
20907         * mach/Makefile: Likewise.
20908         (all): Remove target.
20909         * malloc/Makefile: Include Makeconfig immediately after defining
20910         subdir.
20911         (all): Remove target.
20912         * manual/Makefile: Include Makeconfig immediately after defining
20913         subdir.
20914         * math/Makefile: Likewise.
20915         * misc/Makefile: Likewise.
20916         * nis/Makefile: Likewise.
20917         * nss/Makefile: Likewise.
20918         * po/Makefile: Likewise.
20919         (all): Remove target.
20920         * posix/Makefile: Include Makeconfig immediately after defining
20921         subdir.
20922         * pwd/Makefile: Likewise.
20923         * resolv/Makefile: Likewise.
20924         * resource/Makefile: Likewise.
20925         * rt/Makefile: Likewise.
20926         * setjmp/Makefile: Likewise.
20927         * shadow/Makefile: Likewise.
20928         * signal/Makefile: Likewise.
20929         * socket/Makefile: Likewise.
20930         * soft-fp/Makefile: Likewise.
20931         * stdio-common/Makefile: Likewise.
20932         * stdlib/Makefile: Likewise.
20933         * streams/Makefile: Likewise.
20934         * string/Makefile: Likewise.
20935         * sunrpc/Makefile: Likewise.
20936         (all): Remove target.
20937         * sysvipc/Makefile: Include Makeconfig immediately after defining
20938         subdir.
20939         * termios/Makefile: Likewise.
20940         * time/Makefile: Likewise.
20941         * timezone/Makefile: Likewise.
20942         (all): Remove target.
20943         * wcsmbs/Makefile: Include Makeconfig immediately after defining
20944         subdir.
20945         * wctype/Makefile: Likewise.
20947 2014-02-26  Steve Ellcey  <sellcey@mips.com>
20949         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20950         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20951         (libc_feholdexcept_setround_mips): Ditto.
20952         (libc_feholdsetround): New.
20953         (libc_feholdsetroundf): New.
20954         (libc_feholdsetroundl): New.
20955         (libc_feupdateenv_test_mips): New.
20956         (libc_feupdateenv_test): New.
20957         (libc_feupdateenv_testf): New.
20958         (libc_feupdateenv_testl): New.
20959         (libc_feresetround): New.
20960         (libc_feresetroundf): New.
20961         (libc_feresetroundl): New.
20962         (libc_fetestexcept_mips): New.
20963         (libc_fetestexcept): New.
20964         (libc_fetestexceptf): New.
20965         (libc_fetestexceptl): New.
20966         (HAVE_RM_CTX): New.
20967         (libc_feholdexcept_setround_mips_ctx): New.
20968         (libc_feholdexcept_setround_ctx): New.
20969         (libc_feholdexcept_setroundf_ctx): New.
20970         (libc_feholdexcept_setroundl_ctx): New.
20971         (libc_fesetenv_mips_ctx): New.
20972         (libc_fesetenv_ctx): New.
20973         (libc_fesetenv_ctxf): New.
20974         (libc_fesetenv_ctxl): New.
20975         (libc_feupdateenv_mips_ctx): New.
20976         (libc_feupdateenv_ctx): New.
20977         (libc_feupdateenvf_ctx): New.
20978         (libc_feupdateenvl_ctx): New.
20979         (libc_feholdsetround_mips_ctx): New.
20980         (libc_feholdsetround_ctx): New.
20981         (libc_feholdsetroundf_ctx): New.
20982         (libc_feholdsetroundl_ctx): New.
20983         (libc_feresetround_mips_ctx): New.
20984         (libc_feresetround_ctx): New.
20985         (libc_feresetroundf_ctx): New.
20986         (libc_feresetroundl_ctx): New.
20988 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
20990         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20992         * manual/ipc.texi: New file.
20993         * manual/Makefile (chapters): Add ipc.
20994         * manual/job.texi: Add "Inter-Process Communication" to next.
20995         * manual/process.texi: Add "Inter-Process Communication" to prev.
20997 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21001 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
21003         * malloc/malloc.c (__libc_calloc): Simplify implementation.
21005         * manual/arith.texi: Fix spaces after sentences.
21006         * manual/charset.texi: Likewise.
21007         * manual/errno.texi: Likewise.
21008         * manual/install.texi: Likewise.
21009         * manual/llio.texi: Likewise.
21010         * manual/locale.texi: Likewise.
21011         * manual/maint.texi: Likewise.
21012         * manual/math.texi: Likewise.
21013         * manual/memory.texi: Likewise.
21014         * manual/message.texi: Likewise.
21015         * manual/probes.texi: Likewise.
21016         * manual/resource.texi: Likewise.
21017         * manual/signal.texi: Likewise.
21018         * manual/socket.texi: Likewise.
21019         * manual/stdio.texi: Likewise.
21020         * manual/string.texi: Likewise.
21021         * manual/time.texi: Likewise.
21022         * manual/users.texi: Likewise.
21024 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
21026         [BZ #16632]
21027         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21028         _DEFAULT_SOURCE is defined.
21030 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
21031             Carlos O'Donell  <carlos@redhat.com>
21033         [BZ #16613]
21034         * elf/dl-tls.c (_dl_count_modids): New function.
21035         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21036         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21037         audit library and increment generation counter.
21038         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21039         * elf/tst-audit9.c: New file.
21040         * elf/tst-auditmod9a.c: New file.
21041         * elf/tst-auditmod9b.c: New file.
21042         * elf/Makefile: Add rules to build and run tst-audit9.
21044 2014-02-25  Florian Weimer  <fweimer@redhat.com>
21046         [BZ #15347]
21047         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21049 2014-02-25  Will Newton  <will.newton@linaro.org>
21051         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21052         (__longjmp): Restore sp and lr before restoring callee
21053         saved registers.  Add longjmp and longjmp_target
21054         SystemTap probe point.
21055         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21056         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21057         Define to zero to match jmpbuf layout.
21058         * sysdeps/arm/setjmp.S: Include stap-probe.h.
21059         (__sigsetjmp): Save sp and lr before saving callee
21060         saved registers.  Add setjmp SystemTap probe point.
21062 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21064         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21066 2014-02-24  Andreas Schwab  <schwab@suse.de>
21068         [BZ #15804]
21069         * elf/pldd.c (wait_for_ptrace_stop): New function.
21070         (main): Call it after attaching.
21072 2014-02-22  Roland McGrath  <roland@hack.frob.com>
21074         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21075         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21076         Versions files is now verboten.
21077         * hurd/Versions (libc: GLIBC_2.0):
21078         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21079         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21080         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21081         * mach/Versions: Likewise.
21083         * csu/Versions: Remove unused %include.
21084         * resolv/Versions: Likewise.
21086 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
21088         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21089         ($(objpfx)check-local-headers.out): Likewise.
21090         ($(objpfx)begin-end-check.out): Likewise.
21091         * Makerules (check-abi-%.out): Likewise.
21092         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21093         ($(objpfx)test2.cat): Likewise.
21094         ($(objpfx)de/libc.cat): Likewise.
21095         ($(objpfx)test-gencat.out): Likewise.
21096         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21097         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21098         ($(objpfx)noload-mem): Likewise.
21099         ($(objpfx)tst-pathopt.out): Likewise.
21100         ($(objpfx)tst-rtld-load-self.out): Likewise.
21101         ($(objpfx)tst-array1-cmp.out): Likewise.
21102         ($(objpfx)tst-array1-static-cmp.out): Likewise.
21103         ($(objpfx)tst-array2-cmp.out): Likewise.
21104         ($(objpfx)tst-array3-cmp.out): Likewise.
21105         ($(objpfx)tst-array4-cmp.out): Likewise.
21106         ($(objpfx)tst-array5-cmp.out): Likewise.
21107         ($(objpfx)tst-array5-static-cmp.out): Likewise.
21108         ($(objpfx)check-textrel.out): Likewise.
21109         ($(objpfx)check-execstack.out): Likewise.
21110         ($(objpfx)check-localplt.out): Likewise.
21111         ($(objpfx)order2-cmp.out): Likewise.
21112         ($(objpfx)tst-leaks1-mem): Likewise.
21113         ($(objpfx)tst-leaks1-static-mem): Likewise.
21114         ($(objpfx)tst-initorder-cmp.out): Likewise.
21115         ($(objpfx)tst-initorder2-cmp.out): Likewise.
21116         ($(objpfx)tst-unused-dep.out): Likewise.
21117         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21118         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21119         * iconv/Makefile (test-iconvconfig): Likewise.
21120         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21121         ($(objpfx)iconv-test.out): Likewise.
21122         ($(objpfx)tst-tables.out): Likewise.
21123         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21124         ($(objpfx)tst-gettext.out): Likewise.
21125         ($(objpfx)tst-translit.out): Likewise.
21126         ($(objpfx)tst-gettext2.out): Likewise.
21127         ($(objpfx)tst-gettext4.out): Likewise.
21128         ($(objpfx)tst-gettext6.out): Likewise.
21129         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21130         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21131         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21132         ($(objpfx)tst-fopenloc-mem.out): Likewise.
21133         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21134         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21135         * posix/Makefile ($(objpfx)globtest.out): Likewise.
21136         ($(objpfx)wordexp-tst.out): Likewise.
21137         ($(objpfx)annexc.out): Likewise.
21138         ($(objpfx)tst-fnmatch-mem): Likewise.
21139         ($(objpfx)bug-regex2-mem): Likewise.
21140         ($(objpfx)bug-regex14-mem): Likewise.
21141         ($(objpfx)bug-regex21-mem): Likewise.
21142         ($(objpfx)bug-regex31-mem): Likewise.
21143         ($(objpfx)tst-vfork3-mem): Likewise.
21144         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21145         ($(objpfx)tst-pcre-mem): Likewise.
21146         ($(objpfx)tst-boost-mem): Likewise.
21147         ($(objpfx)tst-getconf.out): Likewise.
21148         ($(objpfx)bug-ga2-mem): Likewise.
21149         ($(objpfx)bug-glob2-mem): Likewise.
21150         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21151         ($(objpfx)mtrace-tst-leaks2): Likewise.
21152         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21153         ($(objpfx)tst-printf.out): Likewise.
21154         ($(objpfx)tst-setvbuf1.out): Likewise.
21155         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21156         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21157         ($(objpfx)tst-fmtmsg.out): Likewise.
21158         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21159         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21161         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21162         * bits/sigaction.h [__USE_MISC]: Likewise.
21163         * bits/waitstatus.h: Update #endif comments.
21164         * ctype/ctype.h: Likewise.
21165         * dirent/dirent.h: Likewise.
21166         [__USE_MISC]: Remove redundant conditionals.
21167         * grp/grp.h: Update #endif comments.
21168         [__USE_GNU]: Remove redundant conditionals.
21169         [__USE_MISC]: Likewise.
21170         * inet/netinet/in.h [__USE_GNU]: Likewise.
21171         * io/sys/stat.h [__USE_MISC]: Likewise.
21172         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21173         * libio/bits/stdio.h: Update #endif comments.
21174         [__USE_MISC]: Remove redundant conditionals.
21175         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21176         * libio/stdio.h: Update #endif comments.
21177         [__USE_MISC]: Remove redundant conditionals.
21178         * math/bits/math-finite.h [__USE_MISC]: Likewise.
21179         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21180         * math/math.h: Update #else and #endif comments.
21181         [__USE_MISC]: Remove redundant conditionals.
21182         * misc/sys/uio.h: Update #endif comments.
21183         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21184         * posix/glob.h [__USE_MISC]: Likewise.
21185         * posix/sys/types.h: Update #endif comments.
21186         [__USE_MISC]: Remove redundant conditionals.
21187         * posix/sys/wait.h: Update #endif comments.
21188         [__USE_MISC]: Remove redundant conditionals.
21189         * posix/unistd.h: Update #endif comments.
21190         [__USE_MISC]: Remove redundant conditionals.
21191         * pwd/pwd.h [__USE_GNU]: Likewise.
21192         [__USE_MISC]: Likewise.
21193         * resolv/netdb.h [__USE_GNU]: Likewise.
21194         * signal/signal.h: Update #endif comments.
21195         [__USE_MISC]: Remove redundant conditionals.
21196         * stdlib/stdlib.h: Update #else and #endif comments.
21197         [__USE_MISC]: Remove redundant conditionals.
21198         [__USE_GNU]: Likewise.
21199         * string/bits/string2.h [__USE_MISC]: Likewise.
21200         * string/string.h: Update #endif comments.
21201         [__USE_MISC]: Remove redundant conditionals.
21202         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21203         Likewise.
21204         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21205         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21206         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21207         Likewise.
21208         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21209         Likewise.
21210         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21211         comments.
21212         [__USE_MISC]: Remove redundant conditionals.
21213         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21214         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21215         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21216         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21217         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21218         Likewise.
21219         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21220         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21221         Likewise.
21222         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21223         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21224         Likewise.
21225         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21226         Likewise.
21227         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21228         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21229         Likewise.
21230         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21231         Likewise.
21232         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21233         * sysdeps/x86/bits/string.h: Update #endif comments.
21234         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21235         conditionals.
21236         * time/sys/time.h: Update #endif comments.
21237         * time/time.h: Likewise.
21238         [__USE_MISC]: Remove redundant conditionals.
21240 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
21242         [BZ #16600]
21243         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21245 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
21247         * Versions.def (librt): Add GLIBC_2.17.
21249 2014-02-21  Adam Conrad  <adconrad@0c3.net>
21251         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21252         synonym for _SYS_AUXV_H to allow direct inclusion.
21253         * sysdeps/sparc/bits/hwcap.h: Likewise.
21254         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21255         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21256         * sysdeps/sparc/sysdep.h: Likewise.
21258 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21260         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21262 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21264         * benchtests/bench-strrchr.c: Print length instead of position.
21266 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
21268         [BZ #16611]
21269         * sysdeps/unix/sysv/linux/kernel-features.h
21270         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21271         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21272         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21273         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21274         Likewise.
21275         [__i386__ || __powerpc__ || __sh__ || __sparc__]
21276         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21277         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21278         (__ASSUME_SENDMMSG): Define instead of using previous
21279         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21280         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21281         (__ASSUME_SENDMMSG_SYSCALL): Define.
21282         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21283         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21284         Likewise.
21285         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21286         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21287         Likewise.
21288         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21289         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21290         Likewise.
21291         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21292         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21293         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21294         [__ASSUME_SENDMMSG]: Change conditionals to
21295         [__ASSUME_SENDMMSG_SOCKETCALL].
21296         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21297         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21298         Define.
21299         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21300         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21301         Likewise.
21302         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21303         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21304         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21305         [!__ASSUME_SENDMMSG]: Change conditional to
21306         [!__ASSUME_SENDMMSG_SOCKETCALL].
21307         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21308         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21309         Define.
21311         [BZ #16610]
21312         * sysdeps/unix/sysv/linux/kernel-features.h
21313         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21314         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21315         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21316         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21317         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21318         [__i386__ || __sparc__]
21319         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21320         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21321         (__ASSUME_RECVMMSG): Define instead of using previous
21322         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21323         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21324         (__ASSUME_RECVMMSG_SYSCALL): Define.
21325         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21326         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21327         Likewise.
21328         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21329         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21330         Likewise.
21331         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21332         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21333         Likewise.
21334         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21335         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21336         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21337         [__ASSUME_RECVMMSG]: Change condition to
21338         [__ASSUME_RECVMMSG_SOCKETCALL].
21339         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21340         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21341         Define.
21342         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21343         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21344         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21345         Likewise.
21346         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21347         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21348         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21349         [!__ASSUME_RECVMMSG]: Change condition to
21350         [!__ASSUME_RECVMMSG_SOCKETCALL].
21351         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21352         (__ASSUME_RECVMMSG_SYSCALL): Define.
21354         [BZ #16609]
21355         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21356         __powerpc__ || __s390__ || __sh__ || __sparc__]
21357         (__ASSUME_SOCKETCALL): Define.
21358         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21359         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21360         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21361         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21362         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21363         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21364         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21365         (__ASSUME_ACCEPT4): Define instead of using previous
21366         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21367         __powerpc__ || __sparc__ || __s390__)] condition.
21368         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21369         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21370         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21371         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21372         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21373         [!__ASSUME_ACCEPT4]: Change condition to
21374         [!__ASSUME_ACCEPT4_SOCKETCALL].
21375         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21376         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
21377         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21378         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21379         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21380         __ASSUME_ACCEPT4_SYSCALL.
21381         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21382         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21383         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21384         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21385         __ASSUME_ACCEPT4_SYSCALL.
21386         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21387         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21388         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21389         [__ASSUME_ACCEPT4]: Change condition to
21390         [__ASSUME_ACCEPT4_SOCKETCALL].
21391         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21392         (__ASSUME_SOCKETCALL): Define.
21393         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21394         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21395         (__ASSUME_SOCKETCALL): Define.
21396         (__ASSUME_ACCEPT4): Remove.
21397         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21398         Define.
21399         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21400         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21401         Likewise.
21402         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21403         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21405         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21406         macro.
21407         (HWCAP_ARM_LPAE): Likewise.
21408         (HWCAP_ARM_EVTSTRM): Likewise.
21409         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21410         Add vpfd32, lpae and evtstrm.
21411         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21412         Increase to 22.
21414 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
21416         * math/auto-libm-test-in: Add tests of clog10.
21417         * math/auto-libm-test-out: Regenerated.
21418         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21419         * sysdeps/i386/fpu/libm-test-ulps: Update.
21420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21422 2014-02-18  Andreas Schwab  <schwab@suse.de>
21424         [BZ #16574]
21425         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21426         Store non-zero if the second buffer was newly allocated.
21427         (send_dg): Likewise.
21428         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21429         to send_vc and send_dg.
21430         (res_nsend): Pass NULL for ansp2_malloced.
21431         * resolv/res_query.c (__libc_res_nquery): Add parameter
21432         answerp2_malloced and pass it down to __libc_res_nsend.
21433         (res_nquery): Pass additional NULL to __libc_res_nquery.
21434         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21435         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
21436         second answer buffer if answerp2_malloced was set.
21437         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21438         (__libc_res_nquerydomain): Add parameter
21439         answerp2_malloced and pass it down to __libc_res_nquery.
21440         (res_nquerydomain): Pass additional NULL to
21441         __libc_res_nquerydomain.
21442         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21443         additional NULL to __libc_res_nsend and __libc_res_nquery.
21444         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21445         additional NULL to __libc_res_nsearch.
21446         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
21447         parameter of __libc_res_nsearch to check for separately allocated
21448         second buffer.
21449         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21450         __libc_res_nquery.
21451         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21452         additional NULL to __libc_res_nquery.
21453         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21454         __libc_res_nsearch.
21455         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21456         * include/resolv.h: Update prototypes of __libc_res_nquery,
21457         __libc_res_nsearch, __libc_res_nsend.
21459 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
21461         * math/auto-libm-test-in: Add tests of fma.
21462         * math/auto-libm-test-out: Regenerated.
21463         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21464         (fma_towardzero_test_data): Likewise.
21465         (fma_downward_test_data): Likewise.
21466         (fma_upward_test_data): Likewise.
21467         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21468         mpc_mode.
21469         (rounding_modes): Add values for new field.
21470         (func_calc_method): Add value mpfr_fff_f.
21471         (func_calc_desc): Add mpfr_fff_f union field.
21472         (test_function): Add field exact_args.
21473         (FUNC): Add macro argument EXACT_ARGS.
21474         (FUNC_mpfr_f_f): Update call to FUNC.
21475         (FUNC_mpfr_f_f): Likewise.
21476         (FUNC_mpfr_ff_f): Likewise.
21477         (FUNC_mpfr_if_f): Likewise.
21478         (FUNC_mpc_c_f): Likewise.
21479         (FUNC_mpc_c_c): Likewise.
21480         (test_functions): Add fma.  Update calls to FUNC.
21481         (handle_input_arg): Add argument exact_args.
21482         (add_test): Update call to handle_input_arg.
21483         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
21484         (output_for_one_input_case): Update call to calc_generic_results.
21485         Recalculate exact zero results in each rounding mode.
21487         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21488         non-negative before setting low bit.
21489         * math/auto-libm-test-in: Mark one asin test possibly having
21490         spurious underflow.
21491         * math/auto-libm-test-out: Regenerated.
21492         * sysdeps/i386/fpu/libm-test-ulps: Update.
21493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21495 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
21497         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21498         * sysdeps/unix/sysv/linux/microblaze: Move directory from
21499         ports/sysdeps/unix/sysv/linux/microblaze.
21500         * README: Add missing listing for microblaze*-*-linux-gnu.
21502 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
21504         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21505         duplicate code
21507 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
21509         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21510         * sysdeps/unix/sysv/linux/ia64: Move directory from
21511         ports/sysdeps/unix/sysv/linux/ia64.
21512         * README: Update listing for ia64-*-linux-gnu.
21514 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
21515             Joseph Myers  <joseph@codesourcery.com>
21517         * Makeconfig (test-name): New variable.
21518         (evaluate-test): Likewise.
21519         * Makerules (do-test-clean): Remove .test-result files.
21520         (common-mostlyclean): Likewise.
21521         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21522         * scripts/evaluate-test.sh: New file.
21524 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
21526         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21527         separate $(objpfx)tst-fopenloc-cmp.out and
21528         $(objpfx)tst-fopenloc-mem.out targets.
21529         (tests): Update dependencies.
21530         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21531         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21532         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21533         (tst-rxspencer-no-utf8-ARGS): New variable.
21534         (tst-rxspencer-no-utf8-ENV): Likewise.
21535         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21536         instead of $(objpfx)tst-rxspencer-mem.
21537         ($(objpfx)tst-rxspencer-mem): Change target to
21538         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
21539         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21540         * posix/tst-rxspencer-no-utf8.c: New file.
21542         * elf/Makefile ($(objpfx)order.out): Remove rule.
21543         [$(run-built-tests) = yes] (tests): Depend on
21544         $(objpfx)order-cmp.out.
21545         ($(objpfx)order-cmp.out): New rule.
21546         [$(run-built-tests) = yes] (tests): Depend on
21547         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21548         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21549         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21550         $(objpfx)tst-array5-static-cmp.out.
21551         ($(objpfx)tst-array1.out): Remove rule.
21552         ($(objpfx)tst-array1-cmp.out): New rule.
21553         ($(objpfx)tst-array1-static.out): Remove rule.
21554         ($(objpfx)tst-array1-static-cmp.out): New rule.
21555         ($(objpfx)tst-array2.out): Remove rule.
21556         ($(objpfx)tst-array2-cmp.out): New rule.
21557         ($(objpfx)tst-array3.out): Remove rule.
21558         ($(objpfx)tst-array3-cmp.out): New rule.
21559         ($(objpfx)tst-array4.out): Remove rule.
21560         ($(objpfx)tst-array4-cmp.out): New rule.
21561         ($(objpfx)tst-array5.out): Remove rule.
21562         ($(objpfx)tst-array5-cmp.out): New rule.
21563         ($(objpfx)tst-array5-static.out): Remove rule.
21564         ($(objpfx)tst-array5-static-cmp.out): New rule.
21565         [$(run-built-tests) = yes] (tests): Depend on
21566         $(objpfx)order2-cmp.out.
21567         ($(objpfx)order2.out): Remove rule.
21568         ($(objpfx)order2-cmp.out): New rule.
21569         ($(objpfx)tst-initorder.out): Remove rule.
21570         [$(run-built-tests) = yes] (tests): Depend on
21571         $(objpfx)tst-initorder-cmp.out.
21572         ($(objpfx)tst-initorder-cmp.out): New rule.
21573         ($(objpfx)tst-initorder2.out): Remove rule.
21574         [$(run-built-tests) = yes] (tests): Depend on
21575         $(objpfx)tst-initorder2-cmp.out.
21576         ($(objpfx)tst-initorder2-cmp.out): New rule.
21577         [$(run-built-tests) = yes] (tests): Depend on
21578         $(objpfx)tst-unused-dep-cmp.out.
21579         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21580         ($(objpfx)tst-unused-dep-cmp.out): New rule.
21581         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21582         on $(objpfx)tst-setvbuf1-cmp.out.
21583         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21584         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21585         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21586         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21587         ($(objpfx)tst-svc.out): Remove rule.
21588         ($(objpfx)tst-svc-cmp.out): New rule.
21590 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
21592         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21593         * ctype/ctype.h [__USE_MISC]: Likewise.
21594         * dirent/dirent.h [__USE_MISC]: Likewise.
21595         * grp/grp.h [__USE_MISC]: Likewise.
21596         * io/fcntl.h [__USE_MISC]: Likewise.
21597         * io/sys/stat.h [__USE_MISC]: Likewise.
21598         * libio/stdio.h [__USE_MISC]: Likewise.
21599         * posix/unistd.h [__USE_MISC]: Likewise.
21600         * pwd/pwd.h [__USE_MISC]: Likewise.
21601         * stdlib.h [__USE_MISC]: Likewise.
21602         * string/bits/string2.h [__USE_MISC]: Likewise.
21603         * string/string.h [__USE_MISC]: Likewise.
21604         * time/time.h [__USE_MISC]: Likewise.
21606 2014-02-13  Andreas Schwab  <schwab@suse.de>
21608         [BZ #16574]
21609         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21610         second answer buffer if it was separately allocated.
21612 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
21614         * sysdeps/mips/math-tests.h: Include <features.h>.
21615         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21616         (ROUNDING_TESTS_long_double): Do not define.
21617         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21618         (EXCEPTION_TESTS_long_double): Likewise.
21619         * sysdeps/mips/mips64/libm-test-ulps: Update.
21621         * include/features.h (__USE_BSD): Remove macro definitions.
21622         (__USE_SVID): Likewise.
21623         (_BSD_SOURCE): Likewise.
21624         (_SVID_SOURCE): Likewise.
21625         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21626         from definition of _DEFAULT_SOURCE.
21627         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21628         [_DEFAULT_SOURCE].
21629         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21630         * bits/mman.h [__USE_BSD]: Likewise.
21631         * bits/termios.h [__USE_BSD]: Likewise.
21632         * bits/waitstatus.h [__USE_BSD]: Likewise.
21633         * ctype/ctype.h [__USE_SVID]: Likewise.
21634         * dirent/dirent.h [__USE_BSD]: Likewise.
21635         * grp/grp.h [__USE_SVID]: Likewise.
21636         [__USE_BSD]: Likewise.
21637         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21638         * io/fcntl.h [__USE_BSD]: Likewise.
21639         * io/ftw.h [__USE_BSD]: Likewise.
21640         * io/sys/stat.h [__USE_BSD]: Likewise.
21641         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21642         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21643         * libio/stdio.h [__USE_SVID]: Likewise.
21644         [__USE_BSD]: Likewise.
21645         * math/math.h [__USE_SVID]: Likewise.
21646         [__USE_BSD]: Likewise.
21647         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21648         * misc/bits/syslog.h [__USE_BSD]: Likewise.
21649         * misc/search.h [__USE_SVID]: Likewise.
21650         * misc/sys/mman.h [__USE_BSD]: Likewise.
21651         * misc/sys/syslog.h [__USE_BSD]: Likewise.
21652         * misc/sys/uio.h [__USE_BSD]: Likewise.
21653         * posix/bits/unistd.h [__USE_BSD]: Likewise.
21654         * posix/glob.h [__USE_BSD]: Likewise.
21655         * posix/regex.h [__USE_BSD]: Likewise.
21656         * posix/sys/types.h [__USE_BSD]: Likewise.
21657         [__USE_SVID]: Likewise.
21658         * posix/sys/utsname.h [__USE_SVID]: Likewise.
21659         * posix/sys/wait.h [__USE_BSD]: Likewise.
21660         [__USE_SVID]: Likewise.
21661         * posix/unistd.h [__USE_BSD]: Likewise.
21662         [__USE_SVID]: Likewise.
21663         * pwd/pwd.h [__USE_SVID]: Likewise.
21664         * resolv/netdb.h [__USE_BSD]: Likewise.
21665         * setjmp/setjmp.h [__USE_BSD]: Likewise.
21666         * signal/signal.h [__USE_BSD]: Likewise.
21667         [__USE_SVID]: Likewise.
21668         * socket/sys/socket.h [__USE_BSD]: Likewise.
21669         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21670         * stdlib/stdlib.h [__USE_BSD]: Likewise.
21671         [__USE_SVID]: Likewise.
21672         * string/bits/string2.h [__USE_BSD]: Likewise.
21673         [__USE_SVID]: Likewise.
21674         * string/bits/string3.h [__USE_BSD]: Likewise.
21675         * string/endian.h [__USE_BSD]: Likewise.
21676         * string/string.h [__USE_SVID]: Likewise.
21677         [__USE_BSD]: Likewise.
21678         * string/strings.h [__USE_BSD]: Likewise.
21679         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21680         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21681         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21682         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21683         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21684         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21685         Likewise.
21686         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21687         Likewise.
21688         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21689         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21690         Likewise.
21691         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21692         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21693         Likewise.
21694         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21695         Likewise.
21696         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21697         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21698         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21699         Likewise.
21700         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21701         Likewise.
21702         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21703         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21704         * termios/termios.h [__USE_BSD]: Likewise.
21705         * time/sys/time.h [__USE_BSD]: Likewise.
21706         * time/time.h [__USE_BSD]: Likewise.
21707         [__USE_SVID]: Likewise.
21709         * Makefile (subdir_targets): Remove subdir_lint.out.
21711         * stdio-common/Makefile (do-tst-unbputc): Remove target.
21712         (do-tst-printf): Likewise.
21713         (tests): Depend directly on $(objpfx)tst-unbputc.out and
21714         $(objpfx)tst-printf.out.
21716         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21718         * Makerules (check-abi-%): Change target to
21719         $(objpfx)check-abi-%.out.
21720         (check-abi target): Update dependencies.
21721         (check-abi-pattern variable): Redirect output of diff to $@.
21722         (check-abi variable): Likewise.
21723         * elf/Makefile (check-abi): Update dependencies.
21725         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21726         unused.
21727         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21728         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21729         subnormal range.
21730         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21731         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21732         value has largest subnormal exponent.
21733         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21734         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21735         * sysdeps/aarch64/soft-fp/sfp-machine.h
21736         (_FP_TININESS_AFTER_ROUNDING): New macro.
21737         * sysdeps/alpha/soft-fp/sfp-machine.h
21738         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21739         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21740         Likewise.
21741         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21742         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21743         * sysdeps/mips/soft-fp/sfp-machine.h
21744         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21745         * sysdeps/powerpc/soft-fp/sfp-machine.h
21746         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21747         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21748         Likewise.
21749         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21750         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21751         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21752         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21753         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21754         Likewise.
21756 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
21758         [BZ #16545]
21759         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21760         model 1.
21762 2014-02-12  Richard Henderson  <rth@redhat.com>
21764         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21765         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21766         * sysdeps/unix/sysv/linux/alpha: Move directory from
21767         ports/sysdeps/unix/sysv/linux/alpha.
21768         * README: Update listing for alpha-*-linux-gnu.
21770 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
21772         * include/features.h: Update comment documenting feature test
21773         macros.
21774         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
21775         _DEFAULT_SOURCE.
21776         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21777         (_SVID_SOURCE): Likewise.
21778         (_DEFAULT_SOURCE): Update description of default features.
21779         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21780         with _GNU_SOURCE.
21781         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21782         (S_ISVTX): Likewise.
21783         * manual/math.texi (Mathematical Constants): Likewise.
21784         * manual/signal.texi (Interrupted Primitives): Likewise.
21785         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21786         * math/test-matherr.c (_SVID_SOURCE): Do not define.
21787         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21788         Don't refer to _SVID_SOURCE in warning text.
21790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21792         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21793         already defined.
21794         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21795         * sysdeps/mips/dl-lookup.c: Remove.
21796         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21798 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21800         [BZ #16447]
21801         * math/auto-libm-test-in: Add testcase for expl.
21802         * math/auto-libm-test-out: Regenerate.
21803         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21804         calculation of unsafe.
21805         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21807 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21809         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21810         * sysdeps/unix/sysv/linux/aarch64: Move directory from
21811         ports/sysdeps/unix/sysv/linux/aarch64.
21812         * README: Update listing for aarch64*-*-linux-gnu.
21814 2014-02-11  Will Newton  <will.newton@linaro.org>
21816         * manual/probes.texi (Mathematical Function Probes): Use
21817         "triggered" instead of "hit".
21819         * manual/probes.texi (Internal Probes): Add documentation
21820         of setjmp, longjmp and longjmp_target probes.
21822         * include/stap-probe.h: Add comment about probe argument
21823         format.
21825         * malloc/mtrace.c (attribute_hidden): Remove unused macro
21826         definition.  (tr_where, tr_freehook, tr_mallochook,
21827         tr_reallochook, tr_memalignhook): Use ANSI protoype.
21829 2014-02-11  David S. Miller  <davem@davemloft.net>
21831         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21832         processing int_tests.
21834 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
21836         * sysdeps/mips: Move directory from ports/sysdeps/mips.
21837         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21838         * sysdeps/unix/sysv/linux/mips: Move directory from
21839         ports/sysdeps/unix/sysv/linux/mips.
21840         * README: Update listing for mips-*-linux-gnu and
21841         mips64-*-linux-gnu.
21843 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
21845         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21846         * sysdeps/unix/sysv/linux/m68k: Move directory from
21847         ports/sysdeps/unix/sysv/linux/m68k.
21848         * README: Update listing for m68k-*-linux-gnu.
21850 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
21852         * sysdeps/tile: Move directory from ports/sysdeps/tile.
21853         * sysdeps/unix/sysv/linux/generic: Move directory from
21854         ports/sysdeps/unix/sysv/linux/generic.
21855         * sysdeps/unix/sysv/linux/tile: Move directory from
21856         ports/sysdeps/unix/sysv/linux/tile.
21857         * README: Update listing for tile*-*-linux-gnu.
21859 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
21861         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21862         __builtin_expect.
21863         * benchtests/bench-memmem.c (simple_memmem): Likewise.
21864         * catgets/open_catalog.c (__open_catalog): Likewise.
21865         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21866         * debug/confstr_chk.c: Likewise.
21867         * debug/fread_chk.c (__fread_chk): Likewise.
21868         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21869         * debug/getgroups_chk.c: Likewise.
21870         * debug/mbsnrtowcs_chk.c: Likewise.
21871         * debug/mbsrtowcs_chk.c: Likewise.
21872         * debug/mbstowcs_chk.c: Likewise.
21873         * debug/memcpy_chk.c: Likewise.
21874         * debug/memmove_chk.c: Likewise.
21875         * debug/mempcpy_chk.c: Likewise.
21876         * debug/memset_chk.c: Likewise.
21877         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21878         * debug/strcat_chk.c (__strcat_chk): Likewise.
21879         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21880         * debug/strncat_chk.c (__strncat_chk): Likewise.
21881         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21882         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21883         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21884         * debug/wcpncpy_chk.c: Likewise.
21885         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21886         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21887         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21888         * debug/wcsncpy_chk.c: Likewise.
21889         * debug/wcsnrtombs_chk.c: Likewise.
21890         * debug/wcsrtombs_chk.c: Likewise.
21891         * debug/wcstombs_chk.c: Likewise.
21892         * debug/wmemcpy_chk.c: Likewise.
21893         * debug/wmemmove_chk.c: Likewise.
21894         * debug/wmempcpy_chk.c: Likewise.
21895         * debug/wmemset_chk.c: Likewise.
21896         * dirent/scandirat.c (SCANDIRAT): Likewise.
21897         * dlfcn/dladdr1.c (dladdr1): Likewise.
21898         * dlfcn/dladdr.c (dladdr): Likewise.
21899         * dlfcn/dlclose.c (dlclose_doit): Likewise.
21900         * dlfcn/dlerror.c (__dlerror): Likewise.
21901         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21902         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21903         * dlfcn/dlopen.c (dlopen_doit): Likewise.
21904         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21905         * dlfcn/dlsym.c (dlsym_doit): Likewise.
21906         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21907         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21908         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21909         Likewise.
21910         * elf/dl-conflict.c: Likewise.
21911         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21912         * elf/dl-dst.h: Likewise.
21913         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21914         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21915         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21916         * elf/dl-init.c (call_init, _dl_init): Likewise.
21917         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21918         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21919         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21920         Likewise.
21921         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21922         Likewise.
21923         * elf/dl-minimal.c (__libc_memalign): Likewise.
21924         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21925         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21926         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21927         * elf/dl-sym.c (do_sym): Likewise.
21928         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21929         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21930         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21931         * elf/dl-writev.h (_dl_writev): Likewise.
21932         * elf/ldconfig.c (search_dir): Likewise.
21933         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21934         (dl_main): Likewise.
21935         * elf/setup-vdso.h (setup_vdso): Likewise.
21936         * grp/compat-initgroups.c (compat_call): Likewise.
21937         * grp/fgetgrent.c (fgetgrent): Likewise.
21938         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21939         * grp/putgrent.c (putgrent): Likewise.
21940         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21941         Likewise.
21942         * hurd/hurdinit.c: Likewise.
21943         * iconvdata/8bit-gap.c (struct): Likewise.
21944         * iconvdata/ansi_x3.110.c : Likewise.
21945         * iconvdata/big5.c : Likewise.
21946         * iconvdata/big5hkscs.c : Likewise.
21947         * iconvdata/cp1255.c: Likewise.
21948         * iconvdata/cp1258.c : Likewise.
21949         * iconvdata/cp932.c : Likewise.
21950         * iconvdata/euc-cn.c: Likewise.
21951         * iconvdata/euc-jisx0213.c : Likewise.
21952         * iconvdata/euc-jp.c: Likewise.
21953         * iconvdata/euc-jp-ms.c : Likewise.
21954         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21955         * iconvdata/gb18030.c : Likewise.
21956         * iconvdata/gbbig5.c (const): Likewise.
21957         * iconvdata/gbgbk.c: Likewise.
21958         * iconvdata/gbk.c : Likewise.
21959         * iconvdata/ibm1364.c : Likewise.
21960         * iconvdata/ibm930.c : Likewise.
21961         * iconvdata/ibm932.c: Likewise.
21962         * iconvdata/ibm933.c : Likewise.
21963         * iconvdata/ibm935.c : Likewise.
21964         * iconvdata/ibm937.c : Likewise.
21965         * iconvdata/ibm939.c : Likewise.
21966         * iconvdata/ibm943.c: Likewise.
21967         * iconvdata/iso_11548-1.c: Likewise.
21968         * iconvdata/iso-2022-cn.c : Likewise.
21969         * iconvdata/iso-2022-cn-ext.c : Likewise.
21970         * iconvdata/iso-2022-jp-3.c: Likewise.
21971         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21972         * iconvdata/iso-2022-kr.c : Likewise.
21973         * iconvdata/iso646.c (gconv_end): Likewise.
21974         * iconvdata/iso_6937-2.c : Likewise.
21975         * iconvdata/iso_6937.c : Likewise.
21976         * iconvdata/iso8859-1.c: Likewise.
21977         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21978         * iconvdata/shift_jisx0213.c : Likewise.
21979         * iconvdata/sjis.c : Likewise.
21980         * iconvdata/t.61.c : Likewise.
21981         * iconvdata/tcvn5712-1.c : Likewise.
21982         * iconvdata/tscii.c: Likewise.
21983         * iconvdata/uhc.c : Likewise.
21984         * iconvdata/unicode.c (gconv_end): Likewise.
21985         * iconvdata/utf-16.c (gconv_end): Likewise.
21986         * iconvdata/utf-32.c (gconv_end): Likewise.
21987         * iconvdata/utf-7.c (base64): Likewise.
21988         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21989         * iconv/gconv_close.c (__gconv_close): Likewise.
21990         * iconv/gconv_open.c (__gconv_open): Likewise.
21991         * iconv/gconv_simple.c (internal_ucs4_loop_single)
21992         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21993         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21994         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21995         (ucs4le_internal_loop_single): Likewise.
21996         * iconv/iconv.c (iconv): Likewise.
21997         * iconv/iconv_close.c: Likewise.
21998         * iconv/loop.c (SINGLE): Likewise.
21999         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22000         * include/atomic.h: Likewise.
22001         * inet/inet6_option.c (option_alloc): Likewise.
22002         * intl/bindtextdom.c (set_binding_values): Likewise.
22003         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22004         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22005         * intl/localealias.c (read_alias_file): Likewise.
22006         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22007         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22008         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22009         * libio/fmemopen.c (fmemopen): Likewise.
22010         * libio/iofgets.c (_IO_fgets): Likewise.
22011         * libio/iofgets_u.c (fgets_unlocked): Likewise.
22012         * libio/iofgetws.c (fgetws): Likewise.
22013         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22014         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22015         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22016         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22017         * locale/findlocale.c (_nl_find_locale): Likewise.
22018         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22019         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22020         Likewise.
22021         * locale/setlocale.c (setlocale): Likewise.
22022         * login/programs/pt_chown.c (main): Likewise.
22023         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22024         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22025         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22026         (mmap, mmap64, mremap, munmap): Likewise.
22027         * math/e_exp2l.c: Likewise.
22028         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22029         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22030         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22031         * math/s_catan.c (__catan): Likewise.
22032         * math/s_catanf.c (__catanf): Likewise.
22033         * math/s_catanh.c (__catanh): Likewise.
22034         * math/s_catanhf.c (__catanhf): Likewise.
22035         * math/s_catanhl.c (__catanhl): Likewise.
22036         * math/s_catanl.c (__catanl): Likewise.
22037         * math/s_ccosh.c (__ccosh): Likewise.
22038         * math/s_ccoshf.c (__ccoshf): Likewise.
22039         * math/s_ccoshl.c (__ccoshl): Likewise.
22040         * math/s_cexp.c (__cexp): Likewise.
22041         * math/s_cexpf.c (__cexpf): Likewise.
22042         * math/s_cexpl.c (__cexpl): Likewise.
22043         * math/s_clog10.c (__clog10): Likewise.
22044         * math/s_clog10f.c (__clog10f): Likewise.
22045         * math/s_clog10l.c (__clog10l): Likewise.
22046         * math/s_clog.c (__clog): Likewise.
22047         * math/s_clogf.c (__clogf): Likewise.
22048         * math/s_clogl.c (__clogl): Likewise.
22049         * math/s_csin.c (__csin): Likewise.
22050         * math/s_csinf.c (__csinf): Likewise.
22051         * math/s_csinh.c (__csinh): Likewise.
22052         * math/s_csinhf.c (__csinhf): Likewise.
22053         * math/s_csinhl.c (__csinhl): Likewise.
22054         * math/s_csinl.c (__csinl): Likewise.
22055         * math/s_csqrt.c (__csqrt): Likewise.
22056         * math/s_csqrtf.c (__csqrtf): Likewise.
22057         * math/s_csqrtl.c (__csqrtl): Likewise.
22058         * math/s_ctan.c (__ctan): Likewise.
22059         * math/s_ctanf.c (__ctanf): Likewise.
22060         * math/s_ctanh.c (__ctanh): Likewise.
22061         * math/s_ctanhf.c (__ctanhf): Likewise.
22062         * math/s_ctanhl.c (__ctanhl): Likewise.
22063         * math/s_ctanl.c (__ctanl): Likewise.
22064         * math/w_pow.c: Likewise.
22065         * math/w_powf.c: Likewise.
22066         * math/w_powl.c: Likewise.
22067         * math/w_scalb.c (sysv_scalb): Likewise.
22068         * math/w_scalbf.c (sysv_scalbf): Likewise.
22069         * math/w_scalbl.c (sysv_scalbl): Likewise.
22070         * misc/error.c (error_tail): Likewise.
22071         * misc/pselect.c (__pselect): Likewise.
22072         * nis/nis_callback.c (__nis_create_callback): Likewise.
22073         * nis/nis_call.c (__nisfind_server): Likewise.
22074         * nis/nis_creategroup.c (nis_creategroup): Likewise.
22075         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22076         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22077         * nis/nis_getservlist.c (nis_getservlist): Likewise.
22078         * nis/nis_lookup.c (nis_lookup): Likewise.
22079         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22080         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22081         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22082         * nis/nis_xdr.c (xdr_endpoint): Likewise.
22083         * nis/nss_compat/compat-grp.c (getgrent_next_file)
22084         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22085         * nis/nss_compat/compat-initgroups.c (add_group)
22086         (internal_getgrent_r): Likewise.
22087         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22088         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22089         * nis/nss_compat/compat-spwd.c (getspent_next_file)
22090         (internal_getspnam_r): Likewise.
22091         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22092         (_nss_nis_getaliasbyname_r): Likewise.
22093         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22094         (_nss_nis_getntohost_r): Likewise.
22095         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22096         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22097         (_nss_nis_getgrgid_r): Likewise.
22098         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22099         (internal_nis_gethostent_r, internal_gethostbyname2_r)
22100         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22101         (_nss_nis_gethostbyname4_r): Likewise.
22102         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22103         (initgroups_netid): Likewise.
22104         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22105         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22106         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22107         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22108         (_nss_nis_getprotobynumber_r): Likewise.
22109         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22110         (_nss_nis_getsecretkey): Likewise.
22111         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22112         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22113         (_nss_nis_getpwuid_r): Likewise.
22114         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22115         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22116         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22117         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22118         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22119         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22120         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22121         Likewise.
22122         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22123         (_nss_nisplus_getntohost_r): Likewise.
22124         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22125         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22126         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22127         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22128         Likewise.
22129         * nis/nss_nisplus/nisplus-initgroups.c
22130         (_nss_nisplus_initgroups_dyn): Likewise.
22131         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22132         (_nss_nisplus_getnetbyaddr_r): Likewise.
22133         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22134         (_nss_nisplus_getprotobynumber_r): Likewise.
22135         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22136         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22137         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22138         Likewise.
22139         * nis/nss_nisplus/nisplus-service.c
22140         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22141         (_nss_nisplus_getservbyport_r): Likewise.
22142         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22143         (_nss_nisplus_getspnam_r): Likewise.
22144         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22145         Likewise.
22146         * nscd/aicache.c (addhstaiX): Likewise.
22147         * nscd/cache.c (cache_search, prune_cache): Likewise.
22148         * nscd/connections.c (register_traced_file, send_ro_fd)
22149         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22150         (main_loop_epoll): Likewise.
22151         * nscd/grpcache.c (addgrbyX): Likewise.
22152         * nscd/hstcache.c (addhstbyX): Likewise.
22153         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22154         * nscd/mem.c (gc, mempool_alloc): Likewise.
22155         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22156         (addinnetgrX): Likewise.
22157         * nscd/nscd-client.h (__nscd_acquire_maplock)
22158         (__nscd_drop_map_ref): Likewise.
22159         * nscd/nscd_getai.c (__nscd_getai): Likewise.
22160         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22161         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22162         Likewise.
22163         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22164         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22165         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22166         (__nscd_get_map_ref): Likewise.
22167         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22168         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22169         Likewise.
22170         * nscd/pwdcache.c (addpwbyX): Likewise.
22171         * nscd/selinux.c (preserve_capabilities): Likewise.
22172         * nscd/servicescache.c (addservbyX): Likewise.
22173         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22174         * posix/fnmatch.c (fnmatch): Likewise.
22175         * posix/getopt.c (_getopt_internal_r): Likewise.
22176         * posix/glob.c (glob, glob_in_dir): Likewise.
22177         * posix/wordexp.c (exec_comm_child): Likewise.
22178         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22179         (getanswer_r, gaih_getanswer_slice): Likewise.
22180         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22181         * resolv/res_init.c: Likewise.
22182         * resolv/res_mkquery.c (res_nmkquery): Likewise.
22183         * resolv/res_query.c (__libc_res_nquery): Likewise.
22184         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22185         Likewise.
22186         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22187         * stdio-common/perror.c (perror): Likewise.
22188         * stdio-common/printf_fp.c (___printf_fp): Likewise.
22189         * stdio-common/tmpnam.c (tmpnam): Likewise.
22190         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22191         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22192         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22193         Likewise.
22194         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22195         * stdlib/putenv.c (putenv): Likewise.
22196         * stdlib/setenv.c (__add_to_environ): Likewise.
22197         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22198         * stdlib/strtol_l.c (INTERNAL): Likewise.
22199         * string/memmem.c (memmem): Likewise.
22200         * string/strerror.c (strerror): Likewise.
22201         * string/strnlen.c (__strnlen): Likewise.
22202         * string/test-memmem.c (simple_memmem): Likewise.
22203         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22204         * sunrpc/pm_getport.c (__get_socket): Likewise.
22205         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22206         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22207         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22208         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22209         Likewise.
22210         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22211         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22212         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22213         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22214         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22215         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22216         Likewise.
22217         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22218         Likewise.
22219         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22220         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22221         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22222         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22223         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22224         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22225         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22226         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22227         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22228         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22229         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22230         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22231         Likewise.
22232         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22233         Likewise.
22234         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22235         Likewise.
22236         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22237         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22238         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22239         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22240         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22241         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22242         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22243         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22244         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22245         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22246         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22247         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22248         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22249         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22250         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22251         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22252         Likewise.
22253         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22254         Likewise.
22255         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22256         Likewise.
22257         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22258         Likewise.
22259         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22260         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22261         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22262         Likewise.
22263         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22264         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22265         * sysdeps/posix/opendir.c (__opendirat): Likewise.
22266         * sysdeps/posix/sleep.c: Likewise.
22267         * sysdeps/posix/tempname.c: Likewise.
22268         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22269         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22270         Likewise.
22271         * sysdeps/powerpc/powerpc32/dl-machine.h
22272         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22273         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22274         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22275         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22276         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22277         Likewise.
22278         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22279         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22280         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22281         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22282         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22283         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22284         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22285         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22286         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22287         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22288         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22289         (elf_machine_lazy_rel): Likewise.
22290         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22291         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22292         (elf_machine_lazy_rel): Likewise.
22293         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22294         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22295         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22296         * sysdeps/unix/grantpt.c (grantpt): Likewise.
22297         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22298         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22299         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22300         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22301         Likewise.
22302         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22303         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22304         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22305         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22306         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22307         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22308         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22309         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22310         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22311         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22312         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22313         Likewise.
22314         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22315         (__posix_fallocate64_l64): Likewise.
22316         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22317         (posix_fallocate): Likewise.
22318         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22319         Likewise.
22320         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22321         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22322         (getifaddrs_internal): Likewise.
22323         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22324         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22325         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22326         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22327         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22328         (__posix_fallocate64_l64): Likewise.
22329         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22330         Likewise.
22331         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22332         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22333         (__get_clockfreq): Likewise.
22334         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22335         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22336         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22339         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22340         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22341         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22342         Likewise.
22343         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22344         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22345         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22346         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22347         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22348         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22349         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22350         Likewise.
22351         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22352         (posix_fallocate): Likewise.
22353         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22354         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22355         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22356         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22357         (elf_machine_rela, elf_machine_rela_relative)
22358         (elf_machine_lazy_rel): Likewise.
22359         * time/asctime.c (asctime_internal): Likewise.
22360         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22361         * time/tzset.c (__tzset_parse_tz): Likewise.
22362         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22363         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22364         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22365         * wcsmbs/wcsmbsload.h: Likewise.
22367         [BZ #15894]
22368         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22370         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22371         (arena_get2): Remove THREAD_STATS conditionals.
22372         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22373         (__malloc_stats, int): Likewise.
22375 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
22377         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22378         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
22380         * manual/setjmp.texi: Fix typos/grammar errors.
22382         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22383         Only return early when n is <= 0.  Delete unused return statement.
22385         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22386         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22387         * debug/tst-longjmp_chk3.c: New file.
22389         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22390         (test_main): Replace code with set_fortify_handler call.
22391         * debug/test-strcpy_chk.c: Likewise.
22392         * debug/tst-chk1.c: Likewise.
22393         * debug/tst-longjmp_chk.c: Likewise.
22394         * test-skeleton.c: Include fcntl.h & paths.h
22395         (set_fortify_handler): Define.
22397         * debug/tst-longjmp_chk.c: Add header comment and include
22398         ../test-skeleton.c.
22399         (do_test): Mark static.
22400         (TEST_FUNCTION): Define.
22402         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22403         (IP_PMTUDISC_INTERFACE): Likewise.
22404         (IP_MULTICAST_IF): Likewise.
22405         (IP_MULTICAST_TTL): Likewise.
22406         (IP_MULTICAST_LOOP): Likewise.
22407         (IP_ADD_MEMBERSHIP): Likewise.
22408         (IP_DROP_MEMBERSHIP): Likewise.
22409         (IP_UNBLOCK_SOURCE): Likewise.
22410         (IP_BLOCK_SOURCE): Likewise.
22411         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22412         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22413         (IP_MSFILTER): Likewise.
22414         (MCAST_JOIN_GROUP): Likewise.
22415         (MCAST_BLOCK_SOURCE): Likewise.
22416         (MCAST_UNBLOCK_SOURCE): Likewise.
22417         (MCAST_LEAVE_GROUP): Likewise.
22418         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22419         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22420         (MCAST_MSFILTER): Likewise.
22421         (IP_MULTICAST_ALL): Likewise.
22422         (IP_UNICAST_IF): Likewise.
22424         * timezone/Makefile: Delete $(have-ksh) check.
22425         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22426         * timezone/tzselect.ksh: Add +x mode bits.
22428         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22429         (ANON_INODE_FS_MAGIC): Likewise.
22430         (BDEVFS_MAGIC): Likewise.
22431         (BINFMTFS_MAGIC): Likewise.
22432         (BTRFS_TEST_MAGIC): Likewise.
22433         (CRAMFS_MAGIC_WEND): Likewise.
22434         (DEBUGFS_MAGIC): Likewise.
22435         (ECRYPTFS_SUPER_MAGIC): Likewise.
22436         (EXT3_SUPER_MAGIC): Likewise.
22437         (EXT4_SUPER_MAGIC): Likewise.
22438         (FUTEXFS_SUPER_MAGIC): Likewise.
22439         (HOSTFS_SUPER_MAGIC): Likewise.
22440         (HUGETLBFS_MAGIC): Likewise.
22441         (MINIX3_SUPER_MAGIC): Likewise.
22442         (MTD_INODE_FS_MAGIC): Likewise.
22443         (NILFS_SUPER_MAGIC): Likewise.
22444         (OPENPROM_SUPER_MAGIC): Likewise.
22445         (PIPEFS_MAGIC): Likewise.
22446         (PSTOREFS_MAGIC): Likewise.
22447         (QNX6_SUPER_MAGIC): Likewise.
22448         (RAMFS_MAGIC): Likewise.
22449         (REISERFS_SUPER_MAGIC_STRING): Likewise.
22450         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22451         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22452         (SECURITYFS_MAGIC): Likewise.
22453         (SELINUX_MAGIC): Likewise.
22454         (SMACK_MAGIC): Likewise.
22455         (SOCKFS_MAGIC): Likewise.
22456         (SQUASHFS_MAGIC): Likewise.
22457         (STACK_END_MAGIC): Likewise.
22458         (TMPFS_MAGIC): Likewise.
22459         (USBDEVICE_SUPER_MAGIC): Likewise.
22460         (V9FS_MAGIC): Likewise.
22461         (XENFS_SUPER_MAGIC): Likewise.
22462         (CRAMFS_MAGIC): Fix typo in comment.
22463         (EXT2_SUPER_MAGIC): Update comment.
22464         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22466 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
22468         * sysdeps/arm: Move directory from ports/sysdeps/arm.
22469         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22470         * sysdeps/unix/sysv/linux/arm: Move directory from
22471         ports/sysdeps/unix/sysv/linux/arm.
22472         * README: Update listing for arm-*-linux-gnueabi.
22474         * README: Remove mention of am33.
22476 2014-02-07  Roland McGrath  <roland@hack.frob.com>
22478         * bits/sigset.h (__sigemptyset): Use a statement expression rather
22479         than the comma operator, to avoid "rhs of comma has no effect"
22480         compiler warnings.
22481         (__sigfillset, __sigandset, __sigorset): Likewise.
22482         * include/signal.h (__sigemptyset): Likewise.
22483         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22485 2014-02-07  Allan McRae  <allan@archlinux.org>
22487         * version.h (RELEASE): Set to "development".
22488         (VERSION): Set to "2.19.90"
22489         * NEWS: Add 2.20 section.
22491 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
22493         [BZ #16529]
22494         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22496 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22498         * manual/contrib.texi: Update entry for Carlos O'Donell,
22499         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22501 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
22503         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22505         * sysdeps/unix/sysv/linux/kernel-features.h
22506         [__LINUX_KERNEL_VERSION >= 0x020621]
22507         (__ASSUME_PROC_PID_TASK_COMM): Define.
22509 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22511         [BZ #16398]
22512         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22513         conversion when destination buffer does not have enough space.
22514         * libio/tst-ftell-partial-wide.c: New test case.
22515         * libio/Makefile (tests): Add tst-ftell-partial-wide.
22517         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22518         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
22519         Leonard and Allan McRae.
22521 2014-02-04  David S. Miller  <davem@davemloft.net>
22523         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22524         32-bit.
22526 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22529         New file
22530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22531         New file
22532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22533         New file.
22534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22535         New file.
22536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22537         New file.
22538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22539         New file.
22540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22541         New file.
22542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22543         New file.
22544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22545         New file.
22546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22547         New file.
22548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22549         New file.
22550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22551         New file.
22552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22553         New file.
22555 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22557         * nptl/shlib-versions: Change powerpc*le start to 2.17.
22558         * shlib-versions: Likewise.
22560 2014-02-04  Roland McGrath  <roland@hack.frob.com>
22561             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22563         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22564         (abilist-pattern): New variable, set to %-le.abilist.
22566         * Makerules (abilist-pattern): New variable.
22567         (vpath): Use $(abilist-pattern) in place of %.abilist.
22568         (check-abi-% pattern rule): Likewise.
22569         (check-abi, update-abi): Likewise.
22571 2014-02-04  Eric Wong  <normalperson@yhbt.net>
22573         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22575 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
22577         * manual/startup.texi: Add next, previous, and top entries for
22578         the `Program Arguments' and `Environment Variables' nodes.
22580 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
22582         * manual/macros.texi: Add comments before MTASC-safety macros.
22584         * manual/users.texi: Document MTASC-safety properties.
22586         * manual/threads.texi (pthread_key_create, pthread_key_delete)
22587         (pthread_getspecific, pthread_setspecific): Format with
22588         @deftypefun, and add @safety note.
22589         * manual/signal.texi: Move comments that analyze the above
22590         functions to their home place.
22592 2014-02-03  Allan McRae  <allan@archlinux.org>
22594         * po/sl.po: Update Slovenian translation from translation project.
22596 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
22598         * manual/time.texi (timegm): Add missing blank after @c.
22599         Reported by Joseph Myers <joseph@codesourcery.com>.
22601 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
22603         * manual/check-safety.sh: New.
22604         * manual/Makefile ($(objpfx)stamp-summary): Run it.
22606         * manual/terminal.texi: Document MTASC-safety properties.
22608         * manual/filesys.texi: Document MTASC-safety properties.
22610         * manual/errno.texi: Document MTASC-safety properties.
22612         * manual/intro.texi: Document safety identifiers and
22613         conditionals.
22615         * manual/string.texi (wcstok): Fix prototype.
22616         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22618         * manual/time.texi: Document MTASC-safety properties.
22620         * manual/string.texi: Document MTASC-safety properties.
22622         * manual/threads.texi: Document MTASC-safety properties.
22624         * manual/stdio.texi: Document MTASC-safety properties.
22626         * manual/syslog.texi: Document MTASC-safety properties.
22628         * manual/sysinfo.texi: Document MTASC-safety properties.
22630         * manual/startup.texi: Document MTASC-safety properties.
22632         * manual/socket.texi: Document MTASC-safety properties.
22634         * manual/signal.texi: Document MTASC-safety properties.
22636 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
22638         * manual/setjmp.texi: Document MTASC-safety properties.
22640         * manual/search.texi: Document MTASC-safety properties.
22642         * manual/resource.texi: Document MTASC-safety properties.
22644         * manual/process.texi: Document MTASC-safety properties.
22646         * manual/platform.texi: Document MTASC-safety properties.
22648         * manual/pipe.texi: Document MTASC-safety properties.
22650         * manual/pattern.texi: Document MTASC-safety properties.
22652         * manual/message.texi: Document MTASC-safety properties.
22654         [BZ #12751]
22655         * manual/memory.texi: Document MTASC-safety properties.
22657         * manual/math.texi: Document MTASC-safety properties.
22659         * manual/locale.texi: Document MTASC-safety properties.
22661         * manual/llio.texi: Document MTASC-safety properties.
22663         * manual/libdl.texi: New.
22665         * manual/lang.texi: Document MTASC-safety properties.
22667         * manual/job.texi: Document MTASC-safety properties.
22669         * manual/getopt.texi: Document MTASC-safety properties.
22671         * manual/ctype.texi: Document MTASC-safety properties.
22673 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
22675         [BZ #16046]
22676         * csu/libc-tls.c (static_map): Remove variable.
22677         (__libc_setup_tls): Use main executable's link map for TLS data.
22678         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22679         casing for LM_ID_BASE and GL(dl_nns).
22680         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22681         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
22682         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22683         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22684         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22685         member.
22686         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22687         l_phnum members.
22689 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
22691         * manual/debug.texi: Document MTASC-safety properties.
22693 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
22695         [BZ #16510]
22696         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22697         of __x86_64__ when disabling x87 inline functions.
22699 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
22701         * manual/charset.texi: Document MTASC-safety properties.
22703         * manual/crypt.texi: Document MTASC-safety properties.
22705         * manual/conf.texi: Document MTASC-safety properties.
22707         * manual/arith.texi: Document MTASC-safety properties.
22709         * manual/argp.texi: Document MTASC-safety properties.
22711         * manual/macros.texi: Introduce macros to document multi
22712         thread, asynchronous signal and asynchronous cancellation
22713         safety properties.
22714         * manual/intro.texi: Introduce the properties themselves.
22716 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22718         * sysdeps/sh/sh4/Makefile: New file.
22720 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
22722         * math/gen-libm-test.pl ($srcdir): New variable.
22723         ($auto_input): Use it.
22725 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22727         [BZ #16506]
22728         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22729         access beyond array bounds when parsing netgroups file.
22731         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22732         the old buffer before realloc.
22734 2014-01-27  Allan McRae  <allan@archlinux.org>
22736         * po/fr.po: Update French translation from translation project.
22738 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22740         * sysdeps/sh/libm-test-ulps: Regenerate.
22742 2014-01-24  David S. Miller  <davem@davemloft.net>
22744         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22746 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22748         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22749         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22751 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22753         [BZ #16474]
22754         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22755         string pointers after reallocation.
22757 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22759         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22760         __SH4A__ instead of __SH_FPU_ANY__.
22762 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22764         * sysdeps/sh/fpu_control.h: New file.
22765         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22766         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22767         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22768         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22769         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22770         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22771         * sysdeps/sh/sys/ucontext.h: Remove.
22772         * sysdeps/sh/sys: Remove directory.
22774 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22776         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22777         s390/sys/ucontext.h.
22778         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22779         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22781 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
22783         [BZ #15605]
22784         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22786 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22788         [BZ#16431]
22789         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22790         Adjust the vDSO correctly for internal calls.
22791         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22793 2014-01-20  Allan McRae  <allan@archlinux.org>
22795         * po/ca.po: Update Catalan translation from translation project.
22797 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
22799         * sysdeps/s390/sotruss-lib.c: New file.
22801 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22803         [BZ#16430]
22804         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22805         (__GI___gettimeofday): Alias for a different internal symbol to avoid
22806         local calls issues by not having a PLT stub required for IFUNC calls.
22807         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22809 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
22811         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22812         * math/test-fpucw-static.c: Likewise.
22814 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22816         [BZ #16453]
22817         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22819 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22821         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22822         implementation for powerpc.
22824 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
22826         [BZ #14782]
22827         * sysdeps/posix/system.c (__libc_system): Do not enable
22828         asynchronous cancellation.
22830 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22832         [BZ #16427]
22833         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22834         handling only for numbers special also in the IEEE case.
22836 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22838         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22840 2014-01-11  Allan McRae  <allan@archlinux.org>
22842         * po/bg.po: Update Bulgarian translation from translation project.
22844         * po/de.po: Update German translation from translation project.
22846 2014-01-10  Roland McGrath  <roland@hack.frob.com>
22848         * sysdeps/generic/gcc-compat.h: New file.
22850 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22852         * benchtests/asin-inputs: Correct slow inputs.
22853         * benchtests/acos-inputs: Likewise.
22855 2014-01-10  Allan McRae  <allan@archlinux.org>
22857         * po:sv.po: Update Swedish translation from translation project.
22859         * po/vi.po: Update Vietnamese translation from translation project.
22861         * po/eo.po: Update Esperanto translation from translation project.
22863         * po/cs.po: Update Czech translation from translation project.
22865         * po/nl.po: Update Dutch translation from translation project.
22867         * po/pl.po: Update Polish translation from translation project.
22869         * po/ru.po: Update Russian translation from translation project.
22871         * po/uk.po: Update Ukrainian translation from translation project.
22873 2014-01-08  Brooks Moses  <bmoses@google.com>
22875         * elf/dl-load.c: Fix comment typo.
22877 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
22879         * po/header.pot: Rename to...
22880         * po/pot.header: ... this.
22881         * po/Makefile: Use pot.header.
22883 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
22884             Maxim Kuvyrkov  <maxim@kugelworks.com>
22886         [BZ #16394]
22887         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22888         SRC and DEST against LEN.
22890 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22892         [BZ #16414]
22893         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22894         implementation.
22895         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22897 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22901 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
22903         [BZ #16408]
22904         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22905         for large positive arguments.
22907 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
22909         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22911         * math/auto-libm-test-in: Mark various tests with
22912         xfail-rounding:ldbl-128ibm.
22913         * math/auto-libm-test-out: Regenerated.
22915         [BZ #16407]
22916         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22917         Increase overflow threshold.
22919 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
22921         [BZ #14286]
22922         * stdio-common/vfprintf.c: Check for integer overflow.
22924 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22926         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22927         the first argument and return value of __tls_get_addr_internal.
22929 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22931         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22932         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22934 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22936         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22937         * sysdeps/s390/rtld-global-offsets.sym: New file.
22938         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22939         GLIBC_2.19 symbol.
22940         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22941         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22942         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22943         ... this.
22944         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22945         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22946         ... this.
22947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22948         Regenerate.
22949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22950         Regenerate.
22951         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22952         halfs of GPRs for high_gprs contexts.
22953         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22954         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
22955         field.
22956         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22957         uc_flags field.
22958         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22959         64 bit versions:
22960         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22961         for high GPRs (uc_high_gprs) and for future extensions
22962         (__reserved).
22963         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22964         for future extensions (__reserved).
22965         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22966         64 bit versions:
22967         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22968         SC_HIGHGPRS offset definition.
22969         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22970         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22972         * Versions.def: Add GLIBC_2.19 for libpthread.
22973         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22974         siglongjmp for libpthread with GLIBC_2.19 symver.
22975         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22976         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22977         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22978         * sysdeps/s390/__longjmp.c: New file.
22979         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22980         * sysdeps/s390/longjmp.c: New file.
22981         * sysdeps/s390/setjmp.S: New file.
22982         * sysdeps/s390/sigjmp.S: New file.
22983         * sysdeps/s390/v1-longjmp.c: New file.
22984         * sysdeps/s390/v1-setjmp.h: New file.
22985         * sysdeps/s390/v1-sigjmp.c: New file.
22986         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22987         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22988         GLIBC_2.19 version.
22989         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22990         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22991         versioned symbols for ____longjmp_chk.
22992         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22993         Likewise.
22994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22995         Regenerate.
22996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22997         Regenerate.
22998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22999         Regenerate.
23000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23001         Regenerate.
23002         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23003         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23004         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23005         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23006         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23007         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23008         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23009         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23010         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23011         * sysdeps/s390/rtld-__longjmp.c: New file.
23012         * sysdeps/s390/rtld-setjmp.S: New file.
23014 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
23016         [BZ #16400]
23017         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23018         Return -__logl (x) for small positive arguments without evaluating
23019         a polynomial.
23021 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
23023         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23024         Rename to ...
23025         (__ptrace_peeksiginfo_args): ... this.
23026         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23027         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23028         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23030 2014-01-06  Allan McRae  <allan@archlinux.org>
23032         * inet/netinet/in.h: Fix typo in comment.
23034 2014-01-05  Andreas Jaeger  <aj@suse.de>
23036         * sysdeps/i386/fpu/libm-test-ulps: Update.
23038 2014-01-05  Allan McRae  <allan@archlinux.org>
23040         * po/libc.pot: Regenerated.
23042         * malloc/memusagestat.c: Fix gettext call formatting.
23044 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
23046         * nscd/nscd.c: Improve usage() output.
23048 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
23050         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23051         * sysdeps/unix/sysv/linux/configure: Regenerated.
23052         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23053         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23055 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23057         [BZ #16390]
23058         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23059         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23061 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23063         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23064         extra tokens at end of #undef directive.
23065         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23066         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23067         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23069 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23071         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23073         * math/auto-libm-test-in: Mark various tests with
23074         xfail-rounding:ldbl-128ibm.
23075         * math/auto-libm-test-out: Regenerated.
23077 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
23079         [BZ #16386]
23080         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23081         numbers with subnormal high part when calculating exponent.
23083         [BZ #16385]
23084         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23085         fabs.
23087         [BZ #16384]
23088         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23089         M_LN2l.
23090         (__ieee754_acoshl): Use __log1pl not __log1p.
23092 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
23094         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23095         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23096         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23097         (grow_heap, heap_trim, _int_new_arena, get_free_list)
23098         (reused_arena, arena_get2): Convert to GNU style.
23099         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23100         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23101         (memalign_check, __malloc_set_state): Likewise.
23102         * malloc/mallocbug.c (main): Likewise.
23103         * malloc/malloc.c (__malloc_assert, malloc_init_state)
23104         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23105         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23106         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23107         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23108         (__posix_memalign, malloc_info): Likewise.
23109         * malloc/malloc.h: Likewise.
23110         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23111         (mallochook, memalignhook, reallochook, mabort): Likewise.
23112         * malloc/mcheck.h: Likewise.
23113         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23114         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23115         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23116         * malloc/morecore.c (__default_morecore): Likewise.
23117         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23118         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23119         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23120         (print_and_abort): Likewise.
23121         * malloc/obstack.h: Likewise.
23122         * malloc/set-freeres.c (__libc_freeres): Likewise.
23123         * malloc/tst-mallocstate.c (main): Likewise.
23124         * malloc/tst-mtrace.c (main): Likewise.
23125         * malloc/tst-realloc.c (do_test): Likewise.
23127 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23129         [BZ #16366]
23130         * nscd/netgroupcache.c (do_notfound): New function.
23131         (addgetnetgrentX): Use it.
23133         [BZ # 16365]
23134         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23135         NSS_STATUS_NOTFOUND.
23137 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
23139         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23142 2014-01-01  Allan McRae  <allan@archlinux.org>
23144         * scripts/update-copyrights: Update configure input file suffix.
23146         * NEWS: Update copyright year.
23147         * catgets/gencat.c: Likewise.
23148         * csu/version.c: Likewise.
23149         * debug/catchsegv.sh: Likewise.
23150         * debug/pcprofiledump.c: Likewise.
23151         * debug/xtrace.sh: Likewise.
23152         * elf/ldconfig.c: Likewise.
23153         * elf/ldd.bash.in: Likewise.
23154         * elf/pldd.c: Likewise.
23155         * elf/sotruss.ksh: Likewise.
23156         * elf/sprof.c: Likewise.
23157         * iconv/iconv_prog.c: Likewise.
23158         * iconv/iconvconfig.c: Likewise.
23159         * locale/programs/locale.c: Likewise.
23160         * locale/programs/localedef.c: Likewise.
23161         * login/programs/pt_chown.c: Likewise.
23162         * malloc/memusage.sh: Likewise.
23163         * malloc/memusagestat.c: Likewise.
23164         * malloc/mtrace.pl: Likewise.
23165         * manual/libc.texinfo: Likewise.
23166         * nscd/nscd.c: Likewise.
23167         * nss/getent.c: Likewise.
23168         * nss/makedb.c: Likewise.
23169         * posix/getconf.c: Likewise.
23170         * scripts/test-installation.pl: Likewise.
23172         * All files with FSF copyright notices: Update copyright dates
23173         using scripts/update-copyrights.
23174         * intl/plural.c: Regenerated.
23175         * locale/programs/charmap-kw.h: Likewise.
23176         * locale/programs/locfile-kw.h: Likewise.
23178 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
23180         * sysdeps/unix/sysv/linux/configure: Regenerated.
23181         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23182         the linux/fanotify.h header.
23183         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23184         HAVE_LINUX_FANOTIFY_H is defined.
23186 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23188         * benchtests/cos-inputs: New inputs.
23189         * benchtests/sin-inputs: Likewise.
23191         * benchtests/atan-inputs: New inputs. Fix name of multiple
23192         precision fallback inputs.
23194         * benchtests/atanh-inputs: New inputs.
23195         * benchtests/tanh-inputs: Likewise.
23197         * benchtests/acosh-inputs: New inputs.
23198         * benchtests/asinh-inputs: Likewise.
23200         * benchtests/cosh-inputs: New inputs.
23201         * benchtests/sinh-inputs: Likewise.
23203         * benchtests/acos-inputs: Add more inputs.
23204         * benchtests/asin-inputs: Likewise.
23206 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
23208         [BZ #16375]
23209         * manual/arith.texi: Fix spelling.
23210         * manual/charset.texi: Likewise.
23211         * manual/errno.texi: Likewise.
23212         * manual/filesys.texi: Likewise.
23213         * manual/lang.texi: Likewise.
23214         * manual/llio.texi: Likewise.
23215         * manual/locale.texi: Likewise.
23216         * manual/message.texi: Likewise.
23217         * manual/resource.texi: Likewise.
23218         * manual/search.texi: Likewise.
23219         * manual/setjmp.texi: Likewise.
23220         * manual/stdio.texi: Likewise.
23221         * manual/string.texi: Likewise.
23222         * manual/sysinfo.texi: Likewise.
23223         * manual/time.texi: Likewise.
23225 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
23227         * po/sl.po: New file.
23229 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
23231         * .gitignore: Add core/.gdbinit/.gdb_history.
23233 2013-12-27  Allan McRae  <allan@archlinux.org>
23235         [BZ #16369]
23236         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23237         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23239 2013-12-24  Brooks Moses  <bmoses@google.com>
23241         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23242         all compilers that claim C++98 compliance, not just GCC.
23243         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23244         Likewise.
23246 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23248         * NEWS: Restore accidentally deleted bug-fix entries.
23250 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23251             Ondřej Bílka  <neleai@seznam.cz>
23253         [BZ #15073]
23254         * malloc/malloc.c (_int_free): Perform sanity check only if we
23255         have_lock.
23257 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
23259         [BZ #12986]
23260         * manual/stdio.texi (String Input Conversions): Clarify that character
23261         classes are not supported.
23263 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23267 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
23269         [BZ #16337]
23270         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23271         Calculate results for small negative arguments directly rather
23272         than using reflection formula with special underflow handling.
23274         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23275         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23276         sysdeps/unix/bsd/bsd4.4/syscalls.list.
23277         (fchflags): Likewise.
23278         (revoke): Likewise.
23279         (setlogin): Likewise.
23280         (sigaltstack): Likewise.
23281         (wait4): Likewise.
23282         (sigblock): Remove.
23283         (sigsetmask): Likewise.
23284         (wait3): Likewise.
23285         (waitpid): Likewise.
23286         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23287         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23288         file.
23289         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23290         * sysdeps/unix/bsd/Makefile: ... here.
23291         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23292         * sysdeps/unix/bsd/Versions: ... here.
23293         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23294         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23295         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23296         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23297         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23298         * sysdeps/unix/bsd/sigblock.c: ... here.
23299         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23300         * sysdeps/unix/bsd/sigsetmask.c: ... here.
23301         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23302         * sysdeps/unix/bsd/sigvec.c: ... here.
23303         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23304         * sysdeps/unix/bsd/tcdrain.c: ... here.
23305         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23306         * sysdeps/unix/bsd/tcgetattr.c: ... here.
23307         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23308         * sysdeps/unix/bsd/tcsetattr.c: ... here.
23309         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23310         * sysdeps/unix/bsd/wait.c: ... here.
23311         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23312         * sysdeps/unix/bsd/wait3.c: ... here.
23313         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23314         * sysdeps/unix/bsd/waitpid.c: ... here.
23316 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
23318         [BZ #16356]
23319         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23320         round-to-nearest for [!USE_AS_EXPM1L].
23321         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23322         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
23323         more tests of exp and exp10.  Expect some exp10 tests to miss
23324         exceptions or fail in directed rounding modes.
23325         * math/auto-libm-test-out: Regenerated.
23326         * math/libm-test.inc (exp10_tonearest_test_data): New array.
23327         (exp10_test_tonearest): New function.
23328         (exp10_towardzero_test_data): New array.
23329         (exp10_test_towardzero): New function.
23330         (exp10_downward_test_data): New array.
23331         (exp10_test_downward): New function.
23332         (exp10_upward_test_data): New array.
23333         (exp10_test_upward): New function.
23334         (main): Call the new functions.
23335         * sysdeps/i386/fpu/libm-test-ulps: Update.
23336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23338 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
23340         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23341         asinh, atan, atan2, atanh, cbrt, cos and cosh.
23342         * math/auto-libm-test-out: Regenerated.
23343         * math/libm-test.inc (acosh_test_data): Add more tests.
23344         (atanh_test_data): Likewise.
23345         (ceil_test_data): Likewise.
23346         (copysign_test_data): Likewise.
23347         * sysdeps/i386/fpu/libm-test-ulps: Update.
23348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23350         * timezone/checktab.awk: Update from tzcode 2013i.
23351         * timezone/private.h: Likewise.
23352         * timezone/scheck.c: Likewise.
23353         * timezone/tzfile.h: Likewise.
23354         * timezone/tzselect.ksh: Likewise.
23355         * timezone/zdump.c: Likewise.
23356         * timezone/zic.c: Likewise.
23358         * math/auto-libm-test-in: Add tests of cpow.
23359         * math/auto-libm-test-out: Regenerated.
23360         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23361         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23362         mpc_cc_c.
23363         (func_calc_desc): Add mpc_cc_c union field.
23364         (test_functions): Add cpow.
23365         (special_fill_2pi): New function.
23366         (special_real_inputs): Add 2pi.
23367         (calc_generic_results): Handle mpc_cc_c.
23368         * sysdeps/i386/fpu/libm-test-ulps: Update.
23369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23371         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23372         csqrt, ctan and ctanh.
23373         * math/auto-libm-test-out: Regenerated.
23374         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23375         (TEST_COND_x86): Likewise.
23376         (ccos_test_data): Use AUTO_TESTS_c_c.
23377         (ccosh_test_data): Likewise.
23378         (cexp_test_data): Likewise.
23379         (clog_test_data): Likewise.
23380         (csqrt_test_data): Likewise.
23381         (ctan_test_data): Likewise.
23382         (ctan_tonearest_test_data): Likewise.
23383         (ctan_towardzero_test_data): Likewise.
23384         (ctan_downward_test_data): Likewise.
23385         (ctan_upward_test_data): Likewise.
23386         (ctanh_test_data): Likewise.
23387         (ctanh_tonearest_test_data): Likewise.
23388         (ctanh_towardzero_test_data): Likewise.
23389         (ctanh_downward_test_data): Likewise.
23390         (ctanh_upward_test_data): Likewise.
23391         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23392         mpc_c_c.
23393         (func_calc_desc): Add mpc_c_c union field.
23394         (FUNC_mpc_c_c): New macro.
23395         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23396         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23397         ctanh.
23398         (special_fill_min_subnorm_p120): New function.
23399         (special_real_inputs): Add min_subnorm_p120.
23400         (calc_generic_results): Handle mpc_c_c.
23401         * sysdeps/i386/fpu/libm-test-ulps: Update.
23402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23404 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23406         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23407         (do_sin_slow): New functions.
23408         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23409         (cslow2, csloww1, csloww2): Use the new functions.
23411         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23412         Use M to change sign of result instead of X.  Assume X is
23413         positive.
23414         (csloww1): Likewise.
23415         (__sin): Adjust.
23416         (__cos): Adjust.
23418         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23419         arguments A and DA.
23420         (__sin): Adjust.
23421         (__cos): Likewise.
23423         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23424         (__cos): Likewise.
23425         (sloww1): Don't adjust sign of DX.
23426         (csloww1): Likewise.
23427         (sloww2): Use X directly and don't adjust sign of DX.
23428         (csloww2): Likewise.
23430 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23432         * math/auto-libm-test-in: Add tests of cabs and carg.
23433         * math/auto-libm-test-out: Regenerated.
23434         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23435         (carg_test_data): Likewise.
23436         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23437         mpc_c_f.
23438         (func_calc_desc): Add mpc_c_f union field.
23439         (test_functions): Add cabs and carg.
23440         (calc_generic_results): Handle mpc_c_f.
23442         * sysdeps/powerpc/powerpc32/libgcc-compat.S
23443         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23444         as a macro and a compat symbol.
23445         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23446         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23447         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23448         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23449         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23450         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23451         not use .hidden.
23452         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23453         Likewise.
23454         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23455         Likewise.
23456         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23457         Likewise.
23458         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23459         Likewise.
23460         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23461         Likewise.
23462         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23463         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23464         from GLIBC_2.3.2.
23466 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23470 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23472         * manual/texinfo.tex: Update to version 2013-11-26.10 with
23473         trailing whitespace removed.
23474         * scripts/config.guess: Update to version 2013-11-29.
23475         * scripts/config.sub: Update to version 2013-10-01.
23477         * math/auto-libm-test-in: Add tests of sincos.
23478         * math/auto-libm-test-out: Regenerated.
23479         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23480         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23481         mpfr_f_11.
23482         (func_calc_desc): Add mpfr_f_11 union field.
23483         (test_functions): Add sincos.
23484         (calc_generic_results): Handle mpfr_f_11.
23485         * sysdeps/i386/fpu/libm-test-ulps: Update.
23486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23488 2013-12-19  Andreas Schwab  <schwab@suse.de>
23490         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23491         CALL_MCOUNT.
23492         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23493         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23494         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23496 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23498         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23499         * sysdeps/i386/fpu/libm-test-ulps: Update.
23500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23502         [BZ #16293]
23503         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23504         round-to-nearest mode when using frndint.
23505         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23506         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23507         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23508         Likewise.
23509         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
23510         sinh test to fail.
23511         * math/auto-libm-test-out: Regenerated.
23512         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23513         (TEST_COND_x86): Likewise.
23514         (expm1_tonearest_test_data): New array.
23515         (expm1_test_tonearest): New function.
23516         (expm1_towardzero_test_data): New array.
23517         (expm1_test_towardzero): New function.
23518         (expm1_downward_test_data): New array.
23519         (expm1_test_downward): New function.
23520         (expm1_upward_test_data): New array.
23521         (expm1_test_upward): New function.
23522         (main): Run the new test functions.
23523         * sysdeps/i386/fpu/libm-test-ulps: Update.
23524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23526         * include/features.h: Update comment documenting feature test
23527         macros.  Mention _DEFAULT_SOURCE in comment.
23528         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23529         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23530         _BSD_SOURCE and _SVID_SOURCE.
23531         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23532         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23533         !_SVID_SOURCE]: Likewise.
23534         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23535         (__USE_POSIX_IMPLICITLY): Define.
23536         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23537         (_POSIX_SOURCE): Undefine and redefine.
23538         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23539         (_POSIX_C_SOURCE): Likewise.
23540         * manual/creature.texi (_DEFAULT_SOURCE): Document.
23541         (Feature Test Macros): Update documentation of default features.
23543 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23545         * benchtests/Makefile: Add bench-strtok.
23546         * benchtests/bench-strtok.c: New file: strtok benchtest.
23548 2013-12-19  Allan McRae  <allan@archlinux.org>
23550         * manual/install.texi: Suppress menu for plain text output.
23551         * INSTALL: Regenerated.
23553 2013-12-18  Brooks Moses  <bmoses@google.com>
23555         [BZ #15846]
23556         * misc/getauxval.c: Include errno.h.
23557         (__getauxval): Set errno to ENOENT if the requested type is not
23558         found.
23559         * misc/sys/auxv.h (getauxval): Document that it may set errno;
23560         don't declare with __attribute_const__.
23561         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23562         * manual/startup.texi: Document that getauxval sets errno.
23564 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23566         * math/auto-libm-test-in: Add tests of jn and yn.
23567         * math/auto-libm-test-out: Regenerated.
23568         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23569         (yn_test_data): Likewise.
23570         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23571         mpfr_if_f.
23572         (func_calc_desc): Add mpfr_if_f union field.
23573         (FUNC_mpfr_if_f): New macro.
23574         (test_functions): Add jn and yn.
23575         (calc_generic_results): Assert type of second input for
23576         mpfr_ff_f.  Handle mpfr_if_f.
23577         (output_for_one_input_case): Disable all checking for arguments
23578         fitting floating-point types in case of an integer argument.
23579         * sysdeps/i386/fpu/libm-test-ulps: Update.
23580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23583         Don't expect fegetround reference in libm.so.
23585 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23587         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23588         $(config-cflags-nofma).
23590 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23592         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23593         * math/auto-libm-test-out: Regenerated.
23595         [BZ #16338]
23596         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23597         to determine exponent and adjust argument to have exponent of -1.
23598         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23599         log2.
23600         * math/auto-libm-test-out: Regenerated.
23601         * sysdeps/i386/fpu/libm-test-ulps: Update.
23602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23604 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
23606         * manual/probes.texi: Remove cases when per-thread arenas are
23607         disabled.
23609 2013-12-18  Andreas Schwab  <schwab@suse.de>
23611         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23612         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23613         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23614         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23615         * sysdeps/i386/i686/multiarch/Makefile: Update.
23616         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23618 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23620         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23621         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23623 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
23625         [BZ #15968]
23626         Support TZ transition times < 00:00:00.
23627         This is needed for version-3 tz-format files; it supports time
23628         stamps past 2037 for America/Godthab (the only entry in the tz
23629         database for which this change is relevant).
23630         * manual/time.texi (TZ Variable): Document transition times
23631         from -167:59:59 through -00:00:01.
23632         * time/tzset.c (tz_rule): Time of day is now signed.
23633         (__tzset_parse_tz): Parse negative time of day.
23635         Document TZ transition times >= 25:00:00.
23636         * manual/time.texi (TZ Variable): Document transition times from
23637         25:00:00 through 167:59:59.  These are already supported, and this
23638         support will help with version-3 tz-format files.
23640         * manual/time.texi (TZ Variable): Modernize North America example
23641         to reflect current (i.e., 2007-and-later) daylight saving rules.
23643         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23645 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23647         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23648         * sysdeps/unix/bsd/bits/stat.h: Likewise.
23649         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23650         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23651         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23652         * sysdeps/unix/bsd/bsdstat.h: Likewise.
23653         * sysdeps/unix/bsd/clock.c: Likewise.
23654         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23655         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23656         * sysdeps/unix/bsd/init-posix.c: Likewise.
23657         * sysdeps/unix/bsd/poll.c: Likewise.
23658         * sysdeps/unix/bsd/ptsname.c: Likewise.
23659         * sysdeps/unix/bsd/seekdir.c: Likewise.
23660         * sysdeps/unix/bsd/setegid.c: Likewise.
23661         * sysdeps/unix/bsd/seteuid.c: Likewise.
23662         * sysdeps/unix/bsd/setgid.c: Likewise.
23663         * sysdeps/unix/bsd/setrgid.c: Likewise.
23664         * sysdeps/unix/bsd/setruid.c: Likewise.
23665         * sysdeps/unix/bsd/setsid.c: Likewise.
23666         * sysdeps/unix/bsd/setuid.c: Likewise.
23667         * sysdeps/unix/bsd/sigaction.c: Likewise.
23668         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23669         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23670         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23671         * sysdeps/unix/bsd/telldir.c: Likewise.
23672         * sysdeps/unix/bsd/times.c: Likewise.
23673         * sysdeps/unix/bsd/usleep.c: Likewise.
23675         * misc/Makefile (install-lib): Remove libbsd-compat.a.
23676         ($(objpfx)libbsd-compat.a): Remove rule.
23678         * include/features.h (__FAVOR_BSD): Do not define.
23679         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23680         features conflicting with POSIX.
23681         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23682         (_BSD_SOURCE): Remove description of not being a subset of other
23683         feature test macros.
23684         * manual/job.texi (getpgrp): Do not document BSD version.
23685         (getpgid): Do not document by reference to BSD getpgrp.
23686         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23687         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23688         * signal/signal.h [__FAVOR_BSD]: Likewise.
23689         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23690         instead of making contents conditional on [__FAVOR_BSD].
23691         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23693 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23697 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23699         [BZ #16314]
23700         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23701         values below 2**-450, not 2**-500.
23702         * math/auto-libm-test-in: Don't allow spurious underflow from
23703         hypot.
23704         * math/auto-libm-test-out: Regenerated.
23706         [BZ #16316]
23707         [BZ #16330]
23708         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23709         values of ha and hb and sort them after adjusting subnormal
23710         arguments.
23711         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23712         Likewise.
23713         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23714         values of ea and eb and sort them after adjusting subnormal
23715         arguments.
23716         * math/auto-libm-test-in: Do not expect some hypot tests of
23717         subnormals to fail.  Add more hypot tests.
23718         * math/auto-libm-test-out: Regenerated.
23720 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23722         [BZ #13304]
23723         * sysdeps/sh/s_fma.c: New file.
23724         * sysdeps/sh/s_fmaf.c: New file.
23725         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
23726         version.
23727         * sysdeps/sh/Implies: Add sh/soft-fp.
23729 2013-12-16  Roland McGrath  <roland@hack.frob.com>
23731         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
23732         level of indirection to members `objname', `errstring', `malloced'.
23733         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23734         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
23735         it as the __longjmp argument (just pass 1 instead).
23736         (_dl_catch_error): Initialize C with argument pointers and address of
23737         volatile local ERRCODE rather than copying values out of C at return.
23739 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
23741         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23742         * math/auto-libm-test-out: Regenerated.
23743         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23744         (hypot_test_data): Likewise.
23745         (pow_test_data): Likewise.
23746         (pow_tonearest_test_data): Likewise.
23747         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23748         mpfr_ff_f.
23749         (func_calc_desc): Add mpfr_ff_f union field.
23750         (FUNC_mpfr_ff_f): New macro.
23751         (test_functions): Add atan2, hypot and pow.
23752         (special_fill_min): New function.
23753         (special_fill_minus_min): Likewise.
23754         (special_fill_min_subnorm): Likewise.
23755         (special_fill_minus_min_subnorm): Likewise.
23756         (special_real_inputs): Add min, -min, min_subnorm and
23757         -min_subnorm.
23758         (calc_generic_results): Handle mpfr_ff_f.
23759         * sysdeps/i386/fpu/libm-test-ulps: Update.
23760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23762 2013-12-16  Will Newton  <will.newton@linaro.org>
23764         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23765         (Aligned Memory Blocks): Add documentation for aligned_alloc
23766         and suggest it as an alternative to posix_memalign.
23767         (Hooks for Malloc): Document __memalign_hook is also called
23768         for aligned_alloc.  (Summary of Malloc): Add summary for
23769         aligned alloc.  Document __memalign_hook is also called
23770         for aligned_alloc.
23772 2013-12-16  Will Newton  <will.newton@linaro.org>
23774         * manual/memory.texi (Malloc Examples): Clarify default
23775         alignment documentation.  Suggest posix_memalign rather
23776         than memalign or valloc.
23777         (Aligned Memory Blocks): Remove suggestion to use memalign
23778         or valloc.  Remove obsolete comment about BSD.
23779         Document memalign errno values and mark the function obsolete.
23780         Document posix_memalign returned error codes.  Mark valloc
23781         as obsolete.  (Hooks for Malloc): __memalign_hook is also
23782         called for posix_memalign and valloc.
23783         (Summary of Malloc): Add posix_memalign to function summary.
23784         __memalign_hook is also called for posix_memalign and valloc.
23786 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23788         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23789         TAYLOR_SIN.
23790         (__sin): Adjust.
23791         (__cos): Likewise.
23792         (sloww): Use mynumber union.  Expand ternary operator into
23793         if-else statements.
23794         (cslow): use mynumber union.
23796 2013-12-16  Allan McRae  <allan@archlinux.org>
23798         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23799         * configure: Regenerated.
23801         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23803         [BZ #14120]
23804         * configure.ac: Added --enable-maintainer-mode. Check for
23805         autoconf when enabled.
23806         * configure: Regenerated.
23808         * nscd/nscd.service: New file.
23809         * nscd/nscd.tmpfiles: New file.
23811 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
23813         [BZ #12100]
23814         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23815         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23816         * sysdeps/x86_64/multiarch/strstr.c: ... here.
23817         (strstr): Add __strstr_sse2_unaligned ifunc.
23818         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23819         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23820         (strcasestr): Remove __strcasestr_sse42 ifunc.
23821         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23822         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23823         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23825 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23827         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23828         * sysdeps/sh/bits/fenv.h: ... here.
23829         * sysdeps/sh/sh4/fpu/bits: Remove directory.
23831 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23833         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23835         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23836         hypotf multiarch implementations.
23837         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23838         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23839         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23840         multiarch hypot for PPC64.
23841         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23842         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23843         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23844         multiarch hypotf for PPC64.
23846         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23847         modff multiarch implementations.
23848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23851         multiarch modf for PPC64.
23852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23855         multiarch modff for PPC64.
23857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23858         and logl multiarch implementations.
23859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23862         multiarch logb for PPC64.
23863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23866         multiarch logb for PPC64.
23867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23870         multiarch logb for PPC64.
23872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23873         isinff multiarch implementation.
23874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23875         file.
23876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23878         multiarch isinf for PPC64.
23879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23880         file.
23881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23882         multiarch isinff for PPC64.
23884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23885         finitef multiarch implementation.
23886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23887         file.
23888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23890         multiarch finite for PPC64.
23891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23892         file.
23893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23894         multiarch finitef for PPC64.
23896         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23897         lrint multiarch implementation.
23898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23899         file.
23900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23902         multiarch llrint for PPC64.
23903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23904         multiarch lrint for PPC64.
23906         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23907         copysignf multiarch implementation.
23908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23909         file.
23910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23911         file.
23912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23913         multiarch copysign for PPC64.
23914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23915         multiarch copysignf for PPC64.
23917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23918         multiarch implementation.
23919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23920         file.
23921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23922         file.
23923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23924         file.
23925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23926         file.
23927         multiarch llround for PPC64.
23928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23929         multiarch trunc for PPC64.
23930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23931         multiarch truncf for PPC64.
23933         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23934         multiarch implementation.
23935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23936         file.
23937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23938         file.
23939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23940         file.
23941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23942         file.
23943         multiarch llround for PPC64.
23944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23945         multiarch round for PPC64.
23946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23947         multiarch roundf for PPC64.
23949         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23950         multiarch implementation.
23951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23952         file.
23953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23954         file.
23955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23956         file.
23957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23958         file.
23959         multiarch llround for PPC64.
23960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23961         multiarch floor for PPC64.
23962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23963         multiarch floorf for PPC64.
23965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23966         multiarch implementation.
23967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23968         file.
23969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23970         file.
23971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23972         file.
23973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23974         file.
23975         multiarch llround for PPC64.
23976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23977         multiarch ceil for PPC64.
23978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23979         multiarch ceilf for PPC64.
23981         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23982         multiarch implementation.
23983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23984         file.
23985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23986         file.
23987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23988         file.
23989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23990         multiarch llround for PPC64.
23991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23992         multiarch lround for PPC64.
23994         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23995         multiarch implementation.
23996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23999         file.
24000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24003         multiarch isnan for PPC64.
24004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24005         multiarch isnanf for PPC64.
24007         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24008         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24009         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24010         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24011         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24014         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24015         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24016         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24017         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24020         multiarch implementations.
24021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24022         (__libc_ifunc_impl_list): Likewise.
24023         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24024         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24025         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24026         multiarch stpcpy for PPC64.
24028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24029         multiarch implementations.
24030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24031         (__libc_ifunc_impl_list): Likewise.
24032         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24033         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24034         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24035         multiarch strcpy for PPC64.
24037         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24038         redefine function name.
24039         (_wordcopy_fwd_dest_aligned): Likewise.
24040         (_wordcopy_bwd_aligned): Likewise.
24041         (_wordcopy_bwd_dest_aligned): Likewise.
24042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24043         multiarch implementations.
24044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24045         (__libc_ifunc_impl_list): Likewise.
24046         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24047         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24048         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24049         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24050         multiarch wcscpy for PPC64.
24052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24053         multiarch implementations.
24054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24055         (__libc_ifunc_impl_list): Likewise.
24056         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24057         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24058         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24059         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24060         multiarch wcscpy for PPC64.
24062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24063         multiarch implementations.
24064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24065         (__libc_ifunc_impl_list): Likewise.
24066         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24067         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24068         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24069         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24070         multiarch wcsrchr for PPC64.
24072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24073         multiarch implementations.
24074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24075         (__libc_ifunc_impl_list): Likewise.
24076         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24077         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24078         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24079         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24080         multiarch wcschr for PPC64.
24082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24083         multiarch implementations.
24084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24085         (__libc_ifunc_impl_list): Likewise.
24086         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24087         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24088         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24089         multiarch strchrnul for PPC64.
24091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24092         implementations.
24093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24094         (__libc_ifunc_impl_list): Likewise.
24095         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24096         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24097         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24098         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24099         strchr for PPC64.
24101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24102         implementations.
24103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24104         (__libc_ifunc_impl_list): Likewise.
24105         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24106         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24107         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24108         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24109         strncmp for PPC64.
24111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24112         multiarch implementations.
24113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24114         (__libc_ifunc_impl_list): Likewise.
24115         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24116         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24117         strncasecmp for PPC64.
24118         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24119         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24120         multiarch strncasecmp_l for PPC64.
24122         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24123         multiarch implementations.
24124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24125         (__libc_ifunc_impl_list): Likewise.
24126         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24127         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24128         multiarch strcasecmp for PPC64.
24129         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24130         file.
24131         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24132         multiarch strcasecmp_l for PPC64.
24134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24135         implementations.
24136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24137         (__libc_ifunc_impl_list): Likewise.
24138         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24139         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24140         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24141         strnlen for PPC64.
24143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24144         implementations.
24145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24146         (__libc_ifunc_impl_list): Likewise.
24147         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24148         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24149         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24150         strlen for PPC64.
24152         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24153         implementations.
24154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24155         (__libc_ifunc_impl_list): Likewise.
24156         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24157         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24158         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24159         rawmemrchr for PPC64.
24161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24162         implementation.
24163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24164         (__libc_ifunc_impl_list): Likewise.
24165         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24166         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24167         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24168         memrchr for PPC64.
24170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24171         implementation.
24172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24173         (__libc_ifunc_impl_list): Likewise.
24174         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24175         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24176         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24177         memchr for PPC64.
24179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24180         implementation.
24181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24182         (__libc_ifunc_impl_list): Likewise.
24183         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24184         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24185         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24186         mempcpy for PPC64.
24188         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24189         avoid cretion of __bzero symbol.
24190         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24191         Likewise.
24192         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24193         Likewise.
24194         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24195         Likewise.
24196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24197         multiarch implementations.
24198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24199         (__libc_ifunc_impl_list): Likewise.
24200         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24201         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24202         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24203         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24204         bzero for PPC32.
24205         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24206         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24207         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24208         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24209         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24210         memset for PPC64.
24211         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24213         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24215         implementations.
24216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24217         (__libc_ifunc_impl_list): Likewise.
24218         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24219         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24220         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24221         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24222         memcmp for PPC64.
24224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24225         multiarch for POWER/PPC64.
24226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24227         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24228         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24229         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24230         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24231         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24232         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24233         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24234         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24235         memcpy for PPC64.
24237         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24238         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24239         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24240         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24241         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24242         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24243         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24244         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24245         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24246         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24247         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24248         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24249         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24250         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24251         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24260 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24262         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24264 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24266         * benchtests/Makefile (bench): Add exp2 and log2.
24267         (LDLIBS-bench-exp2): Add -lm.
24268         (LDLIBS-bench-log2): Likewise.
24269         * benchtests/exp2-inputs: New inputs file.
24270         * benchtests/log2-inputs: New inputs file.
24271         * benchtests/log-inputs: Add new inputs.
24272         * benchtests/tan-inputs: Likewise.
24274 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24276         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24277         definition...
24278         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24279         (csloww2): ... from here.
24281         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24282         instead of structures.
24283         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24284         (POLYNOMIAL): Likewise.
24285         (TAYLOR_SLOW): Likewise.
24286         (__sin): Likewise.
24287         (__cos): Likewise.
24288         (slow1): Likewise.
24289         (slow2): Likewise.
24290         (sloww): Likewise.
24291         (sloww1); Likewise.
24292         (sloww2): Likewise.
24293         (bsloww1): Likewise.
24294         (bsloww2): Likewise.
24295         (cslow2): Likewise.
24296         (csloww): Likewise.
24297         (csloww1): Likewise.
24298         (csloww2): Likewise.
24300 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
24302         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24303         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24304         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24305         * malloc/hooks.c (realloc_check): Likewise.
24307         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24308         * malloc/arena.c: Remove PER_THREAD conditional.
24309         [!PER_THREAD]: Remove code.
24310         (ptmalloc_unlock_all2): Likewise.
24311         (ptmalloc_init): Likewise.
24312         (_int_new_arena): Likewise.
24313         (arena_get2): Likewise.
24314         * malloc/hooks.c (__malloc_get_state): Likewise.
24315         (__malloc_set_state): Likewise.
24316         * malloc/malloc.c: Likewise.
24317         (struct malloc_state): Likewise.
24318         (struct malloc_par): Likewise.
24319         (__libc_realloc): Likewise.
24320         (__libc_mallopt): Likewise.
24322 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24324         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24326 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
24328         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24329         macro to a function.  Check for zero perturb_byte.
24330         (_int_malloc, _int_free): Remove zero perturb_byte checks.
24332         * malloc/malloc.c: (force_reg): Remove.
24333         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24334         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24335         force_reg by atomic_forced_read.
24336         * malloc/arena.c (ptmalloc_init): Likewise.
24337         * malloc/hooks.c (top_check): Likewise.
24339 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24343 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
24345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24347 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
24349         * math/auto-libm-test-in: Add tests of lgamma.
24350         * math/auto-libm-test-out: Regenerated.
24351         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24352         (M_LOG_2_SQRT_PIl): Likewise.
24353         (lgamma_test_data): Use AUTO_TESTS_f_f1.
24354         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24355         mpfr_f_f1.
24356         (func_calc_desc): Add mpfr_f_f1 union field.
24357         (ARGS1): New macro.
24358         (ARGS2): Likewise.
24359         (ARGS3): Likewise.
24360         (ARGS4): Likewise.
24361         (RET1): Likewise.
24362         (RET2): Likewise.
24363         (CALC): Likewise.
24364         (FUNC): Likewise.
24365         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24366         (test_functions): Add lgamma.
24367         (calc_generic_results): Handle mpfr_f_f1.
24368         * sysdeps/i386/fpu/libm-test-ulps: Update.
24369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24371 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24373         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24374         __mpn_add_n for PowerPC64/POWER7.
24375         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24376         __mpn_sub_n for PowerPC64/POWER7.
24378         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24379         __mpn_addmul_1 for PowerPC64.
24380         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24381         __mpn_submul_1 for PowerPC64.
24382         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24383         for PowerPC64.
24384         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24385         for PowerPC64.
24387 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
24389         [BZ #15089]
24390         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24392 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24394         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24396         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24397         add multiarch folders.
24398         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24399         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24400         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24401         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24402         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24403         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24404         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24405         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24406         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24407         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24408         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24417         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24419         New file.
24420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24421         New file.
24422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24423         multiarch __ieee754_hypot for PowerPC32.
24424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24425         New file.
24426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24427         New file.
24428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24429         multiarch __ieee754_hypotf for PowerPC32.
24431         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24432         long_double_symbol only if __logbl is defined.
24433         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24434         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24435         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24436         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24437         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24438         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24439         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24440         path for implementation.
24441         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24442         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24444         logb, and logbl multiarch implementations for PowerPC32.
24445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24446         file.
24447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24448         file.
24449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24450         multiarch logb for PowerPC32.
24451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24452         file.
24453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24454         file.
24455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24456         multiarch logbf for PowerPC32.
24457         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24459         file.
24460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24461         multiarch logbl implementation for PowerPC32.
24463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24464         and modff multiarch implementations.
24465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24466         New file.
24467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24468         New file.
24469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24470         multiarch modf for PowerPC32.
24471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24472         New file.
24473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24474         New file.
24475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24476         multiarch modff for PowerPC32.
24478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24479         and lrintf multiarch implementations.
24480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24481         New file.
24482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24483         New file.
24484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24485         multiarch lrint for PowerPC32.
24486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24487         file: multiarch lrintf for PowerPC32.
24489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24490         and lroundf multiarch implementations.
24491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24492         New file.
24493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24494         New file.
24495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24496         New file.
24497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24498         multiarch lround for PowerPC32.
24499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24500         file: multiarch lroundf for PowerPC32.
24502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24503         copysign and copysignf multiarch implementations.
24504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24505         New file.
24506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24507         New file.
24508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24509         file: multiarch copysign for PowerPC32.
24510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24511         file: multiarch copysignf for PowerPC32.
24513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24514         and truncf multiarch implementations.
24515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24516         New file.
24517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24518         file.
24519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24520         multiarch trunc for PowerPC32.
24521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24522         New file.
24523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24524         New file.
24525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24526         multiarch truncf for PowerPC32.
24528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24529         and roundf multiarch implementations.
24530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24531         New file.
24532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24533         file.
24534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24535         multiarch round for PowerPC32.
24536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24537         New file.
24538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24539         New file.
24540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24541         multiarch roundf for PowerPC32.
24543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24544         and floorf multiarch implementations.
24545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24546         New file.
24547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24548         file.
24549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24550         multiarch floor for PowerPC32.
24551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24552         New file.
24553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24554         New file.
24555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24556         multiarch floorf for PowerPC32.
24558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24559         and ceilf multiarch implementations.
24560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24561         New file.
24562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24563         file.
24564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24565         multiarch ceil for PowerPC32.
24566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24567         New file.
24568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24569         file.
24570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24571         multiarch ceilf for PowerPC32.
24573         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24574         is defined.
24575         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24576         FINITEF is defined.
24577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24578         and finitef multiarch implementations.
24579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24580         New file.
24581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24582         file.
24583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24584         multiarch finite for PowerPC32.
24585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24586         New file.
24587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24588         file: multiarch finitef for PowerPC32.
24590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24591         and isinff multiarch implementations.
24592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24593         file.
24594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24595         file.
24596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24597         multiarch isinf for PowerPC32.
24598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24599         New file.
24600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24601         multiarch isinff for PowerPC32.
24603         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24604         alias when __isnan is defined.
24605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24606         and isnanf multiarch implementations.
24607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24608         file.
24609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24610         file.
24611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24612         file.
24613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24614         file.
24615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24616         multiarch isnan for PowerPC32.
24617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24618         New file.
24619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24620         New file.
24621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24622         multiarch isnanf for PowerPC32.
24624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24625         and sqrtf multiarch implementations.
24626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24627         file.
24628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24629         file.
24630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24631         multiarch sqrt for PowerPC32.
24632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24633         file.
24634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24635         file.
24636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24637         multiarch sqrtf for PowerPC32.
24639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24640         and llroundf multiarch implementations.
24641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24642         New file.
24643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24644         New file.
24645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24646         New file.
24647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24648         file: multiarch llround for PowerPC32.
24649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24650         file: multiarch llroundf for PowerPC32.
24652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24653         multiarch PowerPC32 fpu implementations.
24654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24655         New file.
24656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24657         New file.
24658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24659         multiarch llrint for PowerPC32.
24660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24661         New file.
24662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24663         New file.
24664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24665         file.
24667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24669         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24670         file.
24671         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24672         file.
24673         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24674         file.
24675         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24676         multiarch wordcopy for PPC32.
24677         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24678         wordcopy objects.
24679         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24680         (__libc_ifunc_impl_list): Likewise.
24681         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24682         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24683         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24684         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24685         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24686         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24688         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24689         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24690         file.
24691         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24692         file.
24693         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24694         file.
24695         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24696         multiarch wcscpy for PPC32.
24697         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24698         multiarch objects.
24699         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24700         (__libc_ifunc_impl_list): Likewise.
24701         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24702         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24703         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24704         sysdeps/powerpc/power6/wcscpy.c.
24706         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24707         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24708         file.
24709         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24710         file.
24711         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24712         file.
24713         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24714         multiarch wcsrchr for PPC32.
24715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24716         multiarch objects.
24717         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24718         (__libc_ifunc_impl_list): Likewise.
24719         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24720         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24721         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24722         sysdeps/powerpc/power6/wcsrchr.c.
24724         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24725         file.
24726         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24727         file.
24728         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24729         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24730         multiarch wcschr for PPc32.
24731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24732         multiarch objects.
24733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24734         (__libc_ifunc_impl_list): Likewise.
24735         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24736         * sysdeps/powerpc/power6/wcschr.c: ... to here.
24737         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24738         sysdeps/powerpc/power6/wcschr.c.
24740         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24741         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24742         file.
24743         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24744         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24745         file: multiarch strchr for PPC32.
24746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24747         multiarch objects.
24748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24749         (__libc_ifunc_impl_list): Likewise.
24751         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24752         name.
24753         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24754         file.
24755         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24756         file.
24757         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24758         multiarch strchrnul for PPC32.
24759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24760         multiarch objects.
24761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24762         (__libc_ifunc_impl_list): Likewise.
24764         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24765         file.
24766         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24767         multiarch strncasecmp for PPC32.
24768         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24769         file.
24770         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24771         multiarch strncasecmp_l for PPC32.
24772         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24773         strncasecmp multiarch objects.
24774         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24775         (__libc_ifunc_impl_list): Likewise.
24777         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24778         file.
24779         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24780         multiarch strncasecmp for PPC32.
24781         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24782         New file.
24783         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24784         multiarch strcasecmp_l for PPC32.
24785         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24786         multiarch objects.
24787         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24788         (__libc_ifunc_impl_list): Likewise.
24790         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24791         file.
24792         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24793         file.
24794         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24795         multiarch strncmp for PPC32.
24796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24797         multiarch objects.
24798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24799         (__libc_ifunc_impl_list): Likewise.
24801         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24802         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24803         file.
24804         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24805         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24807         multiarch objects.
24808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24809         (__libc_ifunc_impl_list): Likewise.
24811         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24812         file.
24813         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24814         file.
24815         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24816         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24817         multiarch objects.
24818         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24819         (__libc_ifunc_impl_list): Likewise.
24821         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24822         file.
24823         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24824         file.
24825         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24826         multiarch rawmemchr for PPC32.
24827         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24828         multiarch objects.
24829         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24830         (__libc_ifunc_impl_list): Likewise.
24832         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24833         file.
24834         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24835         file.
24836         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24837         file: memrchr multiarch for PPC32.
24838         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24839         multiarch objects.
24840         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24841         (__libc_ifunc_impl_list): Likewise.
24843         * string/memchr.c (__memchr): Using macro to redefine symbol name.
24844         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24845         file.
24846         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24847         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24848         multiarch memchr for PPC32.
24849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24850         multiarch objects.
24851         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24852         (__libc_ifunc_impl_list): Likewise.
24854         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24855         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24856         file.
24857         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24858         file.
24859         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24860         file: multiarch mempcpy for PPC32.
24861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24862         multiarch objects.
24863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24864         (__libc_ifunc_impl_list): Likewise.
24866         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24867         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24868         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24869         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24870         multiarch bzero for PPC32.
24871         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24872         file.
24873         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24874         file.
24875         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24876         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24877         file: multiarch memset for PPC32.
24878         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24879         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24880         memset multiarch objects.
24881         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24882         (__libc_ifunc_impl_list): Likewise.
24884         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24885         file.
24886         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24887         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24888         memcmp for PPC32.
24889         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24891         multiarch objects.
24892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24893         (__libc_ifunc_impl_list): Likewise.
24895         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24896         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24897         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24898         file.
24899         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24900         file.
24901         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24902         file.
24903         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24904         multiarch memcpy for PPC32.
24905         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24906         multiarch objects.
24907         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24908         (__libc_ifunc_impl_list): Likewise.
24910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24911         support multiarch for POWER/PPC32.
24912         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24913         Likewise.
24914         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24916         Implies file to make multiarch folder appers before the fpu and
24917         default folder for power4 configuration.
24919 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24921         * scripts/bench.pl: Append volatile keyword to type.
24923 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24925         * sysdeps/sh/sotruss-lib.c: New file.
24926         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24928 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24932 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
24934         [BZ #6810]
24935         * math/w_tgamma.c: Include <errno.h>.
24936         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
24937         * math/w_tgammaf.c: Include <errno.h>.
24938         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
24939         * math/w_tgammal.c: Include <errno.h>.
24940         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
24941         * math/auto-libm-test-in: Do not allow missing errno on tgamma
24942         underflow.  Add more tgamma tests.
24943         * math/auto-libm-test-out: Regenerated.
24944         * sysdeps/i386/fpu/libm-test-ulps: Update.
24945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24947         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24948         sin, sinh, tan, tanh, tgamma, y0 and y1.
24949         * math/auto-libm-test-out: Regenerated.
24950         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24951         (TEST_COND_x86): Likewise.
24952         (M_E2l): Remove macro.
24953         (M_E3l): Likewise.
24954         (M_2_SQRT_PIl): Likewise.
24955         (M_SQRT_PIl): Likewise.
24956         (M_1_DIV_El): Likewise.
24957         (log_test_data): Use AUTO_TESTS_f_f.
24958         (log10_test_data): Likewise.
24959         (log1p_test_data): Likewise.
24960         (log2_test_data): Likewise.
24961         (sin_test_data): Likewise.
24962         (sin_tonearest_test_data): Likewise.
24963         (sin_towardzero_test_data): Likewise.
24964         (sin_downward_test_data): Likewise.
24965         (sin_upward_test_data): Likewise.
24966         (sinh_test_data): Likewise.
24967         (sinh_tonearest_test_data): Likewise.
24968         (sinh_towardzero_test_data): Likewise.
24969         (sinh_downward_test_data): Likewise.
24970         (sinh_upward_test_data): Likewise.
24971         (tan_test_data): Likewise.
24972         (tan_tonearest_test_data): Likewise.
24973         (tan_towardzero_test_data): Likewise.
24974         (tan_downward_test_data): Likewise.
24975         (tan_upward_test_data): Likewise.
24976         (tanh_test_data): Likewise.
24977         (tgamma_test_data): Likewise.
24978         (y0_test_data): Likewise.
24979         (y1_test_data): Likewise.
24980         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24981         (special_real_inputs): Add pi/4.
24982         * sysdeps/i386/fpu/libm-test-ulps: Update.
24983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24985 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24987         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24988         "longjmp_target" static probes.
24989         (__longjmp): Rename to __longjmp_symbol.
24990         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24991         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24992         on which longjmp to generate.
24993         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24994         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24995         probe.
24996         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24997         (__sigjmp_save): Rename to __sigjmp_save_symbol.
24998         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24999         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25000         and __sigjmp_save_symbol based on which sigsetjmp to generated.
25001         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25003         __longjmp_symbol based on which __longjmp to generate.
25004         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25005         probe.
25006         (setjmp): Rename to setjmp_symbol.
25007         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25008         (_setjmp): Rename to _setjmp_symbol.
25009         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25010         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25011         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25012         which setjmp to generate.
25013         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25014         "longjmp_target" static probes.
25016 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25018         * benchtests/README: Add note about output arguments.
25019         * benchtests/bench-sincos.c: Remove file.
25020         * benchtests/sincos-inputs: New file.
25021         * scripts/bench.pl: Identify output arguments and define
25022         static variables for them.
25024         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25026         [BZ #15941]
25027         * Makefile (INSTALL): Add install-plain.texi as the primary
25028         dependency.
25029         * manual/install-plain.texi: New file.
25030         * manual/install.texi: Include node directive only for
25031         non-plaintext output.
25033 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
25035         * stdlib/longlong.h: Update from GCC.
25037         [BZ #6807]
25038         [BZ #15901]
25039         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25040         * math/w_j0f.c (y0f): Likewise.
25041         * math/w_j0l.c (__y0l): Likewise.
25042         * math/w_j1.c (y1): Likewise.
25043         * math/w_j1f.c (y1f): Likewise.
25044         * math/w_j1l.c (__y1l): Likewise
25045         * math/w_jn.c (yn): Likewise.
25046         * math/w_jnf.c (ynf): Likewise.
25047         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25048         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
25049         value for Bessel function domain errors outside _SVID_ mode.
25050         Adjust sign of return value for yn (negative integer, 0).
25051         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25052         by zero in return for negative x and set sign appropriately for
25053         negative n.
25054         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25055         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25056         * math/libm-test.inc (y0_test_data): Add more tests and adjust
25057         expectations in error cases.
25058         (y1_test_data): Likewise.
25059         (yn_test_data): Likewise.
25060         * sysdeps/i386/fpu/libm-test-ulps: Update.
25061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25063 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25065         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25066         "64" to "64-v1".  Add "64-v2".
25067         (abi-64-options): Rename to ...
25068         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
25069         (abi-64-condition): Rename to ...
25070         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
25071         (abi-64-ld-soname): Rename to ...
25072         (abi-64-v1-ld-soname): ... this.
25073         (abi-64-v2-options): Define.
25074         (abi-64-v2-condition): Likewise.
25075         (abi-64-v2-ld-soname): Likewise.
25076         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25077         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25082 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25083             Alan Modra  <amodra@gmail.com>
25085         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25086         New versions for use with the ELFv2 ABI.
25087         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25088         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25089         declaration.
25090         (struct La_ppc64v2_retval): Likewise.
25091         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25092         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25093         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25094         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25095         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25096         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25097         Do not save or restore CR.
25098         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25099         (_dl_profile_resolve): Do no save or restore CR.  Support extended
25100         return values for ELFv2 ABI.  Fix location of FPR return registers.
25101         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25102         updated values for _CALL_ELF == 2.
25103         (La_regs, La_retval, int_retval): Likewise.
25105 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25107         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25108         (FRAME_MIN_SIZE_PARM): Likewise.
25109         (FRAME_BACKCHAIN): Likewise.
25110         (FRAME_CR_SAVE): Likewise.
25111         (FRAME_LR_SAVE): Likewise.
25112         (FRAME_TOC_SAVE): Likewise.
25113         (FRAME_PARM_SAVE): Likewise.
25114         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25115         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25116         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25117         (call_mcount_parm_offset): New macro.
25118         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25119         (PROF): Use symbolic stack frame offsets.
25120         (TAIL_CALL_SYSCALL_ERROR): Likewise.
25121         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25122         Redefine in terms of FRAME_MIN_SIZE.
25123         (_dl_runtime_resolve): Use symbolic stack frame offsets.
25124         (_dl_profile_resolve): Likewise.  Update comment.
25125         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25126         symbols stack frame offsets.
25127         (__sigsetjmp): Likewise.
25128         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25129         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25130         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25131         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25134         (FRAME_BACKCHAIN): Remove.
25135         (FRAME_CR_SAVE): Likewise.
25136         (FRAME_LR_SAVE): Likewise.
25137         (FRAME_COMPILER_DW): Likewise.
25138         (FRAME_LINKER_DW): Likewise.
25139         (FRAME_TOC_SAVE): Likewise.
25140         (FRAME_PARM_SAVE): Likewise.
25141         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25142         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25143         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25145         (CHECK_SP): Use symbolic stack frame offsets.
25146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25147         zone" instead of caller's parameter save area for temp storage.
25148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25149         Likewise.  Also, use symbolic stack frame offsets.
25150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25151         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25152         our own stack frame instead of the caller's.
25153         (__socket): Use symbolic stack frame offsets.
25155 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25156             Alan Modra  <amodra@gmail.com>
25158         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25159         Define.
25160         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25161         (PPC64_LOCAL_ENTRY_OFFSET): Define.
25162         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25163         New function.
25164         (elf_machine_fixup_plt): Call it.
25165         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
25166         reloc arguments.
25167         (elf_machine_rela): Update call to elf_machine_plt_conflict.
25168         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25169         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25170         r2 before calling target.
25172 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25173             Alan Modra  <amodra@gmail.com>
25175         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25176         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25177         versions of macros to support ELFv2 ABI.
25178         (LOCALENTRY): New macro.
25179         (ENTRY, EALIGN): Use it.
25180         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25181         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25182         fall through into ENTRY entry point.
25183         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25184         Only define if _CALL_ELF != 2.
25186         (elf_machine_matches_host): Verify ABI version matches.
25187         (RTLD_START): Use LOCALENTRY.
25188         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25189         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25190         (PLT_ENTRY_WORDS): New macro.
25191         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25192         (elf_machine_runtime_setup): Support ELFv2 ABI.
25193         (elf_machine_fixup_plt): Likewise.
25194         (elf_machine_plt_conflict): Likewise.
25195         (resolve_ifunc): Likewise.
25196         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25197         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25198         Likewise.
25199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25200         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25202         (makecontext): Support ELFv2 ABI.
25203         * elf/elf.h (EF_PPC64_ABI): Define.
25205 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25207         * sysdeps/powerpc/powerpc64/sysdep.h
25208         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25209         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25210         (ENTRY) [ASSEMBLER]: ... but instead here ...
25211         (EALIGN) [ASSEMBLER]: ... and here.
25212         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25213         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25214         (ENTRY_2) [!ASSEMBLER]: Use it.
25215         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25216         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
25217         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25218         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25219         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25221         Use PPC64_LOAD_FUNCPTR.
25223         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25225 2013-12-04  Alan Modra  <amodra@gmail.com>
25227         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25228         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25229         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25230         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25232         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25233         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25234         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25235         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25236         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25237         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25239 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25242         (__makecontext): Fix incorrect CFI when backtracing out of
25243         context created via makecontext.
25244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25245         (__setcontext): Fix incorrect CFI during switch to new context.
25246         (__novec_setcontext): Likewise.
25248 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25250         [BZ #4772]
25251         * time/strptime_l.c (__strptime_internal): Allow modifiers
25252         in strptime.
25253         * time/tst-strptime.c (day_tests): Add testcase.
25255 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25257         * scripts/bench.pl: Skip over blank lines.
25259 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25261         [BZ #926]
25262         * manual/time.texi (Calendar Time): Clarify what timezone functions
25263         use.
25265 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25269 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25271         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25272         implementation.
25273         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25274         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25275         * debug/memset_chk.c (__memset_chk): Likewise.
25276         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25277         * debug/strncpy_chk.c: Likewise.
25279 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25281         [BZ #15268]
25282         [BZ #15425]
25283         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25284         (__ieee754_exp): For possibly underflowing results, check size of
25285         result and force underflow exception if required.
25286         * math/auto-libm-test-in: Add more tests of exp.
25287         * math/auto-libm-test-out: Regenerated.
25288         * sysdeps/i386/fpu/libm-test-ulps: Update.
25289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25291         [BZ #16283]
25292         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25293         * math/w_exp2f.c (__exp2f): Likewise.
25294         * math/w_exp2l.c (__exp2l): Likewise.
25295         * math/auto-libm-test-in: Do not allow missing errno on exp2
25296         underflow.
25297         * math/auto-libm-test-out: Regenerated.
25299 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
25301         [BZ #16274]
25302         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25303         handle filename validation.
25304         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25305         (do_open): Delete.
25307 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25309         [BZ #6786]
25310         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25311         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25312         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25313         <float.h>.
25314         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25315         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25316         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25317         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25318         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25319         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25320         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25321         * math/auto-libm-test-in: Don't allow missing errno from erfc.
25322         Add more erfc tests.
25323         * math/auto-libm-test-out: Regenerated.
25324         * sysdeps/i386/fpu/libm-test-ulps: Update.
25325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25327         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25328         exp2, expm1, j0 and j1.
25329         * math/auto-libm-test-out: Regenerated.
25330         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25331         (erfc_test_data): Likewise.
25332         (exp_test_data): Likewise.
25333         (exp_tonearest_test_data): Likewise.
25334         (exp_towardzero_test_data): Likewise.
25335         (exp_downward_test_data): Likewise.
25336         (exp_upward_test_data): Likewise.
25337         (exp10_test_data): Likewise.
25338         (exp2_test_data): Likewise.
25339         (expm1_test_data): Likewise.
25340         (j0_test_data): Likewise.
25341         (j1_test_data): Likewise.
25342         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25343         (input_flag_type): Add flag_xfail_rounding.
25344         (input_flags): Add xfail-rounding.
25345         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25346         (output_for_one_input_case): Handle flag_xfail_rounding.
25347         * sysdeps/i386/fpu/libm-test-ulps: Update.
25348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25350 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
25352         [BZ #16289]
25353         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25354         division by 0.
25356 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25358         [BZ #16195]
25359         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25360         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25361         (STAP_PROBE0): New macro.
25362         (STAP_PROBE1): Likewise.
25363         (STAP_PROBE2): Likewise.
25364         (STAP_PROBE3): Likewise.
25365         (STAP_PROBE4): Likewise.
25367 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
25369         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25371 2013-12-02  Steve Ellcey  <sellcey@mips.com>
25373         * benchtests/Makefile (bench): Add sqrt.
25374         (LDLIBS-bench-sqrt): New.
25375         * benchtests/sqrt-input: New.
25377 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
25379         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25380         (GAIH_EAI): Likewise.
25381         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25382         (gaih_inet): Likewise.
25383         (getaddrinfo): Don't use GAIH_EAI.
25385         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25386         (struct gaih): Remove definition.
25388 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25390         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25391         Use HERRNOP directly.
25393 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25397 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
25399         * math/gen-auto-libm-tests.c (test_functions): Add more
25400         single-argument functions.
25401         (special_fill_pi_2): New function.
25402         (special_fill_minus_pi_2): Likewise.
25403         (special_fill_pi_6): Likewise.
25404         (special_fill_minus_pi_6): Likewise.
25405         (special_fill_pi_3): Likewise.
25406         (special_fill_2pi_3): Likewise.
25407         (special_fill_e): Likewise.
25408         (special_fill_1_e): Likewise.
25409         (special_fill_e_minus_1): Likewise.
25410         (special_real_inputs): Add more special inputs.
25411         (output_for_one_input_case): Do not require ERANGE on underflow to
25412         zero if round-to-nearest result does not underflow to zero, unless
25413         exact results required.
25414         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25415         atan, atanh, cbrt, cos and cosh.
25416         * math/auto-libm-test-out: Regenerated.
25417         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25418         (acos_tonearest_test_data): Likewise.
25419         (acos_towardzero_test_data): Likewise.
25420         (acos_downward_test_data): Likewise.
25421         (acos_upward_test_data): Likewise.
25422         (acosh_test_data): Likewise.
25423         (asin_test_data): Likewise.
25424         (asin_tonearest_test_data): Likewise.
25425         (asin_towardzero_test_data): Likewise.
25426         (asin_upward_test_data): Likewise.
25427         (asinh_test_data): Likewise.
25428         (atan_test_data): Likewise.
25429         (atanh_test_data): Likewise.
25430         (cbrt_test_data): Likewise.
25431         (cos_test_data): Likewise.
25432         (cos_tonearest_test_data): Likewise.
25433         (cos_towardzero_test_data): Likewise.
25434         (cos_downward_test_data): Likewise.
25435         (cos_upward_test_data): Likewise.
25436         (cosh_test_data): Likewise.
25437         (cosh_tonearest_test_data): Likewise.
25438         (cosh_towardzero_test_data): Likewise.
25439         (cosh_downward_test_data): Likewise.
25440         (cosh_upward_test_data): Likewise.
25441         * sysdeps/i386/fpu/libm-test-ulps: Update.
25442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25444 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
25446         [BZ #6787]
25447         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25448         * math/w_exp10f.c (__exp10f): Likewise.
25449         * math/w_exp10l.c (__exp10l): Likewise.
25450         * math/libm-test.inc (exp10_test_data): Add more tests and expect
25451         errno settings in existing tests.
25453         [BZ #14032]
25454         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25455         precision control set to double precision.
25456         * sysdeps/i386/fpu/w_sqrt.c: New file.
25457         * math/auto-libm-test-in: Add more tests.
25458         * math/auto-libm-test-out: Update.
25460         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25461         (sqrt_test_tonearest): New function.
25462         (sqrt_towardzero_test_data): New variable.
25463         (sqrt_test_towardzero): New function.
25464         (sqrt_downward_test_data): New variable.
25465         (sqrt_test_downward): New function.
25466         (sqrt_upward_test_data): New variable.
25467         (sqrt_test_upward): New function.
25468         (main): Call the new functions.
25470         * math/gen-auto-libm-tests.c: New file.
25471         * math/auto-libm-test-in: Likewise.
25472         * math/auto-libm-test-out: New generated file.
25473         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25474         variables.
25475         (%beautify): Add generated representations of zero.
25476         (top level): Set $auto_input and call parse_auto_input.
25477         (beautify): Remove trailing "f" from hex float constants.
25478         (parse_args): Handle XFAIL_TEST.
25479         (convert_condition): New function.
25480         (or_value): Likewise.
25481         (or_cond_value): Likewise.
25482         (generate_testfile): Handle AUTO_TESTS_* lines.
25483         (parse_auto_input): New function.
25484         * math/libm-test.inc (XFAIL_TEST): New macro.
25485         (ERRNO_UNCHANGED): Update value.
25486         (ERRNO_EDOM): Likewise.
25487         (ERRNO_ERANGE): Likewise.
25488         (IGNORE_RESULT): Likewise.
25489         (TEST_COND_flt_32): New macro.
25490         (TEST_COND_dbl_64): Likewise.
25491         (TEST_COND_ldbl_96_intel): Likewise.
25492         (TEST_COND_ldbl_96_m68k): Likewise.
25493         (TEST_COND_ldbl_128): Likewise.
25494         (TEST_COND_ldbl_128ibm): Likewise.
25495         (TEST_COND_long32): Likewise.
25496         (TEST_COND_long64): Likewise.
25497         (TEST_COND_before_rounding): Likewise.
25498         (TEST_COND_after_rounding): Likewise.
25499         (enable_test): Handle XFAIL_TEST flag.
25500         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25501         with finite results.
25502         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25503         auto-libm-test-out.
25505 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25506             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25508         [BZ #16214]
25509         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25510         __tls_get_addr_internal instead of __tls_get_offset in order to
25511         avoid GOT pointer dependency.  Make rtld export
25512         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25513         __tls_get_addr since we are a __tls_get_offset platform.
25514         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25515         GOT pointer being set up before.
25516         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25518 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
25520         * manual/math.texi (Errors in Math Functions): Document accuracy
25521         goals.
25523         [BZ #15004]
25524         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25525         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25526         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25527         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25528         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25529         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25530         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25531         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25532         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25533         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25534         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25535         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25536         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25537         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25538         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25539         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25541         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25542         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25543         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25544         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25545         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25546         Likewise.
25547         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25548         Likewise.
25549         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25550         Likewise.
25551         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25552         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25553         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25554         atomic-feupdateenv and flt-rounds.
25555         * sysdeps/powerpc/nofpu/Versions (libc): Add
25556         __atomic_feholdexcept, __atomic_feclearexcept,
25557         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25558         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25559         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25560         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25561         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25562         here.
25563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25564         Update.
25566         * manual/arith.texi (FP Exceptions): Document that exceptions may
25567         not be raised when matherr is used.
25568         (Math Error Reporting): Document overflow in directed rounding
25569         modes.  Document that errno may not be set when finite values are
25570         returned on overflow.  Document intent to set errno on underflow
25571         only for underflow to zero.
25573         [BZ #16271]
25574         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25575         round-to-nearest then adjust result for other rounding modes.
25576         * include/fenv.h (fegetround): Use libm_hidden_proto.
25577         * math/fegetround.c (fegetround): Use libm_hidden_def.
25578         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25579         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25580         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25581         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25582         Likewise.
25583         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25584         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25585         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25586         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25588 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25590         [BZ #16077]
25591         * nss/Versions (libnss_files): Add
25592         _nss_files_gethostbyname3_r.
25593         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25594         New function.
25595         (HOST_DB_LOOKUP): Remove macro.
25596         (_nss_files_gethostbyname_r): Implement function without the
25597         HOST_DB_LOOKUP macro.
25598         (_nss_files_gethostbyname2_r): Likewise.
25600 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
25602         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25604 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
25606         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25607         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25608         warning.
25610 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25612         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25613         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25614         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25615         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25616         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25617         __fe_nomask_env_priv and attribute_hidden.
25618         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25619         (libc_feupdateenv_test_ppc): Likewise.
25620         (libc_feresetround_ppc): Likewise.
25621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25622         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25623         compat_symbol macro.
25624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25625         (__fe_nomask_env): Likewise.
25626         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25628 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25630         * string/Makefile: Remove ifunc tests.
25631         * string/test-string.h: Define TEST_IFUNC.
25632         * string/test-bcopy-ifunc.c: Remove.
25633         * string/test-bzero-ifunc.c: Likewise.
25634         * string/test-memccpy-ifunc.c: Likewise.
25635         * string/test-memchr-ifunc.c: Likewise.
25636         * string/test-memcmp-ifunc.c: Likewise.
25637         * string/test-memcpy-ifunc.c: Likewise.
25638         * string/test-memmem-ifunc.c: Likewise.
25639         * string/test-memmove-ifunc.c: Likewise.
25640         * string/test-mempcpy-ifunc.c: Likewise.
25641         * string/test-memrchr-ifunc.c: Likewise.
25642         * string/test-memset-ifunc.c: Likewise.
25643         * string/test-rawmemchr-ifunc.c: Likewise.
25644         * string/test-stpcpy-ifunc.c: Likewise.
25645         * string/test-stpncpy-ifunc.c: Likewise.
25646         * string/test-strcasecmp-ifunc.c: Likewise.
25647         * string/test-strcasestr-ifunc.c: Likewise.
25648         * string/test-strcat-ifunc.c: Likewise.
25649         * string/test-strchr-ifunc.c: Likewise.
25650         * string/test-strchrnul-ifunc.c: Likewise.
25651         * string/test-strcmp-ifunc.c: Likewise.
25652         * string/test-strcpy-ifunc.c: Likewise.
25653         * string/test-strcspn-ifunc.c: Likewise.
25654         * string/test-strlen-ifunc.c: Likewise.
25655         * string/test-strncasecmp-ifunc.c: Likewise.
25656         * string/test-strncat-ifunc.c: Likewise.
25657         * string/test-strncmp-ifunc.c: Likewise.
25658         * string/test-strncpy-ifunc.c: Likewise.
25659         * string/test-strnlen-ifunc.c: Likewise.
25660         * string/test-strpbrk-ifunc.c: Likewise.
25661         * string/test-strrchr-ifunc.c: Likewise.
25662         * string/test-strspn-ifunc.c: Likewise.
25663         * string/test-strstr-ifunc.c: Likewise.
25665 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25667         * benchtests/Makefile: Remove ifunc tests.
25668         * benchtests/bench-string.h: Define TEST_IFUNC.
25669         * benchtests/bench-bcopy-ifunc.c: Remove.
25670         * benchtests/bench-bzero-ifunc.c: Likewise.
25671         * benchtests/bench-memccpy-ifunc.c: Likewise.
25672         * benchtests/bench-memchr-ifunc.c: Likewise.
25673         * benchtests/bench-memcmp-ifunc.c: Likewise.
25674         * benchtests/bench-memcpy-ifunc.c: Likewise.
25675         * benchtests/bench-memmem-ifunc.c: Likewise.
25676         * benchtests/bench-memmove-ifunc.c: Likewise.
25677         * benchtests/bench-mempcpy-ifunc.c: Likewise.
25678         * benchtests/bench-memrchr-ifunc.c: Likewise.
25679         * benchtests/bench-memset-ifunc.c: Likewise.
25680         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25681         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25682         * benchtests/bench-stpcpy-ifunc.c: Likewise.
25683         * benchtests/bench-stpncpy-ifunc.c: Likewise.
25684         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25685         * benchtests/bench-strcasestr-ifunc.c: Likewise.
25686         * benchtests/bench-strcat-ifunc.c: Likewise.
25687         * benchtests/bench-strchr-ifunc.c: Likewise.
25688         * benchtests/bench-strchrnul-ifunc.c: Likewise.
25689         * benchtests/bench-strcmp-ifunc.c: Likewise.
25690         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25691         * benchtests/bench-strcpy-ifunc.c: Likewise.
25692         * benchtests/bench-strcspn-ifunc.c: Likewise.
25693         * benchtests/bench-strlen-ifunc.c: Likewise.
25694         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25695         * benchtests/bench-strncat-ifunc.c: Likewise.
25696         * benchtests/bench-strncmp-ifunc.c: Likewise.
25697         * benchtests/bench-strncpy-ifunc.c: Likewise.
25698         * benchtests/bench-strnlen-ifunc.c: Likewise.
25699         * benchtests/bench-strpbrk-ifunc.c: Likewise.
25700         * benchtests/bench-strrchr-ifunc.c: Likewise.
25701         * benchtests/bench-strsep-ifunc.c: Likewise.
25702         * benchtests/bench-strspn-ifunc.c: Likewise.
25703         * benchtests/bench-strstr-ifunc.c: Likewise.
25705 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25707         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25709 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25711         * resolv/netdb.h: Use __glibc_reserved instead __unused.
25712         * rt/aio.h: Likewise.
25713         * sysdeps/gnu/bits/utmp.h: Likewise.
25714         * sysdeps/gnu/bits/utmpx.h: Likewise.
25715         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25716         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25717         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25718         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25719         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25720         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25721         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25722         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25723         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25724         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25725         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25726         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25727         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25729         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25730         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25731         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25732         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25733         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25734         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25735         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25736         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25737         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25738         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25739         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25740         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25741         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25742         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25743         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25744         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25745         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25746         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25747         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25748         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25749         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25750         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25751         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25752         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25753         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25754         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25755         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25756         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25758 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
25760         [BZ #16245]
25761         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25762         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25764 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
25766         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25767         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25768         Likewise.
25770 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25772         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25773         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25774         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25775         (__fesetround): Remove define.
25776         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25777         rounding and exceptions handling.
25778         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25779         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25780         (__fe_nomask_env): Likewise.
25781         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25782         __fegetround instead of fegetround.
25783         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25784         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25786 2013-11-21  Roland McGrath  <roland@hack.frob.com>
25788         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25789         it's there.
25791         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25793 2013-11-21  Meador Inge  <meadori@codesourcery.com>
25795         [BZ #11157]
25796         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25797         (encrypt_r): Likewise.
25798         * malloc/obstack.h (obstack_free): Likewise.
25799         * posix/unistd.h (encrypt): Likewise.
25801 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
25803         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25804         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25805         DL_CALL_DT_FINI() that call the functions directly.
25806         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25807         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25808         * elf/dl-fini.c: Likewise.
25810 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
25812         * malloc/hooks.c (memalign_check): Add alignment rounding.
25813         * malloc/malloc.c (_mid_memalign): New function.
25814         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25815         Implement by calling _mid_memalign.
25816         * manual/probes.texi (Memory Allocation Probes): Remove
25817         memory_valloc_retry and memory_pvalloc_retry.
25819 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25821         * locale/programs/locarchive.c (open_archive): Add const
25822         qualifier to ARCHIVEFNAME and copy default fname to
25823         DEFAULT_FNAME.
25825         [BZ #15601]
25826         * libio/tst-widetext.input: Rename Oriya to Odia.
25827         * locale/iso-639.def: Likewise.
25829         * manual/probes.texi (Mathematical Function Probes): Add
25830         documentation for sin, cos, asin and acos probes.
25831         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25832         (__sin32): Add slowasin probe.
25833         (__cos32): Add slowacos probe.
25834         (__mpsin): Add slowsin probe.
25835         (__mpcos): Add slowcos probe.
25837 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
25839         [BZ #15483]
25840         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25841         thread-local __sim_exceptions_thread and global
25842         __sim_exceptions_global.
25843         (__sim_disabled_exceptions): Change to thread-local
25844         __sim_disabled_exceptions_thread and global
25845         __sim_disabled_exceptions_global.
25846         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25847         and global __sim_round_mode_global.
25848         (__simulate_exceptions): Use thread-local floating-point state and
25849         set global state from it as needed.
25850         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25851         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25852         __sim_round_mode_thread.
25853         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25854         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25855         and global __sim_exceptions_global.
25856         (__sim_disabled_exceptions): Change to thread-local
25857         __sim_disabled_exceptions_thread and global
25858         __sim_disabled_exceptions_global.
25859         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25860         and global __sim_round_mode_global.
25861         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25862         (SIM_SET_GLOBAL): Likewise.
25863         * sysdeps/powerpc/soft-fp/sfp-machine.h
25864         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25865         __sim_round_mode_thread.
25866         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25867         __sim_disabled_exceptions_thread.
25868         (__sim_exceptions): Change to __sim_exceptions_thread.
25869         (__sim_disabled_exceptions): Change to
25870         __sim_disabled_exceptions_thread.
25871         (__sim_round_mode): Change to __sim_round_mode_thread.
25872         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25873         thread-local floating-point state and set global state from it as
25874         needed.
25875         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25876         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25877         (__sim_disabled_exceptions): Remove extern declaration.
25878         (feenableexcept): Use thread-local floating-point state and set
25879         global state from it as needed.
25880         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25881         extern declaration.
25882         (__sim_disabled_exceptions): Likewise.
25883         (__sim_round_mode): Likewise.
25884         (__fegetenv): Use thread-local floating-point state.
25885         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25886         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25887         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25888         floating-point state and set global state from it as needed.
25889         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25890         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25891         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25892         Likewise.
25893         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25894         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25895         Likewise.
25896         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25897         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25898         Use __sim_round_mode_thread.
25899         * math/test-fenv-tls.c: New file.
25900         * math/Makefile (tests): Add test-fenv-tls.
25901         ($(objpfx)test-fenv-tls): Depend on
25902         $(common-objpfx)nptl/libpthread.so.
25904 2013-11-19  Andreas Schwab  <schwab@suse.de>
25906         * locale/programs/locale.c (show_info): Decode wordarray elements.
25907         * locale/categories.def (LC_MONETARY): Add element for
25908         _NL_MONETARY_CRNCYSTR.
25909         * locale/C-monetary.c (conversion_rate): New variable.
25910         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25911         element.
25913 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
25915         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25916         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25918 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
25920         * elf/Makefile (tst-auxv): New test.
25921         * elf/tst-auxv.c: New
25922         * elf/rtld.c (dl_main): Adjust AT_EXECFN
25924 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
25926         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25927         (hidden_proto): Caller changed.
25928         (hidden_tls_proto): New macro.
25929         (libc_hidden_tls_proto): Likewise.
25930         (rtld_hidden_tls_proto): Likewise.
25931         (libm_hidden_tls_proto): Likewise.
25932         (libresolv_hidden_tls_proto): Likewise.
25933         (librt_hidden_tls_proto): Likewise.
25934         (libdl_hidden_tls_proto): Likewise.
25935         (libnss_files_hidden_tls_proto): Likewise.
25936         (libnsl_hidden_tls_proto): Likewise.
25937         (libnss_nisplus_hidden_tls_proto): Likewise.
25938         (libutil_hidden_tls_proto): Likewise.
25940 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
25942         [BZ #10253]
25943         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25944         (decompose_rpath): Defer expansion to fillin_rpath.
25945         (_dl_init_paths): Pass linkmap to fillin_rpath.
25947 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25949         * benchtests/Makefile: Add strsep.
25950         * benchtests/bench-strsep.c: New file: strsep benchtest.
25951         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25953 2013-11-18  Andreas Schwab  <schwab@suse.de>
25955         * locale/programs/locale.c (show_info) [case byte]: Check for
25956         '\377' instead of '\177'.
25957         * locale/C-monetary.c (not_available): Always use "\377".
25958         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25959         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
25960         detect unavailable sign_posn locale elements.
25961         * locale/localeconv.c (__localeconv): For grouping and
25962         mon_grouping handle "\177" and "\377" like no grouping.
25963         (INT_ELEM): New macro.  Use it to set all numeric members.
25964         * locale/programs/ld-monetary.c (monetary_read)
25965         <tok_mon_grouping>: Normalize single -1 to the empty string.
25966         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25967         Likewise.
25969 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25971         [BZ #16055]
25972         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25973         when we match (nil).
25974         * stdio-common/tst-sscanf.c (struct test): Add testcase.
25976 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
25978         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25979         (NO_TEST_INLINE): Update value.
25980         (ERRNO_UNCHANGED): Likewise.
25981         (ERRNO_EDOM): Likewise.
25982         (ERRNO_ERANGE): Likewise.
25983         (IGNORE_RESULT): Likewise.
25984         (check_float_internal): Check signs of NaN results if
25985         TEST_NAN_SIGN used.
25986         (check_complex): Pass TEST_NAN_SIGN flag through to second
25987         check_float_internal call.
25988         (copysign_test_data): Add tests with quiet NaNs as second
25989         argument.  Use TEST_NAN_SIGN.
25990         (fabs_test_data): Add test of negative quiet NaN argument.  Use
25991         TEST_NAN_SIGN.
25992         (signbit_test_data): Add tests of quiet NaN argument.
25993         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25995         * math/gen-libm-test.pl (show_exceptions): Take extra argument
25996         $ignore_result.
25997         (parse_args): Handle function results specified as IGNORE.
25998         * math/libm-test.inc (IGNORE_RESULT): New macro.
25999         (check_float_internal): Do not check numerical result if flag
26000         IGNORE_RESULT set.
26001         (check_complex): Pass through IGNORE_RESULT to second
26002         check_float_internal call.
26003         (check_int): Do not check numerical result if flag IGNORE_RESULT
26004         set.
26005         (check_long): Likewise.
26006         (check_bool): Likewise.
26007         (check_longlong): Likewise.
26008         (lrint_test_data): Add tests of infinite and NaN arguments.
26009         (lrint_tonearest_test_data): Likewise.
26010         (lrint_towardzero_test_data): Likewise.
26011         (lrint_downward_test_data): Likewise.
26012         (lrint_upward_test_data): Likewise.
26013         (llrint_test_data): Likewise.
26014         (llrint_tonearest_test_data): Likewise.
26015         (llrint_towardzero_test_data): Likewise.
26016         (llrint_downward_test_data): Likewise.
26017         (llrint_upward_test_data): Likewise.
26018         (lround_test_data): Likewise.
26019         (llround_test_data): Likewise.
26021         * math/libm-test.inc (NO_TEST_INLINE): New macro.
26022         (ERRNO_UNCHANGED): Update value.
26023         (ERRNO_EDOM): Likewise.
26024         (ERRNO_ERANGE): Likewise.
26025         (NO_TEST_INLINE_FLOAT): New macro.
26026         (NO_TEST_INLINE_DOUBLE): Likewise.
26027         (enable_test): New function.
26028         (RUN_TEST_f_f): Check enable_test before running test.
26029         (RUN_TEST_2_f): Likewise.
26030         (RUN_TEST_fff_f): Likewise.
26031         (RUN_TEST_c_f): Likewise.
26032         (RUN_TEST_f_f1): Likewise.
26033         (RUN_TEST_fF_f1): Likewise.
26034         (RUN_TEST_fI_f1): Likewise.
26035         (RUN_TEST_ffI_f1): Likewise.
26036         (RUN_TEST_c_c): Likewise.
26037         (RUN_TEST_cc_c): Likewise.
26038         (RUN_TEST_f_i): Likewise.
26039         (RUN_TEST_f_i_tg): Likewise.
26040         (RUN_TEST_ff_i_tg): Likewise.
26041         (RUN_TEST_f_b): Likewise.
26042         (RUN_TEST_f_b_tg): Likewise.
26043         (RUN_TEST_f_l): Likewise.
26044         (RUN_TEST_f_L): Likewise.
26045         (RUN_TEST_fFF_11): Likewise.
26046         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26047         conditionals.
26048         (cosh_test_data): Likewise.
26049         (exp_test_data): Likewise.
26050         (expm1_test_data): Likewise.
26051         (hypot_test_data): Likewise.
26052         (pow_test_data): Likewise.
26053         (sinh_test_data): Likewise.
26054         (tanh_test_data): Likewise.
26055         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26056         flags argument.
26058         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26059         tests with quiet NaN input and output.
26060         (acosh_test_data): Likewise.
26061         (asin_test_data): Likewise.
26062         (asinh_test_data): Likewise.
26063         (atan_test_data): Likewise.
26064         (atanh_test_data): Likewise.
26065         (atan2_test_data): Likewise.
26066         (cbrt_test_data): Likewise.
26067         (cos_test_data): Likewise.
26068         (cosh_test_data): Likewise.
26069         (erf_test_data): Likewise.
26070         (erfc_test_data): Likewise.
26071         (exp_test_data): Likewise.
26072         (exp10_test_data): Likewise.
26073         (exp2_test_data): Likewise.
26074         (expm1_test_data): Likewise.
26075         (hypot_test_data): Likewise.
26076         (j0_test_data): Likewise.
26077         (j1_test_data): Likewise.
26078         (jn_test_data): Likewise.
26079         (lgamma_test_data): Likewise.
26080         (log_test_data): Likewise.
26081         (log10_test_data): Likewise.
26082         (log1p_test_data): Likewise.
26083         (log2_test_data): Likewise.
26084         (pow_test_data): Likewise.
26085         (scalb_test_data): Likewise.
26086         (sin_test_data): Likewise.
26087         (sincos_test_data): Likewise.
26088         (sinh_test_data): Likewise.
26089         (tan_test_data): Likewise.
26090         (tanh_test_data): Likewise.
26091         (tgamma_test_data): Likewise.
26092         (y0_test_data): Likewise.
26093         (y1_test_data): Likewise.
26094         (yn_test_data): Likewise.
26096         [BZ #16167]
26097         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26098         argument being NaN and avoid computations with second argument in
26099         that case.
26100         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26101         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26102         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26104 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
26106         * locale/iso-639.def: Add Chitwani Tharu (the).
26108 2013-11-14  Andreas Schwab  <schwab@suse.de>
26110         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26111         word instead of empty string.
26113 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26116         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26118         (__fe_nomask_env): Likewise.
26120 2013-11-13  Steve Ellcey  <sellcey@mips.com>
26122         * benchtests/bench-timing.h: Include time.h.
26124 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
26126         [BZ #15997]
26127         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26128         to 3.4.0 for x32.
26129         * sysdeps/unix/sysv/linux/configure: Regenerated.
26131 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
26133         [BZ #16151]
26134         * stdlib/strtod_l.c (round_and_return): Do not consider
26135         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26136         exponent one less than half the least subnormal exponent.
26137         * stdlib/test-strtod-round-data: Add more tests.
26138         * stdlib/tst-strtod-round.c (tests): Regenerated.
26140 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26142         [BZ #14143]
26143         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26144         (__fe_mask_env): Likewise.
26145         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26146         libm_hidden_proto and add function prototype.
26147         (__fe_mask_env): Add function prototype.
26148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26149         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26151         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26153         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26155 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26157         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26158         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26160 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26162         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26163         of htab_find_slot().
26165 2013-11-11  David S. Miller  <davem@davemloft.net>
26167         [BZ #16150]
26168         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26169         symbol in the non-vis3 case in static builds.
26170         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26171         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26172         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26173         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26175 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
26177         [BZ #387]
26178         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26179         it is empty.
26181 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26183         * benchtests/Makefile: Add bench-strtod.
26184         * benchtests/bench-strtod.c: New file: strtod benchtest
26186 2013-11-11  Andreas Schwab  <schwab@suse.de>
26188         [BZ #16153]
26189         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26190         terminating NUL in key length.
26192 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26194         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26195         Add artificial ODP entry for vDSO symbol for PPC64.
26196         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26197         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26199 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26201         [BZ #15374]
26202         * nss/getent.c (services_keys): Recognize services starting with digit.
26204 2013-11-06  David S. Miller  <davem@davemloft.net>
26206         [BZ #15985]
26207         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26208         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26210 2013-11-06  Will Newton  <will.newton@linaro.org>
26212         * manual/memory.texi (Malloc Examples): Remove register
26213         keyword from examples.
26215 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
26217         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26219 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
26221         [BZ #6981]
26222         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26223         depending on [__GCC_IEC_559 > 0].
26224         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26225         depending on [__GCC_IEC_559_COMPLEX > 0].
26227 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
26229         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26230         to iso-639.def.
26232 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
26234         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26236 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
26238         [BZ #16112]
26239         * malloc/malloc (malloc_info): Do not handle first bin as
26240         special case.
26242 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
26244         * locale/iso-639.def: Add Central Nahuatl (nhn).
26246 2013-11-01  Bruno Haible  <bruno@clisp.org>
26248         [BZ #7003]
26249         * manual/math.texi (BSD Random): Specify range upper bound as
26250         in POSIX.
26252 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
26254         * locale/iso-639.def: Add Meadow Mari (mhr).
26256 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
26258         [BZ #14752], [BZ #15763]
26259         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26260         Validate name.
26261         * rt/tst_shm.c: Add test for escaping directory.
26263 2013-10-31  Andreas Schwab  <schwab@suse.de>
26265         [BZ #15917]
26266         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26267         followed by 'x' as part of digit sequence.
26268         * stdio-common/tst-sscanf.c (double_tests2): New tests.
26270 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26272         [BZ #16037]
26273         * configure.ac: allow GNU Make 4.0 and greater.
26274         * configure: Regenerated.
26276 2013-10-30  Will Newton  <will.newton@linaro.org>
26278         [BZ #16038]
26279         * malloc/hooks.c (memalign_check): Limit alignment to the
26280         maximum representable power of two.
26281         * malloc/malloc.c (__libc_memalign): Likewise.
26282         * malloc/tst-memalign.c (do_test): Add test for very
26283         large alignment values.
26284         * malloc/tst-posix_memalign.c (do_test): Likewise.
26286 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26288         [BZ #11087]
26289         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26290         (munmap_chunk): Likewise.
26291         (mremap_chunk): Likewise.
26293 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26295         [BZ #15799]
26296         * stdlib/div.c (div): Remove obsolete code.
26297         * stdlib/ldiv.c (ldiv): Likewise.
26298         * stdlib/lldiv.c (lldiv): Likewise.
26300 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26302         [BZ #16071]
26303         * nss/nss_files/files-XXX.c (get_contents_ret): New
26304         enumerator.
26305         (get_contents): New function.
26306         (internal_getent): Use it.  Expand size of LINEBUFLEN.
26308 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
26310         * configure.in: Moved to ...
26311         * configure.ac: ... here. Change reference to configure.in
26312         to configure.ac.
26313         * sysdeps/arm/preconfigure.ac: ... here.
26314         configure.in to configure.ac.
26315         * sysdeps/gnu/configure.in: Moved to ...
26316         * sysdeps/gnu/configure.ac: ... here.
26317         * sysdeps/i386/configure.in: Moved to ...
26318         * sysdeps/i386/configure.ac: ... here.
26319         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26320         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26321         * sysdeps/mach/configure.in: Moved to ...
26322         * sysdeps/mach/configure.ac: ... here.
26323         * sysdeps/mach/hurd/configure.in: Moved to ...
26324         * sysdeps/mach/hurd/configure.ac: ... here.
26325         * sysdeps/powerpc/configure.in: Moved to ...
26326         * sysdeps/powerpc/configure.ac: ... here.
26327         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26328         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26329         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26330         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26331         * sysdeps/s390/s390-32/configure.in: Moved to ...
26332         * sysdeps/s390/s390-32/configure.ac: ... here.
26333         * sysdeps/s390/s390-64/configure.in: Moved to ...
26334         * sysdeps/s390/s390-64/configure.ac: ... here.
26335         * sysdeps/sh/configure.in: Moved to ...
26336         * sysdeps/sh/configure.ac: ... here.
26337         * sysdeps/sparc/configure.in: Moved to ...
26338         * sysdeps/sparc/configure.ac: ... here.
26339         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26340         * sysdeps/unix/sysv/linux/configure.ac: ... here.
26341         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26342         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26343         * sysdeps/x86_64/configure.in: Moved to ...
26344         * sysdeps/x86_64/configure.ac: ... here.
26345         * sysdeps/x86_64/preconfigure.in: Moved to ...
26346         * sysdeps/x86_64/preconfigure.ac: ... here.
26347         * aclocal.m4: Change reference to configure.in to configure.ac.
26348         * config.h.in: Likewise.
26349         * manual/install.texi: Likewise.
26350         * manual/maint.texi: Likewise.
26351         * Makefile: Likewise.
26352         * malloc/Makefile: Likewise.
26353         * nscd/Makefile: Likewise.
26354         * Makeconfig: Change reference to configure.in and
26355         preconfigure.in to configure.ac and preconfigure.ac
26356         respectively.
26357         * INSTALL: Regenerated.
26358         * configure: Likewise.
26359         * sysdeps/gnu/configure: Likewise.
26360         * sysdeps/i386/configure: Likewise.
26361         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26362         * sysdeps/mach/configure: Likewise.
26363         * sysdeps/mach/hurd/configure: Likewise.
26364         * sysdeps/powerpc/configure: Likewise.
26365         * sysdeps/powerpc/powerpc32/configure: Likewise.
26366         * sysdeps/powerpc/powerpc64/configure: Likewise.
26367         * sysdeps/s390/s390-32/configure: Likewise.
26368         * sysdeps/s390/s390-64/configure: Likewise.
26369         * sysdeps/sh/configure: Likewise.
26370         * sysdeps/sparc/configure: Likewise.
26371         * sysdeps/unix/sysv/linux/configure: Likewise.
26372         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26373         * sysdeps/x86_64/configure: Likewise.
26374         * sysdeps/x86_64/preconfigure: Likewise.
26376 2013-10-29  Andreas Schwab  <schwab@suse.de>
26378         * stdio-common/Makefile (tst-swscanf-ENV): Define.
26380 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26382         * benchtests/pow-inputs: Add new inputs.
26384         * benchtests/exp-inputs: Add new inputs.
26386         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26387         conditional check for return value.
26388         (__cos32): Likewise.
26390 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26392         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26393         to provide a boost for large inputs with word alignment.
26394         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26395         implementation based on optimized PPC64 strcpy.
26396         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26397         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26398         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26399         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26401 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26403         [BZ #2801]
26404         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26406 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26408         [BZ #14876]
26409         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26410         * time/tst-strptime.c (day_tests): Add testcase.
26412 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26414         [BZ #14029]
26415         * manual/pattern.texi: Acknowledge that fnmatch can fail.
26417 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
26419         [BZ #16074]
26420         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26421         MAP_FAILED on error.
26423 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26425         [BZ #16072]
26426         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26427         heap for large requests.
26429 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
26431         [BZ #9954]
26432         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26433         result if the result has no associated interface.
26434         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26435         interface for all 127.X.Y.Z addresses.
26437 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
26439         * locale/iso-639.def: Add Ligurian (lij)
26441 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
26443         [BZ #15825]
26444         * sunrpc/rpc_main.c: Document rpcgen -5.
26446 2013-10-19  Michael Stahl  <mstahl@redhat.com>
26448         * elf/rtld.c (do_preload): Print the reason why preloading failed.
26450 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26452         [BZ #10278]
26453         * posix/glob.c: Match only directories when trailing slash is present.
26454         * posix/tst-gnuglob.c (my_opendir): Do not open files.
26455         (main): Add testcase.
26457 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26459         [BZ #15670]
26460         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26462 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
26464         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26465         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26466         AUTH_DES and cindex for FIPS 140-2.
26467         (DES Encryption): Add cindex FIPS 46-3.
26469         * locale/locarchive.h (struct locarhandle): Add fname.
26470         * locale/programs/localedef.c (main): Pass ARGV[remaining]
26471         if an optional argument was specified to --list-archive,
26472         otherwise NULL.
26473         * locale/programs/locarchive.c (show_archive_content): Take new
26474         argument fname and pass it via ah.fname to open_archive.
26475         * locale/programs/localedef.h: Update decl.
26476         (open_archive): If AH->fname is non-null, open that file
26477         rather than the default file name, and don't ignore ENOENT.
26478         (create_archive): Set AH.fname to NULL.
26479         (delete_locales_from_archive): Likewise.
26480         (add_locales_to_archive): Likewise.
26481         * locale/programs/locfile.c (write_all_categories): Likewise.
26483 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
26484             Aldy Hernandez  <aldyh@redhat.com>
26486         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26487         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26488         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26489         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26490         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26491         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26492         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26493         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26494         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26495         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26496         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26497         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26498         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26499         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26500         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26501         Likewise.
26502         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26503         Likewise.
26504         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26505         Likewise.
26506         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26507         Likewise.
26508         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26509         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26510         Likewise.
26511         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26512         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26513         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26514         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26515         Likewise.
26516         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26517         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26518         * sysdeps/powerpc/preconfigure: Likewise.
26519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26520         Likewise.
26521         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26522         Replace contents of file by #include of <fenv_libc.h>.
26523         * sysdeps/powerpc/soft-fp/sfp-machine.h
26524         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26525         and <sys/prctl.h>.
26526         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26527         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26528         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26529         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26530         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26531         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26532         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26533         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26534         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26535         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26536         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26537         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26539         Allow copysignl PLT reference to be missing.
26541 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
26542             Joseph Myers  <joseph@codesourcery.com
26544         [BZ #15948]
26545         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26546         single character.
26547         (add_to_tablewc): Assert sequence of wide characters is nonempty.
26549 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26551         * elf/tst-tls-dlinfo.c: Don't include tls.h.
26552         * elf/tst-tls1.c: Likewise.
26553         * elf/tst-tls10.h: Likewise.
26554         * elf/tst-tls14.c: Likewise.
26555         * elf/tst-tls2.c: Likewise.
26556         * elf/tst-tls3.c: Likewise.
26557         * elf/tst-tls4.c: Likewise.
26558         * elf/tst-tls5.c: Likewise.
26559         * elf/tst-tls6.c: Likewise.
26560         * elf/tst-tls7.c: Likewise.
26561         * elf/tst-tls8.c: Likewise.
26562         * elf/tst-tls9.c: Likewise.
26563         * elf/tst-tlsmod1.c: Likewise.
26564         * elf/tst-tlsmod13.c: Likewise.
26565         * elf/tst-tlsmod13a.c: Likewise.
26566         * elf/tst-tlsmod14a.c: Likewise.
26567         * elf/tst-tlsmod16a.c: Likewise.
26568         * elf/tst-tlsmod16b.c: Likewise.
26569         * elf/tst-tlsmod2.c: Likewise.
26570         * elf/tst-tlsmod3.c: Likewise.
26571         * elf/tst-tlsmod4.c: Likewise.
26572         * elf/tst-tlsmod5.c: Likewise.
26573         * elf/tst-tlsmod6.c: Likewise.
26575 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
26577         [BZ #12486]
26578         * malloc/malloc.c: remove checks for statistics.
26580 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26582         [BZ #15277]
26583         * inet/inet_net.c (inet_network): Detect additional invalid strings.
26584         * inet/tst-network.c: Add testcase.
26586 2013-10-17  Andreas Schwab  <schwab@suse.de>
26588         [BZ #15218]
26589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26590         to determine canonical name.
26592 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26594         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26595         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26596         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26597         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26598         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26599         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26600         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26601         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26602         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26603         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26604         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26605         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26606         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26607         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26608         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26609         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26610         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26611         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26612         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26613         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26614         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26615         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26616         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26617         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26618         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26619         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26620         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26621         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26622         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26623         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26624         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26625         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26626         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26627         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26628         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26629         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26630         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26631         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26632         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26633         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26634         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26635         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26636         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26637         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26638         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26639         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26640         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26641         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26642         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26643         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26644         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26645         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26646         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26647         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26648         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26649         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26650         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26651         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26653 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
26655         [BZ #16041]
26656         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26657         make result into a quiet NaN.
26659 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
26661         * soft-fp/adddf3.c: Fix horizontal whitespace.
26662         * soft-fp/addsf3.c: Likewise.
26663         * soft-fp/addtf3.c: Likewise.
26664         * soft-fp/divdf3.c: Likewise.
26665         * soft-fp/divsf3.c: Likewise.
26666         * soft-fp/divtf3.c: Likewise.
26667         * soft-fp/double.h: Likewise.
26668         * soft-fp/eqdf2.c: Likewise.
26669         * soft-fp/eqsf2.c: Likewise.
26670         * soft-fp/eqtf2.c: Likewise.
26671         * soft-fp/extenddftf2.c: Likewise.
26672         * soft-fp/extended.h: Likewise.
26673         * soft-fp/extendsfdf2.c: Likewise.
26674         * soft-fp/extendsftf2.c: Likewise.
26675         * soft-fp/extendxftf2.c: Likewise.
26676         * soft-fp/fixdfdi.c: Likewise.
26677         * soft-fp/fixdfsi.c: Likewise.
26678         * soft-fp/fixdfti.c: Likewise.
26679         * soft-fp/fixsfdi.c: Likewise.
26680         * soft-fp/fixsfsi.c: Likewise.
26681         * soft-fp/fixsfti.c: Likewise.
26682         * soft-fp/fixtfdi.c: Likewise.
26683         * soft-fp/fixtfsi.c: Likewise.
26684         * soft-fp/fixtfti.c: Likewise.
26685         * soft-fp/fixunsdfdi.c: Likewise.
26686         * soft-fp/fixunsdfsi.c: Likewise.
26687         * soft-fp/fixunsdfti.c: Likewise.
26688         * soft-fp/fixunssfdi.c: Likewise.
26689         * soft-fp/fixunssfsi.c: Likewise.
26690         * soft-fp/fixunssfti.c: Likewise.
26691         * soft-fp/fixunstfdi.c: Likewise.
26692         * soft-fp/fixunstfsi.c: Likewise.
26693         * soft-fp/fixunstfti.c: Likewise.
26694         * soft-fp/floatdidf.c: Likewise.
26695         * soft-fp/floatdisf.c: Likewise.
26696         * soft-fp/floatditf.c: Likewise.
26697         * soft-fp/floatsidf.c: Likewise.
26698         * soft-fp/floatsisf.c: Likewise.
26699         * soft-fp/floatsitf.c: Likewise.
26700         * soft-fp/floattidf.c: Likewise.
26701         * soft-fp/floattisf.c: Likewise.
26702         * soft-fp/floattitf.c: Likewise.
26703         * soft-fp/floatundidf.c: Likewise.
26704         * soft-fp/floatundisf.c: Likewise.
26705         * soft-fp/floatunditf.c: Likewise.
26706         * soft-fp/floatunsidf.c: Likewise.
26707         * soft-fp/floatunsisf.c: Likewise.
26708         * soft-fp/floatunsitf.c: Likewise.
26709         * soft-fp/floatuntidf.c: Likewise.
26710         * soft-fp/floatuntisf.c: Likewise.
26711         * soft-fp/floatuntitf.c: Likewise.
26712         * soft-fp/fmadf4.c: Likewise.
26713         * soft-fp/fmasf4.c: Likewise.
26714         * soft-fp/fmatf4.c: Likewise.
26715         * soft-fp/gedf2.c: Likewise.
26716         * soft-fp/gesf2.c: Likewise.
26717         * soft-fp/getf2.c: Likewise.
26718         * soft-fp/ledf2.c: Likewise.
26719         * soft-fp/lesf2.c: Likewise.
26720         * soft-fp/letf2.c: Likewise.
26721         * soft-fp/muldf3.c: Likewise.
26722         * soft-fp/mulsf3.c: Likewise.
26723         * soft-fp/multf3.c: Likewise.
26724         * soft-fp/negdf2.c: Likewise.
26725         * soft-fp/negsf2.c: Likewise.
26726         * soft-fp/negtf2.c: Likewise.
26727         * soft-fp/op-1.h: Likewise.
26728         * soft-fp/op-2.h: Likewise.
26729         * soft-fp/op-4.h: Likewise.
26730         * soft-fp/op-8.h: Likewise.
26731         * soft-fp/op-common.h: Likewise.
26732         * soft-fp/quad.h: Likewise.
26733         * soft-fp/single.h: Likewise.
26734         * soft-fp/soft-fp.h: Likewise.
26735         * soft-fp/sqrtdf2.c: Likewise.
26736         * soft-fp/sqrtsf2.c: Likewise.
26737         * soft-fp/sqrttf2.c: Likewise.
26738         * soft-fp/subdf3.c: Likewise.
26739         * soft-fp/subsf3.c: Likewise.
26740         * soft-fp/subtf3.c: Likewise.
26741         * soft-fp/truncdfsf2.c: Likewise.
26742         * soft-fp/trunctfdf2.c: Likewise.
26743         * soft-fp/trunctfsf2.c: Likewise.
26744         * soft-fp/trunctfxf2.c: Likewise.
26745         * soft-fp/unorddf2.c: Likewise.
26746         * soft-fp/unordsf2.c: Likewise.
26747         * soft-fp/unordtf2.c: Likewise.
26749 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
26751         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26752         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26754 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
26756         * elf/dl-libc.c: Clear initfini list after freeing.
26758 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
26760         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26761         * soft-fp/addsf3.c: Likewise.
26762         * soft-fp/addtf3.c: Likewise.
26763         * soft-fp/divdf3.c: Likewise.
26764         * soft-fp/divsf3.c: Likewise.
26765         * soft-fp/divtf3.c: Likewise.
26766         * soft-fp/double.h: Likewise.
26767         * soft-fp/eqdf2.c: Likewise.
26768         * soft-fp/eqsf2.c: Likewise.
26769         * soft-fp/eqtf2.c: Likewise.
26770         * soft-fp/extenddftf2.c: Likewise.
26771         * soft-fp/extended.h: Likewise.
26772         * soft-fp/extendsfdf2.c: Likewise.
26773         * soft-fp/extendsftf2.c: Likewise.
26774         * soft-fp/extendxftf2.c: Likewise.
26775         * soft-fp/fixdfdi.c: Likewise.
26776         * soft-fp/fixdfsi.c: Likewise.
26777         * soft-fp/fixdfti.c: Likewise.
26778         * soft-fp/fixsfdi.c: Likewise.
26779         * soft-fp/fixsfsi.c: Likewise.
26780         * soft-fp/fixsfti.c: Likewise.
26781         * soft-fp/fixtfdi.c: Likewise.
26782         * soft-fp/fixtfsi.c: Likewise.
26783         * soft-fp/fixtfti.c: Likewise.
26784         * soft-fp/fixunsdfdi.c: Likewise.
26785         * soft-fp/fixunsdfsi.c: Likewise.
26786         * soft-fp/fixunsdfti.c: Likewise.
26787         * soft-fp/fixunssfdi.c: Likewise.
26788         * soft-fp/fixunssfsi.c: Likewise.
26789         * soft-fp/fixunssfti.c: Likewise.
26790         * soft-fp/fixunstfdi.c: Likewise.
26791         * soft-fp/fixunstfsi.c: Likewise.
26792         * soft-fp/fixunstfti.c: Likewise.
26793         * soft-fp/floatdidf.c: Likewise.
26794         * soft-fp/floatdisf.c: Likewise.
26795         * soft-fp/floatditf.c: Likewise.
26796         * soft-fp/floatsidf.c: Likewise.
26797         * soft-fp/floatsisf.c: Likewise.
26798         * soft-fp/floatsitf.c: Likewise.
26799         * soft-fp/floattidf.c: Likewise.
26800         * soft-fp/floattisf.c: Likewise.
26801         * soft-fp/floattitf.c: Likewise.
26802         * soft-fp/floatundidf.c: Likewise.
26803         * soft-fp/floatundisf.c: Likewise.
26804         * soft-fp/floatunsidf.c: Likewise.
26805         * soft-fp/floatunsisf.c: Likewise.
26806         * soft-fp/floatuntidf.c: Likewise.
26807         * soft-fp/floatuntisf.c: Likewise.
26808         * soft-fp/floatuntitf.c: Likewise.
26809         * soft-fp/fmadf4.c: Likewise.
26810         * soft-fp/fmasf4.c: Likewise.
26811         * soft-fp/fmatf4.c: Likewise.
26812         * soft-fp/gedf2.c: Likewise.
26813         * soft-fp/gesf2.c: Likewise.
26814         * soft-fp/getf2.c: Likewise.
26815         * soft-fp/ledf2.c: Likewise.
26816         * soft-fp/lesf2.c: Likewise.
26817         * soft-fp/letf2.c: Likewise.
26818         * soft-fp/muldf3.c: Likewise.
26819         * soft-fp/mulsf3.c: Likewise.
26820         * soft-fp/multf3.c: Likewise.
26821         * soft-fp/negdf2.c: Likewise.
26822         * soft-fp/negsf2.c: Likewise.
26823         * soft-fp/negtf2.c: Likewise.
26824         * soft-fp/op-1.h: Likewise.
26825         * soft-fp/op-2.h: Likewise.
26826         * soft-fp/op-4.h: Likewise.
26827         * soft-fp/op-8.h: Likewise.
26828         * soft-fp/op-common.h: Likewise.
26829         * soft-fp/quad.h: Likewise.
26830         * soft-fp/single.h: Likewise.
26831         * soft-fp/soft-fp.h: Likewise.
26832         * soft-fp/sqrtdf2.c: Likewise.
26833         * soft-fp/sqrtsf2.c: Likewise.
26834         * soft-fp/sqrttf2.c: Likewise.
26835         * soft-fp/subdf3.c: Likewise.
26836         * soft-fp/subsf3.c: Likewise.
26837         * soft-fp/subtf3.c: Likewise.
26838         * soft-fp/truncdfsf2.c: Likewise.
26839         * soft-fp/trunctfdf2.c: Likewise.
26840         * soft-fp/trunctfsf2.c: Likewise.
26841         * soft-fp/trunctfxf2.c: Likewise.
26842         * soft-fp/unorddf2.c: Likewise.
26843         * soft-fp/unordsf2.c: Likewise.
26844         * soft-fp/unordtf2.c: Likewise.
26846 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
26848         [BZ #15672]
26849         * misc/error.c (error_tail): Fix possible buffer overflow.
26851 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
26853         [BZ #13028]
26854         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26855         address.
26857 2013-10-14  P. J. McDermott  <pj@pehjota.net>
26859         [BZ #832]
26860         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
26861         testing pipefail option.
26863 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26865         * soft-fp/double.h: Indent preprocessor directives inside #if.
26866         * soft-fp/extended.h: Likewise.
26867         * soft-fp/op-2.h: Likewise.
26868         * soft-fp/op-4.h: Likewise.
26869         * soft-fp/op-common.h: Likewise.
26870         * soft-fp/quad.h: Likewise.
26871         * soft-fp/single.h: Likewise.
26872         * soft-fp/soft-fp.h: Likewise.
26874 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
26876         * iconv/iconv_prog.c: Fix typos.
26877         * stdio-common/psiginfo-data.h: Likewise.
26879 2013-10-12   Reuben Thomas <rrt@sc3d.org>
26881         [BZ #15764]
26882         * locale/setlocale.c: Fix typo.
26884 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26886         [BZ #16036]
26887         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26888         signaling NaN arguments.
26889         * soft-fp/unordsf2.c (__unordsf2): Likewise.
26890         * soft-fp/unordtf2.c (__unordtf2): Likewise.
26892         [BZ #14910]
26893         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26894         unordered operands.
26895         * soft-fp/gesf2.c (__gesf2): Likewise.
26896         * soft-fp/getf2.c (__getf2): Likewise.
26897         * soft-fp/ledf2.c (__ledf2): Likewise.
26898         * soft-fp/lesf2.c (__lesf2): Likewise.
26899         * soft-fp/letf2.c (__letf2): Likewise.
26901         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26902         * soft-fp/eqsf2.c (__eqsf2): Likewise.
26903         * soft-fp/eqtf2.c (__eqtf2): Likewise.
26904         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26905         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26906         * soft-fp/fixdfti.c (__fixdfti): Likewise.
26907         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26908         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26909         * soft-fp/fixsfti.c (__fixsfti): Likewise.
26910         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26911         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26912         * soft-fp/fixtfti.c (__fixtfti): Likewise.
26913         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26914         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26915         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26916         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26917         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26918         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26919         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26920         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26921         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26922         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26923         * soft-fp/floatdisf.c (__floatdisf): Likewise.
26924         * soft-fp/floatsisf.c (__floatsisf): Likewise.
26925         * soft-fp/floattidf.c (__floattidf): Likewise.
26926         * soft-fp/floattisf.c (__floattisf): Likewise.
26927         * soft-fp/floattitf.c (__floattitf): Likewise.
26928         * soft-fp/floatundidf.c (__floatundidf): Likewise.
26929         * soft-fp/floatundisf.c (__floatundisf): Likewise.
26930         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26931         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26932         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26933         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26934         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26935         * soft-fp/gesf2.c (__gesf2): Likewise.
26936         * soft-fp/getf2.c (__getf2): Likewise.
26937         * soft-fp/ledf2.c (__ledf2): Likewise.
26938         * soft-fp/lesf2.c (__lesf2): Likewise.
26939         * soft-fp/letf2.c (__letf2): Likewise.
26941         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26942         Undefine and redefine.
26943         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26944         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26945         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26946         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26947         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26948         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26949         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26950         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26951         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26952         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26953         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26954         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26955         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26956         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26957         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26959         [BZ #16032]
26960         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26961         without decrementing exponent if mantissa >= that for the
26962         denominator, not >.
26963         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26964         denominator, not >.  Decrement exponent in < case instead of
26965         incrementing in >= case.
26966         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26967         without decrementing exponent if mantissa >= that for the
26968         denominator, not >.
26970         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26971         computing saturated result for unsigned overflow.
26973 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26974             Jeff Law  <law@redhat.com>
26976         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26977         (atan2Mp): Add systemtap probe marker.
26978         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26979         (__ieee754_log): Add systemtap probe marker.
26980         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26981         (atanMp): Add systemtap probe marker.
26982         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26983         (tanMp): Add systemtap probe marker.
26984         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26985         (__slowexp): Add systemtap probe marker.
26986         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26987         (__slowpow): Add systemtap probe marker.
26988         * manual/probes.texi: Document probes.
26990 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
26992         [BZ #15362]
26993         * libio/fileops.c (_IO_new_file_write): Return count of bytes
26994         written.
26995         (_IO_new_file_xsputn): Don't return EOF if nothing has been
26996         written.
26997         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26998         written to buffer but not flushed.
26999         * libio/iofwrite_u.c:  Likewise.
27000         * libio/iopadn.c:  Return bytes returned even if EOF was
27001         encountered.
27002         * libio/iowpadn.c:  Likewise.
27003         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27004         if _IO_padn does not write the whole buffer.
27005         [!COMPILE_WPRINTF] (PAD): Likewise.
27007 2013-10-10  David S. Miller  <davem@davemloft.net>
27009         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27010         directory block.
27012 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27014         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
27015         instead of FSF address.
27016         * soft-fp/fixdfti.c: Likewise.
27017         * soft-fp/fixsfti.c: Likewise.
27018         * soft-fp/fixtfti.c: Likewise.
27019         * soft-fp/fixunsdfti.c: Likewise.
27020         * soft-fp/fixunssfti.c: Likewise.
27021         * soft-fp/fixunstfti.c: Likewise.
27022         * soft-fp/floattidf.c: Likewise.
27023         * soft-fp/floattisf.c: Likewise.
27024         * soft-fp/floattitf.c: Likewise.
27025         * soft-fp/floatuntidf.c: Likewise.
27026         * soft-fp/floatuntisf.c: Likewise.
27027         * soft-fp/floatuntitf.c: Likewise.
27028         * soft-fp/trunctfxf2.c: Likewise.
27030         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
27031         * soft-fp/fixdfti.c: Likewise.
27032         * soft-fp/fixsfti.c: Likewise.
27033         * soft-fp/fixtfti.c: Likewise.
27034         * soft-fp/fixunsdfti.c: Likewise.
27035         * soft-fp/fixunssfti.c: Likewise.
27036         * soft-fp/fixunstfti.c: Likewise.
27037         * soft-fp/floattidf.c: Likewise.
27038         * soft-fp/floattisf.c: Likewise.
27039         * soft-fp/floattitf.c: Likewise.
27040         * soft-fp/floatuntidf.c: Likewise.
27041         * soft-fp/floatuntisf.c: Likewise.
27042         * soft-fp/floatuntitf.c: Likewise.
27043         * soft-fp/trunctfxf2.c: Likewise.
27045 2013-10-10  David S. Miller  <davem@davemloft.net>
27047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27049 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
27051         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27052         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27053         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27054         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27055         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27056         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27057         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27059         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27060         for NaNs before doing comparisons on argument.
27061         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27062         Likewise.
27064 2013-10-10  Will Newton  <will.newton@linaro.org>
27066         * malloc/hooks.c (memalign_check): Ensure the value of bytes
27067         passed to _int_memalign does not overflow.
27069 2013-10-10  Torvald Riegel  <triegel@redhat.com>
27071         * scripts/bench.pl: Add include-sources directive.
27072         * benchtests/README: Update documentation.
27074 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27076         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27077         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27078         instead of FP_INIT_ROUNDMODE.
27079         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27080         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27082         [BZ #16034]
27083         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
27084         copy class of input value.
27085         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
27086         not handle exceptions.
27087         * soft-fp/negsf2.c (__negsf2): Likewise.
27088         * soft-fp/negtf2.c (__negtf2): Likewise.
27089         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27091 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
27093         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27094         semicolon.  From Linux kernel.
27096 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
27098         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27100 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
27102         [BZ #156]
27103         * manual/socket.texi: Added statement about buffer
27104         for gethostbyname2_r.
27106 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
27108         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27109         Use .p2align directive instead, throughout.
27110         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27111         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27112         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27113         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27114         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27115         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27116         * sysdeps/x86_64/strchr.S: Likewise.
27117         * sysdeps/x86_64/strrchr.S: Likewise.
27119 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27121         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27123         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27125         * sysdeps/generic/math_private.h (__mpsin1): Remove
27126         declaration.
27127         (__mpcos1): Likewise.
27128         (__mpsin): New argument __range_reduce.
27129         (__mpcos): Likewise.
27130         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27131         (slow): Use __mpsin and __mpcos.
27132         (slow1): Likewise.
27133         (slow2): Likewise.
27134         (sloww): Likewise.
27135         (sloww1): Likewise.
27136         (sloww2): Likewise.
27137         (bsloww): Likewise.
27138         (bsloww1): Likewise.
27139         (bsloww2): Likewise.
27140         (cslow2): Likewise.
27141         (csloww): Likewise.
27142         (csloww1): Likewise.
27143         (csloww2): Likewise.
27144         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27145         range_reduce.  Merge in __mpsin1.
27146         (__mpcos): Likewise.
27147         (__mpsin1): Remove.
27148         (__mpcos1): Likewise.
27150 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
27152         * locale/loadlocale.c (_nl_intern_locale_data): Use
27153         LOCFILE_ALIGNED_P.
27154         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27155         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27156         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27157         obstack data is appropriately aligned.
27158         (obstack_int32_grow_fast): Likewise.
27159         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27160         * locale/programs/locfile.c (add_locale_uint32): Likewise.
27161         (add_locale_uint32_array): Likewise.
27163 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27165         * benchtests/Makefile: Remove ARGLIST and RET variables.
27166         ($(objpfx)bench-%.c): Pass only function name to the script.
27167         * benchtests/README: Update documentation.
27168         * benchtests/acos-inputs: Add new directives.
27169         * benchtests/acosh-inputs: Likewise.
27170         * benchtests/asin-inputs: Likewise.
27171         * benchtests/asinh-inputs: Likewise.
27172         * benchtests/atan-inputs: Likewise.
27173         * benchtests/atanh-inputs: Likewise.
27174         * benchtests/cos-inputs: Likewise.
27175         * benchtests/cosh-inputs: Likewise.
27176         * benchtests/exp-inputs: Likewise.
27177         * benchtests/log-inputs: Likewise.
27178         * benchtests/pow-inputs: Likewise.
27179         * benchtests/rint-inputs: Likewise.
27180         * benchtests/sin-inputs: Likewise.
27181         * benchtests/sinh-inputs: Likewise.
27182         * benchtests/tan-inputs: Likewise.
27183         * benchtests/tanh-inputs: Likewise.
27184         * scripts/bench.pl: Add support for new directives.
27186 2013-10-07  Alan Modra  <amodra@gmail.com>
27188         * README: Fix careless merge.
27190 2013-10-05  Alan Modra  <amodra@gmail.com>
27192         * NEWS: Mention powerpc64le support and bugs fixed.
27193         * README: Both big-endian and little-endian powerpc64 supported.
27195 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27197         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27198         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27199         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27200         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27202 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
27204         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27205         match prototype.
27207 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
27209         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27210         Move -mhard-float appending from
27211         ports/sysdeps/powerpc/powerpc32/Makefile.
27212         [$(with-fp) = yes] (ASFLAGS): Likewise.
27213         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27214         * sysdeps/powerpc/nofpu: Move directory from
27215         ports/sysdeps/powerpc/nofpu.
27216         * sysdeps/powerpc/soft-fp: Move directory from
27217         ports/sysdeps/powerpc/soft-fp.
27218         * sysdeps/powerpc/powerpc32/405: Move directory from
27219         ports/sysdeps/powerpc/powerpc32/405.
27220         * sysdeps/powerpc/powerpc32/440: Move directory from
27221         ports/sysdeps/powerpc/powerpc32/440.
27222         * sysdeps/powerpc/powerpc32/464: Move directory from
27223         ports/sysdeps/powerpc/powerpc32/464.
27224         * sysdeps/powerpc/powerpc32/476: Move directory from
27225         ports/sysdeps/powerpc/powerpc32/476.
27226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27227         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27229         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27231         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27233         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27235         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27236         * README: Update for powerpc-*-linux-gnu software floating point
27237         support in libc.
27239         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27240         case to powerpc/powerpc32*.
27241         * sysdeps/unix/sysv/linux/configure: Regenerated.
27243         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27244         (_FPU_MASK_OM): Define as 0x04.
27245         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27247         0x00c10080.
27248         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27249         0x0000003c.
27250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27253         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27254         getcontext_e500.
27255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27256         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27257         setcontext_e500.
27258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27259         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27260         and setcontext_e500.
27262 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
27264         * locale/iso-3166.def: Update iso-1366.def and related occurrences
27266 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27268         * manual/threads.texi (Default Thread Attributes): Fix typo.
27270 2013-10-04  Will Newton  <will.newton@linaro.org>
27272         * malloc/Makefile: Add tst-memalign.
27273         * malloc/tst-memalign.c: New file.
27275         * malloc/tst-posix_memalign.c: Add comments.
27276         (do_test): Add comments and call free on all potentially
27277         allocated pointers. Add space after cast.
27279         * malloc/tst-pvalloc.c: Add comments.
27280         (do_test): Add comments and call free on all potentially
27281         allocated pointers. Remove duplicate check for NULL pointer.
27282         Add space after cast.
27284         * malloc/tst-valloc.c: Add comments.
27285         (do_test): Add comments and call free on all potentially
27286         allocated pointers. Remove duplicate check for NULL pointer.
27287         Add space after cast.
27289 2013-10-04  Alan Modra  <amodra@gmail.com>
27291         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27292         Use stdint types in rather than __attribute__((mode())).
27293         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27295 2013-10-04  Alan Modra  <amodra@gmail.com>
27297         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27298         Correct handling of unaligned relocs for little-endian.
27299         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27301 2013-10-04  Alan Modra  <amodra@gmail.com>
27303         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27304         * configure: Regenerate.
27305         * nptl/shlib-versions: Powerpc*le starts at 2.18.
27306         * shlib-versions: Likewise.
27308 2013-10-04  Alan Modra  <amodra@gmail.com>
27310         * string/tester.c (test_memrchr): Increment reported test cycle.
27312 2013-10-04  Alan Modra  <amodra@gmail.com>
27314         * string/test-memcpy.c (do_one_test): When reporting errors, print
27315         string address and don't overrun end of string.
27317 2013-10-04  Alan Modra  <amodra@gmail.com>
27319         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27320         insrdi.  Make better use of reg selection to speed exit slightly.
27321         Schedule entry path a little better.  Remove useless "are we done"
27322         checks on entry to main loop.  Handle wrapping around zero address.
27323         Correct main loop count.  Handle single left-over word from main
27324         loop inline rather than by using loop_small.  Remove extra word
27325         case in loop_small caused by wrong loop count.  Add little-endian
27326         support.
27327         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27328         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
27329         cache hint.
27330         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27331         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27332         support.  Avoid rlwimi.
27333         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27335 2013-10-04  Alan Modra  <amodra@gmail.com>
27337         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27338         insrdi.  Formatting.
27339         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27340         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27341         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27342         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27343         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27344         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27346 2013-10-04  Alan Modra  <amodra@gmail.com>
27348         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27349         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27350         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27351         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27352         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27353         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27354         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27355         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27356         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
27357         use of regs.  Use power7 mtocrf.  Tidy function tails.
27359 2013-10-04  Alan Modra  <amodra@gmail.com>
27361         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27362         Formatting.  Consistently use rXXX register defines or rN defines.
27363         Use early exit labels that avoid restoring unused non-volatile regs.
27364         Make cr field use more consistent with rWORDn compares.  Rename
27365         regs used as shift registers for unaligned loop, using rN defines
27366         for short lifetime/multiple use regs.
27367         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27368         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
27369         addi 1,1,64 to pop stack frame.  Simplify return value code.
27370         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27372 2013-10-04  Alan Modra  <amodra@gmail.com>
27374         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27375         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
27376         rather than rlwimi.
27377         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27378         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27379         little-endian support.  Correct typos.
27380         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
27381         rather than rlwimi.
27382         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
27383         in loop and entry code to keep "and." results.
27384         (strchr): Add little-endian support.  Comment.  Move cntlzd
27385         earlier in tail.
27386         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27388 2013-10-04  Alan Modra  <amodra@gmail.com>
27390         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27391         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27392         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27393         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27395 2013-10-04  Alan Modra  <amodra@gmail.com>
27397         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27398         (rTMP): Define as r11.
27399         (strcmp): Add little-endian support.  Optimise tail.
27400         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27401         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27402         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27403         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27404         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27405         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27406         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27408 2013-10-04  Alan Modra  <amodra@gmail.com>
27410         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27411         little-endian support.  Remove unnecessary "are we done" tests.
27412         Handle "s" wrapping around zero and extremely large "size".
27413         Correct main loop count.  Handle single left-over word from main
27414         loop inline rather than by using small_loop.  Correct comments.
27415         Delete "zero" tail, use "end_max" instead.
27416         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27418 2013-10-04  Alan Modra  <amodra@gmail.com>
27420         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27421         support.  Don't branch over align.
27422         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27423         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27424         support.  Rearrange tmp reg use to suit.  Comment.
27425         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27427 2013-10-04  Alan Modra  <amodra@gmail.com>
27429         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27431 2013-10-04  Alan Modra  <amodra@gmail.com>
27433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27434         conditional form of branch and link when obtaining pc.
27435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27437 2013-10-04  Alan Modra  <amodra@gmail.com>
27439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27440         HIWORD/LOWORD.
27441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27444 2013-10-04  Alan Modra  <amodra@gmail.com>
27446         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27447         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27448         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27449         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27450         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27451         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27452         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27453         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27454         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27455         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27457 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27458             Alistair Popple <alistair@ozlabs.au.ibm.com>
27459             Alan Modra <amodra@gmail.com>
27461         [BZ #15723]
27462         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27463         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27464         _dl_hwcap access for little-endian.
27465         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
27466         destroy vmx regs when saving unaligned.
27467         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27468         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
27469         destroy vmx regs when saving unaligned.
27471 2013-10-04  Alan Modra  <amodra@gmail.com>
27473         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27474         Don't use a union to pack hi/low value.
27476 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27478         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27479         for little-endian.
27480         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27481         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27482         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27483         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27484         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27486 2013-10-04  Alan Modra  <amodra@gmail.com>
27488         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27489         constants to usual value for .cst8 section, and remove redundant
27490         high address load.
27491         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27492         constant for 0x1p52.  Load little-endian words of double from
27493         correct stack offsets.
27495 2013-10-04  Alan Modra  <amodra@gmail.com>
27497         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27498         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27499         words of double from correct stack offsets.
27500         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27501         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27502         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27503         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27504         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27505         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27506         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27507         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27508         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27509         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27510         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27511         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27512         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27513         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27514         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27515         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27516         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27518 2013-10-04  Alan Modra  <amodra@gmail.com>
27520         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27521         64-bit int/double union.
27522         (_FPU_SETCW): Likewise.
27523         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27524         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27526 2013-10-04  Alan Modra  <amodra@gmail.com>
27528         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27529         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27531 2013-10-04  Alan Modra  <amodra@gmail.com>
27533         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27534         use vector int constants.
27535         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27537 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27539         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27540         array with long long.
27541         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27542         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27543         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27544         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27545         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27546         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27547         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27548         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27549         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27550         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27551         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27552         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27553         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27555 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27557         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27558         (__signbit): Likewise.  Correct for little-endian.
27559         (__signbitl): Call __signbit.
27560         (lrint): Correct for little-endian.
27561         (lrintf): Call lrint.
27563 2013-10-04  Alan Modra  <amodra@gmail.com>
27565         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27566         union 32-bit int array member with 64-bit int array.
27567         (t515, tm256): Double rather than long double.
27568         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27570 2013-10-04  Alan Modra  <amodra@gmail.com>
27572         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27573         Delete.
27574         (IEEE854_LONG_DOUBLE_BIAS): Delete.
27575         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27576         version of math_ldbl.h.
27578 2013-10-04  Alan Modra  <amodra@gmail.com>
27580         [BZ #15734], [BZ #15735]
27581         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27582         all uses of ieee875 long double macros and unions.  Simplify test
27583         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
27584         ldbl_extract_mantissa value for ix,iy exponents.  Properly
27585         normalize after ldbl_extract_mantissa, and don't add hidden bit
27586         already handled.  Don't treat low word of ieee854 mantissa like
27587         low word of IBM long double and mask off bit when testing for
27588         zero.
27589         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27590         all uses of ieee875 long double macros and unions.  Simplify tests
27591         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
27592         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
27593         two1022, instead use their values.  Recognise that tests for large
27594         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
27595         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27596         Rewrite all uses of ieee875 long double macros and unions.  Simplify
27597         test for 0.0L and nan.  Correct negation.
27598         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27599         ieee875 long double macros and unions.  Correct output for large
27600         magnitude x.  Correct absolute value calculation.
27601         (__erfcl): Likewise.
27602         * math/libm-test.inc: Add tests for errors discovered in IBM long
27603         double versions of fmodl, remainderl, erfl and erfcl.
27605 2013-10-04  Alan Modra  <amodra@gmail.com>
27607         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27608         all uses of ieee854 long double macros and unions.  Simplify tests
27609         for long doubles that are fully specified by the high double.
27610         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27611         Likewise.
27612         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27613         Remove dead code too.
27614         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27615         (__ieee754_ynl): Likewise.
27616         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27617         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27618         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27619         Remove dead code too.
27620         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27621         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27622         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27623         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27624         Simplify.
27625         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27626         Simplify.
27627         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27628         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27629         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27630         Comment on variable precision.
27631         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27632         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27633         Likewise.
27634         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27635         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27636         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27637         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27638         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27640 2013-10-04  Alan Modra  <amodra@gmail.com>
27642         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27643         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27644         all uses of ieee854 long double macros and unions.
27645         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27646         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27647         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27648         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27649         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27650         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27651         Likewise.
27652         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27653         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27654         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27655         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27656         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27657         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27658         Simplify sign and nan test too.
27659         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27660         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27661         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27662         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27663         Likewise.
27664         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27665         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27666         Likewise.
27667         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27668         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27669         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27670         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27671         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27672         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27674 2013-10-04  Alan Modra  <amodra@gmail.com>
27676         * stdio-common/printf_size.c (__printf_size): Don't use
27677         union ieee854_long_double in fpnum union.
27678         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
27679         signbit macro to retrieve sign from long double.
27680         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27681         retrieve sign from long double.
27682         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27683         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27684         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27685         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27686         * math/test-misc.c (main): Don't use union ieee854_long_double.
27688 2013-10-04  Alan Modra  <amodra@gmail.com>
27690         [BZ #15680]
27691         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27692         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27693         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27694         calculation.  Remove unnecessary test for denormal exponent.
27695         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27696         Correct handling of denormals.  Avoid undefined shift behaviour.
27697         Correct normalisation of low mantissa when low double is denormal.
27698         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27699         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
27700         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27701         Correct normalisation of low mantissa.  Test for overflow of high
27702         mantissa and normalise.
27703         (ldbl_nearbyint): Use more readable constant for two52.
27704         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27705         (__mpn_construct_long_double): Fix test for overflow of high
27706         mantissa and correct normalisation.  Avoid undefined shift.
27708 2013-10-04  Alan Modra  <amodra@gmail.com>
27710         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27711         (union ibm_extended_long_double): Define as an array of ieee754_double.
27712         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27713         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27714         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27715         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27716         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27717         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27718         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27719         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27720         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27721         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27722         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27724 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
27726         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27727         page size instead of calling getpagesize.
27729         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27730         (LOCFILE_ALIGN_MASK): Likewise.
27731         (LOCFILE_ALIGN_UP): Likewise.
27732         (LOCFILE_ALIGNED_P): Likewise.
27733         * locale/programs/ld-collate.c (collate_output): Use the new
27734         macros instead of __alignof__ (int32_t).
27735         * locale/weight.h (findidx): Likewise.
27737 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
27739         [BZ #431]
27740         * manual/string.texi: Fix strncat and wcsncat.
27742 2013-10-03  Brooks Moses  <bmoses@google.com>
27744         [BZ #15915]
27745         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27746         * Makerules: ...here, and adjust associated comments.
27748 2013-10-02  Will Newton  <will.newton@linaro.org>
27750         * malloc/Makefile: Add tst-pvalloc.
27751         * malloc/tst-pvalloc.c: New file.
27753 2013-10-02  Will Newton  <will.newton@linaro.org>
27755         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27756         improve test coverage.
27758 2013-10-02  Will Newton  <will.newton@linaro.org>
27760         * malloc/Makefile: Add tst-posix_memalign.
27761         * malloc/tst-posix_memalign.c: New file.
27763 2013-10-01  Eric Blake  <eblake@redhat.com>
27765         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27766         Use __THROWNL rather than __THROW on static functions.
27768 2013-09-30  Petr Machata  <pmachata@redhat.com>
27770         * elf/elf.h (R_AARCH64_ABS16): New macro.
27771         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27772         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27773         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27774         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27775         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27776         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27777         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27778         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27779         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27780         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27781         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27782         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27783         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27784         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27785         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27786         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27787         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27788         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27789         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27790         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27791         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27792         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27793         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27794         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27795         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27796         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27797         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27798         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27799         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27800         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27801         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27802         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27803         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27804         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27805         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27806         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27807         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27808         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27809         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27810         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27811         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27812         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27813         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27814         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27815         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27816         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27817         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27818         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27819         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27820         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27821         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27822         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27823         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27824         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27825         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27826         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27827         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27828         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27829         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27830         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27831         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27832         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27833         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27834         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27835         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27836         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27837         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27838         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27839         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27840         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27841         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27842         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27843         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27844         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27845         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27846         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27847         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27848         (R_AARCH64_TLSDESC_LDR): Likewise.
27849         (R_AARCH64_TLSDESC_ADD): Likewise.
27850         (R_AARCH64_TLSDESC_CALL): Likewise.
27852 2013-09-30  Andreas Schwab  <schwab@suse.de>
27854         [BZ #15048]
27855         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27856         the nss database lookup.
27857         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27860 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
27862         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27864 2013-09-28  P. J. McDermott  <pj@pehjota.net>
27866         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27867         ${Bash-specific parameter/pattern/string} parameter expansion.
27868         * sysdeps/unix/make-syscalls.sh: Likewise.
27870 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27872         * sysdeps/sh/stackguard-macros.h: New file.
27874 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
27876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27877         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27878         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27879         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27880         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27881         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27883 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27885         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27886         Fix thread ID register.
27888 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
27890         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27891         [POSIX || UNIX98]: Require rather than permitting all symbols from
27892         <time.h>.
27893         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27894         element of struct sched_param.
27895         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27896         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27897         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27898         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27899         constant.
27901 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
27903         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27904         argument calculation.
27906 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27908         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27909         Expect macro.
27910         [POSIX] (pthread_attr_t): Do not require type.
27911         [POSIX] (pthread_cond_t): Likewise.
27912         [POSIX] (pthread_condattr_t): Likewise.
27913         [POSIX] (pthread_key_t): Likewise.
27914         [POSIX] (pthread_mutex_t): Likewise.
27915         [POSIX] (pthread_mutexattr_t): Likewise.
27916         [POSIX] (pthread_once_t): Likewise.
27917         [POSIX] (pthread_t): Likewise.
27918         [POSIX-based standards] (pthread_atfork): Expect function.
27920 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27921             Richard Sandiford  <richard@codesourcery.com>
27923         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27924         (swap_endianness_p): New extern variable.
27925         (set_big_endian): New inline function.
27926         (maybe_swap_uint32): Likewise.
27927         (maybe_swap_uint32_array): Likewise.
27928         (maybe_swap_uint32_obstack): Likewise.
27929         * locale/programs/locfile.c: Include <stdbool.h>.
27930         (swap_endianness_p): New variable.
27931         (add_locale_uint32): Call maybe_swap_uint32.
27932         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27933         (write_locale_data): Call maybe_swap_uint32_array.
27934         * locale/programs/ld-collate.c (obstack_int32_grow): Call
27935         maybe_swap_uint32.
27936         (obstack_int32_grow_fast): Likewise.
27937         (output_weightwc): Call maybe_swap_uint32_obstack.
27938         (collate_output): Likewise.
27939         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27940         (OPT_LITTLE_ENDIAN): Likewise.
27941         (options): Add --little-endian and --big-endian options.
27942         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27943         * locale/programs/locarchive.c: Include "locfile.h".
27944         (GET): New macro.
27945         (SET): Likewise.
27946         (INC): Likewise.
27947         (create_archive): Use the new macros to access fields of
27948         structures directly mapped from or written to locale archives.
27949         (oldlocrecentcmp): Likewise.
27950         (enlarge_archive): Likewise.
27951         (insert_name): Likewise.
27952         (add_alias): Likewise.
27953         (add_locale): Likewise.
27954         (delete_locales_from_archive): Likewise.
27955         (show_archive_content): Likewise.
27956         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
27957         locale data.
27959 2013-09-24  Roland McGrath  <roland@hack.frob.com>
27961         * manual/freemanuals.texi: Updated from (newly) canonical copy at
27962         http://www.gnu.org/doc/freemanuals.texi.
27963         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27965 2013-09-24  Will Newton  <will.newton@linaro.org>
27967         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27968         macro.
27970 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
27972         * locale/hashval.h (compute_hashval): Interpret bytes of key as
27973         unsigned char.
27975 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
27977         * manual/threads.texi (POSIX Threads): Fix a typo.
27979 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27981         [BZ #14547]
27982         * string/tst-strcoll-overflow.c: New test case.
27983         * string/Makefile (xtests): Add tst-strcoll-overflow.
27984         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27985         cache if string sizes may cause integer overflow.
27987         [BZ #14547]
27988         * string/strcoll_l.c (coll_seq): New members rule, idx,
27989         save_idx and back_us.
27990         (get_next_seq_nocache): New function.
27991         (do_compare_nocache): New function.
27992         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27993         when malloc fails.
27995 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
27997         [BZ #15754]
27998         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27999         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28000         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28002         [BZ #15754]
28003         * elf/Makefile (tests): Add tst-ptrguard1.
28004         (tests-static): Add tst-ptrguard1-static.
28005         (tst-ptrguard1-ARGS): Define.
28006         (tst-ptrguard1-static-ARGS): Define.
28007         * elf/tst-ptrguard1.c: New file.
28008         * elf/tst-ptrguard1-static.c: New file.
28009         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28010         * sysdeps/i386/stackguard-macros.h: Likewise.
28011         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28012         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28013         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28014         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28015         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28016         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28018 2013-09-23  Hector Marco  <hecmargi@upv.es>
28019             Ismael Ripoll  <iripoll@disca.upv.es>
28020             Carlos O'Donell  <carlos@redhat.com>
28022         [BZ #15754]
28023         * sysdeps/generic/stackguard-macros.h: Define
28024         __pointer_chk_guard_local and POINTER_CHK_GUARD.
28025         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28026         Define __pointer_chk_guard_local.
28027         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28028         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28030 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
28032         [BZ #15859]
28033         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28035 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
28037         * include/string.h (__ffs): Declare as hidden.
28038         * string/ffs.c (__ffs): Define as hidden.
28039         * sysdeps/i386/ffs.c (__ffs): Likewise.
28040         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28041         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28042         * sysdeps/s390/ffs.c (__ffs): Likewise.
28043         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28045 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
28047         * NEWS: Mention malloc probes.
28049         * malloc/arena.c (new_heap): New memory_heap_new probe.
28050         (grow_heap): New memory_heap_more probe.
28051         (shrink_heap): New memory_heap_less probe.
28052         (heap_trim): New memory_heap_free probe.
28053         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28054         (systrim): New memory_sbrk_less probe.
28055         * manual/probes.texi: Document them.
28057         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28058         * manual/probes.texi: Document it.
28060         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28061         (__libc_realloc): Add memory_realloc_retry probe.
28062         (__libc_memalign): Add memory_memalign_retry probe.
28063         (__libc_valloc): Add memory_valloc_retry probe.
28064         (__libc_pvalloc): Add memory_pvalloc_retry probe.
28065         (__libc_calloc): Add memory_calloc_retry probe.
28066         * manual/probes.texi: Document them.
28068         * malloc/arena.c (get_free_list): Add probe
28069         memory_arena_reuse_free_list.
28070         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28071         and memory_arena_reuse.
28072         (arena_get2) [!PER_THREAD]: Likewise.
28073         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28074         memory_arena_reuse_realloc.
28075         * manual/probes.texi: Document them.
28077         * malloc/malloc.c (__libc_free): Add
28078         memory_mallopt_free_dyn_thresholds probe.
28079         (__libc_mallopt): Add multiple memory_mallopt probes.
28080         * manual/probes.texi: Document them.
28082         * malloc/malloc.c: Include stap-probe.h.
28083         (__libc_mallopt): Add memory_mallopt probe.
28084         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28085         * manual/probes.texi: New.
28086         * manual/Makefile (chapters): Add probes.
28087         * manual/threads.texi: Set next node.
28089 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
28091         [BZ #15963, #13985]
28092         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28093         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28094         Add `Chinese' to `nan' entry name.
28096 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28098         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28099         (POLYNOMIAL): Likewise.
28100         (TAYLOR_SINCOS): Likewise.
28101         (TAYLOR_SLOW): Likewise.
28102         (__sin): Use TAYLOR_SINCOS.
28103         (__cos): Likewise.
28104         (slow): Use TAYLOR_SLOW.
28105         (sloww): Likewise.
28106         (bsloww): Likewise.
28107         (csloww): Likewise.
28109 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28111         * stdlib/strtod_l.c: Fix buffer overrun.
28113 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28115         * benchtests/Makefile (bench): Add sincos.
28116         * benchtests/bench-sincos.c: New file.
28118         * math/libm-test.inc (cos_test_data): New test inputs.
28119         (sin_test_data): Likewise.
28121         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28122         macro.
28123         (__sin): Use it.
28124         (__cos): Likewise.
28125         (slow1): Likewise.
28126         (slow2): Likewise.
28127         (sloww1): Likewise.
28128         (sloww2): Likewise.
28129         (bsloww1): Likewise.
28130         (bsloww2): Likewise.
28131         (cslow2): Likewise.
28132         (csloww1): Likewise.
28133         (csloww2): Likewise.
28135         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28136         function.
28137         (__sin): Use it.
28138         (__cos): Likewise.
28140         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28141         gotos.
28142         (__cos): Likewise.
28144 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
28146         * config.h.in (HAVE_MIPS_NAN2008): New macro.
28147         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28148         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28149         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28150         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28151         * elf/cache.c (print_entry): Handle the new cache flags.
28153 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28154             Aldy Hernandez  <aldyh@redhat.com>
28156         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28157         Change condition to [_SOFT_FLOAT].
28158         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28159         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28160         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28161         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28163         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28164         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28166         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28167         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28168         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28169         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28170         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28171         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28172         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28173         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28174         declaration.
28176 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28178         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28179         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28180         (__longjmp): Use LOAD_GP to load saved GPRs.
28181         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28182         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28183         (__sigsetjmp): Use SAVE_GP to save GPRs.
28185         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28186         Do not append -msoft-float.
28187         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28189 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28191         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28193 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
28195         [BZ #15966]
28196         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28197         (_FPU_GETCW): Use initial "__" on variable and field names but not
28198         on macro parameter name.
28199         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
28200         parentheses around reference to macro parameter.
28202 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
28204         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28205         prototype.
28206         (ctype_startup): Use uint32_t in cast and sizeof for
28207         ctype->charnames.
28209 2013-09-11  Jia Liu  <proljc@gmail.com>
28211         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28212         __daddr_t_defined.
28213         [__FreeBSD__]: Likewise.
28215 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
28217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28218         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28219         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28220         (strchr): Remove __strchr_sse42 ifunc selection.
28221         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28222         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28224 2013-09-11  Will Newton  <will.newton@linaro.org>
28226         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28227         parameter to RES. Remove hardcoded 1000 value.
28228         * benchtests/bench-skeleton.c (main): Pass RES parameter
28229         to TIMING_INIT and multiply result by 1000.
28231 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28235 2013-09-11  Andreas Schwab  <schwab@suse.de>
28237         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28238         if not defined.
28239         (O_TMPFILE) [__USE_GNU]: Define.
28240         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28241         Define.
28243 2013-09-11  Will Newton  <will.newton@linaro.org>
28245         [BZ #15857]
28246         * malloc/malloc.c (__libc_memalign): Check the value of bytes
28247         does not overflow.
28249 2013-09-11  Will Newton  <will.newton@linaro.org>
28251         [BZ #15856]
28252         * malloc/malloc.c (__libc_valloc): Check the value of bytes
28253         does not overflow.
28255 2013-09-11  Will Newton  <will.newton@linaro.org>
28257         [BZ #15855]
28258         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28259         does not overflow.
28261 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
28263         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28264         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28265         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28266         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28267         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28269 2013-09-10  Allan McRae  <allan@archlinux.org>
28271         [BZ #15748]
28272         * manual/arith.texi (Parsing of Floats): Clarify
28273         cross-reference.
28275         [BZ #15849]
28276         * manual/install.texi (Running make install): Mention
28277         --enable-pt-chown.
28278         * INSTALL: Regenerated.
28280 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
28282         * csu/init-first.c (_init): Remove the !SHARED condition around
28283         FPU control word initialization.
28284         * elf/dl-support.c (_dl_fpu_control): New variable.
28285         (_dl_aux_init) <AT_FPUCW>: Initialize it.
28286         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28287         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28288         * math/test-fpucw-static.c: New file.
28289         * math/test-fpucw-ieee.c: New file.
28290         * math/test-fpucw-ieee-static.c: New file.
28291         * math/Makefile (tests): Add `test-fpucw-ieee' and
28292         `$(tests-static)'.
28293         (tests-static): New variable.
28294         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28295         dependency to...
28296         [($(build-shared),yes)]
28297         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28298         ... this.
28299         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28300         New dependency.
28302 2013-09-09  Allan McRae  <allan@archlinux.org>
28304         [BZ #15939]
28305         * manual/string.texi (Collation Functions): Fix typo in
28306         strcoll example.
28307         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28309         [BZ #15893]
28310         * stdlib/isomac.c (get_null_defines): Fix memory leak.
28312         [BZ #15892]
28313         * libio/memstream.c (open_memstream): Fix memory leak.
28314         * libio/wmemstream.c (open_wmemstream): Likewise.
28316         [BZ #15895]
28317         * nscd/netgroupcache.c: Fix nesting of ifdefs.
28319 2013-09-09  Will Newton  <will.newton@linaro.org>
28321         * malloc/Makefile: Add tst-realloc to tests.
28322         * malloc/tst-realloc.c: New file.
28324 2013-09-09  Allan McRae  <allan@archlinux.org>
28326         [BZ #15844]
28327         * COPYING: Update from GNU website to fix FSF address.
28328         * COPYING.LIB: Likewise.
28330 2013-09-06  David S. Miller  <davem@davemloft.net>
28332         * po/zh_TW.po: Update Chinese (traditional) translation from
28333         translation project.
28335 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
28336             Joseph Myers  <joseph@codesourcery.com>
28338         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28339         "localeinfo.h".
28340         (obstack_chunk_alloc): New macro.
28341         (obstack_chunk_free): Likewise.
28342         (record_offset): New function.
28343         (init_locale_data): Likewise.
28344         (align_locale_data): Likewise.
28345         (add_locale_empty): Likewise.
28346         (add_locale_raw_data): Likewise.
28347         (add_locale_raw_obstack): Likewise.
28348         (add_locale_string): Likewise.
28349         (add_locale_wstring): Likewise.
28350         (add_locale_uint32): Likewise.
28351         (add_locale_uint32_array): Likewise.
28352         (add_locale_char): Likewise.
28353         (start_locale_structure): Likewise.
28354         (end_locale_structure): Likewise.
28355         (start_locale_prelude): Likewise.
28356         (end_locale_prelude): Likewise.
28357         (write_locale_data): Take locale_file structure rather than an
28358         iovec.
28359         * locale/programs/locfile.h: Include "obstack.h".
28360         (struct locale_file): Change to store locale file contents instead
28361         of header.
28362         (init_locale_data): New prototype.
28363         (align_locale_data): Likewise.
28364         (add_locale_empty): Likewise.
28365         (add_locale_raw_data): Likewise.
28366         (add_locale_raw_obstack): Likewise.
28367         (add_locale_string): Likewise.
28368         (add_locale_wstring): Likewise.
28369         (add_locale_uint32): Likewise.
28370         (add_locale_uint32_array): Likewise.
28371         (add_locale_char): Likewise.
28372         (start_locale_structure): Likewise.
28373         (end_locale_structure): Likewise.
28374         (start_locale_prelude): Likewise.
28375         (end_locale_prelude): Likewise.
28376         (write_locale_data): Update prototype.
28377         * locale/programs/3level.h (struct TABLE): Remove result field.
28378         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28379         Use new locale_file interface.
28380         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28381         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28382         * locale/programs/ld-address.c (address_output): Use new
28383         locale_file interface.
28384         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28385         NO_ADD_LOCALE.
28386         (collate_finish): Don't call collseq_table_finalize.
28387         (collate_output): Use new locale_file interface.
28388         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28389         in file.
28390         (NO_FINALIZE): Change to NO_ADD_LOCALE.
28391         (TABLE): Move defines earlier in file.
28392         (ELEMENT): Likewise.
28393         (DEFAULT): Likewise.
28394         (wctrans_table_add): Move macro and inline function earlier in
28395         file.
28396         (struct wctype_table): Move type earlier in file.
28397         (add_locale_wctype_table): New static prototype.
28398         (struct locale_ctype_t): Use logical types instead of struct iovec
28399         pointers for members.
28400         (ctype_output): Use new locale_file interface.
28401         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
28402         new locale_file interface.
28403         (allocate_arrays): Update for use of new locale_file interface.
28404         * locale/programs/ld-identification.c (identification_output): Use
28405         new locale_file interface.
28406         * locale/programs/ld-measurement.c (measurement_output): Likewise.
28407         * locale/programs/ld-messages.c (messages_output): Likewise.
28408         * locale/programs/ld-monetary.c (monetary_output): Likewise.
28409         * locale/programs/ld-name.c (name_output): Likewise.
28410         * locale/programs/ld-numeric.c (numeric_output): Likewise.
28411         * locale/programs/ld-paper.c (paper_output): Likewise.
28412         * locale/programs/ld-telephone.c (telephone_output): Likewise.
28413         * locale/programs/ld-time.c (time_output): Likewise.
28415 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28417         * benchtests/Makefile: Add memrchr benchmark.
28418         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28419         benchmark as memrchr.
28420         * benchtests/bench-memrchr-ifunc.c: New file.
28421         * benchtests/bench-memrchr.c: New file.
28423 2013-09-06   Will Newton  <will.newton@linaro.org>
28425         * benchtests/Makefile (string-bench): Add memcpy.
28427 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
28428             Cong Wang  <amwang@redhat.com>
28430         [BZ #15850]
28431         * sysdeps/unix/sysv/linux/bits/in.h
28432         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28433         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28434         before __USE_KERNEL_IPV6_DEFS uses.
28435         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28436         IPPROTO_BEETPH.
28437         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28438         sockaddr_in6, or ipv6_mreq.
28440 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28442         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28443         memory access for final bytes in some large inputs.
28444         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28446 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28448         * string/test-memrchr.c: New file.
28449         * string/test-memrchr-ifunc.c: New file.
28450         * string/Makefile: Add new memrchr testcase.
28452 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
28454         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28455         fanotify_init returns EPERM.
28457 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28459         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28460         errors.
28461         (top level): Treat second token from macro or constant entries for
28462         allowed headers as allowed.
28463         * include/complex.h: Condition internal declarations on
28464         [!_ISOMAC].
28465         * include/fenv.h: Condition include of <stdbool.h> and internal
28466         declarations on [!_ISOMAC].
28468 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
28470         [BZ #15923]
28471         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28473 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28475         * configure.in (--enable-versioning): Remove configure option.
28476         (libc_cv_asm_symver_directive): Remove configure test.
28477         (libc_cv_ld_version_script_option): Likewise.
28478         (VERSIONING): Remove variable and AC_SUBST.
28479         (DO_VERSIONING): Remove AC_DEFINE.
28480         * configure: Regenerated.
28481         * config.h.in (DO_VERSIONING): Remove macro.
28482         * Makerules [$(versioning) = yes]: Change conditionals to
28483         [$(build-shared) = yes].
28484         * config.make.in (versioning): Remove variable.
28485         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28486         [$(build-shared) = yes].
28487         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28488         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28489         * elf/Makefile [$(versioning) = yes]: Change conditionals to
28490         [$(build-shared) = yes].
28491         * extra-lib.mk [$(versioning) = yes]: Likewise.
28492         * hurd/Makefile [$(versioning) = yes]: Likewise.
28493         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28494         [SHARED].
28495         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28496         [SHARED].
28497         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28498         [SHARED && !NO_HIDDEN].
28499         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28500         [SHARED].
28501         [SHARED && DO_VERSIONING]: Likewise..
28502         * libio/Makefile [$(versioning) = yes]: Change conditionals to
28503         [$(build-shared) = yes].
28504         * manual/install.texi (--disable-versioning): Remove
28505         documentation.
28506         * INSTALL: Regenerated.
28507         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28508         to [SHARED].
28509         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28510         [$(build-shared) = yes].
28511         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28512         * sysdeps/i386/i686/multiarch/strstr-c.c
28513         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28514         [SHARED && !NO_HIDDEN].
28515         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28516         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28517         * sysdeps/powerpc/powerpc32/dl-machine.c
28518         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28519         * sysdeps/powerpc/powerpc32/sysdep.h
28520         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28521         to [SHARED && PIC && !NO_HIDDEN].
28522         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28523         conditional to [SHARED].
28525 2013-09-04   Will Newton  <will.newton@linaro.org>
28527         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28528         * benchtests/bench-string.h: Include bench-timing.h instead
28529         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28530         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28531         call to HP_TIMING_DIFF_INIT.
28532         * benchtests/bench-memccpy.c: Use bench-timing.h macros
28533         instead of hp-timing.h macros.
28534         * benchtests/bench-memchr.c: Likewise.
28535         * benchtests/bench-memcmp.c: Likewise.
28536         * benchtests/bench-memcpy.c: Likewise.
28537         * benchtests/bench-memmem.c: Likewise.
28538         * benchtests/bench-memmove.c: Likewise.
28539         * benchtests/bench-memset.c: Likewise.
28540         * benchtests/bench-rawmemchr.c: Likewise.
28541         * benchtests/bench-strcasecmp.c: Likewise.
28542         * benchtests/bench-strcasestr.c: Likewise.
28543         * benchtests/bench-strcat.c: Likewise.
28544         * benchtests/bench-strchr.c: Likewise.
28545         * benchtests/bench-strcmp.c: Likewise.
28546         * benchtests/bench-strcpy.c: Likewise.
28547         * benchtests/bench-strcpy_chk.c: Likewise.
28548         * benchtests/bench-strlen.c: Likewise.
28549         * benchtests/bench-strncasecmp.c: Likewise.
28550         * benchtests/bench-strncat.c: Likewise.
28551         * benchtests/bench-strncmp.c: Likewise.
28552         * benchtests/bench-strncpy.c: Likewise.
28553         * benchtests/bench-strnlen.c: Likewise.
28554         * benchtests/bench-strpbrk.c: Likewise.
28555         * benchtests/bench-strrchr.c: Likewise.
28556         * benchtests/bench-strspn.c: Likewise.
28557         * benchtests/bench-strstr.c: Likewise.
28559 2013-09-04  Will Newton  <will.newton@linaro.org>
28561         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28563 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
28565         [BZ #15427]
28566         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28567         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28568         * math/libm-test.inc (lgamma_test_data): Add more tests.
28569         * sysdeps/i386/fpu/libm-test-ulps: Update.
28570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28572 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
28574         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28575         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28576         Add ifunc.
28577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28578         Add strcmp-sse2-unaligned
28579         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28581 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28583         * Versions.def (libc): Add GLIBC_2.19.
28585 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28587         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28588         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28590 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
28592         [BZ #14155]
28593         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28594         intermediate calculations in recurrence.
28595         (__ieee754_ynf): Likewise.
28596         * math/libm-test.inc (jn_test_data): Do not allow spurious
28597         underflow exception.  Add more tests.
28598         (yn_test_data): Add more tests.
28599         * sysdeps/i386/fpu/libm-test-ulps: Update.
28600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28602 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
28604         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28606 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28608         * csu/init-first.c: Fix then/than typos.
28609         * locale/programs/ld-collate.c: Likewise.
28610         * locale/programs/linereader.h: Likewise.
28611         * manual/charset.texi: Likewise.
28612         * manual/filesys.texi: Likewise.
28613         * manual/stdio.texi: Likewise.
28614         * manual/string.texi: Likewise.
28615         * stdlib/fmtmsg.c: Likewise.
28616         * sysdeps/i386/stpncpy.S: Likewise.
28617         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28618         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28619         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28620         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28622 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28624         * elf/dl-open.c: Fix typos.
28625         * iconvdata/gbbig5.c: Likewise.
28626         * iconvdata/iso-2022-jp.c: Likewise.
28627         * iconv/gconv_int.h: Likewise.
28628         * iconv/loop.c: Likewise.
28629         * nis/rpcsvc/nis.h: Likewise.
28630         * resolv/ns_name.c: Likewise.
28631         * stdio-common/vfscanf.c: Likewise.
28632         * streams/stropts.h: Likewise.
28633         * sunrpc/rpc_thread.c: Likewise.
28634         * sysdeps/i386/strpbrk.S: Likewise.
28635         * sysdeps/ieee754/k_standard.c: Likewise.
28636         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28637         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28638         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28639         * sysdeps/mach/hurd/profil.c: Likewise.
28640         * sysdeps/s390/dl-procinfo.h: Likewise.
28641         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28642         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28643         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28644         * sysdeps/x86_64/dl-trampoline.S: Likewise.
28645         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28647 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
28649         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28650         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28652 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
28654         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28655         aix specific files.
28656         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28657         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28658         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28659         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28660         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28661         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28662         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28663         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28665 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28666             Roland McGrath  <roland@hack.frob.com>
28668         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28669         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28671 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28673         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28674         __executable_start symbol instead of _start.
28676 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28678         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28679         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28680         Move macros to...
28681         * sysdeps/gnu/ldsodefs.h: ... this new file.
28683         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28684         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28685         instead of ELFOSABI_LINUX.
28687         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28688         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28689         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28690         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28691         Likewise.
28692         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28693         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28694         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28695         Likewise.
28696         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28697         (ibm_extended_long_double): Add ieee_nan member.
28698         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28699         (do_test): New function.
28701         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28702         TEST_TRUNC.
28703         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28704         functions, renamed from truncdfsf_test, trunctfsf_test,
28705         trunctfdf_test.
28706         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28707         functions.
28708         (do_test): Run all these.
28710 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
28712         * argp/argp-help.c: Fix typos.
28713         * argp/argp-parse.c: Likewise.
28714         * debug/backtracesyms.c: Likewise.
28715         * elf/elf.h: Likewise.
28716         * malloc/malloc.c: Likewise.
28717         * nis/nis_print.c: Likewise.
28718         * resolv/res_comp.c: Likewise.
28719         * stdlib/stdlib.h: Likewise.
28720         * sunrpc/clnt_tcp.c: Likewise.
28721         * sunrpc/clnt_udp.c: Likewise.
28722         * sunrpc/clnt_unix.c: Likewise.
28723         * sysdeps/unix/bsd/ptsname.c: Likewise.
28724         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28725         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28727         Likewise.
28728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28729         Likewise.
28730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28731         Likewise.
28732         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28734 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28736         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28737         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28739 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
28741         [BZ #15897]
28742         * dlfcn/Makefile (tests): Add bug-dl-leaf.
28743         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28744         ($(objpfx)bug-dl-leaf): New rule.
28745         ($(objpfx)bug-dl-leaf.so): Likewise.
28746         ($(objpfx)bug-dl-leaf.out): Likewise.
28747         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28748         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28749         * dlfcn/bug-dl-leaf.c: New test.
28750         * dlfcn/bug-dl-leaf-lib.c: Likewise.
28751         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28752         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28753         (dlclose): Likewise.
28754         (dlmopen): Likewise.
28756 2013-08-27  Roland McGrath  <roland@hack.frob.com>
28758         * include/netdb.h [!_ISOMAC]:
28759         Don't include <tls.h>.
28760         (h_errno, __libc_h_errno): Move declaration and macros out of
28761         [_LIBC_REENTRANT].
28763         * include/resolv.h [_RESOLV_H_]:
28764         Don't include <tls.h>.
28765         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28766         * resolv/res_libc.c: Don't include <tls.h>.
28767         (_res): Use __attribute__ ((nocommon)) in place of
28768         __attribute__ ((section (".bss"))).
28770         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28771         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28773         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28775         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28776         only under [SIOCGIFCONF && SIOCGIFNETMASK].
28778         * resolv/res_mkquery.c: Include <sys/time.h>.
28780         * inet/ifreq.c: Moved to ...
28781         * sysdeps/unix/ifreq.c: ... here.
28782         * inet/ifreq.c: New file, true stub version.
28784         * socket/sa_len.c: New file.
28785         * socket/Makefile (aux): Add it.
28786         * sysdeps/unix/sysv/linux/Makefile
28787         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28788         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28789         and #include <socket/sa_len.c>.
28790         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28791         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28793         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28794         * bits/socket.h: ... here.
28796         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28797         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28798         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28800 2013-08-27  Andreas Schwab  <schwab@suse.de>
28802         [BZ #15736]
28803         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28804         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28805         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28806         * string/test-strcasecmp.c (test_main): Run tests in several
28807         locales.
28808         * string/test-strncasecmp.c (test_main): Likewise.
28810         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28811         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28812         to __strcasecmp_nonascii and __strncasecmp_nonascii.
28813         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28814         (__strncasecmp_ssse3) [PIC]: Likewise.
28816 2013-08-26  Roland McGrath  <roland@hack.frob.com>
28818         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28820         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28821         instead of explicitly declaring xdecrypt.
28822         * nis/nss_nis/nis-publickey.c: Likewise.
28824 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28826         [BZ #15890]
28827         * nscd/aicache.c: Include res_hconf.h.
28828         (addhstaiX): Initialize res_hconf.
28830 2013-08-26  Andreas Schwab  <schwab@suse.de>
28832         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28833         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28835 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28837         * nscd/aicache.c (addhstaiX): Fix indentation.
28839 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
28841         * configure.ac: Quote $build_pt_chown test.
28842         * configure: Regenerated.
28844 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
28846         [BZ #15532]
28847         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28848         * math/s_cexpf.c (__cexpf): Likewise.
28849         * math/s_cexpl.c (__cexpl): Likewise.
28850         * math/libm-test.inc (cexp_test_data): Correct expected return
28851         value for NaN + i0.  Add another test.
28853 2013-08-22  David S. Miller  <davem@davemloft.net>
28855         * po/ca.po: Update Catalan translation from translation project.
28856         * po/uk.po: Add Ukrainian translations from translation project.
28858 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
28860         [BZ #15797]
28861         * math/s_fdim.c (__fdim): Check for infinite arguments if result
28862         is infinite, not alongside NaN test.
28863         * math/s_fdimf.c (__fdimf): Likewise.
28864         * math/s_fdiml.c (__fdiml): Likewise.
28865         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
28866         errno is unchanged.
28868 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
28870         * argp/argp-help.c: Fix typos.
28871         * crypt/speeds.c: Likewise.
28872         * csu/check_fds.c: Likewise.
28873         * elf/dl-load.c: Likewise.
28874         * elf/dl-open.c: Likewise.
28875         * elf/reldep3.c: Likewise.
28876         * elf/reldep.c: Likewise.
28877         * elf/sprof.c: Likewise.
28878         * iconv/iconv_charmap.c: Likewise.
28879         * iconv/skeleton.c: Likewise.
28880         * iconv/strtab.c: Likewise.
28881         * io/lockf64.c: Likewise.
28882         * libio/libioP.h: Likewise.
28883         * resolv/gai_notify.c: Likewise.
28884         * resolv/ns_name.c: Likewise.
28885         * resolv/ns_samedomain.c: Likewise.
28886         * resolv/res_send.c: Likewise.
28887         * stdlib/random.c: Likewise.
28888         * sunrpc/rpc/xdr.h: Likewise.
28889         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28890         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28891         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28892         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28893         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28894         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28895         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28896         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28897         * sysdeps/mach/hurd/check_fds.c: Likewise.
28898         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28899         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28900         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28901         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28902         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28903         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28904         * sysdeps/pthread/aio_notify.c: Likewise.
28905         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28906         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28907         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28908         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28909         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28911 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28913         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28914         version if bit_Slow_SSE4_2 is set.
28915         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28916         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28918 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28920         [BZ #15867]
28921         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28922         trampoline stack frame information.
28923         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28924         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28925         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28926         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28927         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28928         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28929         (_libc_vdso_platform_setup): Initialize the signal trampolines.
28930         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28931         sa_flags value.
28932         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28933         interrupting a syscall and set with option SA_SIGINFO.
28935 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28937         [BZ #15531]
28938         * math/s_cproj.c (__cproj): Only return an infinity if one part of
28939         argument is infinite.
28940         * math/s_cprojf.c (__cprojf): Likewise.
28941         * math/s_cprojl.c (__cprojl): Likewise.
28942         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28943         * math/libm-test.inc (cproj_test_data): Add more tests.
28945         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28947         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28948         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28949         size.  Use __ffs to determine corresponding shift.
28951 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28952             Roland McGrath  <roland@hack.frob.com>
28954         * Makefile (INSTALL): Remove trailing blank lines from output of
28955         makeinfo.
28957 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28959         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28960         Align 32 bit compat elf_greg to 8 bytes.
28962 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
28964         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28966 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28968         * string/strcoll_l.c (coll_seq): New structure.
28969         (get_next_seq_cached): New function.
28970         (get_next_seq): New function.
28971         (do_compare): New function.
28972         (STRCOLL): Use GNU style definition.  Simplify implementation
28973         by using get_next_seq, get_next_seq_cached and do_compare.
28975 2013-08-16  Florian Weimer  <fweimer@redhat.com>
28977         [BZ #14699]
28978         CVE-2013-4237
28979         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28980         member.
28981         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28982         member.
28983         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28984         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28985         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
28986         conditional.
28987         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28988         GETDENTS_64BIT_ALIGNED.
28989         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28990         * manual/filesys.texi (Reading/Closing Directory): Document
28991         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
28992         strongly.
28993         * manual/conf.texi (Limits for Files): Add portability note to
28994         NAME_MAX, PATH_MAX.
28995         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28997 2013-08-13  Andreas Schwab  <schwab@suse.de>
28999         [BZ #15749]
29000         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29001         of fabs.
29002         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29003         LDBL_MAX_EXP >= 16384]: Add tests for it.
29005 2013-08-12  David S. Miller  <davem@davemloft.net>
29007         * version.h (RELEASE): Set to "development".
29008         (VERSION): Set to "2.18.90".
29009         * NEWS: Add 2.19 section.
29011 2013-08-03  David S. Miller  <davem@davemloft.net>
29013         * po/ko.po: Update Korean translation from translation project.
29015 2013-08-01  David S. Miller  <davem@davemloft.net>
29017         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
29018         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29019         Bilka.
29021 2013-07-30  David S. Miller  <davem@davemloft.net>
29023         * po/fr.po: Update French translation from translation project.
29025 2013-07-28  David S. Miller  <davem@davemloft.net>
29027         * po/cs.po: Update Czech translation from translation project.
29029         * po/sv.po: Update Swedish translation from translation project.
29031 2013-07-27  David S. Miller  <davem@davemloft.net>
29033         * po/eo.po: Update Esperanto translation from translation project.
29035         * po/vi.po: Update Vietnamese translation from translation project.
29037         * po/de.po: Update German translation from translation project.
29039 2013-07-26  David S. Miller  <davem@davemloft.net>
29041         * po/bg.po: Update Bulgarian translation from translation project.
29043         * po/nl.po: Update Dutch translation from translation project.
29044         * po/pl.po: Update Polish translation from translation project.
29045         * po/ru.po: Update Russian translation from translation project.
29047 2013-07-24  David S. Miller  <davem@davemloft.net>
29049         * po/libc.pot: Update.
29051 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29053         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29054         variable page size.
29055         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29056         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29057         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29059 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29061         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29063 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29064             Andreas Schwab  <schwab@suse.de>
29065             Roland McGrath  <roland@hack.frob.com>
29066             Joseph Myers  <joseph@codesourcery.com>
29067             Carlos O'Donell  <carlos@redhat.com>
29069         [BZ #15755]
29070         * config.h.in: Define HAVE_PT_CHOWN.
29071         * config.make.in (build-pt-chown): New variable.
29072         * configure.in (--enable-pt_chown): New configure option.
29073         * configure: Regenerate.
29074         * login/Makefile: Include Makeconfig.  Build pt_chown only if
29075         build-pt-chown is enabled.
29076         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29077         pt_chown to fix pty ownership.
29078         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29079         CLOSE_ALL_FDS.
29080         * manual/install.texi (Configuring and compiling): Mention
29081         --enable-pt_chown. Add @findex for grantpt.
29082         * INSTALL: Regenerate.
29084 2013-07-20  David S. Miller  <davem@davemloft.net>
29086         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29087         difference between 32-bit and 64-bit.
29089 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
29091         [BZ #15711]
29092         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29093         Avoid system header dependency with -ffreestanding.
29094         ($(objpfx)bits/syscall%d): Likewise.
29096 2013-07-13  David S. Miller  <davem@davemloft.net>
29098         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29099         underflows from atanl/atan2l due to bug 15319.
29100         (casinh_test_data): Likewise.
29102 2013-07-07  David S. Miller  <davem@davemloft.net>
29104         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29106 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
29108         * sysdeps/i386/fpu/libm-test-ulps: Update.
29109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29111 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29113         * configure.in (--enable-lock-elision): Fix message text.
29114         * INSTALL: Regenerate.
29115         * configure: Regenerate.
29117 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29121 2013-07-03  Andreas Jaeger  <aj@suse.de>
29123         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29124         define.
29125         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29126         (ptrace_peeksiginfo_args): Add.
29127         (__ptrace_peeksiginfo_flags): Add.
29128         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29129         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29130         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29132 2013-07-03  Allan McRae  <allan@archlinux.org>
29134         * sysdeps/i386/fpu/libm-test-ulps: Update.
29136 2013-07-02  David S. Miller  <davem@davemloft.net>
29138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29140 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
29142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29144 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29146         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29149 2013-07-02  Andi Kleen <ak@linux.intel.com>
29151         * config.h.in (ENABLE_LOCK_ELISION): Add.
29152         * configure.in (--enable-lock-elision): Add option.
29153         * manual/install.texi: Document --enable lock elision.
29154         * configure: Regenerate
29155         * INSTALL: Regenerate.
29157 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
29159         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29160         SSE4.2 strcasecmp for libc.a.
29161         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29163 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29165         [BZ #13304]
29166         * soft-fp/op-common.h (_FP_FMA): New macro.
29167         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29168         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
29169         (_FP_MUL_MEAT_1_imm): ... here.
29170         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
29171         (_FP_MUL_MEAT_1_wide): ... here.
29172         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
29173         (_FP_MUL_MEAT_1_hard): ... here.
29174         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29175         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
29176         (_FP_MUL_MEAT_2_wide): ... here.
29177         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
29178         (_FP_MUL_MEAT_2_wide_3mul): ... here.
29179         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
29180         (_FP_MUL_MEAT_2_gmp): ... here.
29181         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29182         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
29183         (_FP_MUL_MEAT_4_wide): ... here.
29184         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
29185         (_FP_MUL_MEAT_4_gmp): ... here.
29186         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29187         (_FP_WFRACBITS_DW_S): Likewise.
29188         (_FP_WFRACXBITS_DW_S): Likewise.
29189         (_FP_HIGHBIT_DW_S): Likewise.
29190         (FP_FMA_S): Likewise.
29191         (_FP_FRAC_HIGH_DW_S): Likewise.
29192         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29193         (_FP_WFRACBITS_DW_D): Likewise.
29194         (_FP_WFRACXBITS_DW_D): Likewise.
29195         (_FP_HIGHBIT_DW_D): Likewise.
29196         (FP_FMA_D): Likewise.
29197         (_FP_FRAC_HIGH_DW_D): Likewise.
29198         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29199         (_FP_WFRACBITS_DW_E): Likewise.
29200         (_FP_WFRACXBITS_DW_E): Likewise.
29201         (_FP_HIGHBIT_DW_E): Likewise.
29202         (FP_FMA_E): Likewise.
29203         (_FP_FRAC_HIGH_DW_E): Likewise.
29204         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29205         (_FP_WFRACBITS_DW_Q): Likewise.
29206         (_FP_WFRACXBITS_DW_Q): Likewise.
29207         (_FP_HIGHBIT_DW_Q): Likewise.
29208         (FP_FMA_Q): Likewise.
29209         (_FP_FRAC_HIGH_DW_Q): Likewise.
29210         * soft-fp/fmasf4.c: New file.
29211         * soft-fp/fmadf4.c: Likewise.
29212         * soft-fp/fmatf4.c: Likewise.
29214 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29217         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29218         Silvermont.
29219         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29220         macro.
29221         (index_Slow_SSE4_2): Likewise.
29222         (index_Prefer_PMINUB_for_stringop): Likewise.
29223         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29224         bit_Slow_SSE4_2 is set.
29225         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29226         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29228 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29230         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29231         rtld_global._dl_hwcap2.
29232         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29233         POWER8.
29234         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29235         POWER8 feature descriptions defined in _dl_hwcap2.
29236         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29237         string handling for POWER8 feature bits.
29238         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29239         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29240         _dl_powerpc_cap_flags.
29241         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29242         * sysdeps/powerpc/rtld-global-offsets.sym
29243         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29244         _dl_hwcap2 in the rtld_global_ro structure.
29246 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29248         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29249         hardware capabilities in support of AT_HWCAP2.
29250         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29251         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29252         GLRO(dl_hwcap2).
29253         (_dl_show_auxv): Add support for calling _dl_procinfo to display
29254         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
29255         explicitly the unknown a_type display mechanism is used.
29256         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29257         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29258         struct member.
29259         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29260         to macro prototype for AT_HWCAP2 support.
29261         * sysdeps/i386/dl-procinfo.h: Likewise.
29262         * sysdeps/s390/dl-procinfo.h: Likewise.
29263         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29264         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
29265         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
29266         return -1 for unknown a_type display fallback.
29267         * sysdeps/sparc/dl-procinfo.h: Likewise.
29268         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29269         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29271 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
29273         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29274         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29276 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
29278         [BZ #12492]
29279         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29280         mprotect making __stack_prot writable.
29282 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
29283             Joseph Myers  <joseph@codesourcery.com>
29285         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29286         as being properly aligned.
29288 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
29290         * dlfcn/modstatic5.c: New file.
29291         * dlfcn/tststatic5.c: New file.
29292         * dlfcn/Makefile (tests): Add tststatic5.
29293         (tests-static): Likewise.
29294         (modules-names): Add modstatic5.
29295         (tststatic5-ENV): New variable.
29296         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29298         [BZ #15022]
29299         * elf/dl-support.c (_dl_main_map): New variable.
29300         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29301         (_dl_nns, _dl_load_adds): Set to 1.
29302         (_dl_initial_searchlist): Refer to _dl_main_map.
29303         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29304         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29305         call to _dl_get_origin.
29306         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29307         around call_map.
29308         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29309         * dlfcn/modstatic3.c: New file.
29310         * dlfcn/tststatic3.c: New file.
29311         * dlfcn/tststatic4.c: New file.
29312         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29313         (tests-static): Likewise.
29314         (modules-names): Add modstatic3.
29315         (tststatic3-ENV, tststatic4-ENV): New variables.
29316         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29317         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29319 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
29321         * configure.in (CC): Require GCC version 4.4 or later.
29322         * configure: Regenerated.
29323         * manual/install.texi (Tools for Compilation): Update GCC version
29324         requirement.
29325         * INSTALL: Regenerated.
29327 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29329         [BZ #15674]
29330         * string/test-memcmp.c (check2): New.
29331         (main): Call check2.
29333         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29335 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
29337         [BZ #15022]
29338         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29339         over to...
29340         (dl_open_worker) [!SHARED]: ... here.
29342 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29344         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29346 2013-06-25  Richard Henderson  <rth@redhat.com>
29348         * locale/programs/locarchive.c: Include <libc-internal.h>
29350 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
29352         * manual/texinfo.tex: Update to version 2013-06-21.17, with
29353         trailing whitespace removed.
29355 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29357         [BZ #10283]
29358         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29359         * locale/programs/locarchive.c: Include libc-mmap.h.
29360         (prepare_address_space): Take two new outputs (the mmap base and len).
29361         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
29362         values.
29363         (create_archive): Declare new mmap base and len values for
29364         prepare_address_space, and store the result in ah.
29365         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29366         (enlarge_archive): If ah->mmap_base is not NULL, use that and
29367         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29368         Declare new mmap base and len values for
29369         prepare_address_space, and store the result in new_ah.
29370         (open_archive): Declare new mmap base and len values for
29371         prepare_address_space, and store the result in ah.
29372         (close_archive): If ah->mmap_base is not NULL, use that and
29373         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29374         * sysdeps/generic/libc-mmap.h: New file.
29376 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29378         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29379         (ALIGN_UP): Likewise.
29380         (PTR_ALIGN_DOWN): Likewise.
29381         (PTR_ALIGN_UP): Likewise.
29383 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29385         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29386         entry mapped to PPC_PLATFORM_POWER8.
29387         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29388         POWER8.
29389         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29390         (_dl_string_platform): Add case for exporting platform position for
29391         POWER8.
29392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29393         search path to sysdeps/powerpc/powerpc32/power8 directory.
29394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29395         search path to sysdeps/powerpc/powerpc64/power8 directory.
29396         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29397         power7 directories.
29398         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29399         power7 directories.
29401 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29403         * INSTALL: Regenerate.
29405         * nscd/connections.c (nscd_init): Fix comment.
29407 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
29409         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29411         [BZ #15667]
29412         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29413         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29415 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29417         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29418         DL_DST_REQ_STATIC.
29419         (DL_DST_REQ_STATIC): Remove macro.
29421 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
29423         [BZ #7006]
29424         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29425         with a shift of 0 bits.
29427 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29429         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29430         $(tststatic-ENV).
29432 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29434         [BZ #15655]
29435         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29437 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29439         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29440         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29441         accepts -fno-tree-loop-distribute-patterns.
29442         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29443         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29444         recursive call.
29445         * string/memset.c (memset): Likewise.
29446         * string/test-memmove.c (simple_memmove): Disable loop transformation
29447         to library calls.
29448         * string/test-memset.c (simple_memset): Likewise.
29449         * benchtests/bench-memmove.c (simple_memmove): Likewise.
29450         * benchtests/bench-memset.c (simple_memset): Likewise.
29451         * configure: Regenerated.
29453 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
29455         * math/test-misc.c (main): Ignore fesetround failure when failures
29456         of subsequent rounding tests would be ignored.
29458         [BZ #15654]
29459         * math/fedisblxcpt.c (fedisableexcept): Return 0.
29460         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29461         * math/fegetenv.c (__fegetenv): Return 0.
29462         * math/fegetexcept.c (fegetexcept): Return 0.
29463         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29464         FE_TONEAREST.
29465         * math/feholdexcpt.c (feholdexcept): Return 0.
29466         * math/fesetenv.c (__fesetenv): Return 0.
29467         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29468         argument FE_TONEAREST.
29469         * math/feupdateenv.c (__feupdateenv): Return 0.
29470         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29472 2013-06-18  Roland McGrath  <roland@hack.frob.com>
29474         * elf/rtld-Rules (rtld-compile-command.S): New variable.
29475         (rtld-compile-command.s, rtld-compile-command.c): New variables.
29476         ($(objpfx)rtld-%.os rules): Use them.
29478 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29480         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29481         fields.
29483 2013-06-17  Roland McGrath  <roland@hack.frob.com>
29485         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29486         length of target pattern, then descending length of dependency pattern.
29487         * configure.in (AWK): Require gawk 3.1.2 or newer.
29488         * manual/install.texi (Tools for Compilation): Say that we do.
29489         * configure: Regenerated.
29491         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29492         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29493         * scripts/sysd-rules.awk: ... this new script.
29494         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29495         than a glob-style pattern.
29497 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
29499         * math/test-misc.c (main): Do not treat incorrectly rounded
29500         conversions as failure unless ROUNDING_TESTS passes.
29502 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
29504         [BZ #15631]
29505         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29506         restore exception state around main square root computation, then
29507         check for inexactness explicitly.
29509         * math/libm-test.inc (fma_test_data): Add another test.
29511 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29513         * manual/threads.texi (Non-POSIX Extensions): New document
29514         node.  Document pthread_getattr_default_np and
29515         pthread_setattr_default_np.
29517         * Versions.def (libpthread): Add GLIBC_2.18.
29518         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29520         Likewise.
29521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29522         Likewise.
29523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29524         Likewise.
29525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29526         Likewise.
29527         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29528         Likewise.
29529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29530         Likewise.
29531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29532         Likewise.
29533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29534         Likewise.
29535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29536         Likewise.
29538 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29541         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29543 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29544             H.J. Lu  <hjl.tools@gmail.com>
29546         [BZ #15627]
29547         * sysdeps/x86_64/rtld-memset.c: Remove file.
29548         * sysdeps/x86_64/rtld-memset.S: New file.
29550 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
29552         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29553         (test_in_one_mode): Take arguments for whether the rounding mode
29554         is supported for each floating-point type.
29555         (do_test): Pass new arguments to test_in_one_mode using
29556         ROUNDING_TESTS.
29558 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29560         * posix/tst-waitid.c (do_test): Distinguish different instances of
29561         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
29562         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29563         before entering the kernel for waitpid.
29565 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29567         * NEWS: Fix note on clock function precision.  Text by Roland
29568         McGrath.
29570 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29572         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29573         it into place only when and if the sanity check passes.
29575 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
29577         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29578         output for whether conversion result is exact.  Take argument
29579         indicating whether type is IBM long double.
29580         (round_for_all): Change need_exact field to ibm_ld.
29581         * stdlib/tst-strtod-round.c (struct exactness): New type.
29582         (struct test): Change bool ld_ok field to struct exactness exact.
29583         (TEST): Update all definitions for change to field.
29584         (tests): Regenerate array contents.
29585         (test_in_one_mode): Take pointer to new field instead of old ld_ok
29586         field value.  Check for IBM long double here.
29587         (do_test): Update calls to test_in_one_mode.
29589 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29591         [BZ #12515]
29592         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29593         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29595 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29597         [BZ #15605]
29598         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29599         generated by the compiler on loop optimizations.
29600         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29601         general definitions.
29603 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
29605         * math/bug-nextafter.c: Include <math-tests.h>.
29606         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29607         the relevant type.
29608         * math/bug-nexttoward.c: Include <math-tests.h>.
29609         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29610         the relevant type.
29611         * math/test-misc.c: Include <math-tests.h>.
29612         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29613         the relevant type.
29615 2013-06-12  Andreas Jaeger  <aj@suse.de>
29617         * po/ia.po: Update Interlingua translation from translation
29618         project.
29620 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29622         * include/fenv.h: Include stdbool.h.
29623         (struct rm_ctx): New structure.
29624         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29625         Define macro.
29626         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29627         (SET_RESTORE_ROUNDF): Likewise.
29628         (SET_RESTORE_ROUNDL): Likewise.
29629         (SET_RESTORE_ROUND_NOEX): Likewise.
29630         (SET_RESTORE_ROUND_NOEXF): Likewise.
29631         (SET_RESTORE_ROUND_NOEXL): Likewise.
29632         (SET_RESTORE_ROUND_53BIT): Likewise.
29633         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29634         (libc_feresetround_noexf_ctx): Likewise.
29635         (libc_feresetround_noexl_ctx): Likewise.
29636         (libc_feholdsetround_53bit_ctx): Likewise.
29637         (libc_feresetround_53bit_ctx): Likewise.
29638         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29639         (libc_feholdexcept_setround_sse_ctx): New function.
29640         (libc_fesetenv_sse_ctx): Likewise.
29641         (libc_feupdateenv_sse_ctx): Likewise.
29642         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29643         (libc_feholdexcept_setround_387_ctx): Likewise.
29644         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29645         (libc_feholdsetround_387_prec_ctx): Likewise.
29646         (libc_feholdsetround_387_ctx): Likewise.
29647         (libc_feholdsetround_387_53bit_ctx): Likewise.
29648         (libc_feholdsetround_sse_ctx): Likewise.
29649         (libc_feresetround_sse_ctx): Likewise.
29650         (libc_feresetround_387_ctx): Likewise.
29651         (libc_feupdateenv_387_ctx): Likewise.
29652         (libc_feholdexcept_setroundf_ctx): Define macro.
29653         (libc_fesetenvf_ctx): Likewise.
29654         (libc_feupdateenvf_ctx): Likewise.
29655         (libc_feholdsetroundf_ctx): Likewise.
29656         (libc_feresetroundf_ctx): Likewise.
29657         (libc_feholdexcept_setround_ctx): Likewise.
29658         (libc_fesetenv_ctx): Likewise.
29659         (libc_feupdateenv_ctx): Likewise.
29660         (libc_feholdsetround_ctx): Likewise.
29661         (libc_feresetround_ctx): Likewise.
29662         (libc_feholdexcept_setroundl_ctx): Likewise.
29663         (libc_feupdateenvl_ctx): Likewise.
29664         (libc_feholdsetroundl_ctx): Likewise.
29665         (libc_feresetroundl_ctx): Likewise.
29666         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29667         (libc_feresetround_53bit_ctx): Likewise.
29669 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29671         * locale/iso-639.def: Convert to UTF-8.
29673 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
29675         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29676         (EXCEPTION_TESTS_double): Likewise.
29677         (EXCEPTION_TESTS_long_double): Likewise.
29678         (EXCEPTION_TESTS): Likewise.
29679         * math/libm-test.inc (test_exceptions): Only test exceptions if
29680         EXCEPTION_TESTS (FLOAT).
29682 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29684         * benchtests/Makefile (string-bench): Add strcpy_chk and
29685         stpcpy_chk.
29686         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29687         * benchtests/bench-stpcpy_chk.c: New file.
29688         * benchtests/bench-strcpy_chk-ifunc.c: New file.
29689         * benchtests/bench-strcpy_chk.c: New file.
29690         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29691         code.
29692         (do_test): Likewise.
29694 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29696         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29697         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29698         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29699         with tabs where appropriate.
29700         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29701         dl-procinfo.h.
29702         [PPC_PLATFORM_PPC440]: Likewise.
29703         [PPC_PLATFORM_PPC464]: Likewise.
29704         [PPC_PLATFORM_PPC476]: Likewise.
29705         (_dl_string_platform): Add support for detecting ppc405, ppc440,
29706         ppc464, and ppc476 platform strings merging from ports/
29707         dl-procinfo.h.
29709 2013-06-11  Andreas Schwab  <schwab@suse.de>
29711         [BZ #14991]
29712         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29713         (from_ucs4_idx): Regenerate.
29714         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29715         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29716         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29717         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29718         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29719         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29720         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29721         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29722         from FROM_LOOP and TO_LOOP specific macros.
29723         (BODY): Handle combining characters.
29724         * iconvdata/BIG5HKSCS.irreversible: Update.
29725         * iconvdata/BIG5HKSCS.precomposed: New file.
29726         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29727         characters.
29728         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29730 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29732         * include/sys/time.h: Fix indentation and add copyright header.
29734         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29735         (do_test): Likewise.
29736         * string/test-memchr.c (do_one_test): Likewise.
29737         (do_test): Likewise.
29738         * string/test-memcmp.c (do_one_test): Likewise.
29739         (do_test): Likewise.
29740         * string/test-memcpy.c (do_one_test): Likewise.
29741         (do_test): Likewise.
29742         * string/test-memmem.c (do_one_test): Likewise.
29743         (do_test): Likewise.
29744         (do_random_tests): Likewise.
29745         * string/test-memmove.c (do_one_test): Likewise.
29746         (do_test): Likewise.
29747         * string/test-memset.c (do_one_test): Likewise.
29748         (do_test): Likewise.
29749         * string/test-rawmemchr.c (do_one_test): Likewise.
29750         (do_test): Likewise.
29751         * string/test-strcasecmp.c (do_one_test): Likewise.
29752         (do_test): Likewise.
29753         * string/test-strcasestr.c (do_one_test): Likewise.
29754         (do_test): Likewise.
29755         * string/test-strcat.c (do_one_test): Likewise.
29756         (do_test): Likewise.
29757         * string/test-strchr.c (do_one_test): Likewise.
29758         (do_test): Likewise.
29759         * string/test-strcmp.c (do_one_test): Likewise.
29760         (do_test): Likewise.
29761         * string/test-strcpy.c (do_one_test): Likewise.
29762         (do_test): Likewise.
29763         * string/test-string.h: Likewise.
29764         (test_init): Likewise.
29765         * string/test-strlen.c (do_one_test): Likewise.
29766         (do_test): Likewise.
29767         * string/test-strncasecmp.c (do_one_test): Likewise.
29768         (do_test): Likewise.
29769         * string/test-strncat.c (do_one_test): Likewise.
29770         (do_test): Likewise.
29771         * string/test-strncmp.c (do_one_test): Likewise.
29772         (do_test_limit): Likewise.
29773         (do_test): Likewise.
29774         * string/test-strncpy.c (do_one_test): Likewise.
29775         (do_test): Likewise.
29776         * string/test-strnlen.c (do_one_test): Likewise.
29777         (do_test): Likewise.
29778         * string/test-strpbrk.c (do_one_test): Likewise.
29779         (do_test): Likewise.
29780         * string/test-strrchr.c (do_one_test): Likewise.
29781         (do_test): Likewise.
29782         * string/test-strspn.c (do_one_test): Likewise.
29783         (do_test): Likewise.
29784         * string/test-strstr.c (do_one_test): Likewise.
29785         (do_test): Likewise.
29787         * benchtests/Makefile (string-bench): Add string benchmarks.
29788         * benchtests/bench-bcopy-ifunc.c: New file.
29789         * benchtests/bench-bcopy.c: New file.
29790         * benchtests/bench-bzero-ifunc.c: New file.
29791         * benchtests/bench-bzero.c: New file.
29792         * benchtests/bench-memccpy-ifunc.c: New file.
29793         * benchtests/bench-memccpy.c: New file.
29794         * benchtests/bench-memchr-ifunc.c: New file.
29795         * benchtests/bench-memchr.c: New file.
29796         * benchtests/bench-memcmp-ifunc.c: New file.
29797         * benchtests/bench-memcmp.c: New file.
29798         * benchtests/bench-memmem-ifunc.c: New file.
29799         * benchtests/bench-memmem.c: New file.
29800         * benchtests/bench-memmove-ifunc.c: New file.
29801         * benchtests/bench-memmove.c: New file.
29802         * benchtests/bench-mempcpy-ifunc.c: New file.
29803         * benchtests/bench-mempcpy.c: New file.
29804         * benchtests/bench-memset-ifunc.c: New file.
29805         * benchtests/bench-memset.c: New file.
29806         * benchtests/bench-rawmemchr-ifunc.c: New file.
29807         * benchtests/bench-rawmemchr.c: New file.
29808         * benchtests/bench-stpcpy-ifunc.c: New file.
29809         * benchtests/bench-stpcpy.c: New file.
29810         * benchtests/bench-stpncpy-ifunc.c: New file.
29811         * benchtests/bench-stpncpy.c: New file.
29812         * benchtests/bench-strcasecmp-ifunc.c: New file.
29813         * benchtests/bench-strcasecmp.c: New file.
29814         * benchtests/bench-strcasestr-ifunc.c: New file.
29815         * benchtests/bench-strcasestr.c: New file.
29816         * benchtests/bench-strcat-ifunc.c: New file.
29817         * benchtests/bench-strcat.c: New file.
29818         * benchtests/bench-strchr-ifunc.c: New file.
29819         * benchtests/bench-strchr.c: New file.
29820         * benchtests/bench-strchrnul-ifunc.c: New file.
29821         * benchtests/bench-strchrnul.c: New file.
29822         * benchtests/bench-strcmp-ifunc.c: New file.
29823         * benchtests/bench-strcmp.c: New file.
29824         * benchtests/bench-strcpy-ifunc.c: New file.
29825         * benchtests/bench-strcpy.c: New file.
29826         * benchtests/bench-strcspn-ifunc.c: New file.
29827         * benchtests/bench-strcspn.c: New file.
29828         * benchtests/bench-strlen-ifunc.c: New file.
29829         * benchtests/bench-strlen.c: New file.
29830         * benchtests/bench-strncasecmp-ifunc.c: New file.
29831         * benchtests/bench-strncasecmp.c: New file.
29832         * benchtests/bench-strncat-ifunc.c: New file.
29833         * benchtests/bench-strncat.c: New file.
29834         * benchtests/bench-strncmp-ifunc.c: New file.
29835         * benchtests/bench-strncmp.c: New file.
29836         * benchtests/bench-strncpy-ifunc.c: New file.
29837         * benchtests/bench-strncpy.c: New file.
29838         * benchtests/bench-strnlen-ifunc.c: New file.
29839         * benchtests/bench-strnlen.c: New file.
29840         * benchtests/bench-strpbrk-ifunc.c: New file.
29841         * benchtests/bench-strpbrk.c: New file.
29842         * benchtests/bench-strrchr-ifunc.c: New file.
29843         * benchtests/bench-strrchr.c: New file.
29844         * benchtests/bench-strspn-ifunc.c: New file.
29845         * benchtests/bench-strspn.c: New file.
29846         * benchtests/bench-strstr-ifunc.c: New file.
29847         * benchtests/bench-strstr.c: New file.
29849         * benchtests/Makefile: Disable parallel execution of targets.
29850         (string-bench): Add memcpy.
29851         (benchset): New variable to store a list of benchmark sets.
29852         (bench-func): Renamed from bench.
29853         (bench-set): New target.
29854         (bench): Depend on bench-func and bench-set.
29855         * benchtests/README: Add section on benchmark sets.
29856         * benchtests/bench-memcpy-ifunc.c: New file.
29857         * benchtests/bench-memcpy.c: New file.
29858         * benchtests/bench-string.h: New file.
29860 2013-06-11  Andreas Schwab  <schwab@suse.de>
29862         [BZ #15577]
29863         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29864         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29865         values in the triple.
29866         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29867         terminator in the group key.
29869 2013-06-11  Andreas Jaeger  <aj@suse.de>
29871         * po/zh_TW.po: Update Chinese (traditional) translation from
29872         translation project.
29874 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29876         * include/time.h (__clock_gettime): Add libc_hidden_proto.
29877         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29878         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
29879         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29880         (clock_getcpuclockid): Likewise.
29881         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29882         Add weak_alias and libc_hidden_def.
29883         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29884         * rt/clock_gettime.c (clock_gettime): Rename to
29885         __clock_gettime.  Add weak_alias and libc_hidden_def.
29886         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29887         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29888         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
29889         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29890         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29891         Likewise.
29892         * rt/clock_settime.c (clock_settime): Rename to
29893         __clock_settime.  Add weak_alias and libc_hidden_def.
29894         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29896 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
29898         * mach/err_boot.sub: Remove trailing whitespace.
29899         * mach/err_ipc.sub: Likewise.
29900         * mach/err_mach.sub: Likewise.
29902         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29903         (ROUNDING_TESTS_double): Likewise.
29904         (ROUNDING_TESTS_long_double): Likewise.
29905         (ROUNDING_TESTS): Likewise.
29906         * math/libm-test.inc: Include <math-tests.h>.
29907         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29908         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29909         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29910         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29912 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29914         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29915         of assigning.
29917 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
29919         * sysdeps/gnu/errlist.awk: Do not generate space at end of
29920         otherwise empty TRANS lines.
29921         * sysdeps/gnu/errlist.c: Regenerated.
29923         * catgets/gencat.c (error_print): Use (void) in function
29924         definition.
29925         * crypt/crypt_util.c (__init_des): Likewise.
29926         * crypt/speeds.c (Stop): Likewise.
29927         (main): Likewise.
29928         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29929         * inet/ruserpass.c (token): Likewise.
29930         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29931         * intl/localealias.c (extend_alias_table): Likewise.
29932         * intl/plural-exp.c (init_germanic_plural): Likewise.
29933         * libio/fcloseall.c (__fcloseall): Likewise.
29934         * libio/genops.c (_IO_flush_all): Likewise.
29935         (_IO_flush_all_linebuffered): Likewise.
29936         (_IO_cleanup): Likewise.
29937         (_IO_iter_begin): Likewise.
29938         (_IO_iter_end): Likewise.
29939         (_IO_list_lock): Likewise.
29940         (_IO_list_unlock): Likewise.
29941         (_IO_list_resetlock): Likewise.
29942         * libio/getchar.c (getchar): Likewise.
29943         * libio/getchar_u.c (getchar_unlocked): Likewise.
29944         * libio/getwchar.c (getwchar): Likewise.
29945         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29946         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29947         * login/getpt.c (__getpt): Likewise.
29948         * login/tst-utmp.c (main): Likewise.
29949         * malloc/hooks.c (__malloc_check_init): Likewise.
29950         * malloc/malloc.c (__malloc_stats): Likewise.
29951         * malloc/mtrace.c (tr_break): Likewise.
29952         (mtrace): Likewise.
29953         (muntrace): Likewise.
29954         * misc/fstab.c (endfsent): Likewise.
29955         * misc/getclktck.c (__getclktck): Likewise.
29956         * misc/getdtsz.c (__getdtablesize): Likewise.
29957         * misc/gethostid.c (gethostid): Likewise.
29958         * misc/getpagesize.c (__getpagesize): Likewise.
29959         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29960         (__get_nprocs): Likewise.
29961         (__get_phys_pages): Likewise.
29962         (__get_avphys_pages): Likewise.
29963         * misc/getttyent.c (getttyent): Likewise.
29964         (setttyent): Likewise.
29965         (endttyent): Likewise.
29966         * misc/getusershell.c (getusershell): Likewise.
29967         (endusershell): Likewise.
29968         (setusershell): Likewise.
29969         (initshells): Likewise.
29970         * misc/hsearch.c (__hdestroy): Likewise.
29971         * misc/sync.c (sync): Likewise.
29972         * misc/syslog.c (closelog_internal): Likewise.
29973         (closelog): Likewise.
29974         * misc/ttyslot.c (ttyslot): Likewise.
29975         * misc/vhangup.c (vhangup): Likewise.
29976         * posix/fork.c (__fork): Likewise.
29977         * posix/getegid.c (__getegid): Likewise.
29978         * posix/geteuid.c (__geteuid): Likewise.
29979         * posix/getgid.c (__getgid): Likewise.
29980         * posix/getpid.c (__getpid): Likewise.
29981         * posix/getppid.c (__getppid): Likewise.
29982         * posix/getuid.c (__getuid): Likewise.
29983         * posix/pause.c (pause): Likewise.
29984         * posix/setpgrp.c (setpgrp): Likewise.
29985         * posix/setsid.c (__setsid): Likewise.
29986         * posix/test-vfork.c (noop): Likewise.
29987         * resolv/gethnamaddr.c (_endhtent): Likewise.
29988         (_gethtent): Likewise.
29989         (ht_endhostent): Likewise.
29990         (gethostent): Likewise.
29991         (dns_service): Likewise.
29992         * stdlib/drand48.c (drand48): Likewise.
29993         * stdlib/lrand48.c (lrand48): Likewise.
29994         * stdlib/mrand48.c (mrand48): Likewise.
29995         * stdlib/rand.c (rand): Likewise.
29996         * stdlib/random.c (__random): Likewise.
29997         * stdlib/setenv.c (clearenv): Likewise.
29998         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29999         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30000         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30001         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30002         (__get_nprocs): Likewise.
30003         (__get_phys_pages): Likewise.
30004         (__get_avphys_pages): Likewise.
30005         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30006         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30007         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30008         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30009         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30010         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30011         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30012         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30013         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30014         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30015         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30016         * sysdeps/mach/hurd/sync.c (sync): Likewise.
30017         * sysdeps/posix/clock.c (clock): Likewise.
30018         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30019         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30020         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30021         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30022         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30023         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30024         (__get_nprocs_conf): Likewise.
30025         (__get_phys_pages): Likewise.
30026         (__get_avphys_pages): Likewise.
30027         * time/clock.c (clock): Likewise.
30028         * time/tzset.c (__tzname_max): Likewise.
30030 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
30032         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30033         (__bswap_32): Do not use "register".
30034         * crypt/crypt.c (_ufc_doit_r): Likewise.
30035         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30036         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30037         * gmon/gmon.c (__monstartup): Likewise.
30038         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30039         * hurd/hurdmalloc.c (more_memory): Likewise.
30040         (malloc): Likewise.
30041         (free): Likewise.
30042         (realloc): Likewise.
30043         (malloc_fork_prepare): Likewise.
30044         (malloc_fork_parent): Likewise.
30045         (malloc_fork_child): Likewise.
30046         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30047         (_svcauth_des): Likewise.
30048         * inet/inet_lnaof.c (inet_lnaof): Likewise.
30049         * inet/inet_net.c (inet_network): Likewise.
30050         * inet/inet_netof.c (inet_netof): Likewise.
30051         * inet/rcmd.c (__validuser2_sa): Likewise.
30052         * io/fts.c (fts_open): Likewise.
30053         (fts_load): Likewise.
30054         (fts_close): Likewise.
30055         (fts_read): Likewise.
30056         (fts_children): Likewise.
30057         (fts_build): Likewise.
30058         (fts_stat): Likewise.
30059         (fts_sort): Likewise.
30060         (fts_alloc): Likewise.
30061         (fts_lfree): Likewise.
30062         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30063         (_IO_file_xsgetn): Likewise.
30064         (_IO_file_xsgetn_mmap): Likewise.
30065         * libio/iofopncook.c (_IO_cookie_read): Likewise.
30066         (_IO_cookie_write): Likewise.
30067         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30068         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30069         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30070         * malloc/obstack.c (_obstack_begin): Likewise.
30071         (_obstack_begin_1): Likewise.
30072         (_obstack_newchunk): Likewise.
30073         (_obstack_allocated_p): Likewise.
30074         (obstack_free): Likewise.
30075         (_obstack_memory_used): Likewise.
30076         * misc/getttyent.c (getttynam): Likewise.
30077         (getttyent): Likewise.
30078         (skip): Likewise.
30079         (value): Likewise.
30080         * misc/getusershell.c (initshells): Likewise.
30081         * misc/syslog.c (__vsyslog_chk): Likewise.
30082         * misc/ttyslot.c (ttyslot): Likewise.
30083         * nis/nis_hash.c (__nis_hash): Likewise.
30084         * posix/fnmatch_loop.c (FCT): Likewise.
30085         * posix/getconf.c (print_all): Likewise.
30086         (main): Likewise.
30087         * posix/getopt.c (exchange): Likewise.
30088         * posix/glob.c (globfree): Likewise.
30089         (prefix_array): Likewise.
30090         (__glob_pattern_type): Likewise.
30091         * resolv/arpa/nameser.h (NS_GET16): Likewise.
30092         (NS_GET32): Likewise.
30093         (NS_PUT16): Likewise.
30094         (NS_PUT32): Likewise.
30095         * resolv/gethnamaddr.c (getanswer): Likewise.
30096         (gethostbyname2): Likewise.
30097         (gethostbyaddr): Likewise.
30098         (_gethtent): Likewise.
30099         (_gethtbyname2): Likewise.
30100         (_gethtbyaddr): Likewise.
30101         * resolv/ns_print.c (dst_s_get_int16): Likewise.
30102         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30103         * resolv/res_init.c (__res_vinit): Likewise.
30104         (net_mask): Likewise.
30105         * resolv/res_mkquery.c (outchar): Likewise.
30106         (PRINT): Likewise.
30107         * stdio-common/printf_fp.c (outchar): Likewise.
30108         (PRINT): Likewise.
30109         * stdio-common/printf_fphex.c (outchar): Likewise.
30110         (PRINT): Likewise.
30111         * stdio-common/printf_size.c (outchar): Likewise.
30112         (PRINT): Likewise.
30113         * stdio-common/test_rdwr.c (main): Likewise.
30114         * stdio-common/tfformat.c (matches): Likewise.
30115         * stdio-common/vfprintf.c (outchar): Likewise.
30116         (printf_unknown): Likewise.
30117         (buffered_vfprintf): Likewise.
30118         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30119         * stdio-common/xbug.c (AppendToBuffer): Likewise.
30120         (ReadFile): Likewise.
30121         * stdlib/qsort.c (SWAP): Likewise.
30122         (_quicksort): Likewise.
30123         * stdlib/setenv.c (__add_to_environ): Likewise.
30124         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30125         * stdlib/strtol_l.c (__strtol_l): Likewise.
30126         * stdlib/tst-strtod.c (main): Likewise.
30127         * stdlib/tst-strtol.c (main): Likewise.
30128         * stdlib/tst-strtoll.c (main): Likewise.
30129         * string/bits/string2.h (__strcmp_cc): Likewise.
30130         (__strcmp_cg): Likewise.
30131         (__strcspn_c1): Likewise.
30132         (__strcspn_c2): Likewise.
30133         (__strcspn_c3): Likewise.
30134         (__strspn_c1): Likewise.
30135         (__strspn_c2): Likewise.
30136         (__strspn_c3): Likewise.
30137         (__strsep_1c): Likewise.
30138         (__strsep_2c): Likewise.
30139         (__strsep_3c): Likewise.
30140         * string/memccpy.c (__memccpy): Likewise.
30141         * string/stpcpy.c (__stpcpy): Likewise.
30142         * string/strcmp.c (strcmp): Likewise.
30143         * string/strrchr.c (strrchr): Likewise.
30144         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30145         Likewise.
30146         * sysdeps/mach/hurd/getcwd.c
30147         (_hurd_canonicalize_directory_name_internal): Likewise.
30148         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30149         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30150         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30151         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30152         Likewise, in both definitions.
30153         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30154         definitions.
30155         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30156         64] (__bswap_64): Likewise.
30157         * time/test_time.c (main): Likewise.
30158         * time/tzfile.c (__tzfile_read): Likewise.
30159         (__tzfile_compute): Likewise.
30160         * time/tzset.c (__tzset_parse_tz): Likewise.
30161         (tzset_internal): Likewise.
30162         (compute_change): Likewise.
30163         * wcsmbs/wcscat.c (__wcscat): Likewise.
30164         * wcsmbs/wcschr.c (wcschr): Likewise.
30165         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30166         * wcsmbs/wcscspn.c (wcscspn): Likewise.
30167         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30168         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30169         * wcsmbs/wcsspn.c (wcsspn): Likewise.
30170         * wcsmbs/wcsstr.c (wcsstr): Likewise.
30171         * wcsmbs/wmemchr.c (wmemchr): Likewise.
30172         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30173         * wcsmbs/wmemset.c (wmemset): Likewise.
30175 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
30177         * scripts/config.guess: Update to version 2013-05-16.
30178         * scripts/config.sub: Update to version 2013-04-24.
30179         * scripts/install-sh: Update to version 2011-11-20.07.
30180         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30181         * scripts/move-if-change: Update to version 2012-01-06 07:23.
30183 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
30185         * debug/fgetws_u_chk.c: Fix leading whitespaces.
30186         * elf/sln.c: Likewise.
30187         * hurd/hurd/ioctl.h: Likewise.
30188         * hurd/hurdmalloc.c: Likewise.
30189         * hurd/xattr.c: Likewise.
30190         * include/shlib-compat.h: Likewise.
30191         * inet/ruserpass.c: Likewise.
30192         * libio/iofgets_u.c: Likewise.
30193         * libio/iofgetws_u.c: Likewise.
30194         * locale/programs/ld-identification.c: Likewise.
30195         * locale/programs/ld-time.c: Likewise.
30196         * mach/msg-destroy.c: Likewise.
30197         * nss/nss_files/files-netgrp.c: Likewise.
30198         * resolv/res_data.c: Likewise.
30199         * soft-fp/op-1.h: Likewise.
30200         * soft-fp/op-2.h: Likewise.
30201         * soft-fp/op-4.h: Likewise.
30202         * soft-fp/op-common.h: Likewise.
30203         * stdio-common/printf_fphex.c: Likewise.
30204         * stdlib/strtod_l.c: Likewise.
30205         * sunrpc/rpc/clnt.h: Likewise.
30206         * sysdeps/generic/framestate.c: Likewise.
30207         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30208         * sysdeps/i386/bsd-setjmp.S: Likewise.
30209         * sysdeps/i386/__longjmp.S: Likewise.
30210         * sysdeps/i386/setjmp.S: Likewise.
30211         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30212         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30213         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30214         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30215         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30216         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30217         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30218         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30219         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30220         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30221         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30222         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30223         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30224         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30225         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30226         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30227         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30228         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30229         * sysdeps/ieee754/support.c: Likewise.
30230         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30231         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30232         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30233         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30234         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30235         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30236         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30237         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30238         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30239         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30240         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30241         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30242         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30243         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30244         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30245         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30246         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30249 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
30251         * posix/transbug.c: Remove executable mode.
30253 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
30255         * crypt/speeds.c: Remove trailing whitespace.
30256         * dlfcn/default.c: Likewise.
30257         * elf/ifuncdep2.c: Likewise.
30258         * elf/ifuncmain1.c: Likewise.
30259         * elf/ifuncmain1vis.c: Likewise.
30260         * elf/testobj.h: Likewise.
30261         * elf/tst-stackguard1.c: Likewise.
30262         * gmon/sys/gmon.h: Likewise.
30263         * hurd/hurdmsg.c: Likewise.
30264         * hurd/new-fd.c: Likewise.
30265         * hurd/ports-get.c: Likewise.
30266         * iconvdata/ibm1008_420.c: Likewise.
30267         * inet/tst-getni1.c: Likewise.
30268         * inet/tst-getni2.c: Likewise.
30269         * libio/ioungetc.c: Likewise.
30270         * libio/wfiledoalloc.c: Likewise.
30271         * manual/libm-err-tab.pl: Likewise.
30272         * math/w_dremf.c: Likewise.
30273         * misc/ftruncate.c: Likewise.
30274         * posix/bug-glob2.c: Likewise.
30275         * posix/tst-pcre.c: Likewise.
30276         * posix/wait4.c: Likewise.
30277         * resolv/README: Likewise.
30278         * resolv/res_debug.h: Likewise.
30279         * resolv/tst-inet_ntop.c: Likewise.
30280         * setjmp/bug269-setjmp.c: Likewise.
30281         * soft-fp/extended.h: Likewise.
30282         * soft-fp/op-1.h: Likewise.
30283         * soft-fp/op-2.h: Likewise.
30284         * soft-fp/op-4.h: Likewise.
30285         * soft-fp/op-8.h: Likewise.
30286         * soft-fp/testit.c: Likewise.
30287         * stdio-common/bug16.c: Likewise.
30288         * stdlib/random.c: Likewise.
30289         * sunrpc/rpcsvc/rquota.x: Likewise.
30290         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30291         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30292         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30293         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30294         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30295         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30296         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30297         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30298         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30299         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30300         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30301         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30302         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30303         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30304         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30305         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30306         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30307         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30308         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30309         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30310         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30311         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30312         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30313         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30314         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30315         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30316         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30317         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30318         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30319         * sysdeps/ieee754/s_lib_version.c: Likewise.
30320         * sysdeps/mach/hurd/check_fds.c: Likewise.
30321         * sysdeps/mach/hurd/getsockname.c: Likewise.
30322         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30323         * sysdeps/mach/hurd/recvfrom.c: Likewise.
30324         * sysdeps/powerpc/bits/link.h: Likewise.
30325         * sysdeps/powerpc/dl-procinfo.c: Likewise.
30326         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30327         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30328         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30329         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30330         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30331         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30332         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30333         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30334         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30335         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30336         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30337         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30338         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30339         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30340         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30341         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30342         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30343         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30344         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30345         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30346         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30347         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30348         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30349         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30350         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30351         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30352         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30353         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30354         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30355         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30356         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30357         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30358         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30359         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30360         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30361         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30362         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30363         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30364         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30365         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30366         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30367         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30368         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30369         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30370         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30371         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30372         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30373         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30374         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30375         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30376         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30377         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30378         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30379         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30380         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30381         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30382         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30383         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30384         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30385         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30386         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30387         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30388         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30389         * sysdeps/powerpc/sysdep.h: Likewise.
30390         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30391         * sysdeps/s390/s390-64/sub_n.S: Likewise.
30392         * sysdeps/sh/dl-trampoline.S: Likewise.
30393         * sysdeps/sh/memset.S: Likewise.
30394         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30395         * sysdeps/sh/strlen.S: Likewise.
30396         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30397         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30398         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30399         * sysdeps/sparc/sparc32/rem.S: Likewise.
30400         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30401         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30402         * sysdeps/sparc/sparc32/strchr.S: Likewise.
30403         * sysdeps/sparc/sparc32/udiv.S: Likewise.
30404         * sysdeps/sparc/sparc32/urem.S: Likewise.
30405         * sysdeps/sparc/sparc64/add_n.S: Likewise.
30406         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30407         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30408         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30409         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30410         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30411         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30412         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30413         * sysdeps/unix/bsd/times.c: Likewise.
30414         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30415         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30419         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30420         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30421         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30422         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30423         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30424         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30425         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30426         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30427         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30428         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30429         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30430         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30431         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30432         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30433         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30434         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30435         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30436         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30437         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30438         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30439         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30440         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30441         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30442         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30443         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30444         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30445         * sysdeps/x86_64/strcspn.S: Likewise.
30447 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30449         * locale/C-translit.h: Revert #include <stdint.h> because this is a
30450         generated file.  Regenerate properly from gen-translit.pl.
30451         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
30452         locale/C-translit.h.
30454 2013-06-05  Andreas Schwab  <schwab@suse.de>
30456         [BZ #15100]
30457         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30458         week as 6 instead of -1.
30459         * time/tst-strptime.c (day_tests): Add test case.
30461 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30463         * sysdeps/generic/math_private.h
30464         (libc_feholdexcept_setround_53bit): Replace with
30465         libc_feholdsetround_53bit.
30466         (libc_feupdateenv_53bit): Replace with
30467         libc_feresetround_53bit.
30468         (SET_RESTORE_ROUND_53BIT): Adjust.
30470 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30472         * string/test-strchrnul.c: Add copyright header.
30474         * posix/tst-getaddrinfo4.c: Increase test timeout.
30476 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
30478         [BZ #15536]
30479         * math/libm-test.inc (MAX_EXP): Remove
30480         (MIN_EXP): Define.
30481         (ulp): Use MIN_EXP - MANT_DIG.
30482         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30484 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
30486         * po/be.po: Revert last change.
30487         * po/zh_CN.po: Likewise.
30488         * po/header.pot: Likewise.
30490 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
30492         * Makefile ($(common-objpfx)linkobj/libc.so): Define
30493         link-libc-deps to empty as target-specific variable.
30494         * Makerules (link-libc-args): New variable.
30495         (libc-for-link): Likewise.
30496         (link-libc-deps): Likewise.
30497         (lib%.so): Depend on $(link-libc-deps).  Link with
30498         $(link-libc-args).
30499         (build-module): Link with $(link-libc-args).
30500         (build-module-asneeded): Likewise.
30501         (build-module-helper-objlist): Filter out $(link-libc-deps) from
30502         list of objects.
30503         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30504         target-specific variable.
30505         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30506         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30507         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30508         libc.
30509         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30510         libc and ld.so.
30511         ($(objpfx)libpcprofile.so): Likewise.
30512         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30513         libc_nonshared.a.
30514         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30515         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30516         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30517         $(link-libc-deps).
30518         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30519         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30520         * login/Makefile ($(objpfx)libutil.so): Likewise.
30521         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30522         * math/Makefile ($(objpfx)libm.so): Likewise.
30523         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30524         $(objpfx)libnsl.so): Define libc-for-link as target-specific
30525         variable instead of depending directly on libc.
30526         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30527         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30528         $(link-libc-deps).
30529         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30530         libc.
30531         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30532         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30533         ($(objpfx)libanl.so): Likewise.
30534         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30535         ld.so.
30536         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30537         $(link-libc-deps).
30538         * sysdeps/i386/fpu/Makefile: Remove file.
30539         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30540         ($(objpfx)libm.so): Remove dependency on ld.so.
30542 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
30544         [BZ # 15553]
30545         * nis/yp_xdr.c (XDRMAXNAME): Define.
30546         (XDRMAXRECORD): Define.
30547         (xdr_domainname): Use XDRMAXNAME.
30548         (xdr_mapname): Likewise.
30549         (xdr_peername): Likewise.
30550         (xdr_keydat): Use XDRMAXRECORD.
30551         (xdr_valdat): Likewise.
30553 2013-05-30  Jeff Law  <law@redhat.com>
30555         [BZ #14256]
30556         * manual/errno.texi (ESTALE): Update to account for more than
30557         just NFS file systems.
30558         * sysdeps/gnu/errlist.c: Regenerated.
30560 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30562         [BZ #15465]
30563         * elf/Makefile (tests): Add tst-null-argv.
30564         (modules-names):  Add tst-null-argv-lib.
30565         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30566         (tst-null-argv-ENV): Set environment for tst-null-argv.
30567         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30568         (RTLD_PROGNAME): New macro.
30569         * elf/tst-null-argv.c: New test case.
30570         * elf/tst-null-argv-lib.c: Library for test case.
30571         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30572         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30573         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30574         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30575         * elf/dl-init.c (call_init): Likewise.
30576         (_dl_init): Likewise.
30577         * elf/dl-load.c (print_search_path): Likewise.
30578         (_dl_map_object): Likewise.
30579         * elf/dl-lookup.c (do_lookup_x): Likewise.
30580         (add_dependency): Likewise.
30581         (_dl_lookup_symbol_x): Likewise.
30582         (_dl_debug_bindings): Likewise.
30583         * elf/dl-open.c (_dl_show_scope): Likewise.
30584         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30585         * elf/dl-version.c (match_symbol): Likewise.
30586         (_dl_check_map_versions): Likewise.
30587         * elf/rtld.c (dl_main): Likewise.
30588         (print_unresolved): Use RTLD_PROGNAME.
30589         (print_missing_version): Likewise.
30590         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30591         (elf_machine_rela): Likewise.
30592         * sysdeps/powerpc/powerpc32/dl-machine.c
30593         (__process_machine_rela): Likewise.
30594         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30595         Likewise.
30596         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30597         Likewise.
30598         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30599         Likewise.
30600         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30601         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30602         Likewise.
30603         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30604         Likewise.
30605         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30607 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
30609         * po/be.po: Add descriptive title.
30610         * po/zh_CN.po: Likewise.
30611         * po/header.pot: Likewise.
30613 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
30615         * locale/programs/locarchive.c (create_archive): Inlucde fname in
30616         error message.
30617         (enlarge_archive): Likewise.
30619 2013-05-28  Ben North  <ben@redfrontdoor.org>
30621         * manual/arith.texi (frexp): It is the magnitude of the return
30622         value which lies in [0.5, 1), not the return value itself.
30624 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30628 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
30630         * stdio-common/bug26.c (main): Correct fscanf template.
30632         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30633         declare _dl_skip_args.
30635         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30636         Don't declare.
30638         * manual/platform.texi: Add missing @end deftypefun.
30640 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30642         [BZ #15529]
30643         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30644         bit of mantissa of 2^16382.
30645         * math/libm-test.inc (hypot_test_data): Add more tests.
30647         * math/libm-test.inc: Add drem and pow10 to list of tested
30648         functions.
30649         (pow10_test): New function.
30650         (drem_test): Likewise.
30651         (drem_test_tonearest): Likewise.
30652         (drem_test_towardzero): Likewise.
30653         (drem_test_downward): Likewise.
30654         (drem_test_upward): Likewise.
30655         (main): Call the new functions.
30657         * math/libm-test.inc (finite_test_data): Remove.
30658         (finite_test): Run tests from isfinite_test_data.
30659         (gamma_test_data): Remove.
30660         (gamma_test): Run tests from lgamma_test_data.
30661         * sysdeps/i386/fpu/libm-test-ulps: Update.
30662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30664 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30666         * manual/platform.texi: Add PowerPC PPR function set documentation.
30667         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30668         implementation.
30670 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
30672         * math/libm-test.inc (MAX_EXP): Define.
30673         (ULPDIFF): Define.
30674         (ulp): New function.
30675         (check_float_internal): Use ULPDIFF.
30676         (cpow_test): Disable failing test.
30677         (check_ulp): Test ulp() implemetnation.
30678         (main): Call check_ulp before starting tests.
30680 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30682         * math/gen-libm-test.pl (generate_testfile): Do not handle
30683         START_DATA and END_DATA.
30684         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30685         END_DATA.
30686         (acos_tonearest_test_data): Likewise.
30687         (acos_towardzero_test_data): Likewise.
30688         (acos_downward_test_data): Likewise.
30689         (acos_upward_test_data): Likewise.
30690         (acosh_test_data): Likewise.
30691         (asin_test_data): Likewise.
30692         (asin_tonearest_test_data): Likewise.
30693         (asin_towardzero_test_data): Likewise.
30694         (asin_downward_test_data): Likewise.
30695         (asin_upward_test_data): Likewise.
30696         (asinh_test_data): Likewise.
30697         (atan_test_data): Likewise.
30698         (atanh_test_data): Likewise.
30699         (atan2_test_data): Likewise.
30700         (cabs_test_data): Likewise.
30701         (cacos_test_data): Likewise.
30702         (cacosh_test_data): Likewise.
30703         (carg_test_data): Likewise.
30704         (casin_test_data): Likewise.
30705         (casinh_test_data): Likewise.
30706         (catan_test_data): Likewise.
30707         (catanh_test_data): Likewise.
30708         (cbrt_test_data): Likewise.
30709         (ccos_test_data): Likewise.
30710         (ccosh_test_data): Likewise.
30711         (ceil_test_data): Likewise.
30712         (cexp_test_data): Likewise.
30713         (cimag_test_data): Likewise.
30714         (clog_test_data): Likewise.
30715         (clog10_test_data): Likewise.
30716         (conj_test_data): Likewise.
30717         (copysign_test_data): Likewise.
30718         (cos_test_data): Likewise.
30719         (cos_tonearest_test_data): Likewise.
30720         (cos_towardzero_test_data): Likewise.
30721         (cos_downward_test_data): Likewise.
30722         (cos_upward_test_data): Likewise.
30723         (cosh_test_data): Likewise.
30724         (cosh_tonearest_test_data): Likewise.
30725         (cosh_towardzero_test_data): Likewise.
30726         (cosh_downward_test_data): Likewise.
30727         (cosh_upward_test_data): Likewise.
30728         (cpow_test_data): Likewise.
30729         (cproj_test_data): Likewise.
30730         (creal_test_data): Likewise.
30731         (csin_test_data): Likewise.
30732         (csinh_test_data): Likewise.
30733         (csqrt_test_data): Likewise.
30734         (ctan_test_data): Likewise.
30735         (ctan_tonearest_test_data): Likewise.
30736         (ctan_towardzero_test_data): Likewise.
30737         (ctan_downward_test_data): Likewise.
30738         (ctan_upward_test_data): Likewise.
30739         (ctanh_test_data): Likewise.
30740         (ctanh_tonearest_test_data): Likewise.
30741         (ctanh_towardzero_test_data): Likewise.
30742         (ctanh_downward_test_data): Likewise.
30743         (ctanh_upward_test_data): Likewise.
30744         (erf_test_data): Likewise.
30745         (erfc_test_data): Likewise.
30746         (exp_test_data): Likewise.
30747         (exp_tonearest_test_data): Likewise.
30748         (exp_towardzero_test_data): Likewise.
30749         (exp_downward_test_data): Likewise.
30750         (exp_upward_test_data): Likewise.
30751         (exp10_test_data): Likewise.
30752         (exp2_test_data): Likewise.
30753         (expm1_test_data): Likewise.
30754         (fabs_test_data): Likewise.
30755         (fdim_test_data): Likewise.
30756         (finite_test_data): Likewise.
30757         (floor_test_data): Likewise.
30758         (fma_test_data): Likewise.
30759         (fma_towardzero_test_data): Likewise.
30760         (fma_downward_test_data): Likewise.
30761         (fma_upward_test_data): Likewise.
30762         (fmax_test_data): Likewise.
30763         (fmin_test_data): Likewise.
30764         (fmod_test_data): Likewise.
30765         (fpclassify_test_data): Likewise.
30766         (frexp_test_data): Likewise.
30767         (gamma_test_data): Likewise.
30768         (hypot_test_data): Likewise.
30769         (ilogb_test_data): Likewise.
30770         (isfinite_test_data): Likewise.
30771         (isgreater_test_data): Likewise.
30772         (isgreaterequal_test_data): Likewise.
30773         (isinf_test_data): Likewise.
30774         (isless_test_data): Likewise.
30775         (islessequal_test_data): Likewise.
30776         (islessgreater_test_data): Likewise.
30777         (isnan_test_data): Likewise.
30778         (isnormal_test_data): Likewise.
30779         (issignaling_test_data): Likewise.
30780         (isunordered_test_data): Likewise.
30781         (j0_test_data): Likewise.
30782         (j1_test_data): Likewise.
30783         (jn_test_data): Likewise.
30784         (ldexp_test_data): Likewise.
30785         (lgamma_test_data): Likewise.
30786         (lrint_test_data): Likewise.
30787         (lrint_tonearest_test_data): Likewise.
30788         (lrint_towardzero_test_data): Likewise.
30789         (lrint_downward_test_data): Likewise.
30790         (lrint_upward_test_data): Likewise.
30791         (llrint_test_data): Likewise.
30792         (llrint_tonearest_test_data): Likewise.
30793         (llrint_towardzero_test_data): Likewise.
30794         (llrint_downward_test_data): Likewise.
30795         (llrint_upward_test_data): Likewise.
30796         (log_test_data): Likewise.
30797         (log10_test_data): Likewise.
30798         (log1p_test_data): Likewise.
30799         (log2_test_data): Likewise.
30800         (logb_test_data): Likewise.
30801         (logb_downward_test_data): Likewise.
30802         (lround_test_data): Likewise.
30803         (llround_test_data): Likewise.
30804         (modf_test_data): Likewise.
30805         (nearbyint_test_data): Likewise.
30806         (nextafter_test_data): Likewise.
30807         (nexttoward_test_data): Likewise.
30808         (pow_test_data): Likewise.
30809         (pow_tonearest_test_data): Likewise.
30810         (pow_towardzero_test_data): Likewise.
30811         (pow_downward_test_data): Likewise.
30812         (pow_upward_test_data): Likewise.
30813         (remainder_test_data): Likewise.
30814         (remainder_tonearest_test_data): Likewise.
30815         (remainder_towardzero_test_data): Likewise.
30816         (remainder_downward_test_data): Likewise.
30817         (remainder_upward_test_data): Likewise.
30818         (remquo_test_data): Likewise.
30819         (rint_test_data): Likewise.
30820         (rint_tonearest_test_data): Likewise.
30821         (rint_towardzero_test_data): Likewise.
30822         (rint_downward_test_data): Likewise.
30823         (rint_upward_test_data): Likewise.
30824         (round_test_data): Likewise.
30825         (scalb_test_data): Likewise.
30826         (scalbn_test_data): Likewise.
30827         (scalbln_test_data): Likewise.
30828         (signbit_test_data): Likewise.
30829         (sin_test_data): Likewise.
30830         (sin_tonearest_test_data): Likewise.
30831         (sin_towardzero_test_data): Likewise.
30832         (sin_downward_test_data): Likewise.
30833         (sin_upward_test_data): Likewise.
30834         (sincos_test_data): Likewise.
30835         (sinh_test_data): Likewise.
30836         (sinh_tonearest_test_data): Likewise.
30837         (sinh_towardzero_test_data): Likewise.
30838         (sinh_downward_test_data): Likewise.
30839         (sinh_upward_test_data): Likewise.
30840         (sqrt_test_data): Likewise.
30841         (tan_test_data): Likewise.
30842         (tan_tonearest_test_data): Likewise.
30843         (tan_towardzero_test_data): Likewise.
30844         (tan_downward_test_data): Likewise.
30845         (tan_upward_test_data): Likewise.
30846         (tanh_test_data): Likewise.
30847         (tgamma_test_data): Likewise.
30848         (trunc_test_data): Likewise.
30849         (y0_test_data): Likewise.
30850         (y1_test_data): Likewise.
30851         (yn_test_data): Likewise.
30852         (significand_test_data): Likewise.
30854         * math/gen-libm-test.pl (@functions): Remove variable.
30855         (generate_testfile): Don't handle START and END lines.
30856         * math/libm-test.inc (START): New macro.
30857         (END): Likewise.
30858         (END_COMPLEX): Likewise.
30859         (acos_test): Use END macro without arguments.
30860         (acos_test_tonearest): Likewise.
30861         (acos_test_towardzero): Likewise.
30862         (acos_test_downward): Likewise.
30863         (acos_test_upward): Likewise.
30864         (acosh_test): Likewise.
30865         (asin_test): Likewise.
30866         (asin_test_tonearest): Likewise.
30867         (asin_test_towardzero): Likewise.
30868         (asin_test_downward): Likewise.
30869         (asin_test_upward): Likewise.
30870         (asinh_test): Likewise.
30871         (atan_test): Likewise.
30872         (atanh_test): Likewise.
30873         (atan2_test): Likewise.
30874         (cabs_test): Likewise.
30875         (cacos_test): Use END_COMPLEX macro without arguments.
30876         (cacosh_test): Likewise.
30877         (carg_test): Use END macro without arguments.
30878         (casin_test): Use END_COMPLEX macro without arguments.
30879         (casinh_test): Likewise.
30880         (catan_test): Likewise.
30881         (catanh_test): Likewise.
30882         (cbrt_test): Use END macro without arguments.
30883         (ccos_test): Use END_COMPLEX macro without arguments.
30884         (ccosh_test): Likewise.
30885         (ceil_test): Use END macro without arguments.
30886         (cexp_test): Use END_COMPLEX macro without arguments.
30887         (cimag_test): Use END macro without arguments.
30888         (clog_test): Use END_COMPLEX macro without arguments.
30889         (clog10_test): Likewise.
30890         (conj_test): Likewise.
30891         (copysign_test): Use END macro without arguments.
30892         (cos_test): Likewise.
30893         (cos_test_tonearest): Likewise.
30894         (cos_test_towardzero): Likewise.
30895         (cos_test_downward): Likewise.
30896         (cos_test_upward): Likewise.
30897         (cosh_test): Likewise.
30898         (cosh_test_tonearest): Likewise.
30899         (cosh_test_towardzero): Likewise.
30900         (cosh_test_downward): Likewise.
30901         (cosh_test_upward): Likewise.
30902         (cpow_test): Use END_COMPLEX macro without arguments.
30903         (cproj_test): Likewise.
30904         (creal_test): Use END macro without arguments.
30905         (csin_test): Use END_COMPLEX macro without arguments.
30906         (csinh_test): Likewise.
30907         (csqrt_test): Likewise.
30908         (ctan_test): Likewise.
30909         (ctan_test_tonearest): Likewise.
30910         (ctan_test_towardzero): Likewise.
30911         (ctan_test_downward): Likewise.
30912         (ctan_test_upward): Likewise.
30913         (ctanh_test): Likewise.
30914         (ctanh_test_tonearest): Likewise.
30915         (ctanh_test_towardzero): Likewise.
30916         (ctanh_test_downward): Likewise.
30917         (ctanh_test_upward): Likewise.
30918         (erf_test): Use END macro without arguments.
30919         (erfc_test): Likewise.
30920         (exp_test): Likewise.
30921         (exp_test_tonearest): Likewise.
30922         (exp_test_towardzero): Likewise.
30923         (exp_test_downward): Likewise.
30924         (exp_test_upward): Likewise.
30925         (exp10_test): Likewise.
30926         (exp2_test): Likewise.
30927         (expm1_test): Likewise.
30928         (fabs_test): Likewise.
30929         (fdim_test): Likewise.
30930         (finite_test): Likewise.
30931         (floor_test): Likewise.
30932         (fma_test): Likewise.
30933         (fma_test_towardzero): Likewise.
30934         (fma_test_downward): Likewise.
30935         (fma_test_upward): Likewise.
30936         (fmax_test): Likewise.
30937         (fmin_test): Likewise.
30938         (fmod_test): Likewise.
30939         (fpclassify_test): Likewise.
30940         (frexp_test): Likewise.
30941         (gamma_test): Likewise.
30942         (hypot_test): Likewise.
30943         (ilogb_test): Likewise.
30944         (isfinite_test): Likewise.
30945         (isgreater_test): Likewise.
30946         (isgreaterequal_test): Likewise.
30947         (isinf_test): Likewise.
30948         (isless_test): Likewise.
30949         (islessequal_test): Likewise.
30950         (islessgreater_test): Likewise.
30951         (isnan_test): Likewise.
30952         (isnormal_test): Likewise.
30953         (issignaling_test): Likewise.
30954         (isunordered_test): Likewise.
30955         (j0_test): Likewise.
30956         (j1_test): Likewise.
30957         (jn_test): Likewise.
30958         (ldexp_test): Likewise.
30959         (lgamma_test): Likewise.
30960         (lrint_test): Likewise.
30961         (lrint_test_tonearest): Likewise.
30962         (lrint_test_towardzero): Likewise.
30963         (lrint_test_downward): Likewise.
30964         (lrint_test_upward): Likewise.
30965         (llrint_test): Likewise.
30966         (llrint_test_tonearest): Likewise.
30967         (llrint_test_towardzero): Likewise.
30968         (llrint_test_downward): Likewise.
30969         (llrint_test_upward): Likewise.
30970         (log_test): Likewise.
30971         (log10_test): Likewise.
30972         (log1p_test): Likewise.
30973         (log2_test): Likewise.
30974         (logb_test): Likewise.
30975         (logb_test_downward): Likewise.
30976         (lround_test): Likewise.
30977         (llround_test): Likewise.
30978         (modf_test): Likewise.
30979         (nearbyint_test): Likewise.
30980         (nextafter_test): Likewise.
30981         (nexttoward_test): Likewise.
30982         (pow_test): Likewise.
30983         (pow_test_tonearest): Likewise.
30984         (pow_test_towardzero): Likewise.
30985         (pow_test_downward): Likewise.
30986         (pow_test_upward): Likewise.
30987         (remainder_test): Likewise.
30988         (remainder_test_tonearest): Likewise.
30989         (remainder_test_towardzero): Likewise.
30990         (remainder_test_downward): Likewise.
30991         (remainder_test_upward): Likewise.
30992         (remquo_test): Likewise.
30993         (rint_test): Likewise.
30994         (rint_test_tonearest): Likewise.
30995         (rint_test_towardzero): Likewise.
30996         (rint_test_downward): Likewise.
30997         (rint_test_upward): Likewise.
30998         (round_test): Likewise.
30999         (scalb_test): Likewise.
31000         (scalbn_test): Likewise.
31001         (scalbln_test): Likewise.
31002         (signbit_test): Likewise.
31003         (sin_test): Likewise.
31004         (sin_test_tonearest): Likewise.
31005         (sin_test_towardzero): Likewise.
31006         (sin_test_downward): Likewise.
31007         (sin_test_upward): Likewise.
31008         (sincos_test): Likewise.
31009         (sinh_test): Likewise.
31010         (sinh_test_tonearest): Likewise.
31011         (sinh_test_towardzero): Likewise.
31012         (sinh_test_downward): Likewise.
31013         (sinh_test_upward): Likewise.
31014         (sqrt_test): Likewise.
31015         (tan_test): Likewise.
31016         (tan_test_tonearest): Likewise.
31017         (tan_test_towardzero): Likewise.
31018         (tan_test_downward): Likewise.
31019         (tan_test_upward): Likewise.
31020         (tanh_test): Likewise.
31021         (tgamma_test): Likewise.
31022         (trunc_test): Likewise.
31023         (y0_test): Likewise.
31024         (y1_test): Likewise.
31025         (yn_test): Likewise.
31026         (significand_test): Likewise.
31028 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
31030         [BZ #15381]
31031         * libio/genops.c (_IO_no_init): Initialize wide struct info.
31033 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31035         [BZ #14894]
31036         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31037         __ppc_mdoio and __ppc_mdoom.
31038         * manual/platform.texi: Document new functions __ppc_yield,
31039         __ppc_mdoio and __ppc_mdoom.
31041 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
31043         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31044         (main): Mention "tls" pseudo-hwcap is legacy.
31045         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31047 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31049         * math/gen-libm-test.pl (parse_args): Output only string of
31050         arguments as text for test name, not full call or descriptions of
31051         tests for extra outputs.
31052         (generate_testfile): Do not pass function name to parse_args.
31053         Generate this_func variable from START.
31054         * math/libm-test.inc (struct test_f_f_data): Rename test_name
31055         field to arg_str.
31056         (struct test_ff_f_data): Likewise.
31057         (test_ff_f_data_nexttoward): Likewise.
31058         (struct test_fi_f_data): Likewise.
31059         (struct test_fl_f_data): Likewise.
31060         (struct test_if_f_data): Likewise.
31061         (struct test_fff_f_data): Likewise.
31062         (struct test_c_f_data): Likewise.
31063         (struct test_f_f1_data): Likewise.  Remove field extra_name.
31064         (struct test_fF_f1_data): Likewise.
31065         (struct test_ffI_f1_data): Likewise.
31066         (struct test_c_c_data): Rename test_name field to arg_str.
31067         (struct test_cc_c_data): Likewise.
31068         (struct test_f_i_data): Likewise.
31069         (struct test_ff_i_data): Likewise.
31070         (struct test_f_l_data): Likewise.
31071         (struct test_f_L_data): Likewise.
31072         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
31073         and extra2_name.
31074         (COMMON_TEST_SETUP): New macro.
31075         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31076         (COMMON_TEST_CLEANUP): Likewise.
31077         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31078         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
31079         macros.
31080         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31081         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
31082         macros.
31083         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31084         (RUN_TEST_fff_f): Take argument string.  Call new setup and
31085         cleanup macros.
31086         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31087         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
31088         macros.
31089         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31090         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
31091         macros.
31092         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31093         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
31094         cleanup macros.
31095         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31096         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
31097         cleanup macros.
31098         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31099         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
31100         cleanup macros.
31101         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31102         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
31103         macros.
31104         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31105         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
31106         macros.
31107         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31108         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
31109         macros.
31110         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31111         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
31112         cleanup macros.
31113         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31114         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
31115         cleanup macros.
31116         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31117         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
31118         macros.
31119         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31120         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
31121         cleanup macros.
31122         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31123         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
31124         macros.
31125         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31126         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
31127         macros.
31128         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31129         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
31130         cleanup macros.
31131         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31133 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
31135         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31136         to _sifields.sigfault.
31137         (si_addr_lsb): Define new macro.
31138         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31139         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31140         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31142 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
31144         [BZ #15441]
31145         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31146         returns -1.
31147         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31148         null return -1.
31149         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31150         loading the domain.
31152 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31154         * math/gen-libm-test.pl (parse_args): Do not include expected
31155         result in test name.
31156         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31157         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31158         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31159         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31160         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31163 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31165         * benchtests/Makefile: Sort function entries.
31167         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31168         tanh, asinh, acosh, atanh.
31169         * benchtests/acos-inputs: New file.
31170         * benchtests/acosh-inputs: New file.
31171         * benchtests/asin-inputs: New file.
31172         * benchtests/asinh-inputs: New file.
31173         * benchtests/atanh-inputs: New file.
31174         * benchtests/cosh-inputs: New file.
31175         * benchtests/log-inputs: New file.
31176         * benchtests/sinh-inputs: New file.
31177         * benchtests/tanh-inputs: New file.
31179 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
31181         [BZ #15339]
31182         * posix/tst-getaddrinfo4.c: New test.
31183         * posix/Makefile (tests): Add it.
31185 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31187         [BZ #15339]
31188         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31189         when no services were used.
31190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31191         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31193 2013-05-21  Andreas Schwab  <schwab@suse.de>
31195         [BZ #15014]
31196         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31197         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31198         successful.
31199         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31200         redundant variable declarations and reallocation of buffer when
31201         parsing as IPv6 address.  Always set NSS status when called from
31202         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
31203         buffer too small.  Correct computation of needed size.
31204         * nss/Makefile (tests): Add test-digits-dots.
31205         * nss/test-digits-dots.c: New test.
31207 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31209         * benchtests/Makefile: Remove instructions for adding
31210         benchmark tests.
31211         * benchtests/README: New file to explain how to execute and
31212         enhance the benchmark tests.
31214 2013-05-21  Andreas Schwab  <schwab@suse.de>
31216         [BZ #15493]
31217         * setjmp/Makefile (tests): Add tst-sigsetjmp.
31218         * setjmp/tst-sigsetjmp.c: New test.
31220 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31222         * sysdeps/x86_64/memset.S (memset): New implementation.
31223         (__bzero): Likewise.
31224         (__memset_tail): New function.
31226 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31228         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31229         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31230         __memcpy_sse2_unaligned ifunc selection.
31231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31232         Add memcpy-sse2-unaligned.S.
31233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31234         Add: __memcpy_sse2_unaligned.
31236 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
31238         [BZ #15490]
31239         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31240         math_force_eval before restoring floating-point envrionment.
31241         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31242         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31243         Likewise.
31244         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31245         <math_private.h>.
31246         (__nearbyintl): Use math_force_eval before restoring
31247         floating-point environment.
31248         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31250         * math/gen-libm-test.pl (special_functions): Remove.
31251         (parse_args): Don't handle TEST_extra.  Handle functions with no
31252         return value.
31253         * math/libm-test.inc (struct test_sincos_data): Replace with
31254         struct test_fFF_11_data.
31255         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31256         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31257         (sincos_test_data): Change element type to struct
31258         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
31259         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31260         RUN_TEST_LOOP_sincos.
31261         * math/README.libm-test: Don't mention special handling of
31262         individual functions.
31263         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31264         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31265         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31266         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31267         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31270         * math/gen-libm-test.pl (get_variable): Remove function.
31271         (parse_args): Don't show pointer parameters to call in test
31272         names.  Use "extra output N" in test names for extra outputs
31273         rather than naming variables.
31275 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
31277         [BZ #15488]
31278         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31279         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31280         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31281         double tests.
31282         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31283         disable.
31284         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31285         check_long_double.
31287         * math/gen-libm-test.pl (@tests): Remove variable.
31288         ($count): Likewise.
31289         (new_test): Remove function.
31290         (show_exceptions): New function.
31291         (special_functions): Use show_exceptions instead of new_test.
31292         (parse_args): Likewise.
31293         (generate_testfile): Pass only function name in generated call to
31294         print_max_error or print_complex_max_error.
31295         (get_ulps): Do not handle complex tests specially.
31296         (output_test): Rename to ...
31297         (get_all_ulps_for_test): ... this.  Return a string rather than
31298         printing to a file.  Require ulps to be present.
31299         (output_ulps): Generate arrays rather than #defines.
31300         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31301         (struct ulp_data): New type.
31302         (BUILD_COMPLEX_ULP): Remove macro.
31303         (compare_ulp_data): New function.
31304         (find_ulps): Likewise.
31305         (find_test_ulps): Likewise.
31306         (find_function_ulps): Likewise.
31307         (find_complex_function_ulps): Likewise.
31308         (print_max_error): Determine allowed ulps using
31309         find_function_ulps.
31310         (print_complex_max_error): Determine allowed ulps using
31311         find_complex_function_ulps.
31312         (check_float_internal): Determine max ulps using find_test_ulps.
31313         (check_float): Do not take max_ulp parameter.  Update call to
31314         check_float_internal.
31315         (check_complex): Likewise.
31316         (check_int): Do not take max_ulp parameter.
31317         (check_long): Likewise.
31318         (check_bool): Likewise.
31319         (check_longlong): Likewise.
31320         (struct test_f_f_data): Remove max_ulp field.
31321         (struct test_ff_f_data): Likewise.
31322         (struct test_ff_f_data_nexttoward): Likewise.
31323         (struct test_fi_f_data): Likewise.
31324         (struct test_fl_f_data): Likewise.
31325         (struct test_if_f_data): Likewise.
31326         (struct test_fff_f_data): Likewise.
31327         (struct test_c_f_data): Likewise.
31328         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31329         (struct test_fF_f1_data): Likewise.
31330         (struct test_ffI_f1_data): Likewise.
31331         (struct test_c_c_data): Remove max_ulp field.
31332         (struct test_cc_c_data): Likewise.
31333         (struct test_f_i_data): Likewise.
31334         (struct test_ff_i_data): Likewise.
31335         (struct test_f_l_data): Likewise.
31336         (struct test_f_L_data): Likewise.
31337         (struct test_sincos_data): Likewise.
31338         (RUN_TEST_f_f): Do not handle ulps.
31339         (RUN_TEST_LOOP_f_f): Likewise.
31340         (RUN_TEST_2_f): Likewise.
31341         (RUN_TEST_LOOP_2_f): Likewise.
31342         (RUN_TEST_fff_f): Likewise.
31343         (RUN_TEST_LOOP_fff_f): Likewise.
31344         (RUN_TEST_c_f): Likewise.
31345         (RUN_TEST_LOOP_c_f): Likewise.
31346         (RUN_TEST_f_f1): Likewise.
31347         (RUN_TEST_LOOP_f_f1): Likewise.
31348         (RUN_TEST_fF_f1): Likewise.
31349         (RUN_TEST_LOOP_fF_f1): Likewise.
31350         (RUN_TEST_fI_f1): Likewise.
31351         (RUN_TEST_LOOP_fI_f1): Likewise.
31352         (RUN_TEST_ffI_f1): Likewise.
31353         (RUN_TEST_LOOP_ffI_f1): Likewise.
31354         (RUN_TEST_c_c): Likewise.
31355         (RUN_TEST_LOOP_c_c): Likewise.
31356         (RUN_TEST_cc_c): Likewise.
31357         (RUN_TEST_LOOP_cc_c): Likewise.
31358         (RUN_TEST_f_i): Likewise.
31359         (RUN_TEST_LOOP_f_i): Likewise.
31360         (RUN_TEST_f_i_tg): Likewise.
31361         (RUN_TEST_LOOP_f_i_tg): Likewise.
31362         (RUN_TEST_ff_i_tg): Likewise.
31363         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31364         (RUN_TEST_f_b): Likewise.
31365         (RUN_TEST_LOOP_f_b): Likewise.
31366         (RUN_TEST_f_b_tg): Likewise.
31367         (RUN_TEST_LOOP_f_b_tg): Likewise.
31368         (RUN_TEST_f_l): Likewise.
31369         (RUN_TEST_LOOP_f_l): Likewise.
31370         (RUN_TEST_f_L): Likewise.
31371         (RUN_TEST_LOOP_f_L): Likewise.
31372         (RUN_TEST_sincos): Likewise.
31373         (RUN_TEST_LOOP_sincos): Likewise.
31375 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
31377         [BZ #15480]
31378         [BZ #15485]
31379         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31380         main case of finite arguments, set rounding mode to FE_TONEAREST
31381         and discard exceptions.
31382         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31383         exceptions.
31384         (remainder_tonearest_test_data): New variable.
31385         (remainder_test_tonearest): New function.
31386         (remainder_towardzero_test_data): New variable.
31387         (remainder_test_towardzero): New function.
31388         (remainder_downward_test_data): New variable.
31389         (remainder_test_downward): New function.
31390         (remainder_upward_test_data): New variable.
31391         (remainder_test_upward): New function.
31392         (main): Call the new test functions.
31394         * math/libm-test.inc (struct test_f_f1_data): Remove field
31395         extra_init.
31396         (struct test_fF_f1_data): Likewise.
31397         (struct test_ffI_f1_data): Likewise.
31398         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
31399         based on value of EXTRA_EXPECTED.
31400         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31401         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
31402         EXTRA_VAR based on value of EXTRA_EXPECTED.
31403         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31404         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
31405         EXTRA_VAR based on value of EXTRA_EXPECTED.
31406         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31407         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
31408         EXTRA_VAR based on value of EXTRA_EXPECTED.
31409         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31410         * math/gen-libm-test.pl (parse_args): Don't output initializers
31411         for extra output values.
31413         * math/libm-test.inc (check_int): Expect result to be exactly
31414         equal to expected value and do not handle ulps.
31415         (check_long): Likewise.
31416         (check_longlong): Likewise.
31418         * math/libm-test.inc (ceil_test_data): Test for "inexact"
31419         exceptions.
31420         (cimag_test_data): Likewise.
31421         (conj_test_data): Likewise.
31422         (copysign_test_data): Likewise.
31423         (cproj_test_data): Likewise.
31424         (creal_test_data): Likewise.
31425         (fabs_test_data): Likewise.
31426         (fdim_test_data): Likewise.
31427         (finite_test_data): Likewise.
31428         (floor_test_data): Likewise.
31429         (fmax_test_data): Likewise.
31430         (fmin_test_data): Likewise.
31431         (fmod_test_data): Likewise.
31432         (fpclassify_test_data): Likewise.
31433         (frexp_test_data): Likewise.
31434         (ilogb_test_data): Likewise.
31435         (isfinite_test_data): Likewise.
31436         (isgreater_test_data): Likewise.
31437         (isgreaterequal_test_data): Likewise.
31438         (isinf_test_data): Likewise.
31439         (isless_test_data): Likewise.
31440         (islessequal_test_data): Likewise.
31441         (islessgreater_test_data): Likewise.
31442         (isnan_test_data): Likewise.
31443         (isnormal_test_data): Likewise.
31444         (issignaling_test_data): Likewise.
31445         (isunordered_test_data): Likewise.
31446         (ldexp_test_data): Likewise.
31447         (lrint_test_data): Likewise.
31448         (lrint_test_data) [TEST_FLOAT]: Disable one test.
31449         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31450         (lrint_tonearest_test_data): Test for "inexact" exceptions.
31451         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31452         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31453         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31454         test input.
31455         (lrint_towardzero_test_data): Test for "inexact" exceptions.
31456         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31457         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31458         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31459         that test input.
31460         (lrint_downward_test_data): Test for "inexact" exceptions.
31461         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31462         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31463         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31464         test input.
31465         (lrint_upward_test_data): Test for "inexact" exceptions.
31466         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31467         test input.
31468         (llrint_test_data): Test for "inexact" exceptions.
31469         (llrint_test_data) [TEST_FLOAT]: Disable one test.
31470         (llrint_tonearest_test_data): Test for "inexact" exceptions.
31471         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31472         (llrint_towardzero_test_data): Test for "inexact" exceptions.
31473         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31474         (llrint_downward_test_data): Test for "inexact" exceptions.
31475         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31476         (llrint_upward_test_data): Test for "inexact" exceptions.
31477         (logb_test_data): Likewise.
31478         (logb_downward_test_data): Likewise.
31479         (nextafter_test_data): Likewise.
31480         (nexttoward_test_data): Likewise.
31481         (remainder_test_data): Likewise.
31482         (remquo_test_data): Likewise.
31483         (scalbn_test_data): Likewise.
31484         (scalbln_test_data): Likewise.
31485         (signbit_test_data): Likewise.
31486         (sqrt_test_data): Likewise.
31487         (significand_test_data): Likewise.
31489 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31491         [BZ #15424]
31492         * benchtests/bench-modf.c (struct args): Mark arg0 as
31493         volatile.
31494         * scripts/bench.pl: Mark members of struct args as volatile.
31496 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31498         [BZ # 15497]
31499         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31500         negative infinity on POWER6 or lower.
31501         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31503 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31505         [BZ #15442]
31506         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31507         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31508         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31509         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31510         (_FP_SETQNAN): New macro.
31511         (_FP_SETQNAN_SEMIRAW): Likewise.
31512         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31513         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31514         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31515         (FP_EXTEND): Use _FP_FRAC_SNANP.
31516         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31517         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31518         into account.
31519         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31520         New macro.
31521         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31522         Likewise.
31524 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31526         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31527         with DIVIDE_BY_ZERO_EXCEPTION.
31528         (gamma_test_data): Likewise.
31529         (lgamma_test_data): Likewise.
31530         (log_test_data): Likewise.
31531         (log10_test_data): Likewise.
31532         (log2_test_data): Likewise.
31533         (tgamma_test_data): Likewise.
31535         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31536         (acos_test_tonearest): Likewise.
31537         (acos_test_towardzero): Likewise.
31538         (acos_test_downward): Likewise.
31539         (acos_test_upward): Likewise.
31540         (acosh_test): Likewise.
31541         (asin_test): Likewise.
31542         (asin_test_tonearest): Likewise.
31543         (asin_test_towardzero): Likewise.
31544         (asin_test_downward): Likewise.
31545         (asin_test_upward): Likewise.
31546         (asinh_test): Likewise.
31547         (atan_test): Likewise.
31548         (atanh_test): Likewise.
31549         (atan2_test): Likewise.
31550         (cabs_test): Likewise.
31551         (cacos_test): Likewise.
31552         (cacosh_test): Likewise.
31553         (casin_test): Likewise.
31554         (casinh_test): Likewise.
31555         (catan_test): Likewise.
31556         (catanh_test): Likewise.
31557         (cbrt_test): Likewise.
31558         (ccos_test): Likewise.
31559         (ccosh_test): Likewise.
31560         (cexp_test): Likewise.
31561         (clog_test): Likewise.
31562         (clog10_test): Likewise.
31563         (cos_test): Likewise.
31564         (cos_test_tonearest): Likewise.
31565         (cos_test_towardzero): Likewise.
31566         (cos_test_downward): Likewise.
31567         (cos_test_upward): Likewise.
31568         (cosh_test): Likewise.
31569         (cosh_test_tonearest): Likewise.
31570         (cosh_test_towardzero): Likewise.
31571         (cosh_test_downward): Likewise.
31572         (cosh_test_upward): Likewise.
31573         (cpow_test): Likewise.
31574         (csin_test): Likewise.
31575         (csinh_test): Likewise.
31576         (csqrt_test): Likewise.
31577         (ctan_test): Likewise.
31578         (ctan_test_tonearest): Likewise.
31579         (ctan_test_towardzero): Likewise.
31580         (ctan_test_downward): Likewise.
31581         (ctan_test_upward): Likewise.
31582         (ctanh_test): Likewise.
31583         (ctanh_test_tonearest): Likewise.
31584         (ctanh_test_towardzero): Likewise.
31585         (ctanh_test_downward): Likewise.
31586         (ctanh_test_upward): Likewise.
31587         (erf_test): Likewise.
31588         (erfc_test): Likewise.
31589         (exp_test): Likewise.
31590         (exp_test_tonearest): Likewise.
31591         (exp_test_towardzero): Likewise.
31592         (exp_test_downward): Likewise.
31593         (exp_test_upward): Likewise.
31594         (exp10_test): Likewise.
31595         (exp2_test): Likewise.
31596         (expm1_test): Likewise.
31597         (fmod_test): Likewise.
31598         (gamma_test): Likewise.
31599         (hypot_test): Likewise.
31600         (j0_test): Likewise.
31601         (j1_test): Likewise.
31602         (jn_test): Likewise.
31603         (lgamma_test): Likewise.
31604         (log_test): Likewise.
31605         (log10_test): Likewise.
31606         (log1p_test): Likewise.
31607         (log2_test): Likewise.
31608         (logb_test_downward): Likewise.
31609         (pow_test): Likewise.
31610         (pow_test_tonearest): Likewise.
31611         (pow_test_towardzero): Likewise.
31612         (pow_test_downward): Likewise.
31613         (pow_test_upward): Likewise.
31614         (remainder_test): Likewise.
31615         (remquo_test): Likewise.
31616         (sin_test): Likewise.
31617         (sin_test_tonearest): Likewise.
31618         (sin_test_towardzero): Likewise.
31619         (sin_test_downward): Likewise.
31620         (sin_test_upward): Likewise.
31621         (sincos_test): Likewise.
31622         (sinh_test): Likewise.
31623         (sinh_test_tonearest): Likewise.
31624         (sinh_test_towardzero): Likewise.
31625         (sinh_test_downward): Likewise.
31626         (sinh_test_upward): Likewise.
31627         (sqrt_test): Likewise.
31628         (tan_test): Likewise.
31629         (tan_test_tonearest): Likewise.
31630         (tan_test_towardzero): Likewise.
31631         (tan_test_downward): Likewise.
31632         (tan_test_upward): Likewise.
31633         (tanh_test): Likewise.
31634         (tgamma_test): Likewise.
31635         (y0_test): Likewise.
31636         (y1_test): Likewise.
31637         (yn_test): Likewise.
31639         * math/gen-libm-test.pl (adjust_arg): Remove function.
31640         (special_function): Remove argument $in_func.  Only handle
31641         generating output for tables of tests, not inside functions.
31642         (parse_args): Likewise.
31643         (generate_testfile): Remove variable $in_func.  Update call to
31644         parse_args.
31645         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31646         (MINUS_ZERO_INIT): Rename macro to minus_zero.
31647         (PLUS_INFTY_INIT): Rename macro to plus_infty.
31648         (MINUS_INFTY_INIT): Rename macro to minus_infty.
31649         (QNAN_VALUE_INIT): Rename macro to qnan_value.
31650         (MAX_VALUE_INIT): Rename macro to max_value.
31651         (MIN_VALUE_INIT): Rename macro to min_value.
31652         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31653         (plus_zero): Remove variable.
31654         (minus_zero): Likewise.
31655         (plus_infty): Likewise.
31656         (minus_infty): Likewise.
31657         (qnan_value): Likewise.
31658         (max_value): Likewise.
31659         (min_value): Likewise.
31660         (min_subnorm_value): Likewise.
31662 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31664         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31665         uint64_t or uint32_t usage.
31666         * crypt/sha256-block.c: Likewise.
31667         * crypt/sha256-crypt.c: Likewise.
31668         * crypt/sha256.c: Likewise.
31669         * crypt/sha512-block.c: Likewise.
31670         * crypt/sha512-crypt.c: Likewise.
31671         * crypt/sha512.c: Likewise.
31672         * debug/backtrace-tst.c: Likewise.
31673         * debug/pcprofiledump.c: Likewise.
31674         * elf/cache.c: Likewise.
31675         * elf/dl-cache.c: Likewise.
31676         * elf/dl-misc.c: Likewise.
31677         * elf/dl-profile.c: Likewise.
31678         * elf/dl-support.c: Likewise.
31679         * elf/ldconfig.c: Likewise.
31680         * elf/sprof.c: Likewise.
31681         * iconv/dummy-repertoire.c: Likewise.
31682         * iconv/iconv_charmap.c: Likewise.
31683         * iconv/skeleton.c: Likewise.
31684         * iconvdata/8bit-generic.c: Likewise.
31685         * iconvdata/cp737.h: Likewise.
31686         * iconvdata/cp775.h: Likewise.
31687         * iconvdata/ibm1008.h: Likewise.
31688         * iconvdata/ibm1025.h: Likewise.
31689         * iconvdata/ibm1046.h: Likewise.
31690         * iconvdata/ibm1097.h: Likewise.
31691         * iconvdata/ibm1112.h: Likewise.
31692         * iconvdata/ibm1122.h: Likewise.
31693         * iconvdata/ibm1123.h: Likewise.
31694         * iconvdata/ibm1124.h: Likewise.
31695         * iconvdata/ibm1129.h: Likewise.
31696         * iconvdata/ibm1130.h: Likewise.
31697         * iconvdata/ibm1132.h: Likewise.
31698         * iconvdata/ibm1133.h: Likewise.
31699         * iconvdata/ibm1137.h: Likewise.
31700         * iconvdata/ibm1140.h: Likewise.
31701         * iconvdata/ibm1141.h: Likewise.
31702         * iconvdata/ibm1142.h: Likewise.
31703         * iconvdata/ibm1143.h: Likewise.
31704         * iconvdata/ibm1144.h: Likewise.
31705         * iconvdata/ibm1145.h: Likewise.
31706         * iconvdata/ibm1146.h: Likewise.
31707         * iconvdata/ibm1147.h: Likewise.
31708         * iconvdata/ibm1148.h: Likewise.
31709         * iconvdata/ibm1149.h: Likewise.
31710         * iconvdata/ibm1153.h: Likewise.
31711         * iconvdata/ibm1154.h: Likewise.
31712         * iconvdata/ibm1155.h: Likewise.
31713         * iconvdata/ibm1156.h: Likewise.
31714         * iconvdata/ibm1157.h: Likewise.
31715         * iconvdata/ibm1158.h: Likewise.
31716         * iconvdata/ibm1160.h: Likewise.
31717         * iconvdata/ibm1161.h: Likewise.
31718         * iconvdata/ibm1162.h: Likewise.
31719         * iconvdata/ibm1163.h: Likewise.
31720         * iconvdata/ibm1164.h: Likewise.
31721         * iconvdata/ibm1166.h: Likewise.
31722         * iconvdata/ibm1167.h: Likewise.
31723         * iconvdata/ibm12712.h: Likewise.
31724         * iconvdata/ibm1390.h: Likewise.
31725         * iconvdata/ibm1399.h: Likewise.
31726         * iconvdata/ibm16804.h: Likewise.
31727         * iconvdata/ibm4517.h: Likewise.
31728         * iconvdata/ibm4899.h: Likewise.
31729         * iconvdata/ibm4909.h: Likewise.
31730         * iconvdata/ibm4971.h: Likewise.
31731         * iconvdata/ibm5347.h: Likewise.
31732         * iconvdata/ibm803.h: Likewise.
31733         * iconvdata/ibm856.h: Likewise.
31734         * iconvdata/ibm901.h: Likewise.
31735         * iconvdata/ibm902.h: Likewise.
31736         * iconvdata/ibm9030.h: Likewise.
31737         * iconvdata/ibm9066.h: Likewise.
31738         * iconvdata/ibm921.h: Likewise.
31739         * iconvdata/ibm922.h: Likewise.
31740         * iconvdata/ibm9448.h: Likewise.
31741         * iconvdata/isiri-3342.h: Likewise.
31742         * iconvdata/jis0201.h: Likewise.
31743         * include/link.h: Likewise.
31744         * include/netdb.h: Likewise.
31745         * inet/check_native.c: Likewise.
31746         * inet/check_pf.c: Likewise.
31747         * inet/getipv4sourcefilter.c: Likewise.
31748         * inet/getnameinfo.c: Likewise.
31749         * inet/getsourcefilter.c: Likewise.
31750         * inet/htonl.c: Likewise.
31751         * inet/setipv4sourcefilter.c: Likewise.
31752         * inet/setsourcefilter.c: Likewise.
31753         * inet/test-inet6_opt.c: Likewise.
31754         * inet/tst-network.c: Likewise.
31755         * locale/C-collate.c: Likewise.
31756         * locale/C-ctype.c: Likewise.
31757         * locale/C-time.c: Likewise.
31758         * locale/C-translit.h: Likewise.
31759         * locale/loadarchive.c: Likewise.
31760         * locale/programs/3level.h: Likewise.
31761         * locale/programs/charmap.c: Likewise.
31762         * locale/programs/charmap.h: Likewise.
31763         * locale/programs/ld-address.c: Likewise.
31764         * locale/programs/ld-collate.c: Likewise.
31765         * locale/programs/ld-ctype.c: Likewise.
31766         * locale/programs/ld-identification.c: Likewise.
31767         * locale/programs/ld-measurement.c: Likewise.
31768         * locale/programs/ld-messages.c: Likewise.
31769         * locale/programs/ld-monetary.c: Likewise.
31770         * locale/programs/ld-name.c: Likewise.
31771         * locale/programs/ld-numeric.c: Likewise.
31772         * locale/programs/ld-paper.c: Likewise.
31773         * locale/programs/ld-telephone.c: Likewise.
31774         * locale/programs/ld-time.c: Likewise.
31775         * locale/programs/linereader.c: Likewise.
31776         * locale/programs/locale.c: Likewise.
31777         * locale/programs/locarchive.c: Likewise.
31778         * locale/programs/locfile.h: Likewise.
31779         * locale/programs/repertoire.c: Likewise.
31780         * locale/programs/simple-hash.c: Likewise.
31781         * locale/programs/simple-hash.h: Likewise.
31782         * malloc/memusage.c: Likewise.
31783         * malloc/memusagestat.c: Likewise.
31784         * nis/nis_defaults.c: Likewise.
31785         * nis/nis_hash.c: Likewise.
31786         * nis/nis_print.c: Likewise.
31787         * nis/nis_xdr.c: Likewise.
31788         * nscd/connections.c: Likewise.
31789         * nscd/hstcache.c: Likewise.
31790         * nscd/nscd_gethst_r.c: Likewise.
31791         * nscd/nscd_getserv_r.c: Likewise.
31792         * nscd/nscd_helper.c: Likewise.
31793         * nscd/servicescache.c: Likewise.
31794         * nss/makedb.c: Likewise.
31795         * nss/nss_db/db-XXX.c: Likewise.
31796         * nss/nss_db/db-initgroups.c: Likewise.
31797         * nss/nss_db/db-netgrp.c: Likewise.
31798         * nss/nss_files/files-network.c: Likewise.
31799         * nss/nss_files/files-parse.c: Likewise.
31800         * posix/bug-regex5.c: Likewise.
31801         * posix/fnmatch_loop.c: Likewise.
31802         * posix/regcomp.c: Likewise.
31803         * posix/regexec.c: Likewise.
31804         * posix/tst-rfc3484-2.c: Likewise.
31805         * posix/tst-rfc3484-3.c: Likewise.
31806         * posix/tst-rfc3484.c: Likewise.
31807         * resolv/nss_dns/dns-canon.c: Likewise.
31808         * resolv/nss_dns/dns-network.c: Likewise.
31809         * resolv/res_init.c: Likewise.
31810         * resolv/res_mkquery.c: Likewise.
31811         * resolv/tst-aton.c: Likewise.
31812         * stdlib/cxa_atexit.c: Likewise.
31813         * stdlib/cxa_finalize.c: Likewise.
31814         * stdlib/gen-fpioconst.c: Likewise.
31815         * stdlib/strtol_l.c: Likewise.
31816         * string/tst-endian.c: Likewise.
31817         * sunrpc/auth_des.c: Likewise.
31818         * sunrpc/clnt_udp.c: Likewise.
31819         * sunrpc/rtime.c: Likewise.
31820         * sunrpc/svcauth_des.c: Likewise.
31821         * sunrpc/xdr.c: Likewise.
31822         * sunrpc/xdr_intXX_t.c: Likewise.
31823         * sunrpc/xdr_rec.c: Likewise.
31824         * sysdeps/generic/ldconfig.h: Likewise.
31825         * sysdeps/generic/ldsodefs.h: Likewise.
31826         * sysdeps/generic/memusage.h: Likewise.
31827         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31828         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31829         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31830         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31831         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31832         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31833         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31834         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31835         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31836         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31837         * sysdeps/posix/getaddrinfo.c: Likewise.
31838         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31839         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31840         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31841         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31842         * sysdeps/powerpc/test-gettimebase.c: Likewise.
31843         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31844         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31845         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31846         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31847         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31848         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31849         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31850         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31851         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31852         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31853         * sysdeps/x86_64/dl-tls.h: Likewise.
31854         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31855         * time/alt_digit.c: Likewise.
31856         * time/era.c: Likewise.
31857         * wcsmbs/tst-c16c32-1.c: Likewise.
31859 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31861         * math/libm-test.inc (struct test_sincos_data): New type.
31862         (RUN_TEST_LOOP_sincos): New macro.
31863         (sincos_test_data): New variable.
31864         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31866 2013-05-16  Richard Henderson  <rth@redhat.com>
31868         * math/atest-exp2.c (LIMB64): New macro.
31869         (CONSTSZ): New macro.
31870         (mp_exp1, mp_exp_m1, mp_log2): New variables.
31871         (hexdig): Move ...
31872         (print_mpn_fp): ... to function scope.
31873         (read_mpn_hex): Remove.
31874         (get_log2): Remove.
31875         (exp2_mpn): Use mp_log2.
31876         (main): Use mp_exp1.
31878 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31880         * math/libm-test.inc: Remove comment about not testing "inexact"
31881         exceptions.
31882         (INEXACT_EXCEPTION): New macro.
31883         (NO_INEXACT_EXCEPTION): Likewise.
31884         (INVALID_EXCEPTION_OK): Update value.
31885         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31886         (OVERFLOW_EXCEPTION_OK): Likewise.
31887         (UNDERFLOW_EXCEPTION_OK): Likewise.
31888         (IGNORE_ZERO_INF_SIGN): Likewise.
31889         (ERRNO_UNCHANGED): Likewise.
31890         (ERRNO_EDOM): Likewise.
31891         (ERRNO_ERANGE): Likewise.
31892         (test_exceptions): Handle testing "inexact" exceptions.
31893         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31894         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31895         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31896         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31897         INEXACT_EXCEPTION.
31898         (rint_towardzero_test_data): Likewise.
31899         (rint_downward_test_data): Likewise.
31900         (rint_upward_test_data): Likewise.
31902         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31903         with OVERFLOW_EXCEPTION.
31904         (exp10_test_data): Likewise.
31905         (exp2_test_data): Likewise.
31906         (expm1_test_data): Likewise.
31907         (lgamma_test_data): Likewise.
31908         (pow_test_data): Likewise.
31909         (tgamma_test_data): Likewise.
31910         (yn_test_data): Remove duplicate test of overflow.
31912         * math/libm-test.inc (struct test_cc_c_data): New type.
31913         (RUN_TEST_LOOP_cc_c): New macro.
31914         (cpow_test_data): New variable.
31915         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31917         * math/libm-test.inc (struct test_f_L_data): New type.
31918         (RUN_TEST_LOOP_f_L): New macro.
31919         (llrint_test_data): New variable.
31920         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31921         (llrint_tonearest_test_data): New variable.
31922         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31923         (llrint_towardzero_test_data): New variable.
31924         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31925         (llrint_downward_test_data): New variable.
31926         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31927         (llrint_upward_test_data): New variable.
31928         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31929         (llround_test_data): New variable.
31930         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31932 2013-05-13  Peter Collingbourne  <pcc@google.com>
31934         * math/atest-exp2.c (get_log2): Remove const attribute.
31936 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31938         * math/libm-test.inc (struct test_f_l_data): New type.
31939         (RUN_TEST_LOOP_f_l): New macro.
31940         (lrint_test_data): New variable.
31941         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31942         (lrint_tonearest_test_data): New variable.
31943         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31944         (lrint_towardzero_test_data): New variable.
31945         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31946         (lrint_downward_test_data): New variable.
31947         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31948         (lrint_upward_test_data): New variable.
31949         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31950         (lround_test_data): New variable.
31951         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31953 2013-05-15  Peter Collingbourne  <pcc@google.com>
31955         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31956         (EXTRACT_WORDS64) Use where appropriate.
31957         (INSERT_WORDS64) Likewise.
31959         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31960         constraints with x constraints.
31961         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31963         * malloc/obstack.c (_obstack_compat): Add initializer.
31965 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31967         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31968         si_trapno and add si_addr_lsb to _sifields.sigfault.
31969         (si_trapno): Remove macro.
31970         (si_addr_lsb): Define new macro.
31971         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31973 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31975         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31976         instead of TEST_f_l.
31977         (llrint_test_tonearest): Likewise.
31978         (llrint_test_towardzero): Likewise.
31979         (llrint_test_downward): Likewise.
31980         (llrint_test_upward): Likewise.
31981         (llround_test): Likewise.
31983         * math/libm-test.inc (struct test_f_i_data): Add comment.
31984         (RUN_TEST_LOOP_f_b): New macro.
31985         (RUN_TEST_LOOP_f_b_tg): Likewise.
31986         (finite_test_data): New variable.
31987         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31988         (isfinite_test_data): New variable.
31989         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31990         (isinf_test_data): New variable.
31991         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31992         (isnan_test_data): New variable.
31993         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31994         (isnormal_test_data): New variable.
31995         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31996         (issignaling_test_data): New variable.
31997         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31998         (signbit_test_data): New variable.
31999         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32001         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32002         with INVALID_EXCEPTION.
32003         (acosh_test_data): Likewise.
32004         (asin_test_data): Likewise.
32005         (atanh_test_data): Likewise.
32006         (fmod_test_data): Likewise.
32007         (log_test_data): Likewise.
32008         (log10_test_data): Likewise.
32009         (log2_test_data): Likewise.
32010         (pow_test_data): Likewise.
32011         (sqrt_test_data): Likewise.
32012         (y0_test_data): Likewise.
32013         (y1_test_data): Likewise.
32014         (yn_test_data): Likewise.
32016         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32017         function contents.
32019         * math/libm-test.inc (struct test_ff_i_data): New type.
32020         (RUN_TEST_LOOP_ff_i_tg): New macro.
32021         (isgreater_test_data): New variable.
32022         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32023         (isgreaterequal_test_data): New variable.
32024         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32025         (isless_test_data): New variable.
32026         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32027         (islessequal_test_data): New variable.
32028         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32029         (islessgreater_test_data): New variable.
32030         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32031         (isunordered_test_data): New variable.
32032         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32034 2013-05-14  David S. Miller  <davem@davemloft.net>
32036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32038 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
32040         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32042         * math/libm-test.inc (struct test_fF_f1_data): Change type of
32043         extra_test to int.
32044         (struct test_f_i_data): Change type of max_ulp to int.
32046         * math/libm-test.inc (test_ffI_f1_data): New type.
32047         (RUN_TEST_LOOP_ffI_f1): New macro.
32048         (remquo_test_data): New variable.
32049         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32051         * setjmp/tst-setjmp-fp.c: New file.
32052         * setjmp/Makefile (tests): Add tst-setjmp-fp.
32053         (link-libm): New variable.
32054         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32056         * math/libm-test.inc (struct test_f_i_data): New type.
32057         (RUN_TEST_LOOP_f_i): New macro.
32058         (RUN_TEST_LOOP_f_i_tg): Likewise.
32059         (fpclassify_test_data): New variable.
32060         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32061         (ilogb_test_data): New variable.
32062         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32064         * math/libm-test.inc (scalbln_test): Correct function name in END
32065         call.
32067         * math/libm-test.inc (struct test_f_f1_data): Add comment.
32068         (RUN_TEST_LOOP_fI_f1): New macro.
32069         (frexp_test_data): New variable.
32070         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32072         * math/libm-test.inc (struct test_fF_f1_data): New type.
32073         (RUN_TEST_LOOP_fF_f1): New macro.
32074         (modf_test_data): New variable.
32075         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32077         * math/libm-test.inc (struct test_f_f1_data): New type.
32078         (RUN_TEST_LOOP_f_f1): New macro.
32079         (gamma_test_data): New variable.
32080         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32081         (lgamma_test_data): New variable.
32082         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32084 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
32086         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32087         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32088         (main): Comment "tls" pseudo-hwcap.
32090 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
32092         * math/libm-test.inc (struct test_fl_f_data): New type.
32093         (RUN_TEST_LOOP_fl_f): New variable.
32094         (scalbln_test_data): New variable.
32095         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32097         * math/libm-test.inc (struct test_fi_f_data): New type.
32098         (RUN_TEST_LOOP_fi_f): New macro.
32099         (ldexp_test_data): New variable.
32100         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32101         (scalbn_test_data): New variable.
32102         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32104         * math/libm-test.inc (struct test_c_f_data): New type.
32105         (RUN_TEST_LOOP_c_f): New macro.
32106         (cabs_test_data): New variable.
32107         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32108         (carg_test_data): New variable.
32109         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32110         (cimag_test_data): New variable.
32111         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32112         (creal_test_data): New variable.
32113         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32115         * math/libm-test.inc (struct test_if_f_data): New type.
32116         (RUN_TEST_LOOP_if_f): New macro.
32117         (jn_test_data): New variable.
32118         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32119         (yn_test_data): New variable.
32120         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32122         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32124 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32126         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32127         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32129 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32131         * benchtests/Makefile (CPPFLAGS-nonlib): Add
32132         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32133         (bench-deps): Add bench-timing.h.
32134         * benchtests-bench-skeleton.c: Include bench-timing.h.
32135         (main): Use TIMING_* macros instead of clock_gettime.
32136         * benchtests/bench-timing.h: New file.
32138         [BZ #14582]
32139         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32140         Renamed from _LIB_VERSION.
32141         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32143 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
32145         * math/libm-test.inc (struct test_fff_f_data): New type.
32146         (RUN_TEST_LOOP_fff_f): New macro.
32147         (fma_test_data): New variable.
32148         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32149         (fma_towardzero_test_data): New variable.
32150         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32151         (fma_downward_test_data): New variable.
32152         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32153         (fma_upward_test_data): New variable.
32154         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32156         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32157         (struct test_c_c_data): New type.
32158         (RUN_TEST_LOOP_c_c): New macro.
32159         (cacos_test_data): New variable.
32160         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32161         (cacosh_test_data): New variable.
32162         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32163         (casin_test_data): New variable.
32164         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32165         (casinh_test_data): New variable.
32166         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32167         (catan_test_data): New variable.
32168         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32169         (catanh_test_data): New variable.
32170         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32171         (ccos_test_data): New variable.
32172         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32173         (ccosh_test_data): New variable.
32174         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32175         (cexp_test_data): New variable.
32176         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32177         (clog_test_data): New variable.
32178         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32179         (clog10_test_data): New variable.
32180         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32181         (conj_test_data): New variable.
32182         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32183         (cproj_test_data): New variable.
32184         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32185         (csin_test_data): New variable.
32186         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32187         (csinh_test_data): New variable.
32188         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32189         (csqrt_test_data): New variable.
32190         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32191         (ctan_test_data): New variable.
32192         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32193         (ctan_tonearest_test_data): New variable.
32194         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32195         (ctan_towardzero_test_data): New variable.
32196         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32197         (ctan_downward_test_data): New variable.
32198         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32199         (ctan_upward_test_data): New variable.
32200         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32201         (ctanh_test_data): New variable.
32202         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32203         (ctanh_tonearest_test_data): New variable.
32204         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32205         (ctanh_towardzero_test_data): New variable.
32206         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32207         (ctanh_downward_test_data): New variable.
32208         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32209         (ctanh_upward_test_data): New variable.
32210         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32211         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32212         of BUILD_COMPLEX.
32214         * math/libm-test.inc (struct test_ff_f_data): New type.
32215         (struct test_ff_f_data_nexttoward): Likewise.
32216         (RUN_TEST_LOOP_2_f): New macro.
32217         (RUN_TEST_LOOP_ff_f): Likewise.
32218         (atan2_test_data): New variable.
32219         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32220         (copysign_test_data): New variable.
32221         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32222         (fdim_test_data): New variable.
32223         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32224         (fmax_test_data): New variable.
32225         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32226         (fmin_test_data): New variable.
32227         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32228         (fmod_test_data): New variable.
32229         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32230         (hypot_test_data): New variable.
32231         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32232         (nextafter_test_data): New variable.
32233         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32234         (nexttoward_test_data): New variable.
32235         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32236         (pow_test_data): New variable.
32237         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32238         (pow_tonearest_test_data): New variable.
32239         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32240         (pow_towardzero_test_data): New variable.
32241         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32242         (pow_downward_test_data): New variable.
32243         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32244         (pow_upward_test_data): New variable.
32245         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32246         (remainder_test_data): New variable.
32247         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32248         (scalb_test_data): New variable.
32249         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32250         * sysdeps/i386/fpu/libm-test-ulps: Update.
32252 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
32254         * math/libm-test.inc (fma_test): Use max_value instead of local
32255         variable fltmax.
32256         (nextafter_test): Likewise.
32258         * math/libm-test.inc (acos_towardzero_test_data): New variable.
32259         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32260         (acos_downward_test_data): New variable.
32261         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32262         (acos_upward_test_data): New variable.
32263         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32264         (acosh_test_data): New variable.
32265         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32266         (asin_test_data): New variable.
32267         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32268         (asin_tonearest_test_data): New variable.
32269         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32270         (asin_towardzero_test_data): New variable.
32271         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32272         (asin_downward_test_data): New variable.
32273         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32274         (asin_upward_test_data): New variable.
32275         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32276         (asinh_test_data): New variable.
32277         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32278         (atan_test_data): New variable.
32279         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32280         (atanh_test_data): New variable.
32281         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32282         (cbrt_test_data): New variable.
32283         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32284         (ceil_test_data): New variable.
32285         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32286         (cos_test_data): New variable.
32287         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32288         (cos_tonearest_test_data): New variable.
32289         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32290         (cos_towardzero_test_data): New variable.
32291         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32292         (cos_downward_test_data): New variable.
32293         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32294         (cos_upward_test_data): New variable.
32295         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32296         (cosh_test_data): New variable.
32297         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32298         (cosh_tonearest_test_data): New variable.
32299         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32300         (cosh_towardzero_test_data): New variable.
32301         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32302         (cosh_downward_test_data): New variable.
32303         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32304         (cosh_upward_test_data): New variable.
32305         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32306         (erf_test_data): New variable.
32307         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32308         (erfc_test_data): New variable.
32309         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32310         (exp_test_data): New variable.
32311         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32312         (exp_tonearest_test_data): New variable.
32313         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32314         (exp_towardzero_test_data): New variable.
32315         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32316         (exp_downward_test_data): New variable.
32317         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32318         (exp_upward_test_data): New variable.
32319         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32320         (exp10_test_data): New variable.
32321         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32322         (exp2_test_data): New variable.
32323         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32324         (expm1_test_data): New variable.
32325         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32326         (fabs_test_data): New variable.
32327         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32328         (floor_test_data): New variable.
32329         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32330         (j0_test_data): New variable.
32331         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32332         (j1_test_data): New variable.
32333         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32334         (log_test_data): New variable.
32335         (log_test): Run tests with RUN_TEST_LOOP_f_f.
32336         (log10_test_data): New variable.
32337         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32338         (log1p_test_data): New variable.
32339         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32340         (log2_test_data): New variable.
32341         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32342         (logb_test_data): New variable.
32343         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32344         (logb_downward_test_data): New variable.
32345         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32346         (nearbyint_test_data): New variable.
32347         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32348         (rint_test_data): New variable.
32349         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32350         (rint_tonearest_test_data): New variable.
32351         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32352         (rint_towardzero_test_data): New variable.
32353         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32354         (rint_downward_test_data): New variable.
32355         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32356         (rint_upward_test_data): New variable.
32357         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32358         (round_test_data): New variable.
32359         (round_test): Run tests with RUN_TEST_LOOP_f_f.
32360         (sin_test_data): New variable.
32361         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32362         (sin_tonearest_test_data): New variable.
32363         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32364         (sin_towardzero_test_data): New variable.
32365         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32366         (sin_downward_test_data): New variable.
32367         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32368         (sin_upward_test_data): New variable.
32369         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32370         (sinh_test_data): New variable.
32371         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32372         (sinh_tonearest_test_data): New variable.
32373         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32374         (sinh_towardzero_test_data): New variable.
32375         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32376         (sinh_downward_test_data): New variable.
32377         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32378         (sinh_upward_test_data): New variable.
32379         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32380         (sqrt_test_data): New variable.
32381         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32382         (tan_test_data): New variable.
32383         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32384         (tan_tonearest_test_data): New variable.
32385         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32386         (tan_towardzero_test_data): New variable.
32387         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32388         (tan_downward_test_data): New variable.
32389         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32390         (tan_upward_test_data): New variable.
32391         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32392         (tanh_test_data): New variable.
32393         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32394         (tgamma_test_data): New variable.
32395         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32396         (trunc_test_data): New variable.
32397         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32398         (y0_test_data): New variable.
32399         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32400         (y1_test_data): New variable.
32401         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32402         (significand_test_data): New variable.
32403         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32405 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
32407         [BZ #12387]
32408         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32410 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32412         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32414 2013-05-10  Andreas Jaeger  <aj@suse.de>
32416         [BZ #15448]
32417         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32418         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32420 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32422         * math/gen-libm-test.pl (adjust_arg): New function.
32423         (special_functions): Handle generating output in both functions
32424         and arrays.
32425         (parse_args): Likewise.
32426         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
32427         $in_func argument to parse_args.
32428         * math/libm-test.inc (struct test_f_f_data): New type.
32429         (IF_ROUND_INIT_): New macro.
32430         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32431         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32432         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32433         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32434         (ROUND_RESTORE_): Likewise.
32435         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32436         (ROUND_RESTORE_FE_TONEAREST): Likewise.
32437         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32438         (ROUND_RESTORE_FE_UPWARD): Likewise.
32439         (RUN_TEST_LOOP_f_f): New macro.
32440         (acos_test_data): New variable.
32441         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32442         (acos_tonearest_test_data): New variable.
32443         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32445 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32447         * benchtests/bench-skeleton.c (startup): Fix coding style.
32449 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32451         [BZ #6809]
32452         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32453         negative infinity argument.
32454         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32455         negative infinity argument.
32456         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32457         negative infinity argument.
32458         * math/libm-test.inc (tgamma_test): Expect errno to be set for
32459         domain errors.
32461 2013-05-10  Florian Weimer  <fweimer@redhat.com>
32463         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32464         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32465         * iconv/iconv_prog.c (main): Likewise.
32466         * locale/programs/charmap-dir.c (charmap_readdir)
32467         (fopen_uncompressed): Likewise.
32468         * locale/programs/locfile.c (siblings_uncached)
32469         (write_locale_data): Use lstat64 instead of lstat.
32470         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32471         stat.
32473 2013-05-10  Andreas Jaeger  <aj@suse.de>
32475         [BZ #15395]
32476         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32477         localization.
32478         Include <locale.h>.
32480 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
32482         * elf/dl-close.c (_dl_close_worker): Add comments.
32484 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
32486         [BZ #15359]
32487         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32488         high part of pi/2.
32489         (__ieee754_rem_pio2l): Update comments.
32491         [BZ #15429]
32492         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32493         high part of pi/2.
32494         (__ieee754_rem_pio2l): Update comments.
32496         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32497         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32499         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32500         M_PI_4l.
32502         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32503         (M_PI_34_LOG10El): Likewise.
32504         (M_PI2_LOG10El): Likewise.
32505         (M_PI4_LOG10El): Likewise.
32506         (M_PI_LOG10El): Likewise.
32508 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32512 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
32514         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32515         (MINUS_ZERO_INIT): Likewise.
32516         (PLUS_INFTY_INIT): Likewise.
32517         (MINUS_INFTY_INIT): Likewise.
32518         (QNAN_VALUE_INIT): Likewise.
32519         (MAX_VALUE_INIT): Likewise.
32520         (MIN_VALUE_INIT): Likewise.
32521         (MIN_SUBNORM_VALUE_INIT): Likewise.
32522         (plus_zero): Initialize with PLUS_ZERO_INIT.
32523         (minus_zero): Initialize with MINUS_ZERO_INIT.
32524         (plus_infty): Initialize with PLUS_INFTY_INIT.
32525         (minus_infty): Initialize with MINUS_INFTY_INIT.
32526         (qnan_value): Initialize with QNAN_VALUE_INIT.
32527         (max_value): Initialize with MAX_VALUE_INIT.
32528         (min_value): Initialize with MIN_VALUE_INIT.
32529         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32531         * math/libm-test.inc (RUN_TEST_if_f): New macro.
32532         (jn_test): Use TEST_if_f instead of TEST_ff_f.
32533         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32534         (yn_test): Use TEST_if_f instead of TEST_ff_f.
32536         * math/libm-test.inc (RUN_TEST_f_f): New macro.
32537         (RUN_TEST_2_f): Likewise.
32538         (RUN_TEST_ff_f): Likewise.
32539         (RUN_TEST_fi_f): Likewise.
32540         (RUN_TEST_fl_f): Likewise.
32541         (RUN_TEST_fff_f): Likewise.
32542         (RUN_TEST_c_f): Likewise.
32543         (RUN_TEST_f_f1): Likewise.
32544         (RUN_TEST_fF_f1): Likewise.
32545         (RUN_TEST_fI_f1): Likewise.
32546         (RUN_TEST_ffI_f1): Likewise.
32547         (RUN_TEST_c_c): Likewise.
32548         (RUN_TEST_cc_c): Likewise.
32549         (RUN_TEST_f_i): Likewise.
32550         (RUN_TEST_f_i_tg): Likewise.
32551         (RUN_TEST_ff_i_tg): Likewise.
32552         (RUN_TEST_f_b): Likewise.
32553         (RUN_TEST_f_b_tg): Likewise.
32554         (RUN_TEST_f_l): Likewise.
32555         (RUN_TEST_f_L): Likewise.
32556         (RUN_TEST_sincos): Likewise.
32557         * math/gen-libm-test.pl (new_test): Take new argument to indicate
32558         whether to show exceptions.  Do not include ");\n" in return
32559         value.
32560         (special_functions): Output call to RUN_TEST_sincos instead of
32561         check_float calls.  Update calls to new_test.
32562         (parse_args): Output call to single RUN_TEST_* macro instead of
32563         check_* calls and other assignments.  Update calls to new_test.
32565         [BZ #2546]
32566         [BZ #2560]
32567         [BZ #5159]
32568         [BZ #15426]
32569         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32570         input to result for tgamma overflow.
32571         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32572         (gamma_coeff): New variable.
32573         (NCOEFF): New macro.
32574         (gamma_positive): New function.
32575         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32576         underflow here.  Use gamma_positive instead of exp (lgamma) for
32577         other arguments.
32578         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32579         (gamma_coeff): New variable.
32580         (NCOEFF): New macro.
32581         (gammaf_positive): New function.
32582         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32583         underflow here.  Use gamma_positive instead of exp (lgamma) for
32584         other arguments.
32585         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32586         (gamma_coeff): New variable.
32587         (NCOEFF): New macro.
32588         (gammal_positive): New function.
32589         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32590         underflow here.  Use gamma_positive instead of exp (lgamma) for
32591         other arguments.
32592         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32593         (gamma_coeff): New variable.
32594         (NCOEFF): New macro.
32595         (gammal_positive): New function.
32596         (__ieee754_gammal_r): Handle positive infinity, overflow and
32597         underflow here.  Handle NaN the same as positive infinity.  Remove
32598         check x < 0xffffffff for negative integers.  Use gamma_positive
32599         instead of exp (lgamma) for other arguments.
32600         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32601         (gamma_coeff): New variable.
32602         (NCOEFF): New macro.
32603         (gammal_positive): New function.
32604         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32605         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32606         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32607         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32608         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32609         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32610         * sysdeps/generic/math_private.h (__gamma_productf): New
32611         prototype.
32612         (__gamma_product): Likewise.
32613         (__gamma_productl): Likewise.
32614         * math/Makefile (libm-calls): Add gamma_product.
32615         * math/libm-test.inc (tgamma_test): Add more tests.
32616         * sysdeps/i386/fpu/libm-test-ulps: Update.
32617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32619 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
32621         * benchtests/bench-skeleton.c (main): Preheat CPU.
32623 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
32625         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32627 2013-05-07  Roland McGrath  <roland@hack.frob.com>
32629         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32630         and _dl_skip_args_internal.
32632 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
32634         * manual/message.texi (Message Translation): Talk about users.
32635         Message to key mapping impacts design.
32637 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32639         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32641         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32643         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32644         * sysdeps/wordsize-64/glob64.c: ... here.
32646         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32647         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32648         New macros.
32650         * debug/getlogin_r_chk.c: Moved to ...
32651         * login/getlogin_r_chk.c: ... here.
32652         * debug/Makefile (routines): Move getlogin_r_chk to ...
32653         * login/Makefile (routines): ... here.
32654         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32655         * login/Versions (libc: GLIBC_2.4): ... here.
32657         * io/poll.c (__poll): Renamed from poll.
32658         Add libc_hidden_def.
32659         (poll): Define as weak alias.
32661         * debug/ptsname_r_chk.c: Moved to ...
32662         * login/ptsname_r_chk.c: ... here.
32663         * debug/Makefile (routines): Move ptsname_r_chk to ...
32664         * login/Makefile (routines): ... here.
32665         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32666         * login/Versions (libc: GLIBC_2.4): ... here.
32668         * posix/getlogin.c: Moved to ...
32669         * login/getlogin.c: ... here.
32670         * posix/getlogin_r.c: Moved to ...
32671         * login/getlogin_r.c: ... here.
32672         * posix/getlogin_r.c: Moved to ...
32673         * login/getlogin_r.c: ... here.
32674         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32675         * login/Makefile (routines): ... here.
32676         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32677         * login/Versions (libc: GLIBC_2.0): ... here.
32679         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32680         (setrlimit): Define as weak alias.
32682         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32683         Call __ names for open, ftruncate, and close.
32684         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32685         (truncate): Define as weak alias.
32687 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
32689         * math/gen-libm-test.pl (parse_args): Initialize x before each
32690         test of frexp, modf and remquo.
32692         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32693         test signgam value.
32695 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32697         [BZ #15418]
32698         [BZ #15419]
32699         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32700         internal tests.
32701         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32703 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32705         * elf/dl-writev.h: New file.
32706         * elf/dl-misc.c: Include it.
32707         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32708         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32710 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
32712         * math/libm-test.inc (noXFails): Remove variable.
32713         (noXPasses): Likewise.
32714         (BUILD_COMPLEX_INT): Remove macro.
32715         (print_screen): Remove xfail argument.
32716         (print_screen_max_error): Likewise.
32717         (update_stats): Likewise.
32718         (print_max_error): Likewise.  Update calls to other affected
32719         functions.
32720         (print_complex_max_error): Likewise.
32721         (test_single_exception): Update calls to print_screen.
32722         (test_single_errno): Likewise.
32723         (check_float_internal): Remove xfail argument.  Update calls to
32724         other affected functions.
32725         (check_float): Likewise.
32726         (check_complex): Likewise.
32727         (check_int): Likewise.
32728         (check_long): Likewise.
32729         (check_bool): Likewise.
32730         (check_longlong): Likewise.
32731         (main): Don't print noXFails and noXPasses.
32732         * math/gen-libm-test.pl (top level): Don't mention expected
32733         failure handling in comment.
32734         (new_test): Don't handle expected failures.
32735         (parse_args): Don't mention expected failure handling in comment.
32736         (generate_testfile): Don't handle expected failures.
32737         (parse_ulps): Likewise.
32738         (print_ulps_file): Likewise.
32739         (get_failure): Remove function.
32740         (output_test): Don't handle expected failures.
32741         * make/README.libm-test: Don't mention expected failure handling.
32743         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
32744         (minus_zero): Likewise.
32745         (plus_infty): Likewise.
32746         (minus_infty): Likewise.
32747         (qnan_value): Likewise.
32748         (max_value): Likewise.
32749         (min_value): Likewise.
32750         (min_subnorm_value): Likewise.
32751         (initialize): Do not initialize those variables dynamically.
32753 2013-05-03  Roland McGrath  <roland@hack.frob.com>
32755         * io/open.c (__open_2): Moved to ...
32756         * io/open_2.c: ... this new file.
32757         * io/open64.c (__open64_2): Moved to ...
32758         * io/open64_2.c: ... this new file.
32759         * io/openat.c (__openat_2): Moved to ...
32760         * io/openat_2.c: ... this new file.
32761         * io/openat64.c (__openat64_2): Moved to ...
32762         * io/openat64_2.c: ... this new file.
32763         * io/Makefile (routines): Add them.
32764         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32765         * sysdeps/unix/sysv/linux/open_2.c: File removed.
32766         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32767         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32768         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32769         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32770         (__openat64): Add hidden_ver.
32771         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32772         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32774         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32775         Separately conditionalize setting of GLRO(dl_sysinfo) so
32776         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32777         as well, but the actual setting is only under [NEED_DL_SYSINFO].
32779 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32781         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32782         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32783         definition.
32784         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32785         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32786         (_libc_vdso_platform_setup): Add __vdso_time initialization.
32787         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32788         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32790 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
32792         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32793         test signgam value.
32795         * math/libm-test.inc (hypot_test): Do not use
32796         IGNORE_ZERO_INF_SIGN.
32798 2013-05-03  Andreas Jaeger  <aj@suse.de>
32800         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32801         Linux 3.9.
32802         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32803         (PF_MAX): Adjust for VSOCK change.
32805 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32809 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
32811         [BZ #15264]
32812         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32813         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32814         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32816 2013-05-02  David S. Miller  <davem@davemloft.net>
32818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32820 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
32822         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32824 2013-05-01  Roland McGrath  <roland@hack.frob.com>
32826         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32828 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
32830         [BZ #14952]
32831         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32832         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32833         Use __attribute__ ((__gnu_inline__)).
32834         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32835         Don't use __attribute__ ((__gnu_inline__)).
32837 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
32839         [BZ #15423]
32840         * math/s_catan.c (__catan): Handle small real or imaginary part of
32841         input specially to avoid spurious underflow.
32842         * math/s_catanf.c (__catanf): Likewise.
32843         * math/s_catanh.c (__catanh): Likewise.
32844         * math/s_catanhf.c (__catanhf): Likewise.
32845         * math/s_catanhl.c (__catanhl): Likewise.
32846         * math/s_catanl.c (__catanl): Likewise.
32847         * math/libm-test.inc (catan_test): Add more tests.
32848         (catanh_test): Likewise.
32849         * sysdeps/i386/fpu/libm-test-ulps: Update.
32850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32852 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32856 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
32858         [BZ #15416]
32859         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32860         accurately for denominator in atan2.
32861         * math/s_catanf.c (__catanf): Likewise.
32862         * math/s_catanh.c (__catanh): Likewise.
32863         * math/s_catanhf.c (__catanhf): Likewise.
32864         * math/s_catanhl.c (__catanhl): Likewise.
32865         * math/s_catanl.c (__catanl): Likewise.
32866         * math/libm-test.inc (catan_test): Add more tests.
32867         (catanh_test): Likewise.
32868         * sysdeps/i386/fpu/libm-test-ulps: Update.
32869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32871 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32873         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32875         * benchtests/Makefile (bench): Remove slow benchmarks.
32876         * benchtests/atan-inputs: Add slow benchmark inputs.
32877         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32878         (BENCH_FUNC): Accept variant offset.
32879         (VARIANT): Define.
32880         * benchtests/bench-skeleton.c (main): Run benchmark for each
32881         variant.
32882         * benchtests/cos-inputs: Add slow benchmark inputs.
32883         * benchtests/exp-inputs: Likewise.
32884         * benchtests/pow-inputs: Likewise.
32885         * benchtests/sin-inputs: Likewise.
32886         * benchtests/slowatan-inputs: Remove.
32887         * benchtests/slowatan.c: Remove.
32888         * benchtests/slowcos-inputs: Remove.
32889         * benchtests/slowcos.c: Remove.
32890         * benchtests/slowexp-inputs: Remove.
32891         * benchtests/slowexp.c: Remove.
32892         * benchtests/slowpow-inputs: Remove.
32893         * benchtests/slowpow.c: Remove.
32894         * benchtests/slowsin-inputs: Remove.
32895         * benchtests/slowsin.c: Remove.
32896         * benchtests/slowtan-inputs: Remove.
32897         * benchtests/slowtan.c: Remove.
32898         * benchtests/tan-inputs: Add slow benchmark inputs.
32899         * scripts/bench.pl: Parse comments and directives.
32901         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
32902         in CPPFLAGS.
32903         ($(objpfx)bench-%.c): Remove *-ITER.
32904         * benchtests/bench-modf.c: Remove definition of ITER.
32905         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32906         (main): Loop for DURATION seconds instead of fixed number of
32907         iterations.
32908         * scripts/bench.pl: Don't expect iterations in parameters.
32910 2013-04-29  Roland McGrath  <roland@hack.frob.com>
32912         * io/fchdir.c (__fchdir): Renamed from fchdir.
32913         (fchdir): Define as weak alias.
32915 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32917         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32918         (ERRNO_EDOM): Likewise.
32919         (ERRNO_ERANGE): Likewise.
32920         (noErrnoTests): New variable.
32921         (init_max_error): Set errno to 0.
32922         (test_single_errno): New function.
32923         (test_errno): Likewise.
32924         (check_float_internal): Call test_errno.  Set errno to 0.
32925         (check_complex): Refer to errno tests in comment.
32926         (check_int): Call test_errno.  Set errno to 0.
32927         (check_long): Likewise.
32928         (check_bool): Likewise.
32929         (check_longlong): Likewise.
32930         (cos_test): Use ERRNO_* flags for errno tests instead of
32931         check_int.
32932         (expm1_test): Likewise.
32933         (fmod_test): Likewise.
32934         (ilogb_test): Likewise.
32935         (lgamma_test): Likewise.
32936         (pow_test): Likewise.
32937         (remainder_test): Likewise.
32938         (sin_test): Likewise.
32939         (tan_test): Likewise.
32940         (yn_test): Likewise.
32941         (initialize): Set errno to 0.
32942         (main): Print number of errno tests.
32943         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32945 2013-04-29  Andreas Jaeger  <aj@suse.de>
32947         [BZ #15084]
32948         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32949         and RES_USEVC.
32951         [BZ #15085]
32952         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32953         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32954         unimplemented.
32956         [BZ #15380]
32957         * stdlib/random.c (__initstate): Return NULL if
32958         __initstate fails.
32960         [BZ #15086]
32961         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32962         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32963         RES_SNGLKUPREOP.
32965 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32969 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32971         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32972         of individual tests.
32973         (casin_test): Likewise.
32974         (casinh_test): Likewise.
32976 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
32978         [BZ #15409]
32979         * math/s_catan.c (__catan): Handle arguments with large real or
32980         imaginary part separately without squaring.
32981         * math/s_catanf.c (__catanf): Likewise.
32982         * math/s_catanh.c (__catanh): Likewise.
32983         * math/s_catanhf.c (__catanhf): Likewise.
32984         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32985         and redefine.
32986         (__catanhl): Handle arguments with large real or imaginary part
32987         separately without squaring.
32988         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32989         and redefine.
32990         (__catanl): Handle arguments with large real or imaginary part
32991         separately without squaring.
32992         * math/libm-test.inc (catan_test): Add more tests.
32993         (catanh_test): Likewise.
32994         * sysdeps/i386/fpu/libm-test-ulps: Update.
32995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32997 2013-04-27  Andreas Jaeger  <aj@suse.de>
32999         [BZ #15007]
33000         * stdlib/stdlib.h: Update guards for qecvt.
33001         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33002         <stdlib.h>.
33004 2013-04-27  Allan McRae  <allan@archlinux.org>
33006         * sysdeps/i386/fpu/libm-test-ulps: Update.
33008 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
33010         [BZ #15406]
33011         * math/s_catan.c: Include <float.h>.
33012         (__catan): Ensure underflow exception occurs for underflowed
33013         result.
33014         * math/s_catanf.c: Include <float.h>.
33015         (__catanf): Ensure underflow exception occurs for underflowed
33016         result.
33017         * math/s_catanh.c: Include <float.h>.
33018         (__catanh): Ensure underflow exception occurs for underflowed
33019         result.
33020         * math/s_catanhf.c: Include <float.h>.
33021         (__catanhf): Ensure underflow exception occurs for underflowed
33022         result.
33023         * math/s_catanhl.c: Include <float.h>.
33024         (__catanhl): Ensure underflow exception occurs for underflowed
33025         result.
33026         * math/s_catanl.c: Include <float.h>.
33027         (__catanl): Ensure underflow exception occurs for underflowed
33028         result.
33029         * math/libm-test.inc (catan_test): Add more tests.
33030         (catanh_test): Likewise.
33032         [BZ #15405]
33033         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33034         underflowed result.
33035         * math/s_ccoshf.c (__ccoshf): Likewise.
33036         * math/s_ccoshl.c (__ccoshl): Likewise.
33037         * math/s_csin.c (__csin): Likewise.
33038         * math/s_csinf.c (__csinf): Likewise.
33039         * math/s_csinh.c (__csinh): Likewise.
33040         * math/s_csinhf.c (__csinhf): Likewise.
33041         * math/s_csinhl.c (__csinhl): Likewise.
33042         * math/s_csinl.c (__csinl): Likewise.
33043         * math/libm-test.inc (ccos_test): Add more tests.
33044         (ccosh_test): Likewise.
33045         (csin_test): Likewise.
33046         (csinh_test): Likewise.
33048 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33050         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33051         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33052         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33053         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33054         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33055         powerpc/power5+/fpu folders.
33056         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33059 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33061         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33063 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
33065         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33066         additions to variable.
33067         [$(config-machine) = x86_64] (modules-names): Likewise.
33068         ($(objpfx)tst-audit3): Remove dependency.
33069         ($(objpfx)tst-audit3.out): Likewise.
33070         ($(objpfx)tst-audit4): Likewise.
33071         ($(objpfx)tst-audit4.out): Likewise.
33072         ($(objpfx)tst-audit5): Likewise.
33073         ($(objpfx)tst-audit5.out): Likewise.
33074         ($(objpfx)tst-audit6): Likewise.
33075         ($(objpfx)tst-audit6.out): Likewise.
33076         ($(objpfx)tst-audit7): Likewise.
33077         ($(objpfx)tst-audit7.out): Likewise.
33078         (tst-audit3-ENV): Remove variable.
33079         (tst-audit4-ENV): Likewise.
33080         (tst-audit5-ENV): Likewise.
33081         (tst-audit6-ENV): Likewise.
33082         (tst-audit7-ENV): Likewise.
33083         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33084         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33085         addition to variable.
33086         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33087         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33088         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33089         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33090         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33091         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33092         tst-audit3, tst-audit4 and tst-audit5.
33093         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33094         tst-audit6 and tst-audit7.
33095         [$(subdir) = elf] (modules-names): Add audit modules for those
33096         tests.
33097         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33098         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33099         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33100         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33101         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33102         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33103         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33104         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33105         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33106         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33107         [$(subdir) = elf] (tst-audit3-ENV): New variable.
33108         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33109         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33110         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33111         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33112         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33113         Likewise.
33114         [$(subdir) = elf && $(config-cflags-avx) = yes]
33115         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33116         [$(subdir) = elf && $(config-cflags-avx) = yes]
33117         (CFLAGS-tst-auditmod4a.c): Likewise.
33118         [$(subdir) = elf && $(config-cflags-avx) = yes]
33119         (CFLAGS-tst-auditmod4b.c): Likewise.
33120         [$(subdir) = elf && $(config-cflags-avx) = yes]
33121         (CFLAGS-tst-auditmod6b.c): Likewise.
33122         [$(subdir) = elf && $(config-cflags-avx) = yes]
33123         (CFLAGS-tst-auditmod6c.c): Likewise.
33124         [$(subdir) = elf && $(config-cflags-avx) = yes]
33125         (CFLAGS-tst-auditmod7b.c): Likewise.
33126         * elf/tst-audit3.c: Move to ...
33127         * sysdeps/x86_64/tst-audit3.c: ... here.
33128         * elf/tst-audit4.c: Move to ...
33129         * sysdeps/x86_64/tst-audit4.c: ... here.
33130         * elf/tst-audit5.c: Move to ...
33131         * sysdeps/x86_64/tst-audit5.c: ... here.
33132         * elf/tst-audit6.c: Move to ...
33133         * sysdeps/x86_64/tst-audit6.c: ... here.
33134         * elf/tst-audit7.c: Move to ...
33135         * sysdeps/x86_64/tst-audit7.c: ... here.
33136         * elf/tst-auditmod3a.c: Move to ...
33137         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33138         * elf/tst-auditmod3b.c: Move to ...
33139         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33140         * elf/tst-auditmod4a.c: Move to ...
33141         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33142         * elf/tst-auditmod4b.c: Move to ...
33143         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33144         * elf/tst-auditmod5a.c: Move to ...
33145         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33146         * elf/tst-auditmod5b.c: Move to ...
33147         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33148         * elf/tst-auditmod6a.c: Move to ...
33149         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33150         * elf/tst-auditmod6b.c: Move to ...
33151         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33152         * elf/tst-auditmod6c.c: Move to ...
33153         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33154         * elf/tst-auditmod7a.c: Move to ...
33155         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33156         * elf/tst-auditmod7b.c: Move to ...
33157         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33159 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
33161         [BZ #15366]
33162         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33163         define unconditionally.
33164         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33165         define unconditionally.
33166         (INT8_C, INT16_C, etc.): Likewise.
33168 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
33170         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33171         __ehdr_start with hidden visibility.
33173         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33175 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
33177         * math/libm-test.inc (cos_test): Use accurate hex constants.
33178         (sincost_test): Likewise.
33180 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
33182         * math/libm-test.inc (catan_test): Add more tests.
33183         (catanh_test): Likewise.
33185         * math/s_catanf.c (__catanf): Use suffixed floating-point
33186         constants.
33187         * math/s_catanhf.c (__catanhf): Likewise.
33188         * math/s_catanhl.c (__catanhl): Likewise.
33189         * math/s_catanl.c (__catanl): Likewise.
33191         [BZ #15394]
33192         * math/s_catan.c (__catan): Calculate imaginary part of result
33193         with log1p not log unless computing log of number close to 0.
33194         * math/s_catanf.c (__catanf): Likewise.
33195         * math/s_catanl.c (__catanl): Likewise.
33196         * math/s_catanh.c (__catanh): Calculate real part of result with
33197         log1p not log unless computing log of number close to 0.
33198         * math/s_catanhf.c (__catanhf): Likewise.
33199         * math/s_catanhl.c (__catanhl): Likewise.
33200         * math/libm-test.inc (catan_test): Add more tests.
33201         (catanh_test): Likewise.
33202         * sysdeps/i386/fpu/libm-test-ulps: Update.
33203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33205 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33207         * benchtests/Makefile: Mention files in which fast and slow
33208         paths of math functions are implemented.
33210 2013-04-23  Roland McGrath  <roland@hack.frob.com>
33212         * sysdeps/posix/timespec_get.c: New file.
33214 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33216         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33217         POWER.
33218         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33219         for POWER.
33220         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33221         powerpc/power5/fpu folders.
33222         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33223         * benchtests/Makefile: Add modf testcase.
33224         * benchtests/bench-modf.c: New file: Benchmark test for mo
33226 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33228         [BZ #14888]
33229         * time/Makefile (tests): Add tst-strptime-whitespace.
33230         * time/strptime_l.c (get_number): Use ISSPACE.
33231         (__strptime_internal): Likewise.
33232         * time/tst-strptime-whitespace.c: New test case.
33234 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
33236         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33237         member.
33238         (_nss_files_init): Set it here.
33240 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
33242         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33243         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33244         unsigned.
33246 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
33248         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33250 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33252         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33253         size just once.
33255 2013-04-21  David S. Miller  <davem@davemloft.net>
33257         * po/ru.po: Update Russion translation from translation project.
33259 2013-04-17  Adam Conrad  <adconrad@0c3.net>
33261         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33262         and setfsgid.
33264 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
33266         * configure.in: Remove i386 configure warning. Remove i386 case.
33267         * configure: Regenerate.
33268         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33269         Add example to error message.
33270         * sysdeps/i386/configure: Regenerate.
33272 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33274         * benchtests/Makefile (bench): Add cos, tan, slowcos and
33275         slowtan.
33276         * benchtests/cos-inputs: New file.
33277         * benchtests/slowcos-inputs: New file.
33278         * benchtests/slowcos.c: New file.
33279         * benchtests/slowtan-inputs: New file.
33280         * benchtests/slowtan.c: New file.
33281         * benchtests/tan-inputs: New file.
33283 2013-04-16  Roland McGrath  <roland@hack.frob.com>
33285         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33286         considered kosher.
33288 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33290         * benchtests/Makefile: Include cppflags-iterator.mk to add
33291         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33293         * Makefile.in (bench-clean): New target.
33294         * benchtests/Makefile (bench-clean): Likewise.
33296 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
33298         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33300 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
33302         * stdio-common/tstdiomisc.c: Fix coding-style violation.
33304 2013-04-15  Andreas Schwab  <schwab@suse.de>
33306         * nscd/grpcache.c (cache_addgr): Properly check for short write.
33307         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33308         * nscd/pwdcache.c (cache_addpw): Likewise.
33309         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
33310         more than recsize.
33312 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33314         * benchtests/Makefile (bench): Write all output to
33315         bench-out.tmp together.
33317 2013-04-15  Andreas Schwab  <schwab@suse.de>
33319         * nscd/nscd.c (main): Don't fork again after closing files.
33321 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33323         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33325         * benchtests/Rules (bench-deps): Collect dependencies into a
33326         single variable.  Add Makefile to dependencies.
33327         ($(objpfx)bench-%.c): Depend on bench-deps.
33329 2013-04-12  Roland McGrath  <roland@hack.frob.com>
33330             Xavier Roche  <roche+kml2@exalead.com>
33332         [BZ #15361]
33333         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33334         just that it's a file descriptor.
33335         * manual/llio.texi (Synchronizing AIO Operations): Update description
33336         for EBADF error from aio_fsync.
33338 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33340         * Rules (bench): Move target definition...
33341         * benchtests/Makefile: ... here.
33343 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
33345         * math/libm-test.inc (cos_test): Fix PI/2 test.
33346         (sincos_test): Likewise.
33347         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33348         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33350 2013-04-11  Andreas Schwab  <schwab@suse.de>
33352         [BZ #13988]
33353         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33354         accept exponent character only when digits were seen.
33355         * stdio-common/Makefile (tests): Add bug26.
33356         * stdio-common/bug26.c: New file.
33358         [BZ #14293]
33359         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33360         non-freeable.
33362 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33364         * Makeconfig (rtld-prefix): Define built linker prefix.
33365         * Rules (run-bench): Use it.
33366         * math/Makefile (run-regen-ulps): Likewise.
33368         * Rules (bench): Remove eval.
33370 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33371             Roland McGrath  <roland@hack.frob.com>
33372             Ondrej Bilka  <neleai@seznam.cz>
33374         [BZ #15346]
33375         * time/getdate.c: Include ctype.h and alloca.h.
33376         (__getdate_r): Trim leading and trailing spaces of input.
33377         * time/tst-getdate.c (tests): Add tests with leading and
33378         trailing spaces.
33380 2013-04-08  Roland McGrath  <roland@hack.frob.com>
33382         [BZ #14280]
33383         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33384         when computing value.
33386 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33388         * math/README.libm-test (How can I generate "libm-test-ulps"?):
33389         Use testrun.sh to run libm tests.
33391         [BZ #15309]
33392         * elf/dl-open.c (dl_open_worker): memset all of seen array.
33394 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
33396         [BZ #15264]
33397         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33399 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33401         * Makefile.in (regen-ulps): New target.
33402         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33403         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33404         [ifneq (no,$(PERL)] (regen-ulps): New target.
33405         [ifeq (no,$(PERL)] (regen-ulps): New target.
33406         * math/libm-test.inc (ulps_file_name): Define.
33407         (output_dir): New variable.
33408         (options): Add "output-dir" option.
33409         (parse_opt): Handle 'o' case.
33410         (main): If output_dir is non-NULL use it as a prefix
33411         otherwise use "".
33412         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33414 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33416         [BZ #10060, #10062]
33417         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33418         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33419         fail configure if __sync_val_compare_and_swap is not inlined.
33420         * sysdeps/i386/configure: Regenerate.
33421         * configure.in: Build for i686 when configured for i386.
33422         * configure: Regenerate.
33423         * README: Remove i386 reference.
33425 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33427         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33428         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33430 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33432         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33433         (lmsnanval): New variables.
33434         (F): Add conversion tests.
33435         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33436         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33438         * stdio-common/tstdiomisc.c (F): Properly collect individual
33439         tests' results.
33441         [BZ #14686, #15336]
33442         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33443         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33444         Instead, use input NaN values or generate a qNaN by arithmetic
33445         operation.  Also fix bugs to comply with the standard.
33446         * math/libm-test.inc (remainder_test): Add more tests.
33448         [BZ #15335, #15342]
33449         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33450         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33451         input NaN values or generate a qNaN by arithmetic operation.
33453         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33454         unreachable code.
33456         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33457         definitions.
33459 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
33461         [BZ #14478]
33462         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33463         underflowed result.
33464         * math/s_cexpf.c (__cexpf): Likewise.
33465         * math/s_cexpl.c (__cexpl): Likewise.
33466         * math/libm-test.inc (cexp_test): Add more tests.
33468 2013-04-03  Andreas Schwab  <schwab@suse.de>
33470         [BZ #15330]
33471         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33472         order arrays from heap if bigger than alloca cutoff.
33474 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
33476         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33477         (SNAN_TESTS_double): Refer to GCC PR56831.
33478         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33479         GCC PR56828.
33481 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33483         * Rules (bench): Move bench.out after the run is complete.
33485         * Rules (bench): Echo currently running benchmark.
33487         * benchtests/Makefile (bench): Add atan and slowatan.
33488         * benchtests/atan-inputs: New file.
33489         * benchtests/slowatan-inputs: New file.
33490         * benchtests/slowatan.c: New file.
33492         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33493         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33494         its value.
33496         [BZ #15305]
33497         * sysdeps/unix/sysv/linux/kernel-features.h
33498         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33499         __ASSUME_XFS_RESTRICTED_CHOWN.
33500         * sysdeps/unix/sysv/linux/pathconf.c
33501         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33502         Save and restore errno.
33504 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
33506         [BZ #15327]
33507         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33508         arguments using __kernel_casinh.
33509         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33510         arguments using __kernel_casinhf.
33511         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33512         arguments using __kernel_casinhl.
33513         * math/libm-test.inc (cacosh_test): Add more tests.
33514         * sysdeps/i386/fpu/libm-test-ulps: Update.
33515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33517 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33519         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33520         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33522         * bench/Makefile (bench): Add sin and slowsin.
33523         * benchtests/sin-inputs: New file.
33524         * benchtests/slowsin-inputs: New file.
33525         * benchtests/slowsin.c: New file.
33527         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33528         (bench): Add slowexp and slowpow.
33529         (exp-ITER): Increase iterations.
33530         (pow-ITER): Likewise.
33531         * benchtests/exp-inputs: Change input.
33532         * benchtests/pow-inputs: Likewise.
33533         * benchtests/slowexp-inputs: New file.
33534         * benchtests/slowexp.c: New file.
33535         * benchtests/slowpow-inputs: New file.
33536         * benchtests/slowpow.c: New file.
33538 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33540         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33541         instructions.
33542         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33543         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33544         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33545         * benchtests/Makefile: Add rint benchtest.
33546         * benchtests/rint-inputs: Input for rint benchtest.
33548 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33550         * Versions.def (libm): Add GLIBC_2.18.
33551         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33552         hidden libm prototypes.
33553         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33554         * math/Makefile (libm-calls): Add s_issignaling.
33555         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33556         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
33557         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33558         declaration.
33559         * math/math.h [__USE_GNU] (issignaling): New macro.
33560         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33561         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33562         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33563         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33564         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33565         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33566         * manual/arith.texi (issignaling): New section.
33567         * manual/libm-err-tab.pl (@all_functions): Update comment.
33568         * math/gen-libm-test.pl (parse_args): Apply special handling for
33569         issignaling.
33570         * math/libm-test.inc (print_float, issignaling_test): New
33571         functions.
33572         (check_float_internal): Add issignaling checks.
33573         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33574         default definition.
33575         * sysdeps/powerpc/math-tests.h: New file.
33576         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33577         tests.
33578         * math/test-snan.c (TEST_FUNC): Likewise.
33580 2013-03-30  David S. Miller  <davem@davemloft.net>
33582         * po/de.po: Update from translation team.
33584 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
33586         [BZ #10357]
33587         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33588         imaginary part less than 1.0 and real part less than 0.5
33589         specially.
33590         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33591         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33592         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33593         (cacos_test): Add more tests.
33594         (casin_test): Likewise.
33595         (casinh_test): Likewise.
33596         * sysdeps/i386/fpu/libm-test-ulps: Update.
33597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33599 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33601         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33602         ONE with its value.
33604         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33605         (__pow_mp): Replace ONE and MONE with their values.
33606         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33607         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33608         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33609         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33610         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33611         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33613         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33615         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33616         (__pow_mp): Replace ZERO and MZERO with their values.
33617         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33618         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33619         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33620         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33621         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33622         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33623         (__sqr): Likewise.
33625         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33627         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33629 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33631         * include/stdlib.h [!SHARED] (__call_tls_dtors):
33632         Declare with __attribute__ ((weak)).
33633         * stdlib/exit.c (__libc_atexit) [!SHARED]:
33634         Call __call_tls_dtors only if it's not NULL.
33636 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33638         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33639         didn't do it already, then set _dl_phdr and _dl_phnum based on the
33640         magic __ehdr_start linker symbol if it's defined.
33641         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33642         them up here if it was already done.
33644         * elf/dl-support.c (_dl_phdr): Make pointer to const.
33645         (_dl_aux_init): Use const in cast when setting it.
33646         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33647         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33648         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33650         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33651         Declare them here.
33652         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33653         * csu/libc-tls.c: Nor here.
33654         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33656         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33657         (__libc_message): Never call vsyslog.
33659 2013-03-28  Alan Modra  <amodra@gmail.com>
33661         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33662         Define as empty.
33663         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33664         Likewise.
33666 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33668         [BZ #15214]
33669         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33670         underflow.
33671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33673 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33675         [BZ #15304]
33676         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33677         Don't add gid passed as argument.
33679         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33681 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
33683         [BZ #15307]
33684         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33685         imaginary part between 1.0 and 1.5 and real part less than 0.5
33686         specially.
33687         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33688         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33689         * math/libm-test.inc (cacos_test): Add more tests.
33690         (casin_test): Likewise.
33691         (casinh_test): Likewise.
33692         * sysdeps/i386/fpu/libm-test-ulps: Update.
33693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33695 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33697         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33698         constants.
33699         (norm): Likewise.
33700         (denorm): Likewise.
33701         (__dbl_mp): Likewise.
33702         (add_magnitudes): Likewise.
33703         (sub_magnitudes): Likewise.
33704         (__add): Likewise.
33705         (__sub): Likewise.
33706         (__mul): Likewise.
33707         (__sqr): Likewise.
33708         (__inv): Likewise.
33709         (__dvd): Likewise.
33711         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33712         commented code.
33713         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33714         (__dubcos): Likewise.
33715         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33716         (__ieee754_acos): Likewise.
33717         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33718         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33719         (__exp1): Likewise.
33720         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33721         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33722         (log1): Likewise.
33723         (my_log2): Likewise.
33724         (checkint): Likewise.
33725         * sysdeps/ieee754/dbl-64/e_remainder.c
33726         (__ieee754_remainder): Likewise.
33727         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33728         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33729         (bsloww): Likewise.
33730         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33732         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33733         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33734         MANTISSA_STORE_T to store computations on mantissa.  Use
33735         macros for rounding and division.
33736         (denorm): Likewise.
33737         (__dbl_mp): Likewise.
33738         (add_magnitudes): Likewise.
33739         (sub_magnitudes): Likewise.
33740         (__mul): Likewise.
33741         (__sqr): Likewise.
33742         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33743         powers of two in terms of TWOPOW macro.
33744         (mp_no): Make type of mantissa as MANTISSA_T.
33745         [!RADIXI]: Define RADIXI.
33746         [!TWO52]: Define TWO52.
33747         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33749 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33751         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33752         llroundl symbol when building for PPC32.
33754 2013-03-24  Mark H Weaver  <mhw@netris.org>
33756         * manual/arith.texi (Normalization Functions): Fix prototypes for
33757         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33759 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33761         [BZ #13889]
33762         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33763         high value to check if expl overflow.
33764         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33765         to check for underflow and overflow.
33766         * math/libm-test.inc: Add exp test.
33768 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
33770         [BZ #11120]
33771         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33772         with NOT_IN_libc.
33774 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33776         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33777         symbol.
33779 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33781         * math/gen-libm-test.pl (parse_args, special_functions): Properly
33782         wrap blocks consisting of several statements.
33784         * sysdeps/generic/math-tests.h: New file.
33785         * sysdeps/i386/fpu/math-tests.h: Likewise.
33786         * math/test-snan.c: Include it.
33787         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33789 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33791         [BZ #15285]
33792         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33793         (__ieee754_j0l): Do not improve calculations using cos of twice
33794         input for inputs above LDBL_MAX / 2.0L.
33795         (__ieee754_y0l): Likewise.
33796         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33797         (__ieee754_j1l): Do not improve calculations using cos of twice
33798         input for inputs above LDBL_MAX / 2.0L.
33799         (__ieee754_y1l): Likewise.
33800         * math/libm-test.inc (j0_test): Add another test.
33801         (j1_test): Likewise.
33802         (y0_test): Likewise.
33803         (y1_test): Likewise.
33804         * sysdeps/i386/fpu/libm-test-ulps: Update.
33806 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33808         * Rules ($(objpfx)bench-%.c): Include code from a C source
33809         file.
33811 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33813         [BZ #15287]
33814         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33815         imaginary part 1.0 and real part less than 0.5 specially.
33816         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33817         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33818         * math/libm-test.inc (cacos_test): Add more tests.
33819         (casin_test): Likewise.
33820         (casinh_test): Likewise.
33821         * sysdeps/i386/fpu/libm-test-ulps: Update.
33822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33824 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33826         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33827         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33829 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
33831         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33832         * config.make.in (config-cflags-sse4): Remove variable.
33833         (config-cflags-avx): Likewise.
33834         (config-cflags-sse2avx): Likewise.
33835         (config-cflags-novzeroupper): Likewise.
33836         (config-asflags-i686): Likewise.
33837         (have-mfma4): Likewise.
33838         (have-as-vis3): Likewise.
33839         (MIG): Likewise.
33840         * configure.in (MIG): Do not AC_SUBST.
33841         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33842         (libc_cv_cc_sse4): Do not AC_SUBST.
33843         (libc_cv_cc_avx): Likewise.
33844         (libc_cv_cc_sse2avx): Likewise.
33845         (libc_cv_cc_novzeroupper): Likewise.
33846         (libc_cv_cc_fma4): Likewise.
33847         (libc_cv_as_i686): Likewise.
33848         (libc_cv_sparc_as_vis3): Likewise.
33849         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33850         LIBC_CONFIG_VAR.
33851         (config-asflags-i686): Likewise.
33852         (config-cflags-avx): Likewise.
33853         (config-cflags-sse2avx): Likewise.
33854         (have-mfma4): Likewise.
33855         (config-cflags-novzeroupper): Likewise.
33856         * sysdeps/mach/configure.in (MIG): Likewise.
33857         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33858         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33859         LIBC_CONFIG_VAR.
33860         (config-cflags-avx): Likewise.
33861         (config-cflags-sse2avx): Likewise.
33862         (have-mfma4): Likewise.
33863         (config-cflags-novzeroupper): Likewise.
33864         * configure: Regenerated.
33865         * sysdeps/i386/configure: Likewise.
33866         * sysdeps/mach/configure: Likewise.
33867         * sysdeps/sparc/configure: Likewise.
33868         * sysdeps/x86_64/configure: Likewise.
33870 2013-03-20  Roland McGrath  <roland@hack.frob.com>
33872         [BZ #14812]
33873         * locale/programs/localedef.c (options): Put N_ translation marker
33874         on argument names, not just descriptions.
33876 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33878         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33880 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
33882         [BZ #14176]
33883         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33885 2013-03-19  Roland McGrath  <roland@hack.frob.com>
33887         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33888         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33889         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33890         [!BEFORE_ABORT] (before_abort): New function.
33891         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33892         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33893         (writev_for_fatal): New function.
33894         (WRITEV_FOR_FATAL): New macro; call that.
33895         (backtrace_and_maps): New function.
33896         (BEFORE_ABORT): New macro; call that.
33897         (struct str_list): Type removed.
33898         (__libc_message, __libc_fatal): Functions removed.
33899         Include <sysdeps/posix/libc_fatal.c> instead.
33901 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
33903         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33904         constants.
33905         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33906         double constants.
33908 2013-03-19  Andreas Schwab  <schwab@suse.de>
33910         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33911         * sysdeps/gnu/configure: Regenerate.
33913         * configure.in: Substitute libc_cv_rtlddir.
33914         * configure: Regenerate.
33915         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33916         * Makeconfig (rtlddir, inst_rtlddir): New variables.
33917         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33918         * elf/Makefile (install-others, CFLAGS-interp.c)
33919         (ldso_install, common-ldd-rewrite): Likewise.
33920         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33921         $(inst_slibdir)/$(rtld-installed-name).
33922         * scripts/rellns-sh: Add -p option.
33923         * Makerules (make-shlib-link): Use rellns-sh to get relative name
33924         for source.
33926 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33928         * manual/nptl.texi: Renamed to ...
33929         * manual/threads.texi: ... this.
33930         * manual/Makefile (chapters): Update.
33932 2013-03-18  Roland McGrath  <roland@hack.frob.com>
33934         [BZ #14812]
33935         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33936         on argument names, not just descriptions.
33937         * malloc/memusagestat.c (options): Likewise.
33938         * nss/getent.c (options): Likewise.
33940 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
33942         [BZ #14812]
33943         * iconv/iconv_prog.c (options): Put N_ translation marker
33944         on argument names, not just descriptions.
33945         * iconv/iconvconfig.c (options): Likewise.
33947 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
33949         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33950         implementation which is faster on all x86_64 architectures.
33951         Tested on AMD, Intel Nehalem, SNB, IVB.
33952         * sysdeps/x86_64/strnlen.S: Likewise.
33954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33955         Remove all multiarch strlen and strnlen versions.
33956         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33957         Remove strlen and strnlen related parts.
33959         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33960         Inline strlen part.
33961         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33963         * sysdeps/x86_64/multiarch/strlen.S: Remove.
33964         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33965         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33966         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33967         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33968         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33970 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
33972         * manual/memory.texi (Malloc Tunable Parameters):
33973         Sort parameters alphabetically. Add comments for missing entries.
33975 2013-03-17  David S. Miller  <davem@davemloft.net>
33977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33979 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
33981         [BZ #15283]
33982         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33983         for arguments at most half maximum finite value.
33984         * math/libm-test.inc (j0_test): Add more tests.
33985         (j1_test): Likewise.
33986         (y0_test): Likewise.
33987         (y1_test): Likewise.
33988         * sysdeps/i386/fpu/libm-test-ulps: Update.
33989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33991         [BZ #14155]
33992         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33993         1 / x and functions P and Q for arguments above 0x1p256L.
33994         (__ieee754_y0l): Likewise.
33995         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33996         (__ieee754_y1l): Likewise.
33997         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33998         (j1_test): Likewise.
33999         (y0_test): Likewise.
34000         (y1_test): Likewise.
34002 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
34004         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34005         variable.
34007 2013-03-15  Roland McGrath  <roland@hack.frob.com>
34009         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34010         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34011         zero since it's initialized to EXEC_PAGESIZE.
34013         * sysdeps/unix/sysv/linux/ldsodefs.h
34014         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34015         * sysdeps/generic/ldsodefs.h: ... here.
34017 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
34019         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34021         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34022         math/test-snan.c.
34023         * math/test-snan.c: Renamed from
34024         sysdeps/powerpc/fpu/test-powerpc-snan.c.
34025         * math/Makefile (tests): Add test-snan.
34026         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34027         test-powerpc-snan.
34029         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34030         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
34031         functions.
34032         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
34033         __builtin_nan family of functions.
34034         * math/libm-test.inc (initialize): Initialize qnan_value with
34035         __builtin_nan family of functions.
34036         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34037         Remove variables.
34038         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34039         Remove functions.
34040         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
34041         storage class.  Initialize qNaN_var and sNaN_var with
34042         __builtin_nan and __builtin_nans families of functions,
34043         respectively.
34045         * math/libm-test.inc (acosh_test): Also test with qNaN input.
34046         (sqrt_test): Remove duplicate test with qNaN input.
34047         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34048         (round_test, signbit_test, significand_test): Note missing +/-Inf
34049         as well as qNaN tests.
34051         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34052         qNaN_var.  Fix a few strings, too.
34053         * math/libm-test.inc (nan_value): Rename to qnan_value.
34054         * math/gen-libm-test.pl (%beautify): Adjust to that.
34055         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34056         * math/test-misc.c (main): Likewise.
34057         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34058         to __qnan_bytes, and __qnan_union, respectively.
34059         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34060         Likewise.
34061         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34062         and lqnanval, respectively.
34063         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34064         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34065         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34066         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34068         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34069         * math/test-misc.c (main) [__x86_64__]: Enable test for long
34070         doubles.
34072         * math/test-misc.c (main): Fix copy'n'pastos.
34073         * misc/tst-efgcvt.c (special): Likewise.
34075         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34076         Remove declarations.
34078 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34080         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34081         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34082         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34083         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34085 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34087         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34088         macro to return vdso values correctly in IFUNC implementations.
34089         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34090         Optimization by using IFUNC.
34092 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34093             Richard Henderson  <rth@redhat.com>
34094             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34096         * Makefile.in (bench): New target.
34097         * NEWS: Mention the benchmark framework.
34098         * Rules (bench): Likewise.
34099         (binaries-bench): Generate binaries for functions to
34100         benchmark.
34101         * benchtests/Makefile: New makefile for benchmark tests.
34102         * benchtests/bench-skeleton.c: New skeleton file for benchmark
34103         programs.
34104         * benchtests/exp-inputs: New input file for EXP function.
34105         * benchtests/pow-inputs: New input file for POW function.
34106         * scripts/bench.pl: New script to generate source files for
34107         benchmark programs.
34109 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34111         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34112         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34113         computations on mantissa.  Use macros for rounding and
34114         division.
34115         (denorm): Likewise.
34116         (__dbl_mp): Likewise.
34117         (add_magnitudes): Likewise.
34118         (sub_magnitudes): Likewise.
34119         (__mul): Likewise.
34120         (__sqr): Likewise.
34121         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34122         powers of two in terms of TWOPOW macro.
34123         (mp_no): Make type of mantissa as MANTISSA_T.
34124         [!RADIXI]: Define RADIXI.
34125         [!TWO52]: Define TWO52.
34126         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34128         * manual/nptl.texi (cindex): Modify threads to pthreads.
34130 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
34132         * sysdeps/x86_64/preconfigure: Regenerated.
34134 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
34136         [BZ #14155]
34137         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34138         0x1p28 and above.
34139         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34140         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34141         0x1p28 and above.
34142         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34143         * math/libm-test.inc (j0_test): Do not allow one spurious
34144         underflow exception.
34145         (y1_test): Likewise.
34147 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34149         * manual/Makefile (chapters): Add nptl.
34150         * manual/debug.texi (Debugging Support): Add link to Threads
34151         chapter.
34152         * manual/nptl.texi: New file.
34154         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34156 2013-03-14  Petr Baudis  <pasky@ucw.cz>
34158         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34159         for non-NULL pointer before the memory validity test. Pointed
34160         out by Holger Brunck <holger.brunck@keymile.com>.
34162 2013-03-13  Andreas Schwab  <schwab@suse.de>
34164         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34165         instead of .os.
34167 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
34169         * timezone/zic.c: Update from tzcode 2013b.
34171 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
34173         * manual/install.texi (Configuring and compiling):
34174         Mention i686 and i586.
34175         * INSTALL: Regenerate.
34177 2013-03-12  Roland McGrath  <roland@hack.frob.com>
34179         * sysdeps/init_array/elf-init.c: New file.
34180         * csu/elf-init.c
34181         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34182         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34184         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34185         __gmon_start__ as global, but as static with a .preinit_array pointer.
34186         * sysdeps/init_array/gmon-start.c: New file.  Use that.
34187         * sysdeps/init_array/crti.S: New file, empty except for comments.
34188         * sysdeps/init_array/crtn.S: Likewise.
34190 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
34192         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34193         definining bcopy.
34194         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34195         Remove Prefer_SSE_for_memop.
34196         * sysdeps/x86_64/multiarch/init-arch.h: Remove
34197         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34198         HAS_PREFER_SSE_FOR_MEMOP.
34199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34200         memset-x86-64.
34201         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34202         Remove bzero, memset ifunc support.
34203         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34204         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34205         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34206         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34208 2013-03-11  Andreas Schwab  <schwab@suse.de>
34210         [BZ #15234]
34211         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34212         by SHLIB_COMPAT.
34213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34214         (GLIBC_2.16): Remove pthread_atfork.
34216 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34218         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34219         (ptestcases.h): Likewise.
34221 2013-03-08  Roland McGrath  <roland@hack.frob.com>
34223         * Makeconfig ($(common-objpfx)config.status): Depend on
34224         sysdeps/*/preconfigure{,.in} too.
34226 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
34228         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34229         (__free_hook): Use void * instead of __malloc_ptr_t.
34230         (__malloc_hook): Likewise.
34231         (__realloc_hook): Likewise.
34232         (__memalign_hook): Likewise.
34233         (__after_morecore_hook): Likewise.
34234         * malloc/arena.c (save_malloc_hook): Likewise.
34235         (save_free_hook): Likewise.
34236         * malloc/hooks.c (malloc_hook_ini): Likewise.
34237         (realloc_hook_ini): Likewise.
34238         (memalign_hook_ini): Likewise.
34239         * malloc/malloc.c (malloc_hook_ini): Likewise.
34240         (realloc_hook_ini): Likewise.
34241         (memalign_hook_ini): Likewise.
34242         (__free_hook): Likewise.
34243         (__malloc_hook): Likewise.
34244         (__realloc_hook): Likewise.
34245         (__memalign_hook): Likewise.
34246         (__libc_malloc): Likewise.
34247         (__libc_free): Likewise.
34248         (__libc_realloc): Likewise.
34249         (__libc_memalign): Likewise.
34250         (__libc_valloc): Likewise.
34251         (__libc_pvalloc): Likewise.
34252         (__libc_calloc): Likewise.
34253         (__posix_memalign): Likewise.
34254         * malloc/morecore.c (__sbrk): Likewise.
34255         (__default_morecore): Likewise.
34257         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34259         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34260         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34261         __malloc_ptrdiff_t.
34263         * malloc/malloc.h (__malloc_size_t): Remove macro.
34264         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34265         __malloc_size_t.
34266         (old_memalign_hook): Likewise.
34267         (old_realloc_hook): Likewise.
34268         (struct hdr): Likewise.
34269         (flood): Likewise.
34270         (mallochook): Likewise.
34271         (memalignhook): Likewise.
34272         (reallochook): Likewise.
34273         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34274         (tr_old_realloc_hook): Likewise.
34275         (tr_old_memalign_hook): Likewise.
34276         (tr_mallochook): Likewise.
34277         (tr_reallochook): Likewise.
34278         (tr_memalignhook): Likewise.
34280 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34282         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34283         default_ldbl_pack and using as default implementation.
34284         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34285         implementation.
34286         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34287         redundant definition.
34288         (ldbl_insert_mantissa): Likewise.
34289         (ldbl_canonicalize): Likewise.
34290         (ldbl_nearbyint): Likewise.
34291         (ldbl_pack): Rename to ldbl_pack_ppc.
34292         (ldbl_unpack): Rename to ldbl_unpack_ppc.
34293         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34294         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34296 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34299         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34300         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34301         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34303         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34304         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34305         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34307 2013-03-07  Andreas Jaeger  <aj@suse.de>
34309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34310         bits/mman-linux.h.
34312 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34314         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34315         Include mpa.h and declare __MPEXP.
34316         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34317         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34318         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34319         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34320         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34321         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34322         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34324         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34325         (__slowpow): Use long double EXPL and LOGL functions to
34326         compute POW.
34327         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34328         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34329         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34330         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34331         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34332         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34335         intermediate variable to calculate exponent.
34336         (__sqr): Likewise.
34337         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34338         Likewise.
34339         (__sqr): Likewise.
34341         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34342         [!NO__SQR]: Define __sqr.
34343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34344         and NO__SQR.  Remove all code except __mul and __sqr.  Include
34345         sysdeps/ieee754/dbl-64/mpa.c.
34346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34348         [BZ #12723]
34349         * posix/Makefile (tests): Add tst-pathconf.
34350         * posix/tst-pathconf.c: New test case.
34351         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34352         _PC_PIPE_BUF.
34353         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34355 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
34357         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34359 2013-03-06  Andreas Jaeger  <aj@suse.de>
34361         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34362         definition via __MAP_ANONYMOUS.
34364         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34365         it's not part of Linux headers.
34367         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34368         (MAP_HUGE_MASK): Define.
34370         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34371         Define.
34372         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34373         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34374         Define.
34375         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34376         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34377         Define.
34378         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34379         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34380         Define.
34381         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34383         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34384         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34385         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34386         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34387         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34388         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34390         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34391         Handle f2fs.
34393         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34394         Handle f2fs and efivarfs.
34396         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34397         f2fs.
34399         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34400         (EFIVARFS_MAGIC): Add.
34401         (F2FS_LINK_MAX): Add.
34403 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34405         * stdio-common/vfprintf.c: Replace __builtin_expect with
34406         __glibc_unlikely.
34408 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
34410         [BZ #13550]
34411         * sysdeps/generic/bp-sym.h: Remove file.
34412         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34413         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34414         <bp-sym.h> and <bp-asm.h>.
34415         (__longjmp): Don't use BP_SYM.
34416         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34417         and <bp-asm.h>.
34418         (memcpy): Don't use BP_SYM.
34419         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34420         <bp-sym.h> and <bp-asm.h>.
34421         (memcpy): Don't use BP_SYM.
34422         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34423         <bp-asm.h>.
34424         (memcpy): Don't use BP_SYM.
34425         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34426         <bp-asm.h>.
34427         (memset): Don't use BP_SYM.
34428         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34429         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34430         (__bzero): Don't use BP_SYM.
34431         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34432         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34433         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34434         <bp-sym.h> and <bp-asm.h>.
34435         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34436         pointers.
34437         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34438         <bp-sym.h> and <bp-asm.h>.
34439         (memcpy): Don't use BP_SYM.
34440         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34441         <bp-sym.h> and <bp-asm.h>.
34442         (memset): Don't use BP_SYM.
34443         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34444         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34445         (__bzero): Don't use BP_SYM.
34446         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34447         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34448         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34449         <bp-sym.h> and <bp-asm.h>.
34450         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34451         pointers.
34452         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34453         <bp-sym.h> and <bp-asm.h>.
34454         (memcpy): Don't use BP_SYM.
34455         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34456         <bp-sym.h> and <bp-asm.h>.
34457         (memset): Don't use BP_SYM.
34458         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34459         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34460         (__bzero): Don't use BP_SYM.
34461         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34462         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34463         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34464         <bp-sym.h> and <bp-asm.h>.
34465         (__memchr): Don't use BP_SYM.
34466         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34467         <bp-sym.h> and <bp-asm.h>.
34468         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34469         pointers.
34470         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34471         <bp-sym.h> and <bp-asm.h>.
34472         (memcpy): Don't use BP_SYM.
34473         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34474         <bp-sym.h> and <bp-asm.h>.
34475         (__mempcpy): Don't use BP_SYM.
34476         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34477         <bp-sym.h> and <bp-asm.h>.
34478         (__memrchr): Don't use BP_SYM.
34479         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34480         <bp-sym.h> and <bp-asm.h>.
34481         (memset): Don't use BP_SYM.
34482         (__bzero): Likewise.
34483         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34484         <bp-sym.h> and <bp-asm.h>.
34485         (__rawmemchr): Don't use BP_SYM.
34486         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34487         <bp-sym.h> and <bp-asm.h>.
34488         (__STRCMP): Don't use BP_SYM.
34489         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34490         <bp-sym.h> and <bp-asm.h>.
34491         (strchr): Don't use BP_SYM.
34492         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34493         <bp-sym.h> and <bp-asm.h>.
34494         (__strchrnul): Don't use BP_SYM.
34495         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34496         <bp-sym.h> and <bp-asm.h>.
34497         (strlen): Don't use BP_SYM.
34498         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34499         <bp-sym.h> and <bp-asm.h>.
34500         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34501         pointers.
34502         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34503         <bp-sym.h> and <bp-asm.h>.
34504         (__strnlen): Don't use BP_SYM.
34505         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34506         <bp-sym.h> and <bp-asm.h>.
34507         (__GI__setjmp): Don't use BP_SYM.
34508         (_setjmp): Likewise.
34509         (__sigsetjmp): Likewise.
34510         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34511         (L(start_addresses)): Don't use BP_SYM.
34512         (_start): Likewise.
34513         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34514         <bp-asm.h>.
34515         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34516         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34517         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34518         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34519         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34520         <bp-asm.h>.
34521         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34522         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
34523         about bounded pointers.
34524         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34525         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34526         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34527         <bp-asm.h>.
34528         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34529         about bounded pointers.  Remove GKM FIXME comments.
34530         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34531         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34532         <bp-asm.h>.
34533         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34534         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
34535         Remove GKM FIXME comments.
34536         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34537         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34538         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34539         <bp-asm.h>.
34540         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34541         about bounded pointers.  Remove GKM FIXME comment.
34542         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34543         and <bp-asm.h>.
34544         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34545         pointers.
34546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34547         <bp-sym.h> and <bp-asm.h>.
34548         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34550         <bp-sym.h> and <bp-asm.h>.
34551         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34552         comment.
34554 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34556         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34557         call free(NULL).
34559 2013-03-05  David S. Miller  <davem@davemloft.net>
34561         * po/es.po: Update from translation team.
34563 2013-03-05  Andreas Jaeger  <aj@suse.de>
34565         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34566         <bits/mman-linux.h>.
34567         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34568         is fine.
34569         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34570         <bits/mman-linux.h> to end of file.
34571         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34572         is fine.
34573         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34574         <bits/mman-linux.h> to end of file.
34575         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34576         is fine.
34577         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34578         <bits/mman-linux.h> to end of file.
34580         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34581         (MCL_CURRENT, MCL_FUTURE): Define here.
34583 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34585         [BZ #15232]
34586         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34587         attribute_hidden.
34588         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34590 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34592         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34593         fourth parameter needed for rt_sigprocmask syscall.
34594         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34595         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34596         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34597         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34598         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34599         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34601 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
34603         [BZ #13550]
34604         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34605         comment about bounded pointers.
34606         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34607         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34609 2013-03-04  Andreas Jaeger  <aj@suse.de>
34611         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34612         common definitions.
34614         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34615         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34616         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34617         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34618         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34619         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34621 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34623         [BZ #15055]
34624         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34625         __ieee754_sqrl instead of __sqrl.
34627 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
34629         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34630         * sysdeps/powerpc/fpu_control.h: ... here.
34631         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34632         * sysdeps/powerpc/bits/fenvinline.h: ... here.
34633         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34634         * sysdeps/powerpc/bits/mathinline.h: ... here.
34636 2013-03-01  Roland McGrath  <roland@hack.frob.com>
34638         * elf/dl-hwcaps.c (_dl_important_hwcaps):
34639         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34640         to just [NEED_DL_SYSINFO_DSO].
34641         * elf/dl-support.c: Likewise.
34642         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34643         * elf/rtld.c (dl_main): Likewise.
34644         * elf/setup-vdso.h (setup_vdso): Likewise.
34645         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34646         * sysdeps/unix/sysv/linux/dl-sysdep.c
34647         (_dl_discover_osversion): Likewise.
34649 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
34651         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34652         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34654 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34656         * NEWS: Mention libm performance improvements and non-x86 PI
34657         futex support.
34659         * csu/libc-start.c (__pthread_initialize_minimal): Change
34660         function arguments.
34661         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34663 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
34665         [BZ #13550]
34666         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34667         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34668         <bp-sym.h> and <bp-asm.h>.
34669         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34670         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34671         and <bp-asm.h>.
34672         (memcpy): Don't use BP_SYM.
34673         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34674         <bp-asm.h>.
34675         (__mpn_add_n): Don't use BP_SYM.
34676         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34677         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34678         and <bp-asm.h>.
34679         (__mpn_addmul_1): Don't use BP_SYM.
34680         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34681         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34682         <bp-sym.h>.
34683         (_setjmp): Don't use BP_SYM.
34684         (__novmx_setjmp): Likewise.
34685         (__GI__setjmp): Likewise.
34686         (__vmx_setjmp): Likewise.
34687         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34688         <bp-sym.h>.
34689         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34690         (__bzero): Don't use BP_SYM.
34691         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34692         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34693         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34694         <bp-sym.h> and <bp-asm.h>.
34695         (memcpy): Don't use BP_SYM.
34696         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34697         <bp-sym.h> and <bp-asm.h>.
34698         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34699         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34700         <bp-sym.h> and <bp-asm.h>.
34701         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34702         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34703         <bp-asm.h>.
34704         (__mpn_lshift): Don't use BP_SYM.
34705         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34706         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34707         <bp-asm.h>.
34708         (memset): Don't use BP_SYM.
34709         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34710         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34711         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34712         <bp-asm.h>.
34713         (__mpn_mul_1): Don't use BP_SYM.
34714         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34715         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34716         <bp-sym.h> and <bp-asm.h>.
34717         (memcmp): Don't use BP_SYM.
34718         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34719         <bp-sym.h> and <bp-asm.h>.
34720         (memcpy): Don't use BP_SYM.
34721         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34722         <bp-sym.h> and <bp-asm.h>.
34723         (memset): Don't use BP_SYM.
34724         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34725         <bp-sym.h> and <bp-asm.h>.
34726         (strncmp): Don't use BP_SYM.
34727         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34728         <bp-sym.h> and <bp-asm.h>.
34729         (memcpy): Don't use BP_SYM.
34730         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34731         <bp-sym.h> and <bp-asm.h>.
34732         (memset): Don't use BP_SYM.
34733         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34734         <bp-sym.h> and <bp-asm.h>.
34735         (__memchr): Don't use BP_SYM.
34736         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34737         <bp-sym.h> and <bp-asm.h>.
34738         (memcmp): Don't use BP_SYM.
34739         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34740         <bp-sym.h> and <bp-asm.h>.
34741         (memcpy): Don't use BP_SYM.
34742         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34743         <bp-sym.h> and <bp-asm.h>.
34744         (__mempcpy): Don't use BP_SYM.
34745         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34746         <bp-sym.h> and <bp-asm.h>.
34747         (__memrchr): Don't use BP_SYM.
34748         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34749         <bp-sym.h> and <bp-asm.h>.
34750         (memset): Don't use BP_SYM.
34751         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34752         <bp-sym.h> and <bp-asm.h>.
34753         (__rawmemchr): Don't use BP_SYM.
34754         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34755         <bp-sym.h> and <bp-asm.h>.
34756         (__STRCMP): Don't use BP_SYM.
34757         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34758         <bp-sym.h> and <bp-asm.h>.
34759         (strchr): Don't use BP_SYM.
34760         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34761         <bp-sym.h> and <bp-asm.h>.
34762         (__strchrnul): Don't use BP_SYM.
34763         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34764         <bp-sym.h> and <bp-asm.h>.
34765         (strlen): Don't use BP_SYM.
34766         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34767         <bp-sym.h> and <bp-asm.h>.
34768         (strncmp): Don't use BP_SYM.
34769         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34770         <bp-sym.h> and <bp-asm.h>.
34771         (__strnlen): Don't use BP_SYM.
34772         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34773         <bp-asm.h>.
34774         (__mpn_rshift): Don't use BP_SYM.
34775         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34776         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34777         <bp-sym.h> and <bp-asm.h>.
34778         (__sigsetjmp): Don't use BP_SYM.
34779         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34780         (L(start_addresses)): Don't use BP_SYM.
34781         (_start): Likewise.
34782         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34783         <bp-asm.h>.
34784         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34785         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34786         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34787         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34788         <bp-asm.h>.
34789         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34790         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34791         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34792         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34793         <bp-asm.h>.
34794         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34795         comments.
34796         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34797         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34798         <bp-asm.h>.
34799         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
34800         FIXME comments.
34801         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34802         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34803         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34804         <bp-asm.h>.
34805         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34806         comment.
34807         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34808         and <bp-asm.h>.
34809         (strncmp): Don't use BP_SYM,
34810         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34811         <bp-asm.h>.
34812         (__mpn_sub_n): Don't use BP_SYM.
34813         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34814         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34815         and <bp-asm.h>.
34816         (__mpn_submul_1): Don't use BP_SYM.
34817         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34819         <bp-sym.h> and <bp-asm.h>.
34820         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34822         <bp-sym.h> and <bp-asm.h>.
34823         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34824         comment.
34826 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34828         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34829         Use ZK to minimize writes to Z.
34830         (sub_magnitudes): Simplify code a bit.
34831         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34832         Use ZK to minimize writes to Z.
34833         (sub_magnitudes): Simplify code a bit.
34835 2013-02-27  Roland McGrath  <roland@hack.frob.com>
34837         * csu/gmon-start.c: Add special exception to license text.
34839 2013-02-27  Richard Henderson  <rth@redhat.com>
34841         * scripts/config.guess: Update from config.git.
34842         * scripts/config.sub: Likewise.
34844 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34846         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34848         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34850         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34852         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34854         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34856 2013-02-26  Roland McGrath  <roland@hack.frob.com>
34858         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34859         [$(build-shared = yes].
34861 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34863         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34864         (__mul): Reduce iterations for calculating mantissa.
34866         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34867         MPTWO.
34868         (__mpranred): Likewise.
34870         [BZ #15160]
34871         * malloc/memusagestat.c (main): Draw graphs for heap and stack
34872         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34874 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
34876         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34877         Define __attribute__.
34879 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34881         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34882         unused.
34883         * posix/regex_internal.h (__attribute): Remove.
34884         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34885         (re_string_context_at): Likewise.
34886         (bitset_not): Use __attribute__ and mark function as possibly
34887         unused.
34888         (bitset_merge): Likewise.
34889         (bitset_mask): Likewise.
34890         (re_string_char_size_at): Likewise.
34891         (re_string_wchar_at): Likewise.
34892         (re_string_elem_size_at): Likewise.
34894 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34896         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34897         code.
34898         (cc32): Likewise.
34900         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34901         (__acr): Likewise.
34902         (__cpy): Likewise.
34903         (norm): Likewise.
34904         (denorm): Likewise.
34905         (__dbl_mp): Likewise.
34906         (add_magnitudes): Likewise.
34907         (sub_magnitudes): Likewise.
34908         (__mul): Likewise.
34909         (__inv): Likewise.
34911         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34912         style.
34914         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34915         style.
34917         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34918         code.
34920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34921         up changes with default code.
34922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34923         Likewise.
34925 2013-02-24  Allan McRae  <allan@archlinux.org>
34927         * manual/socket.texi (The Internet Namespace): Order menu items
34928         to match that in the file.
34930         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34931         node listing of the info page menu.
34933 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
34935         [BZ #13550]
34936         * sysdeps/i386/bp-asm.h: Remove file.
34937         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34938         (PARMS): Do not use macros from bp-asm.h.
34939         (S1): Likewise.
34940         (S2): Likewise.
34941         (SIZE): Likewise.
34942         (__mpn_add_n): Do not use BP_SYM
34943         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34944         "bp-asm.h".
34945         (PARMS): Do not use macros from bp-asm.h.
34946         (S1): Likewise.
34947         (SIZE): Likewise.
34948         (__mpn_addmul_1): Do not use BP_SYM
34949         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34950         "bp-asm.h".
34951         (PARMS): Do not use macros from bp-asm.h.
34952         (SIGMSK): Likewise.
34953         (_setjmp): Likewise.  Do not use BP_SYM.
34954         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34955         "bp-asm.h".
34956         (PARMS): Do not use macros from bp-asm.h.
34957         (SIGMSK): Likewise.
34958         (setjmp): Likewise.  Do not use BP_SYM.
34959         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34960         "bp-asm.h".
34961         (PARMS): Do not use macros from bp-asm.h.
34962         (__frexp): Do not use BP_SYM.
34963         (frexp): Likewise.
34964         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34965         "bp-asm.h".
34966         (PARMS): Do not use macros from bp-asm.h.
34967         (__frexpf): Do not use BP_SYM.
34968         (frexpf): Likewise.
34969         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34970         "bp-asm.h".
34971         (PARMS): Do not use macros from bp-asm.h.
34972         (__frexpl): Do not use BP_SYM.
34973         (frexpl): Likewise.
34974         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34975         "bp-asm.h".
34976         (PARMS): Do not use macros from bp-asm.h.
34977         (__remquo): Do not use BP_SYM.
34978         (remquo): Likewise.
34979         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34980         "bp-asm.h".
34981         (PARMS): Do not use macros from bp-asm.h.
34982         (__remquof): Do not use BP_SYM.
34983         (remquof): Likewise.
34984         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34985         "bp-asm.h".
34986         (PARMS): Do not use macros from bp-asm.h.
34987         (__remquol): Do not use BP_SYM.
34988         (remquol): Likewise.
34989         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34990         "bp-asm.h".
34991         (PARMS): Do not use macros from bp-asm.h.
34992         (DEST): Likewise.
34993         (SRC): Likewise.
34994         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
34995         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34996         "bp-asm.h".
34997         (PARMS): Do not use macros from bp-asm.h.
34998         (strlen): Do not use BP_SYM.
34999         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35000         "bp-asm.h".
35001         (PARMS): Do not use macros from bp-asm.h.
35002         (S1): Likewise.
35003         (S2): Likewise.
35004         (SIZE): Likewise.
35005         (__mpn_add_n): Do not use BP_SYM.
35006         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35007         "bp-asm.h".
35008         (PARMS): Do not use macros from bp-asm.h.
35009         (S1): Likewise.
35010         (SIZE): Likewise.
35011         (__mpn_addmul_1): Do not use BP_SYM.
35012         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35013         weak_alias.
35014         (bzero): Likewise.
35015         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35016         "bp-asm.h".
35017         (PARMS): Do not use macros from bp-asm.h.
35018         (S): Likewise.
35019         (SIZE): Likewise.
35020         (__mpn_lshift): Do not use BP_SYM.
35021         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35022         "bp-asm.h".
35023         (PARMS): Do not use macros from bp-asm.h.
35024         (DEST): Likewise.
35025         (SRC): Likewise.
35026         (LEN): Likewise.
35027         (memcpy): Likewise.  Do not use BP_SYM.
35028         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35029         libc_hidden_def and weak_alias.
35030         (mempcpy): Do not use BP_SYM in weak_alias.
35031         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35032         "bp-asm.h".
35033         (PARMS): Do not use macros from bp-asm.h.
35034         (DEST): Likewise.
35035         (LEN): Likewise.
35036         [!BZERO_P] (CHR): Likewise.
35037         (memset): Likewise.  Do not use BP_SYM.
35038         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35039         "bp-asm.h".
35040         (PARMS): Do not use macros from bp-asm.h.
35041         (S1): Likewise.
35042         (SIZE): Likewise.
35043         (__mpn_mul_1): Do not use BP_SYM.
35044         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35045         "bp-asm.h".
35046         (PARMS): Do not use macros from bp-asm.h.
35047         (S): Likewise.
35048         (SIZE): Likewise.
35049         (__mpn_rshift): Do not use BP_SYM.
35050         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35051         "bp-asm.h".
35052         (PARMS): Do not use macros from bp-asm.h.
35053         (STR): Likewise.
35054         (CHR): Likewise.
35055         (strchr): Likewise.  Do not use BP_SYM.
35056         (index): Do not use BP_SYM in weak_alias.
35057         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35058         "bp-asm.h".
35059         (PARMS): Do not use macros from bp-asm.h.
35060         (DEST): Likewise.
35061         (SRC): Likewise.
35062         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
35063         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35064         "bp-asm.h".
35065         (PARMS): Do not use macros from bp-asm.h.
35066         (strlen): Do not use BP_SYM.
35067         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35068         "bp-asm.h".
35069         (PARMS): Do not use macros from bp-asm.h.
35070         (S1): Likewise.
35071         (S2): Likewise.
35072         (SIZE): Likewise.
35073         (__mpn_sub_n): Do not use BP_SYM.
35074         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35075         "bp-asm.h".
35076         (PARMS): Do not use macros from bp-asm.h.
35077         (S1): Likewise.
35078         (SIZE): Likewise.
35079         (__mpn_submul_1): Do not use BP_SYM.
35080         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35081         "bp-asm.h".
35082         (PARMS): Do not use macros from bp-asm.h.
35083         (S1): Likewise.
35084         (S2): Likewise.
35085         (SIZE): Likewise.
35086         (__mpn_add_n): Do not use BP_SYM.
35087         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35088         weak_alias.
35089         (bzero): Likewise.
35090         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35091         "bp-asm.h".
35092         (PARMS): Do not use macros from bp-asm.h.
35093         (BLK2): Likewise.
35094         (LEN): Likewise.
35095         (memcmp): Do not use BP_SYM.
35096         (bcmp): Do not use BP_SYM in weak_alias.
35097         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35098         "bp-asm.h".
35099         (PARMS): Do not use macros from bp-asm.h.
35100         (DEST): Likewise.
35101         (SRC): Likewise.
35102         (LEN): Likewise.
35103         (memcpy): Likewise.  Do not use BP_SYM.
35104         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35105         "bp-asm.h".
35106         (PARMS): Do not use macros from bp-asm.h.
35107         (DEST): Likewise.
35108         (SRC): Likewise.
35109         (LEN): Likewise.
35110         (memmove): Likewise.  Do not use BP_SYM.
35111         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35112         "bp-asm.h".
35113         (PARMS): Do not use macros from bp-asm.h.
35114         (DEST): Likewise.
35115         (SRC): Likewise.
35116         (LEN): Likewise.
35117         (__mempcpy): Likewise.  Do not use BP_SYM.
35118         (mempcpy): Do not use BP_SYM in weak_alias.
35119         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35120         "bp-asm.h".
35121         (PARMS): Do not use macros from bp-asm.h.
35122         (DEST): Likewise.
35123         (LEN): Likewise.
35124         [!BZERO_P] (CHR): Likewise.
35125         (memset): Likewise.  Do not use BP_SYM.
35126         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35127         "bp-asm.h".
35128         (PARMS): Do not use macros from bp-asm.h.
35129         (STR2): Likewise.
35130         (strcmp): Do not use BP_SYM.
35131         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35132         "bp-asm.h".
35133         (PARMS): Do not use macros from bp-asm.h.
35134         (STR): Likewise.
35135         (DELIM): Likewise.
35136         [USE_AS_STRTOK_R] (SAVE): Likewise.
35137         (FUNCTION): Likewise.  Do not use BP_SYM.
35138         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35139         aliases.
35140         (strtok_r): Likewise.
35141         (__GI___strtok_r): Likewise.
35142         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35143         (PARMS): Do not use macros from bp-asm.h.
35144         (S): Likewise.
35145         (SIZE): Likewise.
35146         (__mpn_lshift): Do not use BP_SYM.
35147         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35148         (PARMS): Do not use macros from bp-asm.h.
35149         (STR): Likewise.
35150         (CHR): Likewise.
35151         (__memchr): Do not use BP_SYM.
35152         (memchr): Do not use BP_SYM in weak_alias.
35153         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35154         (PARMS): Do not use macros from bp-asm.h.
35155         (BLK2): Likewise.
35156         (LEN): Likewise.
35157         (memcmp): Do not use BP_SYM.
35158         (bcmp): Do not use BP_SYM in weak_alias.
35159         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35160         (PARMS): Do not use macros from bp-asm.h.
35161         (S1): Likewise.
35162         (SIZE): Likewise.
35163         (__mpn_mul_1): Do not use BP_SYM.
35164         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35165         "bp-asm.h".
35166         (PARMS): Do not use macros from bp-asm.h.
35167         (STR): Likewise.
35168         (CHR): Likewise.
35169         (__rawmemchr): Do not use BP_SYM.
35170         (rawmemchr): Do not use BP_SYM in weak_alias.
35171         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35172         (PARMS): Do not use macros from bp-asm.h.
35173         (S): Likewise.
35174         (SIZE): Likewise.
35175         (__mpn_rshift): Do not use BP_SYM.
35176         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35177         (PARMS): Do not use macros from bp-asm.h.
35178         (SIGMSK): Likewise.
35179         (__sigsetjmp): Likewise.  Do not use BP_SYM.
35180         * sysdeps/i386/start.S: Do not include "bp-sym.h".
35181         (_start): Do not use BP_SYM.
35182         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35183         (PARMS): Do not use macros from bp-asm.h.
35184         (DEST): Likewise.
35185         (SRC): Likewise.
35186         (__stpcpy): Likewise.  Do not use BP_SYM.
35187         (stpcpy): Do not use BP_SYM in weak_alias.
35188         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35189         "bp-asm.h".
35190         (PARMS): Do not use macros from bp-asm.h.
35191         (DEST): Likewise.
35192         (SRC): Likewise.
35193         (LEN): Likewise.
35194         (__stpncpy): Likewise.  Do not use BP_SYM.
35195         (stpncpy): Do not use BP_SYM in weak_alias.
35196         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35197         (PARMS): Do not use macros from bp-asm.h.
35198         (STR): Likewise.
35199         (CHR): Likewise.
35200         (strchr): Likewise.  Do not use BP_SYM.
35201         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35202         "bp-asm.h".
35203         (PARMS): Do not use macros from bp-asm.h.
35204         (STR): Likewise.
35205         (CHR): Likewise.
35206         (__strchrnul): Likewise.  Do not use BP_SYM.
35207         (strchrnul): Do not use BP_SYM in weak_alias.
35208         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35209         "bp-asm.h".
35210         (PARMS): Do not use macros from bp-asm.h.
35211         (STOP): Likewise.
35212         (strcspn): Do not use BP_SYM.
35213         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35214         "bp-asm.h".
35215         (PARMS): Do not use macros from bp-asm.h.
35216         (STR): Likewise.
35217         (STOP): Likewise.
35218         (strpbrk): Likewise.  Do not use BP_SYM.
35219         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35220         "bp-asm.h".
35221         (PARMS): Do not use macros from bp-asm.h.
35222         (STR): Likewise.
35223         (CHR): Likewise.
35224         (strrchr): Likewise.  Do not use BP_SYM.
35225         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35226         (PARMS): Do not use macros from bp-asm.h.
35227         (SKIP): Likewise.
35228         (strspn): Do not use BP_SYM.
35229         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35230         (PARMS): Do not use macros from bp-asm.h.
35231         (STR): Likewise.
35232         (DELIM): Likewise.
35233         (SAVE): Likewise.
35234         (FUNCTION): Likewise.  Do not use BP_SYM.
35235         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35236         aliases.
35237         (strtok_r): Likewise.
35238         (__GI___strtok_r): Likewise.
35239         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35240         (PARMS): Do not use macros from bp-asm.h.
35241         (S1): Likewise.
35242         (S2): Likewise.
35243         (SIZE): Likewise.
35244         (__mpn_sub_n): Do not use BP_SYM.
35245         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35246         "bp-asm.h".
35247         (PARMS): Do not use macros from bp-asm.h.
35248         (S1): Likewise.
35249         (SIZE): Likewise.
35250         (__mpn_submul_1): Do not use BP_SYM.
35251         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35252         <bp-sym.h>.
35253         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35254         and <bp-asm.h>.
35255         (PARMS): Do not use macros from bp-asm.h.
35256         (FLAGS): Likewise.
35257         (PTID): Likewise.
35258         (TLS): Likewise.
35259         (CTID): Likewise.
35260         (__clone): Do not use BP_SYM.
35261         (clone): Do not use BP_SYM in weak_alias.
35262         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35263         and <bp-asm.h>.
35264         (PARMS): Do not use macros from bp-asm.h.
35265         (LEN): Likewise.
35266         (__mmap64): Do not use BP_SYM.
35267         (mmap64): Do not use BP_SYM in weak_alias.
35268         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35269         <bp-sym.h> and <bp-asm.h>.
35270         (PARMS): Do not use macros from bp-asm.h.
35271         (__posix_fadvise64_l64): Do not use BP_SYM.
35272         * sysdeps/unix/sysv/linux/i386/semtimedop.S
35273         (PARMS): Do not use macros from bp-asm.h.
35274         (NSOPS): Likewise.
35275         (semtimedop): Do not use BP_SYM.
35276         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35277         and <bp-asm.h>.
35279 2013-02-21  Allan McRae  <allan@archlinux.org>
35281         * manual/message.texi (Charset conversion in gettext):
35282         Move @end statement to beginning of line.
35284 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35287         static.
35288         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35289         Likewise.
35291         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35292         (denorm): Likewise.
35293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35294         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35296 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35298         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35299         tail-call to the resolved function if pltexit isn't needed.
35301 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35303         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35304         or Y being zero as being unlikely.
35305         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35306         Likewise.
35308 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
35310         * manual/nss.texi (System Databases and Name Service Switch):
35311         Remove frobnicate @pxref.
35313 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35315         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35316         __attribute__ ((unused)) to __attribute__ ((__unused__)).
35318 2013-02-20  Petr Machata  <pmachata@redhat.com>
35320         * elf/elf.h (R_ARM_TARGET1): New macro.
35321         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35322         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35323         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35324         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35325         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35326         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35327         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35328         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35329         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35330         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35331         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35332         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35333         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35334         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35335         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35336         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35337         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35338         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35339         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35340         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35341         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35342         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35343         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35344         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35345         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35346         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35347         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35348         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35349         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35350         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35351         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35352         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35353         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35354         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35355         (R_ARM_THM_GOT_BREL12): Likewise.
35356         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35357         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35358         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35359         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35360         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35361         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35362         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35363         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35364         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35366 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35368         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35369         __attribute_used__ to __attribute__ ((unused)).
35371 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35373         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35374         powerpc mpa.c.
35375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35376         comment formatting.
35377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35379 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
35381         [BZ #13550]
35382         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35383         Remove macro.
35384         (ENTER): Remove both macro definitions.
35385         (LEAVE): Likewise.
35386         (CHECK_BOUNDS_LOW): Likewise.
35387         (CHECK_BOUNDS_HIGH): Likewise.
35388         (CHECK_BOUNDS_BOTH): Likewise.
35389         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35390         (RETURN_BOUNDED_POINTER): Likewise.
35391         (RETURN_NULL_BOUNDED_POINTER): Likewise.
35392         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35393         (POP_ERRNO_LOCATION_RETURN): Likewise.
35394         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35395         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35396         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35397         macros.
35398         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35399         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35400         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35401         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35402         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35403         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35404         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35405         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35406         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35407         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35408         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35409         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35410         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35411         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35412         removed macros.
35413         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35414         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35415         macros.
35416         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35417         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35418         * sysdeps/i386/i586/memset.S (memset): Likewise.
35419         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35420         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35421         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35422         macros.
35423         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35424         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35425         Change uses of L(2) to L(out).
35426         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35427         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35428         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35429         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35430         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35431         removed macros.
35432         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35433         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35434         macros.
35435         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35436         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35437         (RETURN): Do not use macro LEAVE.
35438         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35439         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35440         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35441         * sysdeps/i386/i686/memset.S (memset): Likewise.
35442         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35443         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35444         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35445         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35446         Likewise.
35447         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35448         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
35449         L(1_2) and L(1_3) into L(1).
35450         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35451         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35452         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35453         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35454         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35455         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35456         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35457         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35458         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35459         macros.
35460         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35461         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35462         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35463         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35464         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35465         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35466         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35467         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35468         * sysdeps/i386/strcspn.S (strcspn): Likewise.
35469         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35470         * sysdeps/i386/strrchr.S (strrchr): Likewise.
35471         * sysdeps/i386/strspn.S (strspn): Likewise.
35472         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35473         conditional code.
35474         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35475         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35476         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35477         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
35478         L(1_3) into L(1_1).
35479         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35480         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35481         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35482         macros.
35483         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35485 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
35487         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35488         macro.
35490 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35492         * math/atest-exp.c (exp_mpn): Remove ROUND.
35493         * math/atest-exp2.c (exp_mpn): Likewise.
35494         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35496         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35497         * stdlib/tst-tls-atexit-lib.c: Likewise.
35498         * stdlib/tst-tls-atexit.c: Likewise.
35500 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35502         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35503         and __attribute_alloc_size__.
35505 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35507         * include/programs/xmalloc.h: Change __attribute_alloc_size to
35508         __attribute_alloc_size__.
35509         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35510         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35512 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35514         * include/programs/xmalloc.h: New file.
35515         * catgets/gencat.c: Include it.
35516         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35517         * elf/pldd.c: Likewise.
35518         * iconv/iconv_charmap.c: Likewise.
35519         * iconv/iconvconfig.c: Likewise.
35520         * iconv/strtab.c: Likewise.
35521         * locale/programs/locale.c: Likewise.
35522         * locale/programs/localedef.h: Likewise.
35523         * locale/programs/simple-hash.c: Likewise.
35524         * nscd/nscd.h: Likewise.
35525         * nss/makedb.c: Likewise.
35526         * sysdeps/generic/ldconfig.h: Likewise.
35528 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35530         * Versions.def: Add GLIBC_2.18.
35531         * include/link.h (struct link_map): New member l_tls_dtor_count.
35532         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35533         (__call_tls_dtors): Likewise.
35534         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35535         __cxa_thread_atexit_impl.
35536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35537         Likewise.
35538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35539         Likewise.
35540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35541         Likewise.
35542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35543         Likewise.
35544         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35546         Likewise.
35547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35548         Likewise.
35549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35551         Likewise.
35552         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35553         (tests): Add test case tst-tls-atexit.
35554         (modules-names): Add shared library for tst-tls-atexit.
35555         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35556         (GLIBC_PRIVATE): Add __call_tls_dtors.
35557         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35558         for libstdc++.
35559         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35560         * stdlib/tst-tls-atexit.c: New test case.
35561         * stdlib/tst-tls-atexit-lib.c: New test case.
35563         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35565         * elf/Versions (ld): Add _dl_find_dso_for_object.
35566         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35567         * elf/dl-open.c (_dl_find_dso_for_object): New function.
35568         (dl_open_worker): Use _dl_find_dso_for_object.
35569         * elf/dl-sym.c (do_sym): Likewise.
35570         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35572 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35574         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35575         Syntactic changes only.
35576         (_dl_runtime_profile): Do a tail-call to the resolved function.
35578 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
35580         [BZ #13550]
35581         * sysdeps/x86_64/bp-asm.h: Remove file.
35582         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35583         <bp-sym.h> and <bp-asm.h>.
35584         (__clone): Do not use BP_SYM.
35585         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35586         <bp-sym.h> and <bp-asm.h>.
35587         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35588         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35589         "bp-asm.h".
35590         (_setjmp): Do not use BP_SYM.
35591         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35592         "bp-asm.h".
35593         (setjmp): Do not use BP_SYM.
35594         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35595         libc_hidden_def.
35596         (mempcpy): Do not use BP_SYM in weak_alias.
35597         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35598         "bp-asm.h".
35599         (strchr): Do not use BP_SYM.
35600         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35601         "bp-asm.h".
35602         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35603         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35604         (_start): Do not use BP_SYM.
35605         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35606         "bp-asm.h".
35607         (strcat): Do not use BP_SYM.
35608         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35609         "bp-asm.h".
35610         (STRCMP): Do not use BP_SYM.
35611         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35612         "bp-asm.h".
35613         (STRCPY): Do not use BP_SYM.
35614         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35615         "bp-asm.h".
35616         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35617         "bp-asm.h".
35618         (FUNCTION): Do not use BP_SYM.
35619         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35620         weak_alias.
35621         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35623 2013-02-17  Andreas Jaeger  <aj@suse.de>
35625         * time/Versions: Sort entries.
35626         * string/Versions: Likewise.
35627         * resolv/Versions: Likewise.
35628         * posix/Versions: Likewise.
35629         * iconv/Versions: Likewise.
35630         * elf/Versions: Likewise.
35631         * wcsmbs/Versions: Likewise.
35633 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35635         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35636         loop termination condition.
35638         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35639         variable to calculate EZ.
35640         (__sqr): Likewise.
35642         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35643         the lower precision input.
35645 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
35647         [BZ #13550]
35648         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35649         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35650         (run-via-rtld-prefix): Do not handle %-bp tests.
35651         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35652         (all-object-suffixes): Remove .ob.
35653         (bppfx): Remove variable.
35654         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35655         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35656         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35657         [$(build-bounded) = yes] (libtype.ob): Likewise.
35658         * Makerules (elide-routines.ob): Remove variable.
35659         (do-tests-clean): Do not handle *-bp.out.
35660         (common-mostlyclean): Do not handle *-bp and *-bp.out.
35661         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35662         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35663         (tests): Do not include $(tests-bp.out).
35664         (xtests): Do not include $(xtests-bp.out).
35665         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35666         [$(build-bounded) = yes] ($(addprefix
35667         $(objpfx),$(binaries-bounded))): Remove rule.
35668         ($(objpfx)%-bp.out): Remove rule.
35669         * config.make.in (build-bounded): Remove variable.
35670         * crypt/Makefile [$(build-bounded) = yes]
35671         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35672         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35673         append to variable.
35674         [$(build-bounded) = yes] (install-lib): Likewise.
35675         [$(build-bounded) = yes] (generated): Likewise.
35676         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35677         Remove rule.
35678         * intl/Makefile [$(build-bounded) = yes]
35679         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35680         * math/Makefile [$(build-bounded) = yes]
35681         ($(tests:%=$(objpfx)%-bp): Likewise.
35682         * misc/Makefile [$(build-bounded) = yes]
35683         ($(objpfx)tst-tsearch-bp): Likewise.
35684         * nptl/Makeconfig (bounded-thread-library): Remove variable.
35685         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35686         Remove dependency.
35687         * string/Makefile (o-objects.ob): Remove variable.
35688         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35689         (CFLAGS-.ob): Remove variable.
35690         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35691         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35692         both definitions of variable.
35693         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35694         (ASFLAGS-.ob): Remove variable.
35696 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
35698         [BZ #13550]
35699         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35700         Remove __BOUNDED_POINTERS__ from condition.
35701         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35702         * string/bits/string2.h [!__NO_STRING_INLINES &&
35703         !__BOUNDED_POINTERS__]: Likewise.
35704         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35705         Likewise.
35706         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35707         Remove conditional code.
35708         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35709         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35710         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35711         condition.
35713         [BZ #13550]
35714         * csu/libc-start.c: Do not include <bp-sym.h>.
35715         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35716         * elf/dl-open.c: Do not include <bp-sym.h>.
35717         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35718         * math/fegetenv.c: Do not include <bp-sym.h>.
35719         (fegetenv): Do not use BP_SYM in versioned symbols.
35720         * nptl/sysdeps/pthread/bits/libc-lockP.h
35721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35722         <bp-sym.h>.
35723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35724         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35726         (__pthread_mutex_destroy): Likewise.
35727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35728         (__pthread_mutex_lock): Likewise.
35729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35730         (__pthread_mutex_trylock): Likewise.
35731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35732         (__pthread_mutex_unlock): Likewise.
35733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35734         (__pthread_mutexattr_init): Likewise.
35735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35736         (__pthread_mutexattr_destroy): Likewise.
35737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35738         (__pthread_mutexattr_settype): Likewise.
35739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35740         (__pthread_rwlock_init): Likewise.
35741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35742         (__pthread_rwlock_destroy): Likewise.
35743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35744         (__pthread_rwlock_rdlock): Likewise.
35745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35746         (__pthread_rwlock_tryrdlock): Likewise.
35747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35748         (__pthread_rwlock_wrlock): Likewise.
35749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35750         (__pthread_rwlock_trywrlock): Likewise.
35751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35752         (__pthread_rwlock_unlock): Likewise.
35753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35754         (__pthread_key_create): Likewise.
35755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35756         (__pthread_setspecific): Likewise.
35757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35758         (__pthread_getspecific): Likewise.
35759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35760         Likewise.
35761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35762         (_pthread_cleanup_push_defer): Likewise.
35763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35764         (_pthread_cleanup_pop_restore): Likewise.
35765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35766         (pthread_setcancelstate): Likewise.
35767         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35768         <bp-sym.h>.
35769         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35770         (memchr): Do not use BP_SYM in weak_alias.
35771         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35772         (fegetenv): Do not use BP_SYM in versioned symbols.
35773         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35774         (fesetenv): Do not use BP_SYM in versioned symbols.
35775         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35776         (feupdateenv): Do not use BP_SYM in versioned symbols.
35777         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35778         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35779         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35780         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35781         (open64): Do not use BP_SYM in weak_alias.
35782         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35783         (fegetenv): Do not use BP_SYM in versioned symbols.
35784         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35785         (fesetenv): Do not use BP_SYM in versioned symbols.
35786         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35787         (feupdateenv): Do not use BP_SYM in versioned symbols.
35788         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35789         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35790         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35791         (feraiseexcept): Do not use BP_SYM in versioned symbols.
35792         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35793         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35794         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35795         <bp-sym.h>.
35796         (__libc_start_main): Do not use BP_SYM.
35798 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35801         redundant return line.
35802         (norm): Likewise.
35803         (denorm): Likewise.
35804         (dbl_mp): Likewise.
35805         (sub_magnitudes): Likewise.
35806         (__add): Likewise.
35807         (__sub): Likewise.
35808         (__mul): Likewise.
35809         (__inv): Likewise.
35810         (__dvd): Likewise.
35811         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35812         (norm): Likewise.
35813         (denorm): Likewise.
35814         (dbl_mp): Likewise.
35815         (sub_magnitudes): Likewise.
35816         (__add): Likewise.
35817         (__sub): Likewise.
35818         (__mul): Likewise.
35819         (__inv): Likewise.
35820         (__dvd): Likewise.
35822         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35823         instead of __mul.
35824         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35825         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35826         (cc32): Likewise.
35828         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35829         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35830         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35831         of __mul for squares.
35832         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35833         function
35834         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35835         Likewise.
35836         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35837         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35839 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
35841         [BZ #13550]
35842         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35843         code.
35844         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35845         prototype or function definition.  Rename ubp_* variables and
35846         parameters.  Remove argv definitions conditional on
35847         [__BOUNDED_POINTERS__].
35848         * debug/backtrace.c (__backtrace): Do not use __unbounded.
35849         * elf/dl-runtime.c (_dl_fixup): Likewise.
35850         * include/set-hooks.h (RUN_HOOK): Likewise.
35851         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35852         definition.
35853         * string/strcpy.c (strcpy): Do not use __unbounded.
35854         * sysdeps/generic/frame.h (struct layout): Likewise.
35855         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35856         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35857         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35858         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35859         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35860         (__backtrace): Likewise.
35861         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35862         use __ptrvalue.
35863         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35864         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35865         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35866         Likewise.
35867         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35868         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35869         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35870         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35871         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35872         Do not use __unbounded.
35873         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35874         Rename __unboundedrlimits parameter to rlimits in prototype.
35875         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35876         Do not use __unbounded.
35877         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35878         not use __ptrvalue.
35879         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35880         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35881         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35882         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35883         __ptrvalue or __unbounded.
35884         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35885         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35886         use __unbounded.
35887         (__new_msgctl): Do not use __ptrvalue.
35888         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35889         __unbounded.
35890         (__libc_msgrcv): Do not use __ptrvalue.
35891         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35892         startup_info): Do not use __unbounded.
35893         (__libc_start_main): Likewise.  Rename ubp_* variables and
35894         parameters.  Remove argv definitions conditional on
35895         [__BOUNDED_POINTERS__].
35896         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35897         __ptrvalue.
35898         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35899         use __unbounded.
35900         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35901         or __ptrvalue.
35902         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35903         use __unbounded.
35904         (__new_shmctl): Do not use __ptrvalue.
35905         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35906         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35907         Likewise.
35908         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35909         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35910         (__libc_sigaction): Likewise.
35911         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35912         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35913         Likewise.
35914         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35916 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
35918         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35920         * string/mempcpy.c: Implement by calling memcpy.
35922 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35924         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35926         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35927         evaluation.
35929         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35930         values in the mantissa.
35932         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35933         minimize writes to Z.
35934         (sub_magnitudes): Simplify code a bit.
35936 2013-02-12  Roland McGrath  <roland@hack.frob.com>
35938         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35939         from the message.  The linker prefixes all warnings with that already.
35941 2013-02-12  Andreas Schwab  <schwab@suse.de>
35943         [BZ #15078]
35944         * posix/regexec.c (extend_buffers): Add parameter min_len.
35945         (check_matching): Pass minimum needed length.
35946         (clean_state_log_if_needed): Likewise.
35947         (get_subexp): Likewise.
35948         * posix/Makefile (tests): Add bug-regex34.
35949         (bug-regex34-ENV): Define.
35950         * posix/bug-regex34.c: New file.
35952         [BZ #11561]
35953         * posix/regcomp.c (parse_bracket_exp): When looking up collating
35954         elements compare against the byte sequence of it, not its name.
35955         * posix/Makefile (tests): Add bug-regex35.
35956         (bug-regex35-ENV): Define.
35957         * posix/bug-regex35.c: New file.
35959 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35961         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
35962         comment.
35963         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35964         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35965         (CHECK_EOL): Add undef.
35967 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
35969         * bits/stdlib-bsearch.h: New file.
35970         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35971         * stdlib/stdlib.h: Likewise.
35973 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35975         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35976         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35977         declaration.
35978         * manual/search.texi (Array Search Function): Add missing const in
35979         lfind prototype.
35980         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35981         declaration to use rlim_t.
35982         (Basic Scheduling Functions): Remove erroneous const from
35983         sched_getparam prototype.  Remove erroneous * from
35984         sched_get_priority_max and sched_get_priority_min prototypes.
35985         (Resource Usage): Fix summary @comment on vtimes to refer to
35986         sys/vtimes.h rather than vtimes.h.
35987         Add missing *s in vtimes prototype.
35988         (Limits on Resources): Fix ulimit prototype to return long int.
35989         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35990         prototypes to use long int rather than double.
35991         (BSD Random): Fix initstate and setstate to use char *, not void *.
35992         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35993         prototype to make second argument 'struct aiocb64 *const[]'.
35994         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35995         (Status of AIO Operations): Remove erroneous const in aio_return and
35996         aio_return64 prototypes.
35997         (Synchronizing I/O): Fix sync prototype to return void.
35998         * manual/startup.texi (Suboptions): Remove an erroneous const in
35999         getsubopt prototype.
36000         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36001         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36002         use size_t rather than int.
36003         (Scanning All Users): Likewise for getpwent_r.
36004         (Setting Groups): Add missing const to setgroups prototype.
36005         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36006         * manual/socket.texi (Host Names): Fix gethostbyaddr and
36007         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36008         'const void *' rather than 'const char *'.
36009         (Host Address Functions): Likewise for inet_ntop.
36010         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36011         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36012         ssize_t for return value.
36013         (Sending Data): Likewise for send, sendto, sendmsg.
36014         (Socket Option Functions): Add a missing const in setsockopt prototype.
36015         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36016         use wchar_t for the argument.
36017         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36018         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36019         take no arguments.
36020         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36021         double/float/long double for second argument.
36022         Fix return types of significand, significandf, significandl.
36023         * manual/filesys.texi (Setting Permissions): Use mode_t for second
36024         argument in fchmod prototype.
36025         (File Owner): Use uid_t and gid_t in fchown prototype.
36026         (File Times): Add const to utimes, futimes, and lutimes prototypes.
36027         (Making Special Files): Use mode_t and dev_t in mknod prototype.
36028         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36029         use 'const struct dirent **' as argument types to CMP function pointer
36030         argument.
36031         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36032         (File Times): Fix summary magic @comment for struct utimbuf and utime
36033         to refer to utime.h, not time.h.
36034         * manual/string.texi (Argz Functions): Add missing const in
36035         argz_extract and argz_next prototypes.
36036         (Finding Tokens in a String): Likewise for basename.
36037         (String/Array Comparison): Fix typo in wcscasecmp prototype.
36038         (Copying and Concatenation): Fix typo in wmemmove prototype.
36039         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36040         (Signal Stack): Remove erroneous const in sigstack prototype.
36041         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36042         prototype.
36043         (Simple Calendar Time): Likewise for stime.
36044         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36045         prototype.
36046         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36047         say sys/sysctl.h instead.
36048         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36049         and vsyslog prototypes.
36051 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36053         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36054         Remove.
36056 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36058         * misc/sys/mman.h: Fix typo in mremap comment.
36060 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36062         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36063         the '\0' terminator.
36065 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36067         [BZ #13550]
36068         * debug/segfault.c: Don't include <bp-checks.h>.
36069         * sysdeps/generic/bp-checks.h: Remove file.
36070         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36071         (__GETDENTS): Don't use CHECK_N.
36072         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36073         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36074         (__getgroups): Don't use CHECK_N.
36075         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36076         (setgroups): Don't use CHECK_N.
36077         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36078         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36079         (__libc_msgrcv): Don't use CHECK_N.
36080         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36081         (__libc_msgsnd): Don't use CHECK_N.
36082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36083         <bp-checks.h>.
36084         (__libc_pread): Don't use CHECK_N.
36085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36086         include <bp-checks.h>.
36087         (__libc_pread64): Don't use CHECK_N.
36088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36089         include <bp-checks.h>.
36090         (__libc_pwrite): Don't use CHECK_N.
36091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36092         include <bp-checks.h>.
36093         (__libc_pwrite64): Don't use CHECK_N.
36094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36095         <bp-checks.h>.
36096         (__libc_pread): Don't use CHECK_N.
36097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36098         include <bp-checks.h>.
36099         (__libc_pread64): Don't use CHECK_N.
36100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36101         include <bp-checks.h>.
36102         (__libc_pwrite): Don't use CHECK_N.
36103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36104         include <bp-checks.h>.
36105         (__libc_pwrite64): Don't use CHECK_N.
36106         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36107         (do_pread): Don't use CHECK_N.
36108         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36109         (do_pread64): Don't use CHECK_N.
36110         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36111         (do_pwrite): Don't use CHECK_N.
36112         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36113         (do_pwrite64): Don't use CHECK_N.
36114         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36115         (__libc_readv): Don't use CHECK_N.
36116         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36117         (semop): Don't use CHECK_N.
36118         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36119         <bp-checks.h>.
36120         (semtimedop): Don't use CHECK_N.
36121         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36122         (__libc_pread): Don't use CHECK_N.
36123         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36124         <bp-checks.h>.
36125         (__libc_pread64): Don't use CHECK_N.
36126         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36127         <bp-checks.h>.
36128         (__libc_pwrite): Don't use CHECK_N.
36129         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36130         <bp-checks.h>.
36131         (__libc_pwrite64): Don't use CHECK_N.
36132         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36133         <bp-checks.h>.
36134         (__libc_msgrcv): Don't use CHECK_N.
36135         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36136         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
36137         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36138         (__libc_writev): Don't use CHECK_N.
36140 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36142         * string/strcpy.c: Removed unused variable.
36144         * Makeconfig (+sysdep-includes): Define with := rather than =.
36145         Use an existing include/ subdir of each sysdeps dir before it.
36147 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36149         * nscd/connection.c (register_traced_file): Comment function.
36150         [HAVE_INOTIFY] (union __inev): Define.
36151         [HAVE_INOTIFY] (inotify_check_files): New function.
36152         [HAVE_INOTIFY] (clear_db_cache): Likewise.
36153         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36154         clear_db_cache.
36155         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36157 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36159         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36160         loaded if not already and that a failure is permanent.
36162 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36164         [BZ #15006]
36165         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36166         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36168 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36170         [BZ #13550]
36171         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36172         (CHECK_1_NULL_OK): Likewise.
36173         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36174         (__fxstat): Do not use CHECK_1.
36175         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36176         <bp-checks.h>.
36177         (___fxstat64): Do not use CHECK_1.
36178         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36179         <bp-checks.h>.
36180         (__fxstatat): Do not use CHECK_1.
36181         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36182         <bp-checks.h>.
36183         (__fxstatat64): Do not use CHECK_1.
36184         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36185         <bp-checks.h>.
36186         (__fxstat): Do not use CHECK_1.
36187         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36188         <bp-checks.h>.
36189         (__fxstatat): Do not use CHECK_1.
36190         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36191         <bp-checks.h>.
36192         (__getresgid): Do not use CHECK_1.
36193         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36194         <bp-checks.h>.
36195         (__getresuid): Do not use CHECK_1.
36196         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36197         <bp-checks.h>.
36198         (__lxstat): Do not use CHECK_1.
36199         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36200         <bp-checks.h>.
36201         (__old_msgctl): Do not use CHECK_1.
36202         (__new_msgctl): Likewise.
36203         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36204         <bp-checks.h>.
36205         (__new_setrlimit): Do not use CHECK_1.
36206         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36207         <bp-checks.h>.
36208         (__old_shmctl): Do not use CHECK_1.
36209         (__new_shmctl): Likewise.
36210         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36211         <bp-checks.h>.
36212         (__xstat): Do not use CHECK_1.
36213         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36214         (__lxstat): Do not use CHECK_1.
36215         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36216         <bp-checks.h>.
36217         (___lxstat64): Do not use CHECK_1.
36218         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36219         (__old_msgctl): Do not use CHECK_1.
36220         (__new_msgctl): Likewise.
36221         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36222         <bp-checks.h>.
36223         (__gettimeofday): Do not use CHECK_1.
36224         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36225         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36226         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36227         <bp-checks.h>.
36228         (__gettimeofday): Do not use CHECK_1.
36229         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36230         (__old_shmctl): Do not use CHECK_1_NULL_OK.
36231         (__new_shmctl): Do not use CHECK_1.
36232         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36233         <bp-checks.h>.
36234         (do_sigtimedwait): Do not use CHECK_1.
36235         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36236         <bp-checks.h>.
36237         (do_sigwaitinfo): Do not use CHECK_1.
36238         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36239         <bp-checks.h>.
36240         (msgctl): Do not use CHECK_1.
36241         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36242         <bp-checks.h>.
36243         (shmctl): Do not use CHECK_1.
36244         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36245         (ustat): Do not use CHECK_1.
36246         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36247         <bp-checks.h>.
36248         (__fxstat): Do not use CHECK_1.
36249         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36250         <bp-checks.h>.
36251         (__fxstatat): Do not use CHECK_1.
36252         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36253         <bp-checks.h>.
36254         (__lxstat): Do not use CHECK_1.
36255         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36256         <bp-checks.h>.
36257         (__xstat): Do not use CHECK_1.
36258         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36259         (__xstat): Do not use CHECK_1.
36260         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36261         (___xstat64): Do not use CHECK_1.
36263         [BZ #13550]
36264         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36265         definitions.
36266         (CHECK_BOUNDS_HIGH): Likewise.
36267         * string/strcpy.c: Do not include <bp-checks.h>.
36268         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36270 2013-02-07  Roland McGrath  <roland@hack.frob.com>
36272         * nscd/nscd-client.h (__nscd_drop_map_ref):
36273         Add __attribute__ ((unused)).
36274         * nis/nss-nisplus.h (niserr2nss): Likewise.
36276         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36277         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36279         * csu/libc-tls.c (init_static_tls, init_slotinfo):
36280         Remove inline keyword.
36281         * include/rounding-mode.h (round_away): Likewise.
36282         * libio/wfileops.c (adjust_wide_data): Likewise.
36283         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36284         (__m128i_strloadu_tolower): Likewise.
36285         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36286         (__m128i_strloadu_tolower): Likewise.
36287         * time/mktime.c (ydhms_diff): Likewise.
36288         * locale/elem-hash.h (elem_hash): Likewise.
36289         * locale/setlocale.c (setdata): Likewise.
36290         * posix/regex_internal.h (re_string_char_size_at): Likewise.
36291         (re_string_wchar_at): Likewise.
36292         (bitset_not, bitset_merge, bitset_mask): Likewise.
36293         [!(__GNUC__ > 3)] (inline): Remove macro.
36294         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36295         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36296         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36297         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36298         * string/memcmp.c (memcmp_bytes): Likewise.
36299         * locale/programs/locarchive.c (compute_hashval): Likewise.
36300         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36301         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36302         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36303         * nss/getent.c (print_rpc, print_protocols): Likewise.
36304         (print_passwd, print_group, print_aliases): Likewise.
36305         * nis/nss-nisplus.h (niserr2nss): Likewise.
36306         * nscd/connections.c (restart_p): Likewise.
36307         Change return type to bool.
36309 2013-02-05  Roland McGrath  <roland@hack.frob.com>
36311         * Makeconfig (all-Depend-files): Add existing
36312         $(sorted-subdirs:=/Depend) files.
36313         (all-subdirs): Remove nss.
36314         * sysdeps/unix/inet/Subdirs: Add it here instead.
36315         * hesiod/Depend: New file.
36317         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36318         instead of calling alloca.
36320         * io/lseek.c (__lseek): Rename to __libc_lseek.
36321         Define __lseek as an alias.
36323         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36325 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
36327         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36328         else clause and remove check for non-standard endianness.
36330 2013-02-04  David S. Miller  <davem@davemloft.net>
36332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36334 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
36336         [BZ #13550]
36337         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36338         (__ubp_memchr): Remove prototype.
36339         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36340         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36341         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36342         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36343         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36344         Remove alias.
36345         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36346         (__ubp_memchr): Likewise.
36347         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36348         (__ubp_memchr): Likewise.
36349         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36350         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36351         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36352         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36353         CHECK_STRING.
36354         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36355         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36356         (__getcwd): Do not use CHECK_STRING.
36357         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36358         <bp-checks.h>.
36359         (__real_chown): Do not use CHECK_STRING.
36360         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36361         <bp-checks.h>.
36362         (fchownat): Do not use CHECK_STRING.
36363         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36364         CHECK_STRING.
36365         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36366         <bp-checks.h>.
36367         (__lchown): Do not use CHECK_STRING.
36368         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36369         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36370         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36371         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36373         include <bp-checks.h>.
36374         (truncate64): Do not use CHECK_STRING.
36375         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36376         <bp-checks.h>.
36377         (__real_chown): Do not use CHECK_STRING.
36378         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36379         <bp-checks.h>.
36380         (__lchown): Do not use CHECK_STRING.
36381         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36382         <bp-checks.h>.
36383         (__chown): Do not use CHECK_STRING.
36384         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36385         <bp-checks.h>.
36386         (truncate64): Do not use CHECK_STRING.
36387         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36388         Likewise.
36389         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36390         (__xmknod): Do not use CHECK_STRING.
36391         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36392         <bp-checks.h>.
36393         (__xmknodat): Do not use CHECK_STRING.
36394         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36395         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36397 2013-02-04  Andreas Schwab  <schwab@suse.de>
36399         [BZ #14142]
36400         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36401         * include/netdb.h: Likewise for h_errno.
36402         * elf/tst-stackguard1.c: Include <tls.h>.
36404 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
36406         * elf/link.h (struct link_map): Extend the l_addr comment.
36407         * include/link.h (struct link_map): Likewise.
36409 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
36411         [BZ #13550]
36412         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36413         (BOUNDED_1): Remove macro.
36414         * debug/backtrace.c: Don't include <bp-checks.h>.
36415         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36416         (__backtrace): Likewise.
36417         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36418         <bp-checks.h>.
36419         (__backtrace): Don't use BOUNDED_1.
36420         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36421         <bp-checks.h>.
36422         (__backtrace): Don't use BOUNDED_1.
36423         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36424         (__backtrace): Don't use BOUNDED_1.
36425         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36426         (shmat): Don't use BOUNDED_N.
36428 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
36430         [BZ #13550]
36431         * sysdeps/generic/bp-start.h: Remove file.
36432         * csu/libc-start.c: Don't include <bp-start.h>.
36433         (LIBC_START_MAIN): Set up __environ directly instead of using
36434         INIT_ARGV_and_ENVIRON.
36435         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36436         <bp-start.h>.
36438         [BZ #13550]
36439         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36440         definitions.
36441         (CHECK_FCNTL): Likewise.
36442         (CHECK_N_PAGES): Likewise.
36444         [BZ #13550]
36445         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36446         definitions.
36447         (CHECK_SIGSET_NULL_OK): Likewise.
36448         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36449         <bp-checks.h>.
36450         (sigpending): Don't use CHECK_SIGSET.
36451         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36452         <bp-checks.h>.
36453         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36454         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36455         <bp-checks.h>.
36456         (do_sigsuspend): Don't use CHECK_SIGSET.
36457         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36458         use CHECK_SIGSET.
36459         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36460         (do_sigwait): Don't use CHECK_SIGSET.
36461         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36462         use CHECK_SIGSET.
36463         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36464         include <bp-checks.h>.
36465         (sigpending): Don't use CHECK_SIGSET.
36466         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36467         include <bp-checks.h>.
36468         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36469         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36470         <bp-checks.h>.
36471         (sigpending): Don't use CHECK_SIGSET.
36472         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36473         <bp-checks.h>.
36474         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36476         [BZ #13550]
36477         * sysdeps/generic/bp-semctl.h: Remove file.
36478         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36479         <bp-checks.h> and <bp-semctl.h>.
36480         (__old_semctl): Don't use CHECK_SEMCTL.
36481         (__new_semctl): Likewise.
36482         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36483         and <bp-semctl.h>.
36484         (__old_semctl): Don't use CHECK_SEMCTL.
36485         (__new_semctl): Likewise.
36486         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36487         <bp-checks.h> and <bp-semctl.h>.
36488         (__old_semctl): Don't use CHECK_SEMCTL.
36489         (__new_semctl): Likewise.
36490         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36491         <bp-checks.h> and <bp-semctl.h>.
36492         (semctl): Don't use CHECK_SEMCTL.
36494         [BZ #13550]
36495         * Makerules (elide-bp-thunks): Remove variable.
36496         (elide-routines.oS): Don't use $(elide-bp-thunks).
36497         (elide-routines.os): Likewise.
36498         (elide-routines.o): Likewise.
36499         (elide-routines.op): Likewise.
36500         (elide-routines.og): Likewise.
36501         (objects): Don't use $(bp-thunks).
36502         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36503         include.
36504         (common-generated): Do not add s-proto-bp.d.
36505         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36506         (int): Likewise.
36507         (typ): Likewise.
36508         Do not generate makefile rules for bounded-pointer thunks.
36509         * sysdeps/generic/bp-thunks.h: Remove file.
36510         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36511         * sysdeps/unix/s-proto-bp.S: Likewise.
36513         [BZ #15062]
36514         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36515         parts of result separately when argument is not close to line from
36516         -i to i and one part of argument is small.
36517         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36518         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36519         * math/libm-test.inc (cacos_test): Add more tests.
36520         (casin_test): Likewise.
36521         (casinh_test): Likewise.
36522         * sysdeps/i386/fpu/libm-test-ulps: Update.
36523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36525 2013-01-31  David S. Miller  <davem@davemloft.net>
36527         * po/de.po: Update from translation team.
36529 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
36531         * time/tzfile.c: Include stdint.h for SIZE_MAX.
36533 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
36535         * configure.in (_AC_PROG_CC_C89): New definition.
36536         * configure: Regenerate.
36538         * configure.in (AC_PROG_CPP): New definition.
36539         * configure: Regenerate.
36541 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36543         * debug/tst-backtrace.h: New file.
36544         * debug/tst-backtrace2.c: Include tst-backtrace.h.
36545         (ret): Remove variable.
36546         (x): Likewise.
36547         (FAIL): Remove macro.
36548         (NO_INLINE): Likewise.
36549         (fn1): Use match function instead of strstr.
36550         * debug/tst-backtrace3.c: Include tst-backtrace.h.
36551         (ret): Remove variable.
36552         (x): Likewise.
36553         (FAIL): Remove macro.
36554         (NO_INLINE): Likewise.
36555         (fn): Use match function instead of strstr.
36556         * debug/tst-backtrace4.c: Include tst-backtrace.h.
36557         (ret): Remove variable.
36558         (x): Likewise.
36559         (FAIL): Remove macro.
36560         (NO_INLINE): Likewise.
36561         (handle_signal): Use match function instead of strstr.
36562         * debug/tst-backtrace5.c: Include tst-backtrace.h.
36563         (ret): Remove variable.
36564         (x): Likewise.
36565         (FAIL): Remove macro.
36566         (NO_INLINE): Likewise.
36567         (handle_signal): Use match function instead of strstr.
36569 2013-01-23  Roland McGrath  <roland@hack.frob.com>
36571         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36573 2013-01-23  David S. Miller  <davem@davemloft.net>
36575         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36576         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36577         argument of CAS if possible.
36578         * sysdeps/sparc/sparc64/bits/atomic.h
36579         (__arch_compare_and_exchange_val_32_acq): Likewise.
36580         (__arch_compare_and_exchange_val_64_acq): Likewise.
36582 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
36584         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36585         * sysdeps/posix/ulimit.c: ... this.
36586         Include <limits.h>.
36587         * sysdeps/unix/bsd/ulimit.c: Remove file.
36589 2013-01-23  Adam Conrad  <adconrad@0c3.net>
36591         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36592         (LDFLAGS-tst-array5): Likewise.
36594 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36596         [BZ #15036]
36597         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36598         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36599         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36600         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36602 2013-01-21  David S. Miller  <davem@davemloft.net>
36604         * sysdeps/sparc/backtrace.c: New file.
36605         * sysdeps/sparc/sparc32/backtrace.h: New file.
36606         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36607         * sysdeps/sparc/sparc64/backtrace.h: New file.
36608         * sysdeps/sparc/sparc64/backtrace.c: Delete.
36609         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36610         -funwind-tables.
36612 2013-01-21  Andreas Schwab  <schwab@suse.de>
36614         [BZ #15020]
36615         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36616         closed its stdout.
36618 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
36620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36621         "mpa2.h".
36622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36624 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
36625             Mark Mitchell  <mark@codesourcery.com>
36626             Tom de Vries  <tom@codesourcery.com>
36627             Paul Pluzhnikov  <ppluzhnikov@google.com>
36629         * debug/tst-backtrace2.c: New file.
36630         * debug/tst-backtrace3.c: Likewise.
36631         * debug/tst-backtrace4.c: Likewise.
36632         * debug/tst-backtrace5.c: Likewise.
36633         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36634         (CFLAGS-tst-backtrace3.c): Likewise.
36635         (CFLAGS-tst-backtrace4.c): Likewise.
36636         (CFLAGS-tst-backtrace5.c): Likewise.
36637         (LDFLAGS-tst-backtrace2): Likewise.
36638         (LDFLAGS-tst-backtrace3): Likewise.
36639         (LDFLAGS-tst-backtrace4): Likewise.
36640         (LDFLAGS-tst-backtrace5): Likewise.
36641         (tests): Add new tests tst-backtrace2, tst-backtrace3,
36642         tst-backtrace4 and tst-backtrace5.
36644 2013-01-18  Anton Blanchard  <anton@samba.org>
36645             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36647         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36648         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36649         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36650         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36652         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36653         "+r" and remove output regs list as redundant.  Add explicit inline
36654         asm to specify register of return val to work around compiler codegen
36655         bug.  Remove (int) cast on return value.  Add return type parameter to
36656         use in macro so that this macro does not truncate return value for
36657         64-bit values.
36658         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36659         pass to INTERNAL_VSYSCALL_NCS.
36660         (INLINE_VSYSCALL): Add 'long int' as return type to
36661         INTERNAL_VSYSCALL_NCS macro invocation.
36662         (INTERNAL_VSYSCALL): Add 'long int' as return type to
36663         INTERNAL_VSYSCALL_NCS macro invocation.
36664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36666 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36668         [BZ #14496]
36669         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36670         Fix application of SIMD FP exception mask.
36672         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36673         mp_no from a power of two.
36674         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36675         __mpexp_twomm1.  Use __pow_mp.
36677         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36678         multiplication.
36680 2013-01-17  David S. Miller  <davem@davemloft.net>
36682         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36684 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36686         [BZ #15023]
36687         * include/complex.h: Condition contents on [!_COMPLEX_H].
36688         (__kernel_casinhf): New prototype.
36689         (__kernel_casinh): Likewise.
36690         (__kernel_casinhl): Likewise.
36691         * math/Makefile (libm_calls): Add k_casinh.
36692         * math/k_casinh.c: New file.
36693         * math/k_casinhf.c: Likewise.
36694         * math/k_casinhl.c: Likewise.
36695         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36696         finite nonzero arguments.
36697         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36698         finite nonzero arguments.
36699         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36700         finite nonzero arguments.
36701         * math/s_casinh.c: Do not include <float.h>.
36702         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36703         * math/s_casinhf.c: Do not include <float.h>.
36704         (__casinhf): Move code for finite nonzero arguments to
36705         k_casinhf.c.
36706         * math/s_casinhl.c: Do not include <float.h>.
36707         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36708         redefine.
36709         (__casinhl): Move code for finite nonzero arguments to
36710         k_casinhl.c.
36711         * math/libm-test.inc (cacos_test): Add more tests.
36712         * sysdeps/i386/fpu/libm-test-ulps: Update.
36713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36715 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
36717         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36718         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36719         [!HAVE_MREMAP]: Remove [defined linux] case.
36720         * malloc/arena.c: Do not include <malloc-sysdep.h>.
36722 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36724         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36726 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
36728         * elf/elf.h (R_386_SIZE32): New relocation.
36729         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36730         R_386_SIZE32.
36731         (elf_machine_rela): Likewise.
36732         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36733         R_X86_64_SIZE64 and R_X86_64_SIZE32.
36735 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36737         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36738         (FP_FAST_FMA): Do not define.
36739         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36740         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36741         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36742         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36743         !_SOFT_FLOAT]: Likewise.
36744         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36745         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36746         value.
36747         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36748         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36749         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36750         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36751         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36752         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36753         file.
36755 2013-01-16  Andreas Schwab  <schwab@suse.de>
36757         [BZ #14327]
36758         * include/stdlib.h (__mktemp): Add declaration.
36759         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36760         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36762 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36764         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36765         definitions.
36766         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36767         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36768         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36769         definitions here.
36770         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36771         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36772         definitions.
36773         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36774         and ONE.
36775         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36776         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36777         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36778         definitions.
36779         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36780         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36781         definitions.
36782         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36784         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36786 2013-01-15  David S. Miller  <davem@davemloft.net>
36788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36789         trunc{,f} to libm-sysdep_routes.
36790         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36792         file.
36793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36795         file.
36796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36797         file.
36798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36800         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36801         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36802         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36803         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36804         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36805         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36808         nearbyint{,f} to libm-sysdep_routes.
36809         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36811         New file.
36812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36813         file.
36814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36815         New file.
36816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36817         file.
36818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36820         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36821         file.
36822         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36823         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36824         file.
36825         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36826         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36827         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36829         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36830         libc_feholdexcept and libc_fesetenv.
36832 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
36834         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36836 2013-01-14  David S. Miller  <davem@davemloft.net>
36838         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36839         (SPARC_ASM_VIS2_IFUNC): Likewise.
36840         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36842         use of 'siam' instruction.
36843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36844         Likewise.
36845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36846         Likewise.
36847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36848         Likewise.
36849         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36850         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36851         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36852         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36854         file.
36855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36856         file.
36857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36858         file.
36859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36860         file.
36861         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36862         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36863         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36864         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36866         new VIS2 routines.
36867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36870         Likewise.
36871         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36872         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36876         routines to libm-sysdep_routines.
36877         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36880         fdim/fdimf to libm-sysdep_routines.
36881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36882         file.
36883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36885         file.
36886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36889         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36890         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36891         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36892         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36894 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36896         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36897         to optimize copies.
36899         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36900         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36901         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36903         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36904         local variable MPTWO.
36905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36906         Likewise.
36908 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36910         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36911         GLOB_NOESCAPE.
36913 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36915         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36917 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36919         * manual/pattern.texi (glob_t): Document gl_flags.
36920         (glob64_t): Likewise.
36922 2013-01-11  David S. Miller  <davem@davemloft.net>
36924         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36925         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36926         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
36927         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36928         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36929         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36930         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36931         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36932         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36933         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36934         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36935         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36936         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36938         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36939         sparc V9 rather than using V8 code.
36940         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36941         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36943         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36944         Move to...
36945         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36946         Here.
36948 2013-01-11  Roland McGrath  <roland@hack.frob.com>
36950         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36951         not in the main loop.
36952         * configure: Regenerated.
36954 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
36956         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36957         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36958         to just #else.
36959         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
36960         [!__GLIBC_HAVE_LONG_LONG] case.
36961         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36962         condition to just #else.
36963         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36964         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36965         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36966         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36967         unconditional.
36968         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36969         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36970         #elif condition to just #else.
36971         * sysdeps/unix/sysv/linux/sys/sysmacros.h
36972         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36973         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36974         #elif condition to just #else.
36976 2013-01-11  Steve Ellcey  <sellcey@mips.com>
36978         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36979         (EF_MIPS_ARCH_64): Fix value.
36980         (EF_MIPS_ARCH_32R2): New.
36981         (EF_MIPS_ARCH_64R2): New.
36983 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
36985         * Makeconfig (+link-pie-before-libc): New.
36986         (+link-pie-after-libc): Likewise.
36987         (+link-pie-tests): Likewise.
36988         (+link-pie): Rewritten.
36989         (link-before-libc): Remove $(config-LDFLAGS).
36990         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36991         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36992         (config-LDFLAGS): Renamed to ...
36993         (rtld-LDFLAGS): This.
36994         (rtld-tests-LDFLAGS): New macro.
36995         (link-libc-rpath-link): Likewise.
36996         (link-libc-tests-rpath-link): Likewise.
36997         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36998         (link-libc): Prepand $(link-libc-rpath-link).
36999         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37000         (test-program-prefix): New macro.
37001         (test-via-rtld-prefix): Likewise.
37002         (test-program-cmd): Likewise.
37003         (host-test-program-cmd): Likewise.
37004         * Makefile ($(common-objpfx)testrun.sh): Replace
37005         $(run-program-prefix) with $(test-program-prefix).
37006         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37007         $(rtld-LDFLAGS).
37008         ($(common-objpfx)shlib.lds): Likewise.
37009         (build-module-helper): Likewise.
37010         ($(common-objpfx)format.lds): Likewise.
37011         * Rules (binaries-pie-tests): New.
37012         (binaries-pie-notests): Likewise.
37013         (binaries-pie): Rewritten.
37014         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37015         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37016         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37017         (make-test-out): Replace $(host-built-program-cmd) with
37018         $(host-test-program-cmd).
37019         * config.make.in (build-hardcoded-path-in-tests): New variable.
37020         * configure.in (--enable-hardcoded-path-in-tests): New configure
37021         option.
37022         (hardcoded_path_in_tests): New AC_SUBST.
37023         * configure: Regenerated.
37024         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37025         $(built-program-cmd) with $(test-program-cmd).
37026         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37027         (test_program_cmd): This.
37028         * elf/Makefile ($(objpfx)order.out): Run test with
37029         $(test-program-prefix).
37030         ($(objpfx)order2.out): Likewise.
37031         ($(objpfx)tst-initorder.out): Likewise.
37032         ($(objpfx)tst-initorder2.out): Likewise.
37033         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37034         $(test-program-cmd).
37035         ($(objpfx)tst-array1-static.out): Likewise.
37036         ($(objpfx)tst-array2.out): Likewise.
37037         ($(objpfx)tst-array3.out): Likewise.
37038         ($(objpfx)tst-array4.out): Likewise.
37039         ($(objpfx)tst-array5.out): Likewise.
37040         ($(objpfx)tst-array5-static.out): Likewise.
37041         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37042         $(test-program-cmd).
37043         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37044         $(run-program-prefix) with $(test-program-prefix).
37045         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37046         (test_program_prefix): This.
37047         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37048         $(run-program-prefix) with $(test-program-prefix).
37049         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37050         (test_program_prefix): This.
37051         * iconvdata/tst-tables.sh: Likewise.
37052         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37053         $(run-program-prefix) with $(test-program-prefix).
37054         ($(objpfx)tst-translit.out): Likewise.
37055         ($(objpfx)tst-gettext2.out): Likewise.
37056         ($(objpfx)tst-gettext4.out): Likewise.
37057         ($(objpfx)tst-gettext6.out): Likewise.
37058         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37059         (test_program_prefix): This.
37060         * intl/tst-gettext2.sh: Likewise.
37061         * intl/tst-gettext4.sh  Likewise.
37062         * intl/tst-gettext6.sh: Likewise.
37063         * intl/tst-translit.sh: Likewise.
37064         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37065         with $(test-program-cmd).
37066         * libio/Makefile ($(objpfx)test-freopen.out): Replace
37067         $(run-program-prefix) with $(test-program-prefix).
37068         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37069         (test_program_prefix): This.
37070         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37071         $(run-program-prefix) with $(test-program-prefix).
37072         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37073         (test_program_prefix): This.
37074         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37075         * posix/Makefile ($(objpfx)globtest.out): Replace
37076         $(run-via-rtld-prefix) and $(test-wrapper) with
37077         $(test-program-prefix) and $(test-via-rtld-prefix).
37078         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37079         $(test-program-prefix).
37080         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37081         $(host-test-program-cmd).
37082         (tst-spawn-ARGS): Likewise.
37083         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37084         $(test-program-prefix).
37085         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37086         (test_via_rtld_prefix): This.
37087         (test_wrapper): Renamed to ...
37088         (test_program_prefix): This.
37089         (run_program_prefix): Replaced by test_program_prefix.
37090         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37091         (test_program_prefix): This.
37092         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37093         with $(host-test-program-cmd).
37094         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37095         $(run-program-prefix) with $(test-program-prefix).
37096         ($(objpfx)tst-printf.out): Likewise.
37097         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37098         $(test-program-cmd).
37099         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37100         (test_program_prefix): This.
37101         * stdio-common/tst-unbputc.sh: Likewise.
37102         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37103         $(run-program-prefix) with $(test-program-prefix).
37104         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37105         (test_program_prefix): This.
37106         * string/Makefile ($(objpfx)tst-svc.out):  Replace
37107         $(built-program-cmd) with $(test-program-cmd).
37109 2013-01-11  Andreas Jaeger  <aj@suse.de>
37111         [BZ #15003]
37112         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37113         value. Sync with Linux 3.7.
37115 2013-01-10  David S. Miller  <davem@davemloft.net>
37117         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37118         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37119         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37121 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37123         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37124         never set.
37125         * configure: Regenerated.
37127 2013-01-10  David S. Miller  <davem@davemloft.net>
37129         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37130         sparc V9 rather than using V8 code.
37131         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37132         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37134 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37136         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37137         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37138         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37139         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37140         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37141         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37142         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37143         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37144         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37145         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37146         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37147         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37148         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37149         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37150         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37151         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37152         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37153         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37154         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37155         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37156         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37157         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37158         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37159         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37160         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37161         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37162         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37164 2013-01-10  David S. Miller  <davem@davemloft.net>
37166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37168 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37170         * posix/Makefile (tests-static): New variable.
37171         (tests): Add $(tests-static).
37172         (tst-exec-static-ARGS): New variable.
37173         (tst-spawn-static-ARGS): Likewise.
37174         * posix/tst-exec-static.c: New file.
37175         * posix/tst-spawn-static.c: Likewise.
37176         * posix/tst-exec.c: Support run directly.
37177         * posix/tst-spawn.c: Likewise.
37179 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
37181         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37182         long.
37183         * math/bits/mathcalls.h (llrint): Likewise.
37184         (llround): Likewise.
37185         * stdlib/stdlib.h (struct drand48_data): Likewise.
37186         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37187         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37188         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37189         Likewise.
37190         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37191         Likewise.
37192         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37193         (elf_greg_t): Likewise.
37194         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37195         (__jmp_buf): Likewise.
37196         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37197         definitions.
37198         (llrint): Likewise, for all definitions.
37199         (llrintl): Likewise.
37201         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37202         Remove [__GNUC__] condition.
37203         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37204         condition to just [__USE_ISOC99].
37205         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37207 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37209         [BZ #14200]
37210         * sysdeps/unix/sysv/linux/x86/bits/environments.h
37211         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37212         defined.
37213         (_POSIX_V6_ILP32_OFF32): Likewise.
37214         (_XBS5_ILP32_OFF32): Likewise.
37215         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37216         (__ILP32_OFFBIG_LDFLAGS): Likewise.
37218 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37220         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37222         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37223         doubles __mpexp_twomm1.  Adjust usage.
37224         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37225         Remove.
37227 2013-01-10  Andreas Schwab  <schwab@suse.de>
37229         [BZ #14964]
37230         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37231         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37233 2013-01-09  David S. Miller  <davem@davemloft.net>
37235         [BZ #15003]
37236         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37237         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37238         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37239         (TCP_FASTOPEN): Define.
37240         (tcp_repair_opt): New structure.
37241         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37242         enum values.
37243         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37244         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37245         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37246         (tcp_cookie_transactions): New structure.
37248 2013-01-09  Anton Blanchard  <anton@samba.org>
37250         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37251         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37252         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37253         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37255 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
37257         * include/features.h (__USE_ANSI): Remove.
37259 2013-01-09  Roland McGrath  <roland@hack.frob.com>
37261         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37263         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37265 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37267         * sysdeps/s390/fpu/libm-test-ulps: Update.
37269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37271         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37272         (__acr): Likewise.
37273         (__cpy): Likewise.
37274         (norm): Likewise.
37275         (denorm): Likewise.
37276         (__mp_dbl): Likewise.
37277         (__dbl_mp): Likewise.
37278         (add_magnitudes): Likewise.
37279         (sub_magnitudes): Likewise.
37280         (__add): Likewise.
37281         (__sub): Likewise.
37282         (__mul): Likewise.
37283         (__inv): Likewise.
37284         (__dvd): Likewise.
37285         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37286         (__acr): Likewise.
37287         (__cpy): Likewise.
37288         (norm): Likewise.
37289         (denorm): Likewise.
37290         (__mp_dbl): Likewise.
37291         (__dbl_mp): Likewise.
37292         (add_magnitudes): Likewise.
37293         (sub_magnitudes): Likewise.
37294         (__add): Likewise.
37295         (__sub): Likewise.
37296         (__mul): Likewise.
37297         (__inv): Likewise.
37298         (__dvd): Likewise.
37299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37300         (__acr): Likewise.
37301         (__cpy): Likewise.
37302         (norm): Likewise.
37303         (denorm): Likewise.
37304         (__mp_dbl): Likewise.
37305         (__dbl_mp): Likewise.
37306         (add_magnitudes): Likewise.
37307         (sub_magnitudes): Likewise.
37308         (__add): Likewise.
37309         (__sub): Likewise.
37310         (__mul): Likewise.
37311         (__inv): Likewise.
37312         (__dvd): Likewise.
37314 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
37316         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37317         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37318         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37319         2 && __USE_EXTERN_INLINES]: Likewise.
37321 2013-01-08  Andreas Jaeger  <aj@suse.de>
37323         [BZ# 14985]
37324         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37325         Remove.
37326         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37327         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37329 2013-01-07  Anton Blanchard  <anton@samba.org>
37331         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37332         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37333         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37334         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37335         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37336         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37337         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37338         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37339         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37340         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37341         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37342         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37343         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37344         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37345         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37346         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37347         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37348         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37349         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37350         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37351         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37352         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37353         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37354         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37355         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37356         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37357         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37358         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37359         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37360         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37361         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37363         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37364         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37365         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37366         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37367         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37368         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37369         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37370         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37371         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37372         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37373         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37375 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
37377         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37378         (__MALLOC_PMT): Likewise.
37379         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37380         [__GNUC__], only on [_LIBC].
37381         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37382         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37383         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37384         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37385         forward declaration.
37386         (realloc_hook_ini): Likewise.
37387         (memalign_hook_ini): Likewise.
37388         (__libc_memalign): Do not use __MALLOC_PMT in variable
37389         declaration.
37390         (__libc_valloc): Likewise.
37391         (__libc_pvalloc): Likewise.
37392         (__libc_calloc): Likewise.
37393         (__posix_memalign): Likewise.
37395         [BZ #14996]
37396         * math/s_casinh.c: Include <float.h>.
37397         (__casinh): Do not do computation with squaring and square root
37398         for large arguments.
37399         * math/s_casinhf.c: Include <float.h>.
37400         (__casinhf): Do not do computation with squaring and square root
37401         for large arguments.
37402         * math/s_casinhl.c: Include <float.h>.
37403         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37404         (__casinhl): Do not do computation with squaring and square root
37405         for large arguments.
37406         * math/libm-test.inc (casin_test): Add more tests.
37407         (casinh_test): Likewise.
37408         * sysdeps/i386/fpu/libm-test-ulps: Update.
37409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37411 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
37413         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37414         (__x86_64_raw_data_cache_size): Likewise.
37415         (__x86_64_data_cache_size_half): Likewise.
37416         (__x86_64_raw_data_cache_size_half): Likewise.
37417         (__x86_64_shared_cache_size): Likewise.
37418         (__x86_64_raw_shared_cache_size): Likewise.
37419         (__x86_64_shared_cache_size_half): Likewise.
37420         (__x86_64_raw_shared_cache_size_half): Likewise.
37421         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37422         to ...
37423         (__x86_data_cache_size): This.
37424         (__x86_64_raw_data_cache_size): Renamed to ...
37425         (__x86_raw_data_cache_size): This.
37426         (__x86_64_data_cache_size_half): Renamed to ...
37427         (__x86_data_cache_size_half): This.
37428         (__x86_64_raw_data_cache_size_half): Renamed to ...
37429         (__x86_raw_data_cache_size_half): This.
37430         (__x86_64_shared_cache_size): Renamed to ...
37431         (__x86_shared_cache_size): This.
37432         (__x86_64_raw_shared_cache_size): Renamed to ...
37433         (__x86_raw_shared_cache_size): This.
37434         (__x86_64_shared_cache_size_half): Renamed to ...
37435         (__x86_shared_cache_size_half): This.
37436         (__x86_64_raw_shared_cache_size_half): Renamed to ...
37437         (__x86_raw_shared_cache_size_half): This.
37438         * sysdeps/x86_64/memcpy.S: Updated.
37439         * sysdeps/x86_64/memset.S: Likewise.
37440         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37441         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37442         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37444 2013-01-04  David S. Miller  <davem@davemloft.net>
37446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37448 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
37450         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37451         1 to avoid redefinition warning.
37452         (__USE_GNU): Don't define.
37453         (init_signaling_nan): Protoize.
37455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37457 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37459         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37461         (__cpymn): Likewise.
37462         (norm): Remove commented code.
37463         (denorm): Likewise.
37464         (__mp_dbl): Likewise.
37465         (__inv): Likewise.
37466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37467         (__cpymn): Likewise.
37468         (norm): Remove commented code.
37469         (denorm): Likewise.
37470         (__mp_dbl): Likewise.
37471         (__inv): Likewise.
37473         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37474         mp_no value for 1.0 and 2.0.
37475         (norm): Use RADIXI instead of radixi.d.
37476         (denorm): Likewise.
37477         (__mul): Use 0.0 instead of zero.d.
37478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37479         mp_no value for 1.0 and 2.0.
37480         (norm): Use RADIXI instead of radixi.d.
37481         (denorm): Likewise.
37482         (__mul): Use 0.0 instead of zero.d.
37484 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
37486         [BZ #14994]
37487         * math/s_casinh.c (__casinh): Reduce finite argument to first
37488         quadrant then set signs of results at the end.
37489         * math/s_casinhf.c (__casinhf): Likewise.
37490         * math/s_casinhl.c (__casinhl): Likewise.
37491         * math/libm-test.inc (casin_test): Add more tests.
37492         (casinh_test): Likewise.
37493         * sysdeps/i386/fpu/libm-test-ulps: Update.
37494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37496 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37498         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37500         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37502         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37503         declarations.
37504         (denorm): Likewise.
37505         (__mp_dbl): Likewise.
37506         (__inv): Likewise.
37508         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37509         and adjust the header comment.
37511         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37512         variable name from declaration.
37514 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
37516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37517         Initialize COMMON_CPUID_INDEX_7 element.
37518         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37519         (CPUID_RTM): Likewise.
37520         (HAS_RTM): Likewise.
37521         (COMMON_CPUID_INDEX_7): New enum.
37523 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
37525         [BZ #14981]
37526         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37527         size is zero, record memory as freed.
37529 2013-01-03  Andreas Jaeger  <aj@suse.de>
37531         * po/ia.po: Add new Interlingua translation.
37533 2012-01-03  Allan McRae  <allan@archlinux.org>
37535         * locale/programs/localedef.c: Fix description of '--posix' flag.
37537 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
37539         * NEWS: Update dates in second copyright notice.
37540         * README: Update copyright dates in example.
37541         * manual/libc.texinfo: Update copyright dates.
37542         * scripts/test-installation.pl: Update copyright date in --version
37543         output.
37545         * hurd/ctty-input.c: Fix copyright notice formatting.
37546         * hurd/ctty-output.c: Likewise.
37547         * hurd/dtable.c: Likewise.
37548         * hurd/hurd-raise.c: Likewise.
37549         * hurd/hurdprio.c: Likewise.
37550         * hurd/msgportdemux.c: Likewise.
37551         * misc/sys/file.h: Likewise.
37552         * misc/sys/ioctl.h: Likewise.
37553         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37554         * sysdeps/mach/hurd/chdir.c: Likewise.
37555         * sysdeps/mach/hurd/fchdir.c: Likewise.
37556         * sysdeps/mach/hurd/rename.c: Likewise.
37557         * sysdeps/mach/hurd/rmdir.c: Likewise.
37558         * sysdeps/mach/hurd/seekdir.c: Likewise.
37559         * sysdeps/mach/hurd/setsid.c: Likewise.
37560         * sysdeps/posix/wait3.c: Likewise.
37562         * All files with FSF copyright notices: Update copyright dates
37563         using scripts/update-copyrights.
37564         * intl/plural.c: Regenerated.
37565         * locale/programs/charmap-kw.h: Likewise.
37566         * locale/programs/locfile-kw.h: Likewise.
37568 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37570         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37571         four values.
37573         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37574         calculation loop and add branch prediction.
37576         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37577         check access beyond bounds of m1np.
37579         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37580         MPTWO.
37581         (__inv): Remove local variable MPTWO to use the global
37582         constant.
37583         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37584         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37585         variable MPTWO.
37586         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37587         MP3HALFS static const.
37589 2013-01-01  David S. Miller  <davem@davemloft.net>
37591         * po/ca.po: Update from translation team.
37593 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
37595         * scripts/update-copyrights: New file.
37596         * Makeconfig: Reformat copyright notice.
37597         * ctype/ctype.h: Likewise.
37598         * debug/swprintf_chk.c: Likewise.
37599         * elf/dl-cache.c: Likewise.
37600         * elf/dl-debug.c: Likewise.
37601         * elf/dl-object.c: Likewise.
37602         * grp/initgroups.c: Likewise.
37603         * hurd/Makefile: Likewise.
37604         * hurd/hurd/signal.h: Likewise.
37605         * hurd/hurdfault.c: Likewise.
37606         * hurd/hurdioctl.c: Likewise.
37607         * hurd/hurdlookup.c: Likewise.
37608         * hurd/intr-msg.c: Likewise.
37609         * iconv/gconv_open.c: Likewise.
37610         * libio/swprintf.c: Likewise.
37611         * locale/lc-ctype.c: Likewise.
37612         * locale/nl_langinfo.c: Likewise.
37613         * mach/Machrules: Likewise.
37614         * mach/Makefile: Likewise.
37615         * malloc/obstack.h: Likewise.
37616         * manual/Makefile: Likewise.
37617         * manual/tsort.awk: Likewise.
37618         * misc/bits/stab.def: Likewise.
37619         * nis/nis_print_group_entry.c: Likewise.
37620         * nis/nis_table.c: Likewise.
37621         * nis/nss_compat/compat-pwd.c: Likewise.
37622         * nis/nss_compat/compat-spwd.c: Likewise.
37623         * po/Makefile: Likewise.
37624         * posix/fnmatch.c: Likewise.
37625         * posix/regex.h: Likewise.
37626         * resolv/Makefile: Likewise.
37627         * resolv/nss_dns/dns-network.c: Likewise.
37628         * resolv/res_hconf.c: Likewise.
37629         * scripts/gen-sorted.awk: Likewise.
37630         * soft-fp/soft-fp.h: Likewise.
37631         * stdio-common/printf.h: Likewise.
37632         * stdlib/monetary.h: Likewise.
37633         * stdlib/random.c: Likewise.
37634         * stdlib/random_r.c: Likewise.
37635         * sysdeps/generic/Makefile: Likewise.
37636         * sysdeps/gnu/Makefile: Likewise.
37637         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37638         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37639         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37640         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37641         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37642         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37643         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37644         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37645         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37646         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37647         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37648         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37649         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37650         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37651         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37652         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37653         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37654         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37655         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37656         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37657         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37658         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37659         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37660         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37661         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37662         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37663         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37664         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37665         * sysdeps/mach/hurd/errnos.awk: Likewise.
37666         * sysdeps/mach/hurd/fork.c: Likewise.
37667         * sysdeps/mach/hurd/getcwd.c: Likewise.
37668         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37669         * sysdeps/mach/hurd/mmap.c: Likewise.
37670         * sysdeps/mach/hurd/utimes.c: Likewise.
37671         * sysdeps/mach/hurd/xmknod.c: Likewise.
37672         * sysdeps/posix/profil.c: Likewise.
37673         * sysdeps/posix/readdir_r.c: Likewise.
37674         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37675         * sysdeps/powerpc/bits/setjmp.h: Likewise.
37676         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37677         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37678         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37679         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37680         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37681         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37683         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37684         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37685         * sysdeps/pthread/lio_listio.c: Likewise.
37686         * sysdeps/sparc/dl-procinfo.h: Likewise.
37687         * sysdeps/unix/i386/sysdep.S: Likewise.
37688         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37689         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37690         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37691         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37693         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37694         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37695         * sysdeps/unix/sysv/linux/speed.c: Likewise.
37696         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37697         * sysdeps/wordsize-32/divdi3.c: Likewise.
37698         * time/sys/time.h: Likewise.
37699         * wcsmbs/Makefile: Likewise.
37701 2013-01-01  David S. Miller  <davem@davemloft.net>
37703         * po/fr.po: Update from translation team.
37705         * catgets/gencat.c: Update copyright year.
37706         * csu/version.c: Likewise.
37707         * debug/catchsegv.sh: Likewise.
37708         * debug/pcprofiledump.c: Likewise.
37709         * debug/xtrace.sh: Likewise.
37710         * elf/ldconfig.c: Likewise.
37711         * elf/ldd.bash.in: Likewise.
37712         * elf/pldd.c: Likewise.
37713         * elf/sotruss.ksh: Likewise.
37714         * elf/sprof.c: Likewise.
37715         * iconv/iconv_prog.c: Likewise.
37716         * iconv/iconvconfig.c: Likewise.
37717         * locale/programs/locale.c: Likewise.
37718         * locale/programs/localedef.c: Likewise.
37719         * login/programs/pt_chown.c: Likewise.
37720         * malloc/memusage.sh: Likewise.
37721         * malloc/memusagestat.c: Likewise.
37722         * malloc/mtrace.pl: Likewise.
37723         * nscd/nscd.c: Likewise.
37724         * nss/getent.c: Likewise.
37725         * nss/makedb.c: Likewise.
37726         * posix/getconf.c: Likewise.
37728 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37730         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37731         numbers.
37733 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
37735         * math/bits/mathcalls.h (modf): Use __nonnull.
37737 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37739         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37740         (split): Use macro CN instead of the bare value.
37741         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37742         could be used.
37743         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37744         instead of the bare value.
37745         (power1): Likewise.
37747 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37749         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37750         __ATAN_TWOM.
37751         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37753         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37754         their values.
37755         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37756         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37757         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37758         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37760 2012-12-28  Andreas Jaeger  <aj@suse.de>
37762         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
37763         values are from Linux 3.7.
37765         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37766         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
37768 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37770         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37771         TRUE case.
37773         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37774         (norm): Likewise.
37775         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37776         variables with preprocessor constants.
37777         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37778         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37779         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37781 2012-12-27  Bruno Haible  <bruno@clisp.org>
37783         [BZ #14317]
37784         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37785         only if needed.
37787 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37789         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37790         and use variable directly.
37791         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37793         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37794         MPONE.
37795         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37796         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37797         variable MPONE.
37798         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37799         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37800         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37801         include directive.  Remove local variable MPONE.
37802         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37803         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37804         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37806 2012-12-25  David S. Miller  <davem@davemloft.net>
37808         * version.h (RELEASE): Set to "development".
37809         (VERSION): Set to "2.17.90".
37810         * NEWS: Add 2.18 section.
37812 2012-12-21  David S. Miller  <davem@davemloft.net>
37814         * po/hr.po: Update from translation team.
37816 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37818         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37820 2012-12-19  Steve Ellcey  <sellcey@mips.com>
37822         * NEWS:  Mention new memcpy for MIPS.
37824 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37826         * manual/contrib.texi (Contributors): Spelling correction.
37828 2012-12-15  David S. Miller  <davem@davemloft.net>
37830         * po/ru.po: Update from translation team.
37832 2012-12-13  David S. Miller  <davem@davemloft.net>
37834         * NEWS: Mention IFUNC testsuite enhancements.
37836         * po/pl.po: Update from translation team.
37837         * po/bg.po: Likewise.
37839         * manual/contrib.texi (Contributors): Update entries for Hongjiu
37840         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
37842 2012-12-11  David S. Miller  <davem@davemloft.net>
37844         * po/sv.po: Update from translation team.
37846         * po/vi.po: Update from translation team.
37848         * po/cs.po: Update from translation team.
37850         * po/de.po: Update from translation team.
37851         * po/eo.po: Likewise.
37852         * po/nl.po: Likewise.
37854 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37856         [BZ #14246]
37857         * manual/argp.texi (Argp Helper Functions): Move node to follow
37858         Argp Parsing State.
37860         [BZ #14872]
37861         * manual/conf.texi (Limits on File System Capacity): Mention if
37862         terminating null is included in the max size.
37864 2012-12-10  Andreas Jaeger  <aj@suse.de>
37866         * po/cs.po: Update from translation team.
37868 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37870         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37871         void pointer and cast to uintptr_t.
37872         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37873         path.
37874         * sysdeps/s390/s390-64/memcpy.S: Likewise.
37875         * sysdeps/s390/s390-64/memset.S: Likewise.
37877 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
37879         [BZ #14833]
37880         * menual/message.texi (Message Translation): Fix typos.
37881         (Helper programs for gettext): Likewise.
37883 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
37885         [BZ #14898]
37886         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37887         Change to -1.
37889 2012-12-07  David S. Miller  <davem@davemloft.net>
37891         * po/libc.pot: Update.
37893 2012-12-07  Richard Henderson  <rth@redhat.com>
37895         [BZ #10114]
37896         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37897         normal/normal case to before the switch.
37898         (_FP_DIV): Likewise.
37900 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
37901             Mike Frysinger  <vapier@gentoo.org>
37903         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37904         check for __NR_fadvise64_64.
37906 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
37908         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37909         0, not just to plain "0" as a statement.
37910         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37911         with cw.
37913 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
37915         * NEWS: Use sourceware.org in Bugzilla URL.
37917 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37920         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37922         * stdio-common/tst-put-error.c (do_test): Add newline to the
37923         padded test to ensure flush.
37925 2012-12-05  Jeff Law  <law@redhat.com>
37927         * sunrpc/etc.rpc (fedfs_admin): Add entry.
37929 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
37931         * README: Don't refer to ports add-on as distributed separately.
37932         Mention AArch64 in list of systems supported in the ports add-on.
37934         * LICENSES: Add more non-FSF copyright and license notices.
37936         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37937         ((unused)).
37939         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37941         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37942         10000 as width of padded output.
37944 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37946         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37948         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37949         variable LX with __attribute__ ((unused)).
37950         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37951         Likewise.
37952         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37953         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37954         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37955         with __attribute__ ((unused)).
37957 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
37959         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37961 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37963         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37964         (CFLAGS-nldbl-acos.c): New variable.
37965         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37966         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37967         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37968         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37969         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37970         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37971         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37972         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37973         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37974         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37975         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37976         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37977         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37978         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37979         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37980         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37981         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37982         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37983         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37984         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37985         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37986         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37987         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37988         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37989         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37990         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37991         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37992         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37993         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37994         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37995         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37996         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37997         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37998         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37999         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38000         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38001         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38002         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38003         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38004         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38005         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38006         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38007         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38008         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38009         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38010         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38011         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38012         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38013         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38014         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38015         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38016         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38017         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38018         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38019         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38020         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38021         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38022         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38023         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38024         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38025         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38026         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38027         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38028         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38029         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38030         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38031         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38032         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38033         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38034         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38035         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38036         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38037         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38038         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38039         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38040         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38041         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38042         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38043         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38044         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38045         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38046         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38047         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38048         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38049         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38050         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38051         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38052         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38053         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38054         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38055         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38056         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38057         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38058         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38059         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38060         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38061         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38064         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38066         [BZ #14914]
38067         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38068         whole low double instead of just low 47 bits when splitting values
38069         into two parts.
38071 2012-12-03  Allan McRae  <allan@archlinux.org>
38073         * manual/stdio.texi (Predefined Printf Handlers): Remove
38074         @hsep and @vsep usage.
38076 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
38078         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38079         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38081 2012-12-03  Jeff Law  <law@redhat.com>
38083         * time/sys/time.h (settimeofday): Do not mark TV argument
38084         as __nonnull.
38086 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
38088         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38089         when currently writing and seek to current position when not.
38090         * libio/Makefile (tests): Remove bug-fclose1.
38091         * libio/bug-fclose1.c: Delete.
38093 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
38095         * manual/arith.texi (feenableexcept): Fix typo.
38096         (fedisableexcept): Likewise.
38098 2012-11-30  Roland McGrath  <roland@hack.frob.com>
38100         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38101         second, differently-typed declaration, rather than a cast.
38103 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38105         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38106         * include/rpc/svc.h: ... here.
38108 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
38110         [BZ #13013]
38111         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38112         depending n and resplen2 to catch cases where answer
38113         equals answerp2.
38115 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
38117         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38118         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38120 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
38122         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38124 2012-11-29  Roland McGrath  <roland@hack.frob.com>
38126         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38128 2012-11-28  Jeff Law  <law@redhat.com>
38130         [BZ #13761]
38131         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38132         dataset_temporary.  Track alloca usage into alloca_used.
38133         If dataset is large allocate and release it via malloc/free.
38135 2012-06-04  Florian Weimer  <fweimer@redhat.com>
38137         [BZ #14197]
38138         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38140 2012-11-28  David S. Miller  <davem@davemloft.net>
38142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38144 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38146         [BZ #14803]
38147         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38148         of pi/2 rounded to nearest to 64 bits.
38149         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38150         nearest to 64 bits.
38151         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38152         bits.
38154 2012-11-28  Jeff Law <law@redhat.com>
38155             Martin Osvald <mosvald@redhat.com>
38157         [BZ #14889]
38158         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38159         * sunrpc/svc.c: Include time.h.
38160         (__svc_accept_failed): New function.
38161         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38162         any reason other than EINTR, call __svc_accept_failed.
38163         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38164         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38166 2012-11-28  Andreas Schwab  <schwab@suse.de>
38168         * scripts/abilist.awk: Also handle indirect functions in .opd
38169         section.
38171 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38173         [BZ #13881]
38174         * sysdeps/x86/fpu/powl_helper.c: New file.
38175         * sysdeps/x86/fpu/Makefile: Likewise.
38176         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38177         (p3): New object.
38178         (__ieee754_powl): Use __powl_helper for finite arguments except
38179         integer exponents below 8.
38180         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38181         (p3): New object.
38182         (__ieee754_powl): Use __powl_helper for finite arguments except
38183         integer exponents below 8.
38184         * math/libm-test.inc (pow_test): Add more tests and enable some
38185         previously disabled tests.
38186         * sysdeps/i386/fpu/libm-test-ulps: Update.
38187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38189 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38190             Carlos O'Donell  <carlos_odonell@mentor.com>
38192         * nss/makedb.c (is_prime): Assert that input is odd and greater
38193         than 4.  Note that fact in a comment too.
38194         (next_prime): Add 4 to input.
38196 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38198         [BZ #11741]
38199         * libio/Makefile (tests): Add test case tst-fwrite-error.
38200         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38201         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38202         * libio/tst-fwrite-error.c: New test case.
38204 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
38206         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38207         before casting to void *.
38208         * include/libc-internal.h (__pointer_type): New macro.
38209         (__integer_if_pointer_type_sub): Likewise.
38210         (__integer_if_pointer_type): Likewise.
38211         (cast_to_integer): Likewise.
38212         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38213         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38214         before casting to atomic64_t.
38215         (atomic_exchange_acq): Likewise.
38216         (__arch_exchange_and_add_body): Likewise.
38217         (__arch_add_body): Likewise.
38218         (atomic_add_negative): Likewise.
38219         (atomic_add_zero): Likewise.
38221 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
38223         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38224         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38225         (add_fdes): Likewise.
38226         (linear_search_fdes): Likewise.
38227         (binary_search_unencoded_fdes): Likewise.
38229 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
38231         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38233 2012-11-24  Adam Conrad  <adconrad@0c3.net>
38235         * configure.in: Autodetect C++ header directories.
38236         * configure: Regenerated.
38238 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
38240         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38242 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
38244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38246 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
38248         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38249         LDBL_MANT_DIG == 106]: Disable some tests.
38250         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38251         Likewise.
38252         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38253         Likewise.
38255         [BZ #14871]
38256         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38257         input for small inputs.  Return +/- pi/2 for large inputs.
38258         * math/libm-test.inc (atan_test): Add more tests.
38260         * sysdeps/generic/unwind-dw2-fde-glibc.c
38261         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38262         __attribute__ ((unused)).
38264         [BZ #14645]
38265         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38266         x * y if x and y are nonzero and z is zero.
38268         [BZ #14811]
38269         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38270         nonzero exponents with absolute value below 0x1p-117 to +/-
38271         0x1p-117.
38273         [BZ #14869]
38274         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38275         up arguments below 2**-450, not just those below 2**-500.
38276         * math/libm-test.inc (hypot_test): Add another test.
38278         [BZ #14868]
38279         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38280         Return a+b for ratio over 2**120, not 2**60.
38281         * math/libm-test.inc (hypot_test): Add another test.
38283         * math/libm-test.inc (clog_test): Use
38284         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38285         (clog10_test): Likewise.
38287         [BZ #6778]
38288         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38290 2012-11-22  Andreas Schwab  <schwab@suse.de>
38292         * sysdeps/i386/fpu/libm-test-ulps: Update.
38294 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
38296         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38297         printf output with newline.
38299 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
38301         [BZ #14865]
38302         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38303         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38304         -z nodlopen, -z initfirst and -z execstack support.
38305         * configure: Regenerated.
38307         * elf/elf.h (DF_1_NODIRECT): New macro.
38308         (DF_1_IGNMULDEF): Likewise.
38309         (DF_1_NOKSYMS): Likewise.
38310         (DF_1_NOHDR): Likewise.
38311         (DF_1_EDITED): Likewise.
38312         (DF_1_NORELOC): Likewise.
38313         (DF_1_SYMINTPOSE): Likewise.
38314         (DF_1_GLOBAUDIT): Likewise.
38315         (DF_1_SINGLETON): Likewise.
38316         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38317         DT_1_SUPPORTED_MASK bits.
38318         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38320 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
38322         * sysdeps/unix/make-syscalls.sh: Document prefixes.
38324 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
38326         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38327         macro.
38329         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38330         (sendmmsg): Move declarations...
38331         * socket/sys/socket.h: ... here.
38332         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38333         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38334         include it from...
38335         * socket/recvmmsg.c: ... this new file.
38336         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38337         (sendmmsg): Rename to __sendmmsg, create weak alias and make
38338         definition of __sendmmsg hidden.
38339         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38340         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38341         Move ENOSYS stub into and include it from...
38342         * socket/sendmmsg.c: ... this new file.
38343         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38344         (sysdep_routines): Move recvmmsg and sendmmsg...
38345         * socket/Makefile (routines): ... here.
38346         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38347         (GLIBC_PRIVATE): Add __sendmmsg.
38348         * include/sys/socket.h (__sendmmsg): Add declarations.
38349         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38350         sendmmsg.
38352 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
38354         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38355         variable I1 with __attribute__ ((unused)).
38356         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38358 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38360         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38361         DUMMY variables with __attribute__ ((unused)).
38363         * bits/byteswap.h: Include <bits/types.h>.
38364         (__bswap_64): Use __uint64_t instead of unsigned long long int.
38366 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38368         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38369         string_t.  Do not manually set errno.
38370         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38371         length with __strnlen.  Make sure to both set errno and return it on
38372         failure.
38374 2012-11-19  David S. Miller  <davem@davemloft.net>
38376         With help from Joseph Myers.
38377         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38378         very large arguments properly.
38379         * math/libm-test.inc (atan_test): New tests.
38380         (atan2_test): New tests.
38381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38384 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38386         [BZ #14856]
38387         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38388         Define to 3.
38390         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38391         [POSIX] (EADDRNOTAVAIL): Likewise.
38392         [POSIX] (EAFNOSUPPORT): Likewise.
38393         [POSIX] (EALREADY): Likewise.
38394         [POSIX] (ECONNABORTED): Likewise.
38395         [POSIX] (ECONNREFUSED): Likewise.
38396         [POSIX] (ECONNRESET): Likewise.
38397         [POSIX] (EDESTADDRREQ): Likewise.
38398         [POSIX] (EDQUOT): Likewise.
38399         [POSIX] (EHOSTUNREACH): Likewise.
38400         [POSIX] (EIDRM): Likewise.
38401         [POSIX] (EISCONN): Likewise.
38402         [POSIX] (ELOOP): Likewise.
38403         [POSIX] (EMULTIHOP): Likewise.
38404         [POSIX] (ENETDOWN): Likewise.
38405         [POSIX] (ENETUNREACH): Likewise.
38406         [POSIX] (ENOBUFS): Likewise.
38407         [POSIX] (ENODATA): Likewise.
38408         [POSIX] (ENOLINK): Likewise.
38409         [POSIX] (ENOMSG): Likewise.
38410         [POSIX] (ENOPROTOOPT): Likewise.
38411         [POSIX] (ENOSR): Likewise.
38412         [POSIX] (ENOSTR): Likewise.
38413         [POSIX] (ENOTCONN): Likewise.
38414         [POSIX] (ENOTSOCK): Likewise.
38415         [POSIX] (EOPNOTSUPP): Likewise.
38416         [POSIX] (EOVERFLOW): Likewise.
38417         [POSIX] (EPROTO): Likewise.
38418         [POSIX] (EPROTONOSUPPORT): Likewise.
38419         [POSIX] (EPROTOTYPE): Likewise.
38420         [POSIX] (ESTALE): Likewise.
38421         [POSIX] (ETIME): Likewise.
38422         [POSIX] (ETXTBSY): Likewise.
38423         [POSIX] (EWOULDBLOCK): Likewise.
38424         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38425         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38426         [POSIX] (SEEK_CUR): Likewise.
38427         [POSIX] (SEEK_END): Likewise.
38428         [POSIX || UNIX98] (mode_t): Do not require.
38429         [POSIX] (off_t): Likewise.
38430         [POSIX] (pid_t): Likewise.
38431         [POSIX] (sys/stat.h): Do not allow header.
38432         [POSIX] (unistd.h): Likewise.
38433         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38434         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38435         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38436         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38437         require.
38438         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38439         sigevent): Specify elements.
38440         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38441         entry.
38442         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38443         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38445         * conform/data/cpio.h-data [POSIX]: Disable whole file.
38446         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38447         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38448         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38449         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38450         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38451         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38452         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38453         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38454         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38455         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38456         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38457         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38458         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38459         Likewise.
38460         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38461         Likewise.
38462         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38463         Likewise.
38464         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38465         Likewise.
38466         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38467         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38468         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38469         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38470         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38471         Specify lower bound on value.
38472         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38473         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38474         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38475         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38476         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38477         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38478         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38479         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38480         value.
38481         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38482         as optional.
38483         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38484         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38485         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38486         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38487         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38488         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38489         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38490         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38491         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38492         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38493         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38494         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38495         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38496         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38497         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38498         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38499         entry.
38500         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38501         optional.
38502         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38503         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38504         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38505         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38506         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38507         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38508         Likewise.
38509         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38510         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38511         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38512         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38513         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
38514         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38515         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38516         as optional.
38517         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38518         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38519         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38520         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38521         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38522         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38523         specify as optional.
38524         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38525         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38526         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38527         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38528         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38529         [XPG3] (NL_LANGMAX): Likewise.
38530         [POSIX || XPG3] (NL_MSGMAX): Likewise.
38531         [POSIX || XPG3] (NL_NMAX): Likewise.
38532         [POSIX || XPG3] (NL_SETMAX): Likewise.
38533         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38534         [XPG3] (NZERO): Likewise.
38535         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38536         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38537         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38538         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38539         (REG_ERANGE): Expect.
38540         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38541         optional-constant.
38542         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38543         Use (void) in prototype.
38544         [POSIX] (*_t): Allow.
38545         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38546         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38547         (WRDE_BADVAL): Expect.
38549         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38550         expect.
38551         [XPG3 || XPG4] (O_RSYNC): Likewise.
38552         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38553         Likewise.
38554         [XPG3 || XPG4] (pthread_sigmask): Likewise.
38555         [XPG3 || XPG4] (sigqueue): Likewise.
38556         [XPG3 || XPG4] (sigtimedwait): Likewise.
38557         [XPG3 || XPG4] (sigwaitinfo): Likewise.
38558         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38559         [XPG3 || XPG4] (vsnprintf): Likewise.
38560         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38561         Likewise.
38562         [XPG3 || XPG4] (blksize_t): Likewise.
38563         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38564         Likewise.
38565         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38566         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38567         [XPG3 || XPG4] (struct itimerspec): Likewise.
38568         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38569         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38570         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38571         [XPG3 || XPG4] (clockid_t): Likewise.
38572         [XPG3 || XPG4] (timer_t): Likewise.
38573         [XPG3 || XPG4] (clock_getres): Likewise.
38574         [XPG3 || XPG4] (clock_gettime): Likewise.
38575         [XPG3 || XPG4] (clock_settime): Likewise.
38576         [XPG3 || XPG4] (nanosleep): Likewise.
38577         [XPG3 || XPG4] (timer_create): Likewise.
38578         [XPG3 || XPG4] (timer_delete): Likewise.
38579         [XPG3 || XPG4] (timer_gettime): Likewise.
38580         [XPG3 || XPG4] (timer_getoverrun): Likewise.
38581         [XPG3 || XPG4] (timer_settime): Likewise.
38582         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38583         [XPG3 || XPG4] (getlogin_r): Likewise.
38584         [XPG3 || XPG4] (pread): Likewise.
38585         [XPG3 || XPG4] (pthread_atfork): Likewise.
38586         [XPG3 || XPG4] (pwrite): Likewise.
38588         [BZ #14835]
38589         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38590         <bits/siginfo.h>.
38592 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38594         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38595         finalizing MALLSTREAM.
38597         * sysdeps/mach/hurd/syncfs.c: New file.
38599 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38601         [BZ #14719]
38602         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38603         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38604         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38605         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38606         (_nss_dns_gethostbyname4_r): Likewise.
38607         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38608         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38610 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
38612         [BZ #13763]
38613         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38615 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
38617         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38618         * elf/cache.c (print_entry): Print ",AArch64" for
38619         FLAG_AARCH64_LIB64
38621         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38622         * elf/cache.c (print_entry): Print ",hard-float" for
38623         FLAG_ARM_LIBHF.
38625 2012-11-18  David S. Miller  <davem@davemloft.net>
38627         With help from Joseph Myers.
38628         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38629         cutoff to 2**-13.
38630         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38631         cutoff to 2**-25.
38632         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38633         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38634         small.
38635         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38636         * math/libm-test.inc (y0_test): New tests.
38637         (y1_test): New tests.
38638         * sysdeps/i386/fpu/libm-test-ulps: Update.
38639         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38642 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
38644         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38645         64-bit targets.
38646         * configure: Regenerated.
38648 2012-11-17  David S. Miller  <davem@davemloft.net>
38650         [BZ #14811]
38651         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38652         nonzero exponents with absolute value below 0x1p-128 to +/-
38653         0x1p-128.
38655 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
38657         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38659         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38661         * posix/getconf-speclist.c: New file.
38662         * posix/posix-envs.def: Likewise.
38663         * posix/confstr.c (START_ENV_GROUP): New macro.
38664         (END_ENV_GROUP): Likewise.
38665         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38666         (KNOWN_PRESENT_ENV_STRING): Likewise.
38667         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38668         (UNKNOWN_ENVIRONMENT): Likewise.
38669         (confstr): Include posix-envs.def instead of handling
38670         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38671         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38672         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38673         (END_ENV_GROUP): Likewise.
38674         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38675         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38676         (UNKNOWN_ENVIRONMENT): Likewise.
38677         (__sysconf): Include posix-envs.def instead of handling associated
38678         cases directly here.
38679         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38680         preprocessing getconf-speclist.c rather than running getconf or
38681         generating empty file.
38683 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
38685         * scripts/check-local-headers.sh: Ignore 'mach' headers.
38687 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
38689         [BZ #14672]
38690         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38692 2012-11-16  David S. Miller  <davem@davemloft.net>
38694         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38695         smaller than LDBL_EPSILON/2.0L, just return xm1.
38697 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
38699         * elf/tst-array1.c (init): Set constructor priority to 1000.
38700         (fini): Set destructor priority to 1000.
38701         * elf/tst-array2dep.c: Likewise.
38703 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38705         [BZ #11741]
38706         * libio/fileops.c (_IO_new_file_write): Correctly return error.
38707         (_IO_new_file_xsputn): Also return EOF if none of the input
38708         data was written when overflow failed.
38709         * libio/iopadn.c (_IO_padn): Likewise.
38710         * libio/iowpadn.c (_IO_wpadn): Likewise.
38711         * stdio-common/tst-put-error.c: Add copyright notice.
38712         (do_test): Add case for printing padded string.
38713         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38714         _IO_padn returned error.
38715         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38716         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38717         return EOF.
38719 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38721         * libio/libioP.h: Add comment note that the references to C++
38722         bits are now obsolete.
38724 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38726         * math/libm-test.inc (check_complex): Use asprintf.
38728 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
38730         * debug/pcprofiledump.c (print_version): Update copyright year.
38731         * malloc/memusagestat.c (print_version): Likewise.
38733 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
38735         [BZ #14831]
38736         * elf/Makefile (tests): Add tst-audit8.
38737         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38738         ($(objpfx)tst-audit8.out): New target.
38739         (tst-audit8-ENV): New variable.
38740         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38741         audit if l_reloc_result is NULL.
38742         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38743         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38744         * elf/tst-audit8.c: New file.
38746 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38748         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38749         * misc/Makefile (CFLAGS-select.c): Define.
38750         * posix/Makefile (CFLAGS-pause.c): Define.
38752 2012-11-13  David S. Miller  <davem@davemloft.net>
38754         * crypt/Makefile: Move test targets after toplevel Rules
38755         inclusion.  Grab any necessary sysdep routines when linking.
38756         * crypt/md5.c (md5_process_block): Remove define, we will always
38757         name it __md5_process_block.
38758         (md5_finish_ctx): Update md5_process_block call.
38759         (md5_stream): Likewise.
38760         (md5_process_bytes): Likewise.
38761         (md5_process_block): Rename to __md5_process_block and move to ...
38762         * crypt/md5-block.c: ... here.
38763         * crypt/sha256.c (sha256_process_block): Move to ...
38764         * crypt/sha256-block.c: ... here.
38765         * crypt/sha512.c (sha512_process_block): Move to ...
38766         * crypt/sha512-block.c: ... here.
38767         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38768         path.
38769         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38770         * sysdeps/sparc/sparc64/multiarch/Makefile
38771         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38772         crypt subdir.
38773         (localedef-aux): Add md5 crypto assembler when in locale subdir.
38774         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38775         multiarch changes.
38776         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38777         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38778         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38779         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38780         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38781         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38782         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38783         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38784         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38785         file.
38786         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38787         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38788         file.
38789         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38791 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
38793         * timezone/tzselect.ksh: Update from tzcode git revision
38794         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38795         * timezone/zdump.c: Likewise.
38796         * timezone/zic.c: Likewise.
38797         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38798         in TZVERSION setting, not $(PKGVERSION).
38799         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
38800         REPORT_BUGS_TO settings.
38802         [BZ #14838]
38803         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38804         macro.
38806 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38808         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38809         detection to immediately after _FP_ROUND().
38810         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38811         bits are 0.
38813 2012-11-11  David S. Miller  <davem@davemloft.net>
38815         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38816         inttypes.h
38817         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38818         __close rather than their public counterparts.
38820 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
38822         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38823         file.
38824         [UNIX98] (sem_timedwait): Do not expect.
38825         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38826         [XPG4 || UNIX98] (sockatmark): Do not expect.
38827         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38828         (clock_getcpuclockid): Do not expect.
38829         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38830         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38831         Do not expect.
38832         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38833         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38834         [UNIX98] (vwscanf): Likewise.
38835         [UNIX98] (vswscanf): Likewise.
38837 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
38839         * timezone/version.h: Remove file.
38840         * timezone/README: Do not refer to version.h.
38841         * timezone/Makefile ($(objpfx)zic.o): New dependency on
38842         $(objpfx)version.h.
38843         ($(objpfx)zdump.o): Likewise.
38844         ($(objpfx)version.h): New target.
38846         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38847         2012i.
38848         * timezone/README: Don't mention modification to tzselect.ksh.
38849         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38850         work on unmodified tzselect.ksh.  Substitute version numbers in
38851         tzselect.ksh.
38853         * Makefile (format-me): Remove.
38854         (INSTALL): Adjust indentation.  Use commands directly instead of
38855         using $(format-me).
38857         * aclocal.m4 (ACX_PKGVERSION): New macro.
38858         (ACX_BUGURL): Likewise.
38859         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38860         (PKGVERSION): New AC_DEFINE_UNQUOTED.
38861         (REPORT_BUGS_TO): Likewise.
38862         * configure: Regenerated.
38863         * config.h.in (PKGVERSION): New macro.
38864         (REPORT_BUGS_TO): Likewise.
38865         * config.make.in (PKGVERSION): New variable.
38866         (PKGVERSION_TEXI): Likewise.
38867         (REPORT_BUGS_TO): Likewise.
38868         (REPORT_BUGS_TEXI): Likewise.
38869         * Makefile (format-me): Use -I$(common-objpfx)manual.
38870         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38871         ($(common-objpfx)manual/%): New target.
38872         (manual/%): Remove target.
38873         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38874         (print_version): Use PKGVERSION.
38875         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38876         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38877         and REPORT_BUGS_TO.
38878         ($(objpfx)xtrace): Likewise.
38879         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38880         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38881         (print_version): Use PKGVERSION.
38882         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38883         (do_version): Use PKGVERSION.
38884         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38885         REPORT_BUGS_TO.
38886         (common-ldd-rewrite): Likewise.
38887         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38888         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38889         (print_version): Use PKGVERSION.
38890         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38891         * elf/pldd.c (argp_program_bug_address): Remove variable.
38892         (more_help): New function.
38893         (argp): Use more_help.
38894         (print_version): Use PKGVERSION.
38895         * elf/sln.c (main): Use PKGVERSION.
38896         (usage): Use REPORT_BUGS_TO.
38897         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38898         (top level): Use PKGVERSION.
38899         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38900         (print_version): Use PKGVERSION.
38901         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38902         (print_version): Use PKGVERSION.
38903         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38904         (print_version): Use PKGVERSION.
38905         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38906         (print_version): Use PKGVERSION.
38907         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38908         (print_version): Use PKGVERSION.
38909         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38910         (print_version): Use PKGVERSION.
38911         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38912         and BUGURL.
38913         ($(objpfx)memusage): Likewise.
38914         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38915         (do_version): Use PKGVERSION.
38916         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38917         (print_version): Use PKGVERSION.
38918         * malloc/mtrace.pl ($PACKAGE): Remove variable.
38919         ($PKGVERSION): New variable.
38920         ($REPORT_BUGS_TO): Likewise.
38921         (usage): Use $REPORT_BUGS_TO.
38922         (top level): Use $PKGVERSION.
38923         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38924         ($(objpfx)pkgvers.texi): New rule.
38925         ($(objpfx)stamp-pkgvers): Likewise.
38926         * manual/install.texi: Include pkgvers.texi.
38927         (--with-pkgversion): Document new configure option.
38928         (--with-bugurl): Likewise.
38929         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38930         than necessarily for this particular distribution.  Use
38931         REPORT_BUGS_TO for where to report bugs.
38932         * INSTALL: Regenerated.
38933         * manual/libc.texinfo: Include pkgvers.texi.
38934         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38935         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38936         (print_version): Use PKGVERSION.
38937         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38938         (print_version): Use PKGVERSION.
38939         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38940         (print_version): Use PKGVERSION.
38941         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38942         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38943         macro.
38944         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38945         (print_version): Use PKGVERSION.
38946         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38947         (print_version): Use PKGVERSION.
38948         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38949         and PKGVERSION.
38951         * timezone/checktab.awk: Update from tzcode 2012i.
38952         * timezone/ialloc.c: Likewise.
38953         * timezone/private.h: Likewise.
38954         * timezone/scheck.c: Likewise.
38955         * timezone/tzfile.h: Likewise.
38956         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38957         (TZVERSION): Hardcode tzcode version number.
38958         * timezone/zdump.c: Update from tzcode 2012i.
38959         * timezone/zic.c: Likewise.
38960         * timezone/version.h: New file.
38961         * timezone/README: Describe version.h.  Update upstream location.
38963         [BZ #14824]
38964         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38965         (mktemp): Enable declaration.
38966         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38967         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38968         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38969         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38970         Likewise.
38971         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38972         Likewise.
38973         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38974         Likewise.
38975         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38976         Likewise.
38977         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38978         Likewise.
38979         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38980         Likewise.
38982         [BZ #14821]
38983         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38984         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
38985         for copies of such integer values.
38986         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38987         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38989 2012-11-09  Andreas Jaeger  <aj@suse.de>
38991         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38992         definitions and declarations that are provided by
38993         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38995 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38997         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38998         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38999         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39000         definition.
39002 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39004         * elf/elf.h: Update comment before AArch64 relocations.
39006 2012-11-07  David S. Miller  <davem@davemloft.net>
39008         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39009         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39010         (__start_context): Declare.
39011         (__makecontext_ret): Delete.
39012         (__makecontext): Hook up __start_context instead of
39013         __makecontext_ret.
39014         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39015         (sysdep_routines): Add __start_context when in stdlib.
39017 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39019         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39020         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39021         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
39022         hardcoded "nm".
39023         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
39024         (READELF): New variable.  Use it instead of hardcoded "readelf".
39026 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
39028         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39029         * sysdeps/x86/Makefile: Here.
39030         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39031         * sysdeps/x86/tst-xmmymm.sh: This.
39033 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39035         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39036         expectations.
39037         [UNIX98] (pthread_barrier_t): Do not expect.
39038         [UNIX98] (pthread_barrierattr_t): Likewise.
39039         [UNIX98] (pthread_spinlock_t): Likewise.
39040         [UNIX98] (pthread_barrier_destroy): Likewise.
39041         [UNIX98] (pthread_barrier_init): Likewise.
39042         [UNIX98] (pthread_barrier_wait): Likewise.
39043         [UNIX98] (pthread_barrierattr_destroy): Likewise.
39044         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39045         [UNIX98] (pthread_barrierattr_init): Likewise.
39046         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39047         [UNIX98] (pthread_getcpuclockid): Likewise.
39048         [UNIX98] (pthread_mutex_timedlock): Likewise.
39049         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39050         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39051         [UNIX98] (pthread_sigmask): Likewise.
39052         [UNIX98] (pthread_spin_destroy): Likewise.
39053         [UNIX98] (pthread_spin_init): Likewise.
39054         [UNIX98] (pthread_spin_lock): Likewise.
39055         [UNIX98] (pthread_spin_trylock): Likewise.
39056         [UNIX98] (pthread_spin_unlock): Likewise.
39057         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39058         Do not expect.
39059         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39060         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39061         [XPG3 || XPG4] (pthread_cond_t): Likewise.
39062         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39063         [XPG3 || XPG4] (pthread_key_t): Likewise.
39064         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39065         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39066         [XPG3 || XPG4] (pthread_once_t): Likewise.
39067         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39068         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39069         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39070         [XPG3 || XPG4] (pthread_t): Likewise.
39072         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39073         not expect.
39074         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39076         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39077         Change function return type to int.
39079         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39080         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39081         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39082         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39083         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39084         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39085         [!POSIX] (posix_madvise): Likewise.
39086         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39087         && !UNIX98].
39088         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39089         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39090         (mode_t): Likewise.
39091         (posix_mem_offset): Likewise.
39092         (posix_typed_mem_get_info): Likewise.
39093         (posix_typed_mem_open): Likewise.
39095         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39096         Change condition to [XOPEN2K8].
39098         * conform/conformtest.pl: Preprocess allow-header data with -x c
39099         instead of from stdin.
39100         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39101         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39102         [C99-based standards] (cerfc): Likewise.
39103         [C99-based standards] (cexp2): Likewise.
39104         [C99-based standards] (cexpm1): Likewise.
39105         [C99-based standards] (clog10): Likewise.
39106         [C99-based standards] (clog1p): Likewise.
39107         [C99-based standards] (clog2): Likewise.
39108         [C99-based standards] (clgamma): Likewise.
39109         [C99-based standards] (ctgamma): Likewise.
39110         [C99-based standards] (cerff): Likewise.
39111         [C99-based standards] (cerfcf): Likewise.
39112         [C99-based standards] (cexp2f): Likewise.
39113         [C99-based standards] (cexpm1f): Likewise.
39114         [C99-based standards] (clog10f): Likewise.
39115         [C99-based standards] (clog1pf): Likewise.
39116         [C99-based standards] (clog2f): Likewise.
39117         [C99-based standards] (clgammaf): Likewise.
39118         [C99-based standards] (ctgammaf): Likewise.
39119         [C99-based standards] (cerfl): Likewise.
39120         [C99-based standards] (cerfcl): Likewise.
39121         [C99-based standards] (cexp2l): Likewise.
39122         [C99-based standards] (cexpm1l): Likewise.
39123         [C99-based standards] (clog10l): Likewise.
39124         [C99-based standards] (clog1pl): Likewise.
39125         [C99-based standards] (clog2l): Likewise.
39126         [C99-based standards] (clgammal): Likewise.
39127         [C99-based standards] (ctgammal): Likewise.
39128         * conform/data/inttypes.h-data [C99-based standards]: Include
39129         stdint.h-data.  Remove all expectations for stdint.h contents.
39130         [C99-based standards] (PRI*): Do not allow.
39131         [C99-based standards] (SCN*): Likewise.
39132         [C99-based standards] (*_t): Likewise.
39133         [C99-based-standards] (PRId8): Expect macro.
39134         [C99-based-standards] (PRIi8): Likewise.
39135         [C99-based-standards] (PRIo8): Likewise.
39136         [C99-based-standards] (PRIu8): Likewise.
39137         [C99-based-standards] (PRIx8): Likewise.
39138         [C99-based-standards] (PRIX8): Likewise.
39139         [C99-based-standards] (SCNd8): Likewise.
39140         [C99-based-standards] (SCNi8): Likewise.
39141         [C99-based-standards] (SCNo8): Likewise.
39142         [C99-based-standards] (SCNu8): Likewise.
39143         [C99-based-standards] (SCNx8): Likewise.
39144         [C99-based-standards] (PRIdLEAST8): Likewise.
39145         [C99-based-standards] (PRIiLEAST8): Likewise.
39146         [C99-based-standards] (PRIoLEAST8): Likewise.
39147         [C99-based-standards] (PRIuLEAST8): Likewise.
39148         [C99-based-standards] (PRIxLEAST8): Likewise.
39149         [C99-based-standards] (PRIXLEAST8): Likewise.
39150         [C99-based-standards] (SCNdLEAST8): Likewise.
39151         [C99-based-standards] (SCNiLEAST8): Likewise.
39152         [C99-based-standards] (SCNoLEAST8): Likewise.
39153         [C99-based-standards] (SCNuLEAST8): Likewise.
39154         [C99-based-standards] (SCNxLEAST8): Likewise.
39155         [C99-based-standards] (PRIdFAST8): Likewise.
39156         [C99-based-standards] (PRIiFAST8): Likewise.
39157         [C99-based-standards] (PRIoFAST8): Likewise.
39158         [C99-based-standards] (PRIuFAST8): Likewise.
39159         [C99-based-standards] (PRIxFAST8): Likewise.
39160         [C99-based-standards] (PRIXFAST8): Likewise.
39161         [C99-based-standards] (SCNdFAST8): Likewise.
39162         [C99-based-standards] (SCNiFAST8): Likewise.
39163         [C99-based-standards] (SCNoFAST8): Likewise.
39164         [C99-based-standards] (SCNuFAST8): Likewise.
39165         [C99-based-standards] (SCNxFAST8): Likewise.
39166         [C99-based-standards] (PRId16): Likewise.
39167         [C99-based-standards] (PRIi16): Likewise.
39168         [C99-based-standards] (PRIo16): Likewise.
39169         [C99-based-standards] (PRIu16): Likewise.
39170         [C99-based-standards] (PRIx16): Likewise.
39171         [C99-based-standards] (PRIX16): Likewise.
39172         [C99-based-standards] (SCNd16): Likewise.
39173         [C99-based-standards] (SCNi16): Likewise.
39174         [C99-based-standards] (SCNo16): Likewise.
39175         [C99-based-standards] (SCNu16): Likewise.
39176         [C99-based-standards] (SCNx16): Likewise.
39177         [C99-based-standards] (PRIdLEAST16): Likewise.
39178         [C99-based-standards] (PRIiLEAST16): Likewise.
39179         [C99-based-standards] (PRIoLEAST16): Likewise.
39180         [C99-based-standards] (PRIuLEAST16): Likewise.
39181         [C99-based-standards] (PRIxLEAST16): Likewise.
39182         [C99-based-standards] (PRIXLEAST16): Likewise.
39183         [C99-based-standards] (SCNdLEAST16): Likewise.
39184         [C99-based-standards] (SCNiLEAST16): Likewise.
39185         [C99-based-standards] (SCNoLEAST16): Likewise.
39186         [C99-based-standards] (SCNuLEAST16): Likewise.
39187         [C99-based-standards] (SCNxLEAST16): Likewise.
39188         [C99-based-standards] (PRIdFAST16): Likewise.
39189         [C99-based-standards] (PRIiFAST16): Likewise.
39190         [C99-based-standards] (PRIoFAST16): Likewise.
39191         [C99-based-standards] (PRIuFAST16): Likewise.
39192         [C99-based-standards] (PRIxFAST16): Likewise.
39193         [C99-based-standards] (PRIXFAST16): Likewise.
39194         [C99-based-standards] (SCNdFAST16): Likewise.
39195         [C99-based-standards] (SCNiFAST16): Likewise.
39196         [C99-based-standards] (SCNoFAST16): Likewise.
39197         [C99-based-standards] (SCNuFAST16): Likewise.
39198         [C99-based-standards] (SCNxFAST16): Likewise.
39199         [C99-based-standards] (PRId32): Likewise.
39200         [C99-based-standards] (PRIi32): Likewise.
39201         [C99-based-standards] (PRIo32): Likewise.
39202         [C99-based-standards] (PRIu32): Likewise.
39203         [C99-based-standards] (PRIx32): Likewise.
39204         [C99-based-standards] (PRIX32): Likewise.
39205         [C99-based-standards] (SCNd32): Likewise.
39206         [C99-based-standards] (SCNi32): Likewise.
39207         [C99-based-standards] (SCNo32): Likewise.
39208         [C99-based-standards] (SCNu32): Likewise.
39209         [C99-based-standards] (SCNx32): Likewise.
39210         [C99-based-standards] (PRIdLEAST32): Likewise.
39211         [C99-based-standards] (PRIiLEAST32): Likewise.
39212         [C99-based-standards] (PRIoLEAST32): Likewise.
39213         [C99-based-standards] (PRIuLEAST32): Likewise.
39214         [C99-based-standards] (PRIxLEAST32): Likewise.
39215         [C99-based-standards] (PRIXLEAST32): Likewise.
39216         [C99-based-standards] (SCNdLEAST32): Likewise.
39217         [C99-based-standards] (SCNiLEAST32): Likewise.
39218         [C99-based-standards] (SCNoLEAST32): Likewise.
39219         [C99-based-standards] (SCNuLEAST32): Likewise.
39220         [C99-based-standards] (SCNxLEAST32): Likewise.
39221         [C99-based-standards] (PRIdFAST32): Likewise.
39222         [C99-based-standards] (PRIiFAST32): Likewise.
39223         [C99-based-standards] (PRIoFAST32): Likewise.
39224         [C99-based-standards] (PRIuFAST32): Likewise.
39225         [C99-based-standards] (PRIxFAST32): Likewise.
39226         [C99-based-standards] (PRIXFAST32): Likewise.
39227         [C99-based-standards] (SCNdFAST32): Likewise.
39228         [C99-based-standards] (SCNiFAST32): Likewise.
39229         [C99-based-standards] (SCNoFAST32): Likewise.
39230         [C99-based-standards] (SCNuFAST32): Likewise.
39231         [C99-based-standards] (SCNxFAST32): Likewise.
39232         [C99-based-standards] (PRId64): Likewise.
39233         [C99-based-standards] (PRIi64): Likewise.
39234         [C99-based-standards] (PRIo64): Likewise.
39235         [C99-based-standards] (PRIu64): Likewise.
39236         [C99-based-standards] (PRIx64): Likewise.
39237         [C99-based-standards] (PRIX64): Likewise.
39238         [C99-based-standards] (SCNd64): Likewise.
39239         [C99-based-standards] (SCNi64): Likewise.
39240         [C99-based-standards] (SCNo64): Likewise.
39241         [C99-based-standards] (SCNu64): Likewise.
39242         [C99-based-standards] (SCNx64): Likewise.
39243         [C99-based-standards] (PRIdLEAST64): Likewise.
39244         [C99-based-standards] (PRIiLEAST64): Likewise.
39245         [C99-based-standards] (PRIoLEAST64): Likewise.
39246         [C99-based-standards] (PRIuLEAST64): Likewise.
39247         [C99-based-standards] (PRIxLEAST64): Likewise.
39248         [C99-based-standards] (PRIXLEAST64): Likewise.
39249         [C99-based-standards] (SCNdLEAST64): Likewise.
39250         [C99-based-standards] (SCNiLEAST64): Likewise.
39251         [C99-based-standards] (SCNoLEAST64): Likewise.
39252         [C99-based-standards] (SCNuLEAST64): Likewise.
39253         [C99-based-standards] (SCNxLEAST64): Likewise.
39254         [C99-based-standards] (PRIdFAST64): Likewise.
39255         [C99-based-standards] (PRIiFAST64): Likewise.
39256         [C99-based-standards] (PRIoFAST64): Likewise.
39257         [C99-based-standards] (PRIuFAST64): Likewise.
39258         [C99-based-standards] (PRIxFAST64): Likewise.
39259         [C99-based-standards] (PRIXFAST64): Likewise.
39260         [C99-based-standards] (SCNdFAST64): Likewise.
39261         [C99-based-standards] (SCNiFAST64): Likewise.
39262         [C99-based-standards] (SCNoFAST64): Likewise.
39263         [C99-based-standards] (SCNuFAST64): Likewise.
39264         [C99-based-standards] (SCNxFAST64): Likewise.
39265         [C99-based-standards] (PRIdMAX): Likewise.
39266         [C99-based-standards] (PRIiMAX): Likewise.
39267         [C99-based-standards] (PRIoMAX): Likewise.
39268         [C99-based-standards] (PRIuMAX): Likewise.
39269         [C99-based-standards] (PRIxMAX): Likewise.
39270         [C99-based-standards] (PRIXMAX): Likewise.
39271         [C99-based-standards] (SCNdMAX): Likewise.
39272         [C99-based-standards] (SCNiMAX): Likewise.
39273         [C99-based-standards] (SCNoMAX): Likewise.
39274         [C99-based-standards] (SCNuMAX): Likewise.
39275         [C99-based-standards] (SCNxMAX): Likewise.
39276         [C99-based-standards] (PRIdPTR): Likewise.
39277         [C99-based-standards] (PRIiPTR): Likewise.
39278         [C99-based-standards] (PRIoPTR): Likewise.
39279         [C99-based-standards] (PRIuPTR): Likewise.
39280         [C99-based-standards] (PRIxPTR): Likewise.
39281         [C99-based-standards] (PRIXPTR): Likewise.
39282         [C99-based-standards] (SCNdPTR): Likewise.
39283         [C99-based-standards] (SCNiPTR): Likewise.
39284         [C99-based-standards] (SCNoPTR): Likewise.
39285         [C99-based-standards] (SCNuPTR): Likewise.
39286         [C99-based-standards] (SCNxPTR): Likewise.
39287         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39288         allow.
39289         * conform/data/stdint.h-data: Update comments to clarify
39290         requirements.
39291         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
39292         type.
39293         [C99-based standards] (INT8_MAX): Likewise.
39294         [C99-based standards] (INT16_MIN): Likewise.
39295         [C99-based standards] (INT16_MAX): Likewise.
39296         [C99-based standards] (INT32_MIN): Likewise.
39297         [C99-based standards] (INT32_MAX): Likewise.
39298         [C99-based standards] (INT64_MIN): Likewise.
39299         [C99-based standards] (INT64_MAX): Likewise.
39300         [C99-based standards] (UINT8_MAX): Likewise.
39301         [C99-based standards] (UINT16_MAX): Likewise.
39302         [C99-based standards] (UINT32_MAX): Likewise.
39303         [C99-based standards] (UINT64_MAX): Likewise.
39304         [C99-based standards] (INT_LEAST8_MIN): Likewise.
39305         [C99-based standards] (INT_LEAST8_MAX): Likewise.
39306         [C99-based standards] (INT_LEAST16_MIN): Likewise.
39307         [C99-based standards] (INT_LEAST16_MAX): Likewise.
39308         [C99-based standards] (INT_LEAST32_MIN): Likewise.
39309         [C99-based standards] (INT_LEAST32_MAX): Likewise.
39310         [C99-based standards] (INT_LEAST64_MIN): Likewise.
39311         [C99-based standards] (INT_LEAST64_MAX): Likewise.
39312         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39313         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39314         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39315         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39316         [C99-based standards] (INT_FAST8_MIN): Likewise.
39317         [C99-based standards] (INT_FAST8_MAX): Likewise.
39318         [C99-based standards] (INT_FAST16_MIN): Likewise.
39319         [C99-based standards] (INT_FAST16_MAX): Likewise.
39320         [C99-based standards] (INT_FAST32_MIN): Likewise.
39321         [C99-based standards] (INT_FAST32_MAX): Likewise.
39322         [C99-based standards] (INT_FAST64_MIN): Likewise.
39323         [C99-based standards] (INT_FAST64_MAX): Likewise.
39324         [C99-based standards] (UINT_FAST8_MAX): Likewise.
39325         [C99-based standards] (UINT_FAST16_MAX): Likewise.
39326         [C99-based standards] (UINT_FAST32_MAX): Likewise.
39327         [C99-based standards] (UINT_FAST64_MAX): Likewise.
39328         [C99-based standards] (INTPTR_MIN): Likewise.
39329         [C99-based standards] (INTPTR_MAX): Likewise.
39330         [C99-based standards] (UINTPTR_MAX): Likewise.
39331         [C99-based standards] (INTMAX_MIN): Likewise.
39332         [C99-based standards] (INTMAX_MAX): Likewise.
39333         [C99-based standards] (UINTMAX_MAX): Likewise.
39334         [C99-based standards] (PTRDIFF_MIN): Likewise.
39335         [C99-based standards] (PTRDIFF_MAX): Likewise.
39336         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39337         [C99-based standards] (SIZE_MAX): Likewise.
39338         [C99-based standards] (WCHAR_MAX): Likewise.
39339         [C99-based standards] (WINT_MAX): Likewise.
39340         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
39341         constraint on value.
39342         [C99-based standards] (WCHAR_MIN): Likewise.
39343         [C99-based standards] (WINT_MIN): Likewise.
39344         [C99-based standards] (*_t): Allow.
39345         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39346         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39347         Include math.h-data and complex.h-data.  Remove all expectations
39348         of math.h and complex.h contents.
39349         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39350         at end of line.
39351         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39352         (struct tm): Expect tag.
39353         [C99-based-standards] (wcstof): Expect function.
39354         [C99-based-standards] (wcstold): Likewise.
39355         [C99-based-standards] (wcstoll): Likewise.
39356         [C99-based-standards] (wcstoull): Likewise.
39357         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39358         macro-int-constant.  Specify type.
39359         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
39360         constraint on value.
39361         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39362         Specify type.
39363         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39364         Specify value.
39365         [ISO C standards]: Do not allow headers.
39366         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39367         wcs[abcdefghijklmnopqrstuvwxyz]*.
39368         [ISO C standards] (*_t): Do not allow.
39369         * conform/data/wctype.h-data [C99-based standards] (iswblank):
39370         Expect function.
39371         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39372         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39373         Specify type.
39374         [ISO C standards]: Do not allow headers.
39375         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39376         is[abcdefghijklmnopqrstuvwxyz]*.
39377         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39378         to[abcdefghijklmnopqrstuvwxyz]*.
39379         [ISO C standards] (*_t): Do not allow.
39380         * conform/data/stdalign.h-data: New file.
39381         * conform/data/stdbool.h-data: Likewise.
39382         * conform/data/stdnoreturn.h-data: Likewise.
39384 2012-11-07  Roland McGrath  <roland@hack.frob.com>
39386         [BZ #14815]
39387         * manual/filesys.texi (Directory Entries): Typo fix.
39388         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39390 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39392         * elf/elf.h (EM_AARCH64): New macro.
39393         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39394         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39395         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39396         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39397         (R_AARCH64_TLSDESC): Likewise.
39398         (NT_ARM_TLS): Likewise.
39399         (NT_ARM_HW_BREAK): Likewise.
39400         (NT_ARM_HW_WATCH): Likewise.
39402 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39404         [BZ #14811]
39405         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39406         (__ieee754_powl): Saturate nonzero exponents with absolute value
39407         below 0x1p-79 to +/- 0x1p-79.
39408         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39409         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39410         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39411         nonzero exponents with absolute value below 0x1p-32 to +/-
39412         0x1p-32.
39413         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39414         (__ieee754_powl): Saturate nonzero exponents with absolute value
39415         below 0x1p-79 to +/- 0x1p-79.
39416         * math/libm-test.inc (pow_test): Add more tests.
39418 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39420         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39421         _dl_s390_cap_flags with kernel. Increase string length.
39422         (_dl_s390_platforms): Add z196 and zEC12.
39424 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39426         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39427         Change XOPEN21K to XOPEN2K.
39429 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
39431         * string/memmove.c: Use memcpy when possible.
39433 2012-11-06  Andreas Jaeger  <aj@suse.de>
39435         * po/eo.po: Update from translation team.
39437 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
39439         [BZ #14793]
39440         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39441         exponent and small x and y exponents, scale x or y up.  Increase
39442         by 2 the exponent used in scaling up.
39443         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39444         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39445         * math/libm-test.inc (fma_test): Add more tests.
39446         (fma_test_towardzero): Likewise.
39447         (fma_test_downward): Likewise.
39448         (fma_test_upward): Likewise.
39450 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
39452         [BZ #14805]
39453         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39454         fenv_t *.
39456         [BZ #14801]
39457         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39458         namespace for names of struct fields.
39459         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39460         fenv_t fields.
39461         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39462         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39464 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39466         [BZ #3665]
39467         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39469 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39471         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39472         PTR_DEMANGLE.
39474         [BZ #5246]
39475         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39476         PTR_DEMANGLE.
39478 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
39480         [BZ #14797]
39481         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39482         definitely overflow as x * y not x * y + z.
39483         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39484         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39485         * math/libm-test.inc (fma_test): Add more tests.
39486         (fma_test_towardzero): Likewise.
39487         (fma_test_downward): Likewise.
39488         (fma_test_upward): Likewise.
39490 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39492         [BZ #157]
39494         * include/stub-tag.h: Remove file.
39495         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39496         '#include' of it.
39497         * manual/maint.texi (Porting): Don't reference it.
39498         * Makerules ($(objpfx)stubs): Likewise.
39499         * dirent/closedir.c: Don't include <stub-tag.h>.
39500         * dirent/dirfd.c: Likewise.
39501         * dirent/fdopendir.c: Likewise.
39502         * dirent/getdents.c: Likewise.
39503         * dirent/getdents64.c: Likewise.
39504         * dirent/opendir.c: Likewise.
39505         * dirent/readdir.c: Likewise.
39506         * dirent/readdir64.c: Likewise.
39507         * dirent/readdir64_r.c: Likewise.
39508         * dirent/readdir_r.c: Likewise.
39509         * dirent/rewinddir.c: Likewise.
39510         * dirent/seekdir.c: Likewise.
39511         * dirent/telldir.c: Likewise.
39512         * gmon/profil.c: Likewise.
39513         * grp/setgroups.c: Likewise.
39514         * inet/if_index.c: Likewise.
39515         * io/access.c: Likewise.
39516         * io/chdir.c: Likewise.
39517         * io/chmod.c: Likewise.
39518         * io/chown.c: Likewise.
39519         * io/close.c: Likewise.
39520         * io/dup.c: Likewise.
39521         * io/dup2.c: Likewise.
39522         * io/dup3.c: Likewise.
39523         * io/euidaccess.c: Likewise.
39524         * io/faccessat.c: Likewise.
39525         * io/fchdir.c: Likewise.
39526         * io/fchmod.c: Likewise.
39527         * io/fchmodat.c: Likewise.
39528         * io/fchown.c: Likewise.
39529         * io/fchownat.c: Likewise.
39530         * io/fcntl.c: Likewise.
39531         * io/flock.c: Likewise.
39532         * io/fstatfs.c: Likewise.
39533         * io/fstatfs64.c: Likewise.
39534         * io/fstatvfs.c: Likewise.
39535         * io/fstatvfs64.c: Likewise.
39536         * io/futimens.c: Likewise.
39537         * io/fxstat.c: Likewise.
39538         * io/fxstat64.c: Likewise.
39539         * io/fxstatat.c: Likewise.
39540         * io/fxstatat64.c: Likewise.
39541         * io/getcwd.c: Likewise.
39542         * io/isatty.c: Likewise.
39543         * io/lchmod.c: Likewise.
39544         * io/lchown.c: Likewise.
39545         * io/link.c: Likewise.
39546         * io/linkat.c: Likewise.
39547         * io/lseek.c: Likewise.
39548         * io/lseek64.c: Likewise.
39549         * io/lxstat64.c: Likewise.
39550         * io/mkdir.c: Likewise.
39551         * io/mkdirat.c: Likewise.
39552         * io/mkfifo.c: Likewise.
39553         * io/mkfifoat.c: Likewise.
39554         * io/open.c: Likewise.
39555         * io/open64.c: Likewise.
39556         * io/openat.c: Likewise.
39557         * io/openat64.c: Likewise.
39558         * io/pipe.c: Likewise.
39559         * io/pipe2.c: Likewise.
39560         * io/poll.c: Likewise.
39561         * io/posix_fadvise.c: Likewise.
39562         * io/posix_fadvise64.c: Likewise.
39563         * io/posix_fallocate.c: Likewise.
39564         * io/posix_fallocate64.c: Likewise.
39565         * io/read.c: Likewise.
39566         * io/readlink.c: Likewise.
39567         * io/readlinkat.c: Likewise.
39568         * io/rmdir.c: Likewise.
39569         * io/sendfile.c: Likewise.
39570         * io/sendfile64.c: Likewise.
39571         * io/statfs.c: Likewise.
39572         * io/statfs64.c: Likewise.
39573         * io/statvfs.c: Likewise.
39574         * io/statvfs64.c: Likewise.
39575         * io/symlink.c: Likewise.
39576         * io/symlinkat.c: Likewise.
39577         * io/ttyname.c: Likewise.
39578         * io/ttyname_r.c: Likewise.
39579         * io/umask.c: Likewise.
39580         * io/unlink.c: Likewise.
39581         * io/unlinkat.c: Likewise.
39582         * io/utime.c: Likewise.
39583         * io/utimensat.c: Likewise.
39584         * io/write.c: Likewise.
39585         * io/xmknod.c: Likewise.
39586         * io/xmknodat.c: Likewise.
39587         * io/xstat.c: Likewise.
39588         * io/xstat64.c: Likewise.
39589         * login/getpt.c: Likewise.
39590         * login/grantpt.c: Likewise.
39591         * login/unlockpt.c: Likewise.
39592         * math/e_acoshl.c: Likewise.
39593         * math/e_acosl.c: Likewise.
39594         * math/e_asinl.c: Likewise.
39595         * math/e_atan2l.c: Likewise.
39596         * math/e_atanhl.c: Likewise.
39597         * math/e_coshl.c: Likewise.
39598         * math/e_expl.c: Likewise.
39599         * math/e_fmodl.c: Likewise.
39600         * math/e_gammal_r.c: Likewise.
39601         * math/e_hypotl.c: Likewise.
39602         * math/e_j0l.c: Likewise.
39603         * math/e_j1l.c: Likewise.
39604         * math/e_jnl.c: Likewise.
39605         * math/e_lgammal_r.c: Likewise.
39606         * math/e_log10l.c: Likewise.
39607         * math/e_log2l.c: Likewise.
39608         * math/e_logl.c: Likewise.
39609         * math/e_powl.c: Likewise.
39610         * math/e_rem_pio2l.c: Likewise.
39611         * math/e_sinhl.c: Likewise.
39612         * math/e_sqrtl.c: Likewise.
39613         * math/fclrexcpt.c: Likewise.
39614         * math/fedisblxcpt.c: Likewise.
39615         * math/feenablxcpt.c: Likewise.
39616         * math/fegetenv.c: Likewise.
39617         * math/fegetexcept.c: Likewise.
39618         * math/fegetround.c: Likewise.
39619         * math/feholdexcpt.c: Likewise.
39620         * math/fesetenv.c: Likewise.
39621         * math/fesetround.c: Likewise.
39622         * math/feupdateenv.c: Likewise.
39623         * math/fgetexcptflg.c: Likewise.
39624         * math/fraiseexcpt.c: Likewise.
39625         * math/fsetexcptflg.c: Likewise.
39626         * math/ftestexcept.c: Likewise.
39627         * math/k_cosl.c: Likewise.
39628         * math/k_rem_pio2l.c: Likewise.
39629         * math/k_sinl.c: Likewise.
39630         * math/k_tanl.c: Likewise.
39631         * math/s_asinhl.c: Likewise.
39632         * math/s_atanl.c: Likewise.
39633         * math/s_cbrtl.c: Likewise.
39634         * math/s_erfl.c: Likewise.
39635         * math/s_expm1l.c: Likewise.
39636         * math/s_log1pl.c: Likewise.
39637         * math/s_tanhl.c: Likewise.
39638         * misc/acct.c: Likewise.
39639         * misc/brk.c: Likewise.
39640         * misc/chflags.c: Likewise.
39641         * misc/chroot.c: Likewise.
39642         * misc/fchflags.c: Likewise.
39643         * misc/fgetxattr.c: Likewise.
39644         * misc/flistxattr.c: Likewise.
39645         * misc/fremovexattr.c: Likewise.
39646         * misc/fsetxattr.c: Likewise.
39647         * misc/fsync.c: Likewise.
39648         * misc/ftruncate.c: Likewise.
39649         * misc/futimes.c: Likewise.
39650         * misc/futimesat.c: Likewise.
39651         * misc/getdomain.c: Likewise.
39652         * misc/getdtsz.c: Likewise.
39653         * misc/gethostid.c: Likewise.
39654         * misc/gethostname.c: Likewise.
39655         * misc/getloadavg.c: Likewise.
39656         * misc/getpagesize.c: Likewise.
39657         * misc/getsysstats.c: Likewise.
39658         * misc/getxattr.c: Likewise.
39659         * misc/gtty.c: Likewise.
39660         * misc/ioctl.c: Likewise.
39661         * misc/lgetxattr.c: Likewise.
39662         * misc/listxattr.c: Likewise.
39663         * misc/llistxattr.c: Likewise.
39664         * misc/lremovexattr.c: Likewise.
39665         * misc/lsetxattr.c: Likewise.
39666         * misc/lutimes.c: Likewise.
39667         * misc/madvise.c: Likewise.
39668         * misc/mincore.c: Likewise.
39669         * misc/mlock.c: Likewise.
39670         * misc/mlockall.c: Likewise.
39671         * misc/mmap.c: Likewise.
39672         * misc/mprotect.c: Likewise.
39673         * misc/msync.c: Likewise.
39674         * misc/munlock.c: Likewise.
39675         * misc/munlockall.c: Likewise.
39676         * misc/munmap.c: Likewise.
39677         * misc/preadv.c: Likewise.
39678         * misc/preadv64.c: Likewise.
39679         * misc/ptrace.c: Likewise.
39680         * misc/pwritev.c: Likewise.
39681         * misc/pwritev64.c: Likewise.
39682         * misc/readv.c: Likewise.
39683         * misc/reboot.c: Likewise.
39684         * misc/remap_file_pages.c: Likewise.
39685         * misc/removexattr.c: Likewise.
39686         * misc/revoke.c: Likewise.
39687         * misc/select.c: Likewise.
39688         * misc/setdomain.c: Likewise.
39689         * misc/setegid.c: Likewise.
39690         * misc/seteuid.c: Likewise.
39691         * misc/sethostid.c: Likewise.
39692         * misc/sethostname.c: Likewise.
39693         * misc/setregid.c: Likewise.
39694         * misc/setreuid.c: Likewise.
39695         * misc/setxattr.c: Likewise.
39696         * misc/sstk.c: Likewise.
39697         * misc/stty.c: Likewise.
39698         * misc/swapoff.c: Likewise.
39699         * misc/swapon.c: Likewise.
39700         * misc/sync.c: Likewise.
39701         * misc/syncfs.c: Likewise.
39702         * misc/syscall.c: Likewise.
39703         * misc/truncate.c: Likewise.
39704         * misc/ualarm.c: Likewise.
39705         * misc/usleep.c: Likewise.
39706         * misc/ustat.c: Likewise.
39707         * misc/utimes.c: Likewise.
39708         * misc/vhangup.c: Likewise.
39709         * misc/writev.c: Likewise.
39710         * posix/_exit.c: Likewise.
39711         * posix/alarm.c: Likewise.
39712         * posix/execve.c: Likewise.
39713         * posix/fexecve.c: Likewise.
39714         * posix/fork.c: Likewise.
39715         * posix/fpathconf.c: Likewise.
39716         * posix/getaddrinfo.c: Likewise.
39717         * posix/getegid.c: Likewise.
39718         * posix/geteuid.c: Likewise.
39719         * posix/getgid.c: Likewise.
39720         * posix/getgroups.c: Likewise.
39721         * posix/getlogin.c: Likewise.
39722         * posix/getlogin_r.c: Likewise.
39723         * posix/getpgid.c: Likewise.
39724         * posix/getpid.c: Likewise.
39725         * posix/getppid.c: Likewise.
39726         * posix/getresgid.c: Likewise.
39727         * posix/getresuid.c: Likewise.
39728         * posix/getsid.c: Likewise.
39729         * posix/getuid.c: Likewise.
39730         * posix/glob64.c: Likewise.
39731         * posix/nanosleep.c: Likewise.
39732         * posix/pathconf.c: Likewise.
39733         * posix/pause.c: Likewise.
39734         * posix/posix_madvise.c: Likewise.
39735         * posix/pread.c: Likewise.
39736         * posix/pread64.c: Likewise.
39737         * posix/pwrite.c: Likewise.
39738         * posix/pwrite64.c: Likewise.
39739         * posix/sched_getaffinity.c: Likewise.
39740         * posix/sched_getp.c: Likewise.
39741         * posix/sched_gets.c: Likewise.
39742         * posix/sched_primax.c: Likewise.
39743         * posix/sched_primin.c: Likewise.
39744         * posix/sched_rr_gi.c: Likewise.
39745         * posix/sched_setaffinity.c: Likewise.
39746         * posix/sched_setp.c: Likewise.
39747         * posix/sched_sets.c: Likewise.
39748         * posix/sched_yield.c: Likewise.
39749         * posix/setgid.c: Likewise.
39750         * posix/setlogin.c: Likewise.
39751         * posix/setpgid.c: Likewise.
39752         * posix/setresgid.c: Likewise.
39753         * posix/setresuid.c: Likewise.
39754         * posix/setsid.c: Likewise.
39755         * posix/setuid.c: Likewise.
39756         * posix/sleep.c: Likewise.
39757         * posix/spawni.c: Likewise.
39758         * posix/sysconf.c: Likewise.
39759         * posix/times.c: Likewise.
39760         * posix/wait.c: Likewise.
39761         * posix/wait3.c: Likewise.
39762         * posix/wait4.c: Likewise.
39763         * posix/waitpid.c: Likewise.
39764         * resolv/gai_sigqueue.c: Likewise.
39765         * resource/getpriority.c: Likewise.
39766         * resource/getrlimit.c: Likewise.
39767         * resource/getrusage.c: Likewise.
39768         * resource/nice.c: Likewise.
39769         * resource/setpriority.c: Likewise.
39770         * resource/setrlimit.c: Likewise.
39771         * resource/ulimit.c: Likewise.
39772         * rt/aio_cancel.c: Likewise.
39773         * rt/aio_fsync.c: Likewise.
39774         * rt/aio_read.c: Likewise.
39775         * rt/aio_sigqueue.c: Likewise.
39776         * rt/aio_suspend.c: Likewise.
39777         * rt/aio_write.c: Likewise.
39778         * rt/clock_getres.c: Likewise.
39779         * rt/clock_gettime.c: Likewise.
39780         * rt/clock_nanosleep.c: Likewise.
39781         * rt/clock_settime.c: Likewise.
39782         * rt/lio_listio.c: Likewise.
39783         * rt/mq_close.c: Likewise.
39784         * rt/mq_getattr.c: Likewise.
39785         * rt/mq_notify.c: Likewise.
39786         * rt/mq_open.c: Likewise.
39787         * rt/mq_receive.c: Likewise.
39788         * rt/mq_send.c: Likewise.
39789         * rt/mq_setattr.c: Likewise.
39790         * rt/mq_timedreceive.c: Likewise.
39791         * rt/mq_timedsend.c: Likewise.
39792         * rt/mq_unlink.c: Likewise.
39793         * rt/shm_open.c: Likewise.
39794         * rt/shm_unlink.c: Likewise.
39795         * rt/timer_create.c: Likewise.
39796         * rt/timer_delete.c: Likewise.
39797         * rt/timer_getoverr.c: Likewise.
39798         * rt/timer_gettime.c: Likewise.
39799         * rt/timer_settime.c: Likewise.
39800         * setjmp/__longjmp.c: Likewise.
39801         * setjmp/setjmp.c: Likewise.
39802         * signal/kill.c: Likewise.
39803         * signal/killpg.c: Likewise.
39804         * signal/raise.c: Likewise.
39805         * signal/sigaction.c: Likewise.
39806         * signal/sigaltstack.c: Likewise.
39807         * signal/sigblock.c: Likewise.
39808         * signal/sigignore.c: Likewise.
39809         * signal/sigintr.c: Likewise.
39810         * signal/signal.c: Likewise.
39811         * signal/sigpause.c: Likewise.
39812         * signal/sigpending.c: Likewise.
39813         * signal/sigqueue.c: Likewise.
39814         * signal/sigreturn.c: Likewise.
39815         * signal/sigset.c: Likewise.
39816         * signal/sigsetmask.c: Likewise.
39817         * signal/sigstack.c: Likewise.
39818         * signal/sigsuspend.c: Likewise.
39819         * signal/sigtimedwait.c: Likewise.
39820         * signal/sigvec.c: Likewise.
39821         * signal/sigwait.c: Likewise.
39822         * signal/sigwaitinfo.c: Likewise.
39823         * signal/sysv_signal.c: Likewise.
39824         * socket/accept.c: Likewise.
39825         * socket/accept4.c: Likewise.
39826         * socket/bind.c: Likewise.
39827         * socket/connect.c: Likewise.
39828         * socket/getpeername.c: Likewise.
39829         * socket/getsockname.c: Likewise.
39830         * socket/getsockopt.c: Likewise.
39831         * socket/isfdtype.c: Likewise.
39832         * socket/listen.c: Likewise.
39833         * socket/recv.c: Likewise.
39834         * socket/recvfrom.c: Likewise.
39835         * socket/recvmsg.c: Likewise.
39836         * socket/send.c: Likewise.
39837         * socket/sendmsg.c: Likewise.
39838         * socket/sendto.c: Likewise.
39839         * socket/setsockopt.c: Likewise.
39840         * socket/shutdown.c: Likewise.
39841         * socket/sockatmark.c: Likewise.
39842         * socket/socket.c: Likewise.
39843         * socket/socketpair.c: Likewise.
39844         * stdio-common/ctermid.c: Likewise.
39845         * stdio-common/cuserid.c: Likewise.
39846         * stdio-common/remove.c: Likewise.
39847         * stdio-common/rename.c: Likewise.
39848         * stdio-common/renameat.c: Likewise.
39849         * stdio-common/tempname.c: Likewise.
39850         * stdlib/getcontext.c: Likewise.
39851         * stdlib/makecontext.c: Likewise.
39852         * stdlib/setcontext.c: Likewise.
39853         * stdlib/swapcontext.c: Likewise.
39854         * stdlib/system.c: Likewise.
39855         * streams/fattach.c: Likewise.
39856         * streams/fdetach.c: Likewise.
39857         * streams/getmsg.c: Likewise.
39858         * streams/getpmsg.c: Likewise.
39859         * streams/putmsg.c: Likewise.
39860         * streams/putpmsg.c: Likewise.
39861         * sysdeps/unix/bsd/getpt.c: Likewise.
39862         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39863         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39864         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39866         Likewise.
39867         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39868         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39869         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39870         * sysvipc/msgctl.c: Likewise.
39871         * sysvipc/msgget.c: Likewise.
39872         * sysvipc/msgrcv.c: Likewise.
39873         * sysvipc/msgsnd.c: Likewise.
39874         * sysvipc/semctl.c: Likewise.
39875         * sysvipc/semget.c: Likewise.
39876         * sysvipc/semop.c: Likewise.
39877         * sysvipc/semtimedop.c: Likewise.
39878         * sysvipc/shmat.c: Likewise.
39879         * sysvipc/shmctl.c: Likewise.
39880         * sysvipc/shmdt.c: Likewise.
39881         * sysvipc/shmget.c: Likewise.
39882         * termios/tcdrain.c: Likewise.
39883         * termios/tcflow.c: Likewise.
39884         * termios/tcflush.c: Likewise.
39885         * termios/tcgetattr.c: Likewise.
39886         * termios/tcgetpgrp.c: Likewise.
39887         * termios/tcsendbrk.c: Likewise.
39888         * termios/tcsetattr.c: Likewise.
39889         * termios/tcsetpgrp.c: Likewise.
39890         * time/adjtime.c: Likewise.
39891         * time/clock.c: Likewise.
39892         * time/getitimer.c: Likewise.
39893         * time/gettimeofday.c: Likewise.
39894         * time/setitimer.c: Likewise.
39895         * time/settimeofday.c: Likewise.
39896         * time/stime.c: Likewise.
39897         * time/time.c: Likewise.
39899 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
39901         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39902         /usr/old/bin.
39904         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39905         instead of spaces.
39906         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39908 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
39910         [BZ #14796]
39911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39912         FE_TONEAREST before applying Dekker multiplication and Knuth
39913         addition.  Clear inexact exceptions and check for exact zero
39914         results afterwards.
39915         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39916         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39917         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39918         * math/libm-test.inc (fma_test): Add more tests.
39919         (fma_test_towardzero): Likewise.
39920         (fma_test_downward): Likewise.
39921         (fma_test_upward): Likewise.
39922         * sysdeps/generic/math_private.h (default_libc_fesetround): New
39923         function.
39924         (libc_fesetround): New macro.
39925         (libc_fesetroundf): Likewise.
39926         (libc_fesetroundl): Likewise.
39927         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39928         function.
39929         (libc_fesetround_387): Likewise.
39930         (libc_fesetroundf): New macro.
39931         (libc_fesetround): Likewise.
39932         (libc_fesetroundl): Likewise.
39933         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39934         function.
39935         (libc_fesetroundf): New macro.
39936         (libc_fesetround): Likewise.
39937         (libc_fesetroundl): Likewise.
39938         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39939         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39940         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39941         libm_hidden_ver.
39942         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39943         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39944         libm_hidden_def.
39945         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39946         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39947         libm_hidden_ver.
39948         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39949         libm_hidden_def.
39951         [BZ #3439]
39952         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39953         integer constant usable in #if and use that to give value to enum
39954         constant.
39955         (FE_DIVBYZERO): Likewise.
39956         (FE_UNDERFLOW): Likewise.
39957         (FE_OVERFLOW): Likewise.
39958         (FE_INVALID): Likewise.
39959         (FE_INVALID_SNAN): Likewise.
39960         (FE_INVALID_ISI): Likewise.
39961         (FE_INVALID_IDI): Likewise.
39962         (FE_INVALID_ZDZ): Likewise.
39963         (FE_INVALID_IMZ): Likewise.
39964         (FE_INVALID_COMPARE): Likewise.
39965         (FE_INVALID_SOFTWARE): Likewise.
39966         (FE_INVALID_SQRT): Likewise.
39967         (FE_INVALID_INTEGER_CONVERSION): Likewise.
39968         (FE_TONEAREST): Likewise.
39969         (FE_TOWARDZERO): Likewise.
39970         (FE_UPWARD): Likewise.
39971         (FE_DOWNWARD): Likewise.
39972         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39973         (FE_DIVBYZERO): Likewise.
39974         (FE_OVERFLOW): Likewise.
39975         (FE_UNDERFLOW): Likewise.
39976         (FE_INEXACT): Likewise.
39977         (FE_TONEAREST): Likewise.
39978         (FE_DOWNWARD): Likewise.
39979         (FE_UPWARD): Likewise.
39980         (FE_TOWARDZERO): Likewise.
39981         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39982         (FE_UNDERFLOW): Likewise.
39983         (FE_OVERFLOW): Likewise.
39984         (FE_DIVBYZERO): Likewise.
39985         (FE_INVALID): Likewise.
39986         (FE_TONEAREST): Likewise.
39987         (FE_TOWARDZERO): Likewise.
39988         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39989         (FE_OVERFLOW): Likewise.
39990         (FE_UNDERFLOW): Likewise.
39991         (FE_DIVBYZERO): Likewise.
39992         (FE_INEXACT): Likewise.
39993         (FE_TONEAREST): Likewise.
39994         (FE_TOWARDZERO): Likewise.
39995         (FE_UPWARD): Likewise.
39996         (FE_DOWNWARD): Likewise.
39997         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39998         (FE_DIVBYZERO): Likewise.
39999         (FE_OVERFLOW): Likewise.
40000         (FE_UNDERFLOW): Likewise.
40001         (FE_INEXACT): Likewise.
40002         (FE_TONEAREST): Likewise.
40003         (FE_DOWNWARD): Likewise.
40004         (FE_UPWARD): Likewise.
40005         (FE_TOWARDZERO): Likewise.
40007 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
40009         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40011 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
40013         * scripts/cross-test-ssh.sh (command): Use newlines to separate
40014         commands.  Quote $PWD.
40015         (blacklist_exports): Don't use remove_newlines.  Replace "declare
40016         -x" by "export".
40017         (remove_newlines): Remove.
40019 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
40021         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40022         * stdlib/stdlib.h (atof): Moved to ...
40023         * include/bits/stdlib-float.h: Here.  New file.
40024         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40025         * stdlib/bits/stdlib-float.h: New file.
40026         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40027         -mno-sse -mno-mmx.
40028         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40029         <xmmintrin.h>.
40031 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40033         * conform/conformtest.pl (@headers): Add fenv.h.
40034         * conform/data/fenv.h-data: New file.
40035         * include/fenv.h [_ISOMAC]: Disable all contents of file except
40036         include of <math/fenv.h>.
40038         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40039         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40040         && !UNIX98].  Enables tests for XOPEN2K8.
40041         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40042         POSIX2008]: Likewise.
40044         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40045         (struct rusage): Do not expect type or its members.
40047         [BZ #3439]
40048         * math/math.h (FP_NAN): Define macro to integer constant usable in
40049         #if and use that to give value to enum constant.
40050         (FP_INFINITE): Likewise.
40051         (FP_ZERO): Likewise.
40052         (FP_SUBNORMAL): Likewise.
40053         (FP_NORMAL): Likewise.
40055 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
40057         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40058         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40059         arguments.
40061 2012-11-02  Roland McGrath  <roland@hack.frob.com>
40063         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40064         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40065         autoconf-time if not.
40066         * configure.in: Remove AC_PREREQ.
40068 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40070         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40071         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40072         of the internal implementation.
40074 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40076         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40077         except include of <misc/sys/syslog.h>.
40079 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40082         function returns with a NULL context exit with zero.
40084 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40086         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40088 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
40090         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40091         (run_program_cmd): This.
40092         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40093         (tst_langinfo): New variable.  Use it.
40095 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
40097         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40098         floating point opcodes.
40100 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40102         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40103         variable.
40105         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40107         * sysdeps/mach/hurd/powerpc: Remove directory.
40108         * sysdeps/mach/powerpc: Likewise.
40110 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40112         * scripts/check-local-headers.sh: Ignore c++ headers.
40114 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40116         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40117         __libc_cleanup_region_start argument.
40119 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
40121         [BZ #14784]
40122         [BZ #14785]
40123         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40124         x * y using scaling, not as x * y + z.
40125         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40126         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40127         * math/libm-test.inc (fma_test): Add more tests.
40128         (fma_test_towardzero): Likewise.
40129         (fma_test_downward): Likewise.
40130         (fma_test_upward): Likewise.
40132 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40134         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40136 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40138         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40139         New variable.
40141 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
40143         * rt/tst-shm.c (worker): Correct checking for mmap failure.
40145 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40148         Fix sort order.
40149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40150         Likewise.
40152 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40155         Fix the order of the list for glibc 2.17.
40156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40157         Likewise.
40159 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40163 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40165         [BZ #14610]
40166         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40167         for low part of x being zero before using __atanl (y).
40168         * math/libm-test.inc (atan2_test): Add another test.
40170         * manual/install.texi (Configuring and compiling): Document
40171         general use of test-wrapper and test-wrapper-env.
40172         * INSTALL: Regenerated.
40174         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40175         (__fma): Do not extract and scale down low bits on after-rounding
40176         systems when result rounded to normal precision would have normal
40177         exponent.
40178         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40179         (__fmal): Do not extract and scale down low bits on after-rounding
40180         systems when result rounded to normal precision would have normal
40181         exponent.
40182         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40183         (__fmal): Do not extract and scale down low bits on after-rounding
40184         systems when result rounded to normal precision would have normal
40185         exponent.
40186         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40187         macro.
40188         (fma_test): Add more tests.
40189         (fma_test_towardzero): Likewise.
40190         (fma_test_downward): Likewise.
40191         (fma_test_upward): Likewise.
40193 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
40195         * sysdeps/i386/tininess.h: Renamed to ...
40196         * sysdeps/x86/tininess.h: This.
40197         * sysdeps/x86_64/tininess.h: Removed.
40199 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40201         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40202         input.  Use $(build-program-cmd).
40203         ($(objpfx)tst-array1-static.out): Likewise.
40204         ($(objpfx)tst-array2.out): Likewise.
40205         ($(objpfx)tst-array3.out): Likewise.
40206         ($(objpfx)tst-array4.out): Likewise.
40207         ($(objpfx)tst-array5.out): Likewise.
40208         ($(objpfx)tst-array5-static.out): Likewise.
40210 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
40212         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40213         if defined.
40215         * nss/nsswitch.h (nss_interface_function): Provide new
40216         macro for use with NSS functions.
40217         * grp/initgroups.c: Use new macro.
40218         * nss/getXXbyYY.c: Likewise.
40219         * nss/getXXbyYY_r.c: Likewise.
40220         * nss/getXXent.c: Likewise.
40221         * nss/getXXent_r.c: Likewise.
40222         * sysdeps/posix/getaddrinfo.c: Likewise.
40224 2012-10-30  Andreas Jaeger  <aj@suse.de>
40226         * po/ru.po: Update Russion translation from translation project.
40228 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40230         [BZ #14152]
40231         [BZ #14783]
40232         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40233         result and shift together with sticky bit instead of replicating
40234         round-to-nearest rounding.
40235         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40236         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40237         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
40238         missing underflow exceptions.
40239         (fma_test_towardzero): Add more tests.
40240         (fma_test_downward): Likewise.
40241         (fma_test_upward): Likewise.
40243         [BZ #14047]
40244         * sysdeps/generic/tininess.h: New file.
40245         * sysdeps/i386/tininess.h: Likewise.
40246         * sysdeps/sh/tininess.h: Likewise.
40247         * sysdeps/x86_64/tininess.h: Likewise.
40248         * stdlib/tst-strtod-underflow.c: Likewise.
40249         * stdlib/tst-tininess.c: Likewise.
40250         * stdlib/strtod_l.c: Include <tininess.h>.
40251         (round_and_return): Do not set errno for exact underflow cases.
40252         Force an underflow exception when setting errno for underflow.
40253         Determine underflow based on rounding to normal precision if
40254         TININESS_AFTER_ROUNDING.
40255         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40256         ERANGE for exact underflow cases.
40257         * stdlib/Makefile (tests): Add tst-tininess and
40258         tst-strtod-underflow.
40259         ($(objpfx)tst-tininess): Use $(link-libm).
40260         ($(objpfx)tst-strtod-underflow): Likewise.
40262 2012-10-30  Andreas Jaeger  <aj@suse.de>
40264         [BZ#14767]
40265         * elf/Makefile (tests): Remove conditional for have-initfini-array
40266         since this is now always required and the variable does not exist
40267         anymore.
40268         (tests-static): Likewise.
40269         (modules-names): Likewise.
40271         * po/eo.po: Add Esperanto translation from translation project.
40273         * elf/tst-array1.c (fini_array): Make writeable so that it can be
40274         merged with constructor/destructor.
40275         (init_array): Likewise.
40276         * elf/tst-array2dep.c (fini_array): Likewise.
40277         (init_array): Likewise.
40279 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
40281         * manual/message.texi: Delete @cartouche tags.
40283 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
40285         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40286         EOPNOTSUPP.
40287         * sysdeps/mach/hurd/fsync.c: Likewise.
40289         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40290         [_POSIX_REALTIME_SIGNALS]: Change condition to
40291         [_POSIX_REALTIME_SIGNALS > 0].
40293 2012-10-27  Andreas Jaeger  <aj@suse.de>
40295         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40296         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40297         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40298         [__WORDSIZE != 64]: Likewise.
40300 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
40302         *  iconvdata/tst-table.sh: Remove ${SHELL}.
40303         *  iconvdata/tst-tables.sh: Likewise.
40305 2012-10-25  David S. Miller  <davem@davemloft.net>
40307         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40308         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40309         of strtoull.
40311         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40312         ifunc-impl-list.c
40313         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40314         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40315         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40316         file.
40318 2012-10-25  Roland McGrath  <roland@hack.frob.com>
40320         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40321         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40322         __getdirentries.
40324 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40325             Jim Blandy  <jimb@codesourcery.com>
40327         * scripts/cross-test-ssh.sh: New file.
40328         * manual/install.texi (Configuring and compiling): Document use of
40329         cross-test-ssh.sh.
40330         * INSTALL: Regenerated.
40332 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
40334         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40335         EOPNOTSUPP.
40337 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40339         * Makeconfig (run-program-prefix): Fix comment.
40341 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40342             Jim Blandy  <jimb@codesourcery.com>
40344         * Makeconfig (test-wrapper): New variable,
40345         (test-wrapper-env): Likewise.
40346         [$(cross-compiling) = yes && $(test-wrapper) != ""]
40347         (run-built-tests): Define to yes.
40348         (run-program-prefix): Use $(test-wrapper).
40349         (built-program-cmd): Likewise.
40350         * Rules (make-test-out): Use $(test-wrapper-env) and
40351         $(host-built-program-cmd).
40352         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40353         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40354         tst-pathopt.sh.
40355         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40356         $(test-wrapper-env) to tst-rtld-load-self.sh.
40357         ($(objpfx)order2.out): Use $(test-wrapper).
40358         ($(objpfx)tst-initorder.out): Likewise.
40359         ($(objpfx)tst-initorder2.out): Likewise.
40360         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40361         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40362         (test_wrapper_env): New variable.  Use it to run ld.so.
40363         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40364         Use it to run ld.so.
40365         (test_wrapper_env): Likewise.
40366         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40367         $(test-wrapper) to run-iconv-test.sh.
40368         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40369         (ICONV): Use $test_wrapper.
40370         * posix/Makefile ($(objpfx)globtest.out): Pass
40371         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40372         globtest.sh, not $(run-program-prefix).
40373         * posix/globtest.sh (run_via_rtld_prefix): New variable.
40374         (test_wrapper): Likewise.
40375         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
40376         set together with run_via_rtld_prefix.
40377         (run_program_prefix): Define in terms of test_wrapper and
40378         run_via_rtld_prefix.
40380 2012-10-24  Roland McGrath  <roland@hack.frob.com>
40382         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40383         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40384         Targets removed.
40386         [BZ #14743]
40387         * include/time.h: Remove librt_hidden_proto (clock_gettime).
40388         Declare __clock_getres, __clock_gettime, __clock_settime,
40389         __clock_nanosleep, and __clock_getcpuclockid.
40390         * rt/clock_gettime.c: Define __clock_gettime as an alias.
40391         Remove librt_hidden_def (clock_gettime).
40392         * sysdeps/unix/clock_gettime.c: Likewise.
40393         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40394         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40395         * rt/clock_getres.c: Define __clock_getres as an alias.
40396         * sysdeps/posix/clock_getres.c: Likewise.
40397         * rt/clock_settime.c: Define __clock_settime as an alias.
40398         * sysdeps/unix/clock_settime.c: Likewise.
40399         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40400         * sysdeps/unix/clock_nanosleep.c: Likewise.
40401         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40402         * rt/clock-compat.c: New file.
40403         * rt/Makefile (librt-routines): Add clock-compat and move
40404         $(clock-routines) to ...
40405         (routines): ... here, new variable.
40406         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40407         Don't add get_clockfreq here.
40408         * rt/Versions (libc: GLIBC_2.17): New version set.
40409         Add clock_* symbols here.
40410         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
40411         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40412         (GLIBC_2.17): Add clock_* symbols.
40413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40415         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40417         Likewise.
40418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40419         Likewise.
40420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40424         * NEWS: Mention the move.
40426         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40427         Use __open, __read, __close rather than their public counterparts.
40428         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40429         (__get_clockfreq_via_cpuinfo): Likewise.
40430         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40431         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40433         * config.h.in (HAVE_IFUNC): New #undef.
40434         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40435         was successful.
40436         * configure: Regenerated.
40438 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40440         * configure.in: Move READELF check to start of file.
40441         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40442         libc_cv_asm_gnu_indirect_function in the process.
40443         * configure: Regenerated.
40445 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40447         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40448         send the output to /dev/null.
40449         (libc_cv_cc_with_libunwind): Likewise.
40450         (libc_cv_as_noexecstack): Likewise.
40451         * configure: Regenerate.
40453 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40455         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40457         * posix/globtest.sh (TMPDIR): Do not set.
40458         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40459         (testout): Likewise.
40461 2012-10-24  Andreas Jaeger  <aj@suse.de>
40463         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40464         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40465         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40466         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40467         posix_fadvise64, posix_fallocate64.
40469         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40470         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40471         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40472         Likewise.
40473         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40474         Likewise.
40475         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40477         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40478         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40479         <bits/fcntl-linux.h>.
40480         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40482         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40483         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40484         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40485         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40486         [__WORDSIZE != 64]: Likewise.
40488 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40490         * Makeconfig (run-built-tests): New variable.
40491         * Rules [$(cross-compiling) = yes]: Change condition to
40492         [$(run-built-tests) = no].
40493         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40494         to [$(run-built-tests) = yes].
40495         * elf/Makefile [$(cross-compiling) = no]: Likewise
40496         * grp/Makefile [$(cross-compiling) = no]: Likewise.
40497         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40498         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40499         * intl/Makefile [$(cross-compiling) = no]: Likewise.
40500         * io/Makefile [$(cross-compiling) = no]: Likewise.
40501         * libio/Makefile [$(cross-compiling) = no]: Likewise.
40502         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40503         * misc/Makefile [$(cross-compiling) = no]: Likewise.
40504         * posix/Makefile [$(cross-compiling) = no]: Likewise.
40505         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40506         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40507         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40508         * string/Makefile [$(cross-compiling) = no]: Likewise.
40510         * posix/Makefile ($(objpfx)globtest.out): Pass
40511         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40512         $(rtld-installed-name).
40513         * posix/globtest.sh (elf_objpfx): Remove variable.
40514         (rtld_installed_name): Likewise.
40515         (library_path): Likewise.
40516         (run_program_prefix): New variable.  Use for running globtest
40517         binary.
40519 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
40520             Joseph Myers  <joseph@codesourcery.com>
40522         * Makeconfig (host-built-program-cmd): New variable.
40523         * elf/Makefile (tst-stackguard1-ARGS): Use
40524         $(host-built-program-cmd).
40525         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40526         (tst-spawn-ARGS): Likewise.
40527         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40529 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40530             Jim Blandy  <jimb@codesourcery.com>
40532         * Makeconfig (run-via-rtld-prefix): New variable.
40533         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40534         (built-program-cmd): Likewise.
40536 2012-10-22  Andreas Jaeger  <aj@suse.de>
40538         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40539         __O_RSYNC if it exists, otherwise to O_SYNC.
40541 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
40542             Joseph Myers  <joseph@codesourcery.com>
40544         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40545         /dev/null.
40546         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40547         from /dev/null
40548         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40549         /dev/null.
40551 2012-10-22  Andreas Jaeger  <aj@suse.de>
40553         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40554         Define always.
40555         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40557         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40558         bits/fcntl-linux.h.
40560         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40561         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40563         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40564         to __O_LARGEFILE.
40565         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40566         to __O_LARGEFILE.
40568 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
40569             Joseph Myers  <joseph@codesourcery.com>
40571         * config.make.in (NM): New variable.
40573 2012-10-21  Andreas Jaeger  <aj@suse.de>
40575         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40576         definitions and declarations that are provided by
40577         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40579 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40581         [BZ #14683]
40582         * elf/Makefile (tests-static): Add tst-leaks1-static.
40583         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40584         ($(objpfx)tst-leaks1-static): New rule.
40585         ($(objpfx)tst-leaks1-static-mem): Likewise.
40586         (tst-leaks1-static-ENV): New macro.
40587         * elf/dl-open.c (dl_open_worker): Check the main application
40588         only if SHARED is defined.
40589         * elf/tst-leaks1-static.c: New file.
40591 2012-10-20  Andreas Jaeger  <aj@suse.de>
40593         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40594         generic values for Linux.
40595         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40596         and declarations that are provided by <bits/fcntl-linux.h> and
40597         include <bits/fcntl-linux.h>.
40598         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40599         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40601 2012-10-20  Roland McGrath  <roland@hack.frob.com>
40603         * io/fcntl.h: Move include of <bits/types.h> to the top and
40604         include it unconditionally.
40606 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40608         * wcsmbs/Makefile (tests-ifunc): New variable.
40609         (tests): Add $(tests-ifunc).
40610         * wcsmbs/test-wcschr-ifunc.c: New file.
40611         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40612         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40613         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40614         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40615         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40617         * string/Makefile (tests-ifunc): New variable.
40618         (tests): Add $(tests-ifunc).
40619         * string/test-memccpy.c (TEST_NAME): New macro.
40620         * string/test-memchr.c (TEST_NAME): Likewise.
40621         * string/test-memcmp.c (TEST_NAME): Likewise.
40622         * string/test-memcpy.c (TEST_NAME): Likewise.
40623         * string/test-memmem.c (TEST_NAME): Likewise.
40624         * string/test-memmove.c (TEST_NAME): Likewise.
40625         * string/test-memset.c (TEST_NAME): Likewise.
40626         * string/test-rawmemchr.c (TEST_NAME): Likewise.
40627         * string/test-stpcpy.c (TEST_NAME): Likewise.
40628         * string/test-stpncpy.c (TEST_NAME): Likewise.
40629         * string/test-strcasecmp.c (TEST_NAME): Likewise.
40630         * string/test-strcasestr.c (TEST_NAME): Likewise.
40631         * string/test-strcat.c (TEST_NAME): Likewise.
40632         * string/test-strchr.c (TEST_NAME): Likewise.
40633         * string/test-strcmp.c(TEST_NAME): Likewise.
40634         * string/test-strcpy.c (TEST_NAME): Likewise.
40635         * string/test-strcspn.c (TEST_NAME): Likewise.
40636         * string/test-strlen.c (TEST_NAME): Likewise.
40637         * string/test-strncasecmp.c (TEST_NAME): Likewise.
40638         * string/test-strncmp.c (TEST_NAME): Likewise.
40639         * string/test-strncpy.c (TEST_NAME): Likewise.
40640         * string/test-strnlen.c (TEST_NAME): Likewise.
40641         * string/test-strpbrk.c (TEST_NAME): Likewise.
40642         * string/test-strrchr.c (TEST_NAME): Likewise.
40643         * string/test-strspn.c (TEST_NAME): Likewise.
40644         * string/test-strstr.c (TEST_NAME): Likewise.
40645         * string/test-bcopy-ifunc.c: New file.
40646         * string/test-bzero-ifunc.c: Likewise.
40647         * string/test-memccpy-ifunc.c: Likewise.
40648         * string/test-memchr-ifunc.c: Likewise.
40649         * string/test-memcmp-ifunc.c: Likewise.
40650         * string/test-memcpy-ifunc.c: Likewise.
40651         * string/test-memmem-ifunc.c: Likewise.
40652         * string/test-memmove-ifunc.c: Likewise.
40653         * string/test-mempcpy-ifunc.c: Likewise.
40654         * string/test-memset-ifunc.c: Likewise.
40655         * string/test-rawmemchr-ifunc.c: Likewise.
40656         * string/test-stpcpy-ifunc.c: Likewise.
40657         * string/test-stpncpy-ifunc.c: Likewise.
40658         * string/test-strcasecmp-ifunc.c: Likewise.
40659         * string/test-strcasestr-ifunc.c: Likewise.
40660         * string/test-strcat-ifunc.c: Likewise.
40661         * string/test-strchr-ifunc.c: Likewise.
40662         * string/test-strchrnul-ifunc.c: Likewise.
40663         * string/test-strcmp-ifunc.c: Likewise.
40664         * string/test-strcpy-ifunc.c: Likewise.
40665         * string/test-strcspn-ifunc.c: Likewise.
40666         * string/test-strlen-ifunc.c: Likewise.
40667         * string/test-strncasecmp-ifunc.c: Likewise.
40668         * string/test-strncat-ifunc.c: Likewise.
40669         * string/test-strncmp-ifunc.c: Likewise.
40670         * string/test-strncpy-ifunc.c: Likewise.
40671         * string/test-strnlen-ifunc.c: Likewise.
40672         * string/test-strpbrk-ifunc.c: Likewise.
40673         * string/test-strrchr-ifunc.c: Likewise.
40674         * string/test-strspn-ifunc.c: Likewise.
40675         * string/test-strstr-ifunc.c: Likewise.
40677         * debug/Makefile (tests-ifunc): New variable.
40678         (tests): Add $(tests-ifunc).
40679         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40680         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40681         * debug/test-stpcpy_chk-ifunc.c: New file.
40682         * debug/test-strcpy_chk-ifunc.c: Likewise.
40684 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40686         [BZ #13601]
40687         * elf/dl-load.c (open_verify): Retry read if the entire ELF
40688         header is not read in.
40690 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
40692         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
40693         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
40694         directly.  Pass built executable to script as
40695         $(built-program-cmd).
40696         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
40697         $testprogram without using LD_LIBRARY_PATH and $ldso.
40699         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40700         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40701         $(rtld-installed-name).
40702         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40703         (rtld_installed_name): Likewise.
40704         (library_path): Likewise.
40705         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
40706         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40707         $(run-program-prefix) to tst-tables.sh.
40708         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
40709         it to run tst-table-from and tst-table-to.
40710         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40711         Pass it to tst-table.sh.
40712         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40713         $(run-program-prefix) to tst-gettext.sh.
40714         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40715         tst-translit.sh.
40716         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40717         tst-gettext2.sh.
40718         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
40719         to run tst-gettext.
40720         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
40721         to run tst-gettext2.
40722         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
40723         to run tst-translit.
40724         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40725         $(run-program-prefix) to tst-mtrace.sh.
40726         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
40727         to run tst-mtrace.
40728         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40729         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40730         $(rtld-installed-name).
40731         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40732         (rtld_installed_name): Likewise.
40733         (run_program_prefix): New variable.  Use it to run wordexp-test.
40735         * Makeconfig (ARCH): Remove all definitions.
40736         (machine): Likewise.
40737         [ARCH]: Remove conditional code.
40738         [!objdir]: Give error.
40739         [!objdir] (objpfx): Remove.
40740         [!objdir] (common-objpfx): Likewise.
40741         [!objdir] (common-objdir): Likewise.
40742         * configure.in (config_makefile): Remove.  Hardcode Makefile in
40743         AC_CONFIG_FILES call.
40744         * configure: Regenerated.
40746         [BZ #13888]
40747         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40748         or TMPDIR.
40749         (testout): Likewise.
40751         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40752         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40753         $(rtld-installed-name).
40754         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40755         (rtld_installed_name): Likwise.
40756         (runit): Remove function.
40757         (run_getconf): New variable,  Use it for running getconf binary.
40759 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
40761         [BZ #14716]
40762         * string/test-memmem.c (check_result): New function.
40763         (do_one_test): Use it.
40764         (check1): New function.
40765         (test_main): Use it.
40767 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
40769         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40771 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
40773         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40774         (_G_LSEEK64): Likewise.
40775         (_G_MMAP64): Likewise.
40776         (_G_FSTAT64): Likewise.
40777         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40778         (_G_LSEEK64): Likewise.
40779         (_G_MMAP64): Likewise.
40780         (_G_FSTAT64): Likewise.
40781         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40782         unconditional.  Call __mmap64 directly.
40783         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40784         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
40785         __lseek64 directly.
40786         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40787         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
40788         __mmap64 directly.
40789         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40790         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40791         __lseek64 directly.
40792         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40793         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40794         __lseek64 directly.
40795         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40796         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
40797         __lseek64 directly.
40798         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40799         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
40800         __fxstat64 directly.
40801         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40802         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40803         unconditional.
40804         (freopen64) [!_G_OPEN64]: Remove conditional code.
40805         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40806         unconditional.
40807         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40808         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40809         unconditional.
40810         (ftello64) [!_G_LSEEK64]: Remove conditional code.
40811         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40812         unconditional.
40813         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40814         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40815         unconditional.
40816         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40817         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40818         unconditional.
40819         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40820         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40821         unconditional.
40822         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40823         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40824         unconditional.
40825         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40827 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40829         [BZ #12140]
40830         * manual/memory.texi (Malloc Tunable Parameters): Add note
40831         about free list pointers overwriting some perturb bytes.
40832         Wording suggested by Roland McGrath.
40834 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
40836         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40837         (lgamma_test): Likewise.
40838         (tgamma_test): Likewise.
40840 2012-10-16  Florian Weimer  <fweimer@redhat.com>
40842         [BZ #14700]
40843         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40844         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40846 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
40848         * NEWS: Mention BZ #14716.
40849         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40850         when removing AVAILABLE1_USES_J macro.
40852 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
40854         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40855         (__bswap_64): __uint64_t for unsigned 64-bit int.
40857 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
40859         * include/string.h (memmem): Declare libc hidden alias.
40860         * string/memmem.c (memmem): Define libc hidden alias.
40861         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40862         __read, __close instead of open, read, close.
40864 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
40866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40867         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40868         global and hidden.
40869         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40870         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40871         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40872         Likewise.
40873         (__rawmemchr_sse2): Likewise.
40874         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40875         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40876         (__strchr_sse2): Likewise.
40877         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40878         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40879         (__strcasecmp_sse2): Likewise.
40880         (__strncasecmp_sse2): Likewise.
40881         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40882         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40883         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40884         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40885         (__strrchr_sse2): Likewise.
40886         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40887         ifunc-impl-list.c.
40888         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40889         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40890         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40891         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40892         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40893         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40894         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40895         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40896         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40897         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40898         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40899         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40900         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40901         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40902         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40903         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40904         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40905         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40906         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40907         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40908         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40909         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40910         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40911         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40912         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40913         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40914         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40915         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40916         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40917         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40919         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40920         global and hidden.
40921         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40922         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40923         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40924         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40925         Likewise.
40926         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40927         Likewise.
40928         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40929         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40930         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40931         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40932         ifunc-impl-list.c.
40933         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40934         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40935         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40936         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40937         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40938         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40939         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40940         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40941         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40942         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40943         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40944         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40945         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40946         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40947         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40948         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40949         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40950         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40951         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40952         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40953         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40954         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40955         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40956         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40957         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40958         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40959         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40960         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40961         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40962         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40963         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40964         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40965         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40966         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40967         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40968         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40969         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40970         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40971         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40972         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40973         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40975         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40976         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40977         * include/ifunc-impl-list.h: New file.
40978         * misc/ifunc-impl-list.c: Likewise.
40979         * misc/Makefile (routines): Add ifunc-impl-list.
40980         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40981         * string/test-string.h: Include <ifunc-impl-list.h>.
40982         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40983         TEST_NAME]: New variables.
40984         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40985         are defined.
40986         (test_init): Call __libc_ifunc_impl_list to initialize
40987         func_list if TEST_IFUNC and TEST_NAME are defined.
40989         * string/Makefile (strop-tests): Add bcopy and bzero.
40990         * string/test-bcopy.c: New file.
40991         * string/test-bzero.c: Likewise.
40992         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40993         defined.
40994         * string/test-memset.c: Support bzero test if TEST_BZERO is
40995         defined.
40996         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40997         __libc_memmove.
40998         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40999         __libc_memset.
41000         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41001         of memset.
41003 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
41005         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41006         * configure: Regenerated.
41008         * Makeconfig (+link-static-before-libc): Don't include
41009         $(link-static-libc).
41011         * libio/libio.h (_IO_pos_t): Remove.
41013 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41015         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
41016         McGrath.
41018 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41020         * crypt/crypt-entry.c: Include fips-private.h.
41021         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41022         * crypt/md5c-test.c (main): Tolerate disabled MD5.
41023         * sysdeps/unix/sysv/linux/fips-private.h: New file.
41024         * sysdeps/generic/fips-private.h: New file, dummy fallback.
41026 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41028         * crypt/crypt-private.h: Include stdbool.h.
41029         (_ufc_setup_salt_r): Return bool.
41030         * crypt/crypt-entry.c: Include errno.h.
41031         (__crypt_r): Return NULL with EINVAL for bad salt.
41032         * crypt/crypt_util.c (bad_for_salt): New.
41033         (_ufc_setup_salt_r): Check that salt is long enough and within
41034         the specified alphabet.
41035         * crypt/badsalttest.c: New file.
41036         * crypt/Makefile (tests): Add it.
41037         ($(objpfx)badsalttest): New.
41039 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
41041         * NEWS: Add entry for BZ #14602.
41043 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41045         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41046         type-generic.
41047         * math/libm-test.inc: Update comment listing what functions and
41048         macros are tested.
41049         (isgreater_test): New function.
41050         (isgreaterequal_test): Likewise.
41051         (isless_test): Likewise.
41052         (islessequal_test): Likewise.
41053         (islessgreater_test): Likewise.
41054         (isunordered_test): Likewise.
41055         (main): Call the new functions.
41057 2012-10-09  Roland McGrath  <roland@hack.frob.com>
41059         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41060         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41061         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41062         * sysdeps/i386/configure: Regenerated.
41063         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41064         * sysdeps/mach/configure: Regenerated.
41065         * sysdeps/mach/hurd/configure: Regenerated.
41066         * sysdeps/powerpc/configure: Regenerated.
41067         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41068         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41069         * sysdeps/s390/s390-32/configure: Regenerated.
41070         * sysdeps/s390/s390-64/configure: Regenerated.
41071         * sysdeps/sh/configure: Regenerated.
41072         * sysdeps/sparc/configure: Regenerated.
41073         * sysdeps/unix/sysv/linux/configure: Regenerated.
41074         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41075         * sysdeps/x86_64/configure: Regenerated.
41077         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41078         defined.  Don't check if MAP is NULL.
41080 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41082         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41083         (_G_stat64): Likewise.
41084         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41085         (_G_stat64): Likewise.
41086         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41087         instead of struct _G_stat64.
41088         * libio/fileops.c (mmap_remap_check): Likewise.
41089         (decide_maybe_mmap): Likewise.
41090         (_IO_new_file_seekoff): Likewise.
41091         (_IO_file_stat): Likewise.
41092         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41093         _G_off64_t.
41094         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41095         instead of struct _G_stat64.
41096         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41098 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
41100         [BZ #14602]
41101         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41102         Replace with ...
41103         (CHECK_EOL): New macro.
41104         (two_way_short_needle): Check beginning of haystack for EOL.  Use
41105         CHECK_EOL.
41106         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41107         Replace with CHECK_EOL.
41108         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41109         Replace with CHECK_EOL.
41111 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
41113         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41114         type-generic.
41115         * math/libm-test.inc: Update comment listing what functions and
41116         macros are tested.
41117         (finite_test): New function.
41118         (isinf_test): Likewise.
41119         (isnan_test): Likewise.
41120         (fpclassify_test): Test subnormal input.
41121         (isfinite_test): Likewise.
41122         (isnormal_test): Likewise.
41123         (main): Call the new functions.
41125 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
41127         [BZ #14660]
41128         * Makerules (%.dynsym): Force C locale when running
41129         $(OBJDUMP) --dynamic-syms.
41131 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
41133         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41134         <stdint.h>.
41136 2012-10-06  David S. Miller  <davem@davemloft.net>
41138         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41139         upper 32-bits of the length value in %o2 since we use branch-on-register
41140         tests which consider the entire 64-bit register.
41142 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
41144         * string/test-strstr.c (check2): Add a test for page boundary.
41146 2012-10-05  David S. Miller  <davem@davemloft.net>
41148         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41149         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41150         file.
41151         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41152         sysdep_routines.
41153         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41154         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41155         and bzero when HWCAP_SPARC_CRYPTO is present.
41157 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
41159         [BZ #14602]
41160         * string/test-strstr.c (check2): New function.
41161         (test_main): Call check2.
41163         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41164         and bug-strchr1.
41165         * string/bug-strcasestr1.c (do_test): Moved to ...
41166         * string/test-strcasestr.c (check1): Here.  New function.
41167         (do_one_test): Break out result checking code into ...
41168         (check_result): This.  New function.
41169         (do_one_test): Call check_result.
41170         (test_main): Call check1.
41171         * string/bug-strchr1.c (do_test): Moved to ...
41172         * string/test-strchr.c (check1): Here.  New function.
41173         (do_one_test): Break out result checking code into ...
41174         (check_result): This.  New function.
41175         (do_one_test): Call check_result.
41176         (test_main): Call check1.
41177         * string/bug-strstr1.c (main): Moved to ...
41178         * string/test-strstr.c (check1): Here.  New function.
41179         (do_one_test): Break out result checking code into ...
41180         (check_result): This.  New function.
41181         (do_one_test): Call check_result.
41182         (test_main): Call check1.
41183         * string/bug-strcasestr1.c: Removed.
41184         * string/bug-strchr1.c: Likewise.
41185         * string/bug-strstr1.c: Likewise.
41187         * elf/Makefile (dl-routines): Add hwcaps.
41188         * elf/dl-support.c (_dl_important_hwcaps): Removed.
41189         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41190         (_dl_important_hwcaps): Moved to ...
41191         * elf/dl-hwcaps.c: Here.  New file.
41192         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41194         [BZ #14557]
41195         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41196         if IS_IN_rtld isn't defined.
41198         * elf/dl-support.c (_dl_sysinfo_map): New.
41199         Include "get-dynamic-info.h" and "setup-vdso.h".
41200         (_dl_non_dynamic_init): Call setup_vdso.
41201         * elf/dynamic-link.h: Don't include <assert.h>.
41202         (elf_get_dynamic_info): Moved to ...
41203         * elf/get-dynamic-info.h: Here.  New file.
41204         * elf/dynamic-link.h: Include "get-dynamic-info.h".
41205         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41206         * elf/setup-vdso.h: Here.  New file.
41207         * elf/rtld.c: Include "setup-vdso.h".
41208         (dl_main): Call setup_vdso.
41210 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
41212         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41213         creal in comment listing functions tested.  List finite, isinf,
41214         isnan, isless, islessequal, isgreater, isgreaterequal,
41215         islessgreater, isunordered, lgamma_r and pow10 as functions and
41216         macros not tested.  Mention which functions not tested are aliases
41217         for other functions.  Fix typo.  Note that signs of NaNs are not
41218         tested.
41220         * scripts/config.guess: Update from config.git.
41221         * scripts/config.sub: Likewise.
41223 2012-10-04  Roland McGrath  <roland@hack.frob.com>
41225         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41226         * misc/madvise.c (madvise): Renamed to __madvise.
41227         Make madvise a weak alias.
41228         * include/sys/mman.h: Declare __madvise.
41229         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41230         * sysdeps/unix/syscalls.list
41231         (madvise): Make __madvise the strong name, and madvise a weak alias.
41232         * sysdeps/unix/sysv/linux/syscalls.list
41233         (madvise, mmap): Remove redundant entries.
41234         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41235         * malloc/malloc.c (mtrim): Likewise.
41236         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41238 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41240         * sysdeps/mach/hurd/dl-cache.c: File removed.
41241         * config.h.in (USE_LDCONFIG): New #undef.
41242         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41243         * configure: Regenerated.
41244         * elf/Makefile (dl-routines): Add dl-cache only under
41245         [$(use-ldconfig) = yes].
41246         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41247         cache on [USE_LDCONFIG].
41248         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41249         [USE_LDCONFIG].
41250         * elf/rtld.c (dl_main): Likewise.
41252 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
41254         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41255         _SC_LEVEL4_CACHE_LINESIZE.
41257 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41259         * sysdeps/unix/bsd/confstr.h: File removed.
41261 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
41263         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41264         sys/sdt-config.h.
41266 2012-10-02  Roland McGrath  <roland@hack.frob.com>
41268         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41269         Make 'mapoff' field ElfW(Off) rather than off_t.
41271 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
41273         * nscd/Makefile: Remove nscd-cflags and all its users.
41274         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41275         (CFLAGS-nonlib): Add compiler flags for nscd modules.
41277         [BZ #10631]
41278         * malloc.c (malloc_printerr): Clarify error message.
41280 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
41282         [BZ #14648]
41283         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41284         Set bit_FMA_Usable if FMA is supported.
41285         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41286         macro.
41287         (bit_FMA4_Usable): Updated.
41288         (index_FMA_Usable): New macro.
41289         (CPUID_FMA): Likewise
41290         (HAS_FMA): Defined with bit_FMA_Usable.
41292 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41294         * bits/types.h (__swblk_t): Type removed.
41295         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41296         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41297         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41298         (__SWBLK_T_TYPE): Likewise.
41299         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41300         (__SWBLK_T_TYPE): Likewise.
41301         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41302         (__SWBLK_T_TYPE): Likewise.
41303         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41304         (__SWBLK_T_TYPE): Likewise.
41306 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
41307             Honza Horak <hhorak@redhat.com>
41309         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41310         (xdr_mapname): Use YPMAXMAP as maxsize.
41311         (xdr_peername): Use YPMAXPEER as maxsize.
41312         (xdr_keydat): Use YPAXRECORD as maxsize.
41313         (xdr_valdat): Use YPMAXRECORD as maxsize.
41315 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41317         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41319         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41320         * csu/init-first.c: ... here.
41321         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41322         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41323         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41324         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41325         * sysdeps/i386/init-first.c: File removed.
41326         * sysdeps/sh/init-first.c: File removed.
41328 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
41330         [BZ #14645]
41331         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41332         if x * y might underflow to zero and z is zero.
41333         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41334         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41335         * math/libm-test.inc (min_subnorm_value): New variable.
41336         (fma_test): Add more tests.
41337         (fma_test_towardzero): Likewise.
41338         (fma_test_downward): Likewise
41339         (fma_test_upward): Likewise.
41340         (initialize): Set min_subnorm_value.
41342 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
41344         [BZ #14638]
41345         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41346         0 + 0.
41347         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41348         mode for addition resulting in exact zero.
41349         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41350         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41351         exact 0 + 0.
41352         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41353         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41354         * math/libm-test.inc (fma_test): Add more tests.
41355         (fma_test_towardzero): New function.
41356         (fma_test_downward): Likewise.
41357         (fma_test_upward): Likewise.
41358         (main): Call the new functions.
41360 2012-09-28  David S. Miller  <davem@davemloft.net>
41362         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41364 2012-09-28  Roland McGrath  <roland@hack.frob.com>
41366         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41367         instead of SIGALRM.
41369         * sysdeps/gnu/_G_config.h: Moved to ...
41370         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41371         * sysdeps/mach/hurd/_G_config.h: Moved to ...
41372         * sysdeps/generic/_G_config.h: ... here.
41374         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
41376         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41378         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41379         Conditionalize target on [libnss_test1.so-version].
41381         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41383         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41384         (elfobjdir): Move out of conditionals.
41386         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41387         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41388         (__nss_lookup_function): Conditionalize label remove_from_tree on
41389         [!DO_STATIC_NSS || SHARED], matching its only use.
41391 2012-09-28  David S. Miller  <davem@davemloft.net>
41393         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41394         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41395         file.
41396         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41397         sysdep_routines.
41398         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41399         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41400         when HWCAP_SPARC_CRYPTO is present.
41402 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41404         * io/tst-mknodat.c: Create a FIFO instead of a socket.
41406 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
41408         [BZ #6530]
41409         * stdio-common/vfprintf.c (process_string_arg): Revert
41410         2000-07-22 change.
41412 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
41414         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41415         for testcase.
41416         * stdio-common/tst-sprintf.c: Include <locale.h>
41417         (main): Test sprintf's handling of incomplete multibyte
41418         characters.
41420 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
41422         * elf/dl-runtime.c (VERSYMIDX): Removed.
41423         * elf/dl-version.c (VERSYMIDX): Likewise.
41424         * elf/do-rel.h (VERSYMIDX): Likewise.
41425         (VALIDX): Likewise.
41426         * elf/dynamic-link.h (VERSYMIDX): Likewise.
41427         * elf/rtld.c (VALIDX): Likewise.
41428         (ADDRIDX): Likewise.
41429         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41430         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41431         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41432         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41433         (VALIDX): Likewise.
41434         (ADDRIDX): Likewise.
41436 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41438         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41440 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
41442         [BZ #11438]
41443         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41444         to global scope.
41445         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41446         addresses are in the same scope as 192.0.2/24.
41447         * posix/gai.conf: Document new scope table defaults.
41449 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41451         [BZ #5298]
41452         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41453         for ftell.  Compute offsets from write pointers instead.
41454         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41456 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41458         [BZ #14543]
41459         * libio/Makefile (tests): New test case tst-fseek.
41460         * libio/tst-fseek.c: New test case to verify that fseek/ftell
41461         combination works in wide mode.
41462         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41463         state when the external buffer state changes.
41465 2012-09-27  David S. Miller  <davem@davemloft.net>
41467         [BZ #14376]
41468         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41469         pass reloc->r_addend in as the 'high' argument to
41470         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41474 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41476         * rt/tst-aio2.c: Include <pthread.h>.
41477         * rt/tst-aio3.c: Likewise.
41479 2012-09-27  Steve Ellcey  <sellcey@mips.com>
41481         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41483 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
41485         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41486         contents on [SHARED].
41488 2012-09-26  Marek Polacek  <polacek@redhat.com>
41490         [BZ #14530]
41491         [BZ #13741]
41492         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41493         for C++ and GCC <4.3 as well as for non GCC compilers.
41495 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41499 2012-09-25  Roland McGrath  <roland@hack.frob.com>
41501         * Makefile.in (all, install): Declare with .PHONY.
41502         Reported by Michael Hope <michael.hope@linaro.org>.
41504 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41506         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41507         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41508         system header.
41509         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41510         Likewise.
41511         (sydep_routines): Add the new and the internal functions.
41512         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41513         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41515         (GLIBC_2.17): Add the new function.
41516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41517         (GLIBC_2.17): Likewise.
41518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41519         (GLIBC_2.17): Likewise.
41520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41521         (GLIBC_2.17): Likewise.
41522         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41524 2012-09-25  Alan Modra  <amodra@gmail.com>
41526         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41527         Add release barrier before setting once_control to say
41528         initialisation is done.  Add hints on lwarx.  Use macro in
41529         place of isync.
41530         (clear_once_control): Add release barrier.
41532 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41534         [BZ #13629]
41535         * math/s_clog.c (__clog): Handle more values close to |z| = 1
41536         specially.
41537         * math/s_clog10.c (__clog10): Likewise.
41538         * math/s_clog10f.c (__clog10f): Likewise.
41539         * math/s_clog10l.c (__clog10l): Likewise.
41540         * math/s_clogf.c (__clogf): Likewise.
41541         * math/s_clogl.c (__clogl): Likewise.
41542         * math/Makefile (libm-calls): Add x2y2m1.
41543         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41544         (__x2y2m1): Likewise.
41545         (__x2y2m1l): Likewise.
41546         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41547         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41548         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41549         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41550         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41551         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41552         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41553         * sysdeps/i386/fpu/libm-test-ulps: Update.
41554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41556         [BZ #14621]
41557         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41558         int as type of variable DEPTH.
41559         (glob): Use size_t instead of int as type of variables NEWCOUNT
41560         and OLD_PATHC.
41562 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41564         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41565         Add s_sincosf-sse2.
41566         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41567         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41568         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41569         macros for using routine as __sincosf_ia32.
41570         Use macro for function declaration and weak_alias.
41571         * sysdeps/i386/fpu/libm-test-ulps: Update.
41573         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41574         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41576         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41577         subnormal argument.
41578         * math/s_cexpf.c (__cexpf): Likewise.
41579         * math/s_csinf.c (__csinf): Likewise.
41580         * math/s_csinhf.c (__csinhf): Likewise.
41581         * math/s_ctanf.c (__ctanf): Likewise.
41582         * math/s_ctanhf.c (__ctanhf): Likewise.
41583         * math/s_ccosh.c (__ccoshf): Likewise.
41584         * math/s_cexp.c (__cexpl): Likewise.
41585         * math/s_csin.c (__csin): Likewise.
41586         * math/s_csinh.c (__csinh): Likewise.
41587         * math/s_ctan.c (__ctan): Likewise.
41588         * math/s_ctanh.c (ctanh): Likewise.
41589         * math/s_ccoshl.c (__ccoshl): Likewise.
41590         * math/s_cexpl.c (__cexpl): Likewise.
41591         * math/s_csinl.c (__csinl): Likewise.
41592         * math/s_csinhl.c (__csinhl): Likewise.
41593         * math/s_ctanl.c (__ctanl): Likewise.
41594         * math/s_ctanhl.c (__ctanhl): Likewise.
41596 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41598         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41599         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41600         (_IO_off_t): Define to __off_t, not _G_off_t.
41601         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41602         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41603         (_IO_wint_t): Define to wint_t, not _G_wint_t.
41604         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41605         type of __dummy and __dummy2 fields.
41606         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41607         (_G_ssize_t): Likewise.
41608         (_G_off_t): Likewise.
41609         (_G_pid_t): Likewise.
41610         (_G_uid_t): Likewise.
41611         (_G_wchar_t): Likewise.
41612         (_G_wint_t): Likewise.
41613         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41614         (_G_ssize_t): Likewise.
41615         (_G_off_t): Likewise.
41616         (_G_pid_t): Likewise.
41617         (_G_uid_t): Likewise.
41618         (_G_wchar_t): Likewise.
41619         (_G_wint_t): Likewise.
41620         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41621         (_G_ssize_t): Likewise.
41622         (_G_off_t): Likewise.
41623         (_G_pid_t): Likewise.
41624         (_G_uid_t): Likewise.
41625         (_G_wchar_t): Likewise.
41626         (_G_wint_t): Likewise.
41628 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41630         * malloc/arena.c: Include malloc-sysdep.h.
41631         (shrink_heap): Use check_may_shrink_heap to decide if madvise
41632         is sufficient to shrink the heap or an unmap is needed.
41633         * sysdeps/generic/malloc-sysdep.h: New file.  Define
41634         new function check_may_shrink_heap.
41635         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
41636         new function check_may_shrink_heap.
41638 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41640         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41641         comments.
41643 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
41645         * catgets/test-gencat.sh: Add "set -e".
41646         * elf/tst-pathopt.sh: Likewise.
41647         * grp/tst_fgetgrent.sh: Likewise.
41648         * iconvdata/run-iconv-test.sh: Likewise.
41649         * intl/tst-gettext.sh: Likewise.
41650         * intl/tst-gettext2.sh: Likewise.
41651         * intl/tst-gettext4.sh: Likewise.
41652         * intl/tst-gettext6.sh: Likewise.
41653         * intl/tst-translit.sh: Likewise.
41654         * io/ftwtest-sh: Likewise.
41655         * libio/test-freopen.sh: Likewise.
41656         * malloc/tst-mtrace.sh: Likewise.
41657         * posix/globtest.sh: Likewise.
41658         * posix/tst-getconf.sh: Likewise.
41659         * posix/wordexp-tst.sh: Likewise.
41660         * stdio-common/tst-printf.sh: Likewise.
41661         * stdio-common/tst-unbputc.sh: Likewise.
41662         * stdlib/tst-fmtmsg.sh: Likewise.
41663         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41664         * catgets/Makefile: Do not specify -e option when running
41665         testsuite shell scripts.
41666         * elf/Makefile: Likewise.
41667         * grp/Makefile: Likewise.
41668         * iconvdata/Makefile: Likewise.
41669         * intl/Makefile: Likewise.
41670         * io/Makefile: Likewise.
41671         * libio/Makefile: Likewise.
41672         * malloc/Makefile: Likewise.
41673         * posix/Makefile: Likewise.
41674         * stdio-common/Makefile: Likewise.
41675         * stdlib/Makefile: Likewise.
41676         * sysdeps/x86_64/Makefile: Likewise.
41678         * io/ftwtest-sh: Add copyright header.
41679         * posix/globtest.sh: Likewise.
41680         * posix/tst-getconf.sh: Likewise.
41681         * posix/wordexp-tst.sh: Likewise.
41682         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41684 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
41686         [BZ #13679]
41687         * Makeconfig (+link): Defined as $(+link-static) if
41688         $(build-shared) isn't yes.
41689         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41690         isn't yes.
41691         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41693         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41695         [BZ #14562]
41696         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41697         new chunk size with MALLOC_ALIGN_MASK.
41699 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
41701         [BZ #5044]
41702         * stdio-common/printf_fphex.c: Include <stdbool.h> and
41703         <rounding-mode.h>.
41704         (__printf_fphex): Determine rounding using get_rounding_mode and
41705         round_away.
41706         * stdio-common/tst-printf-round.c (struct hex_test): New
41707         structure.
41708         (hex_tests): New variable.
41709         (test_hex_in_one_mode): New function.
41710         (do_test): Also run tests for hex float output.
41712 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
41714         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41715         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41716         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41717         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41718         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41719         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41720         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41721         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41723 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
41725         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41726         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41727         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41728         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41730 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
41732         [BZ #14579]
41733         * elf/rtld.c (dl_main): Limit the check for self loading to normal
41734         mode only.
41735         * elf/tst-rtld-load-self.sh: New test.
41736         * elf/Makefile: Run it.
41738 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
41740         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41741         (tst-writev-ENV): Remove.
41742         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41744 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
41746         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41748 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
41750         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41751         unconditional.
41752         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41753         Likewise.
41754         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41755         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41756         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41757         Likewise.
41759 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
41761         [BZ #14587]
41762         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41763         * config.make.in (have-cpp-asm-debuginfo): Removed.
41764         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41765         * configure: Regenerated.
41767 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
41769         [BZ #5044]
41770         * stdio-common/printf_fp.c: Include <stdbool.h> and
41771         <rounding-mode.h>.
41772         (___printf_fp): Determine rounding using get_rounding_mode and
41773         round_away.
41774         * stdio-common/tst-printf-round.c: New file.
41775         * stdio-common/Makefile (tests): Add tst-printf-round.
41776         (link-libm): New variable.
41777         ($(objpfx)tst-printf-round): Depend in $(link-libm).
41779 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
41781         [BZ #14576]
41782         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41783         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41784         Likewise.
41785         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41786         Likewise.
41788 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
41790         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41791         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41792         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41793         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41795 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
41797         [BZ #14518]
41798         * include/rounding-mode.h: New file.
41799         * sysdeps/generic/get-rounding-mode.h: Likewise.
41800         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41801         * stdlib/strtod_l.c: Include <rounding-mode.h>.
41802         (MAX_VALUE): New macro.
41803         (MIN_VALUE): Likewise.
41804         (overflow_value): New function.
41805         (underflow_value): Likewise.
41806         (round_and_return): Use overflow_value and underflow_value to
41807         determine return values in overflow and underflow cases.  Use
41808         round_away to determine rounding depending on rounding mode.
41809         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41810         determine return values in overflow and underflow cases.
41811         * stdlib/tst-strtod-round.c: Include <fenv.h>.
41812         (struct test_results): New structure.
41813         (struct test): Use struct test_results to store expected results
41814         for all rounding modes.
41815         (TEST): Include expected results for all rounding modes.
41816         (test_in_one_mode): New function.
41817         (do_test): Use test_in_one_mode to compute and check results.
41818         Check results for all rounding modes.
41819         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41820         $(link-libm).
41822 2012-12-09  Allan McRae  <allan@archlinux.org>
41824         * sysdeps/i386/fpu/libm-test-ulps: Update
41826 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
41828         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41829         (_G_int32_t): Likewise.
41830         (_G_uint16_t): Likewise.
41831         (_G_uint32_t): Likewise.
41832         (_G_HAVE_BOOL): Likewise.
41833         (_G_HAVE_ATEXIT): Likewise.
41834         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41835         (_G_HAVE_IO_FILE_OPEN): Likewise.
41836         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41837         (_G_int32_t): Likewise.
41838         (_G_uint16_t): Likewise.
41839         (_G_uint32_t): Likewise.
41840         (_G_HAVE_BOOL): Likewise.
41841         (_G_HAVE_ATEXIT): Likewise.
41842         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41843         (_G_HAVE_IO_FILE_OPEN): Likewise.
41844         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41845         (_G_int32_t): Likewise.
41846         (_G_uint16_t): Likewise.
41847         (_G_uint32_t): Likewise.
41848         (_G_HAVE_BOOL): Likewise.
41849         (_G_HAVE_ATEXIT): Likewise.
41850         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41851         (_G_HAVE_IO_FILE_OPEN): Likewise.
41853 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
41855         * csu/libc-tls.c: Update copyright years.
41857 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
41859         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41860         [!_G_USING_THUNKS]: Remove conditional code.
41861         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41862         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41864         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41865         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41866         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41867         (_G_VTABLE_LABEL_PREFIX): Likewise.
41868         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41869         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41870         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41871         (_G_VTABLE_LABEL_PREFIX): Likewise.
41872         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41873         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41874         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41875         (_G_VTABLE_LABEL_PREFIX): Likewise.
41876         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41878 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
41880         * libio/Makefile: Include ../Makeconfig before tests.
41881         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41882         only if $(build-shared) is yes.
41884         * iconv/gconv_db.c: Update copyright years.
41886 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41888         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41889         unwind info if defined PIC. Fix special cases description.
41890         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41892         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41893         DP_HI_MASK entry.
41894         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41896 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
41898         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41900         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41901         is NULL.
41903         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41904         (LDLIBS-tst-chk4): This.
41905         (LDFLAGS-tst-chk5): Renamed to ...
41906         (LDLIBS-tst-chk5): This.
41907         (LDFLAGS-tst-chk6): Renamed to ...
41908         (LDLIBS-tst-chk6): This.
41909         (LDFLAGS-tst-lfschk4): Renamed to ...
41910         (LDLIBS-tst-lfschk4): This.
41911         (LDFLAGS-tst-lfschk5): Renamed to ...
41912         (LDLIBS-tst-lfschk5): This.
41913         (LDFLAGS-tst-lfschk6): Renamed to ...
41914         (LDLIBS-tst-lfschk6): This.
41916         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41917         on $(common-objpfx)soversions.mk.
41919 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
41921         [BZ #10014]
41922         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41923         example host name.
41925 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41927         * malloc/arena.c (arena_get_retry): New function that gets
41928         another arena for the caller to try its request on.
41929         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41930         current arena cannot fulfill the request.
41931         (__libc_memalign): Likewise.
41932         (__libc_memalign): Likewise.
41933         (__libc_pvalloc): Likewise.
41934         (__libc_calloc): Likewise.
41936 2012-09-05  John Tobey  <john.tobey@gmail.com>
41938         [BZ #13542]
41939         * manual/arith.texi (Operations on Complex): Fix description
41940         of carg branch cut.
41942 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41944         [BZ #10014]
41945         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41946         host name.
41948         [BZ #10038]
41949         * manual/memory.texi (Memory): Make order of menu items match
41950         order of sections.
41952 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41954         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41955         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
41956         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41958 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41960         * csu/libc-tls.c (static_dtv): Renamed to ...
41961         (_dl_static_dtv): This.  Make it global.
41962         (_dl_initial_dtv): Removed.
41963         (__libc_setup_tls): Updated.
41964         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41965         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41966         DL_INITIAL_DTV.
41968 2012-09-06  Petr Machata  <pmachata@redhat.com>
41970         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41971         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41972         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41973         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41975 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41977         [BZ #14545]
41978         * csu/libc-tls.c (_dl_initial_dtv): New variable.
41979         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41980         freeing dtv[-1].
41982 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41984         [BZ #14544]
41985         * Makeconfig (link-static-before-libc): Replace $(+prector)
41986         with $(+prectorT).
41987         (link-static-after-libc): Replace $(+postctor) with
41988         $(+postctorT).
41989         (link-bounded): Replace $(+prector)/$(+postctor) with
41990         $(+prectorT)/$(+postctorT).
41991         (+prectorT): New macro.
41992         (+postctorT): Likewise.
41994 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41996         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41997         (round_str): Handle values above the maximum for IBM long double
41998         as inexact.
41999         * stdlib/tst-strtod-round.c (tests): Regenerated.
42001 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42003         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42004         assembler flag.
42005         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42006         zarch_nohighgprs around the zarch optimized routines.
42007         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42008         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42009         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42010         for zarch.
42012 2012-09-05  David S. Miller  <davem@davemloft.net>
42014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42016         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42017         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42018         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42019         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42020         entries.
42022 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42024         * malloc/arena.c: Fold copyright years.
42025         * malloc/mcheck.c, malloc/memusage.c: Likewise.
42027 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42029         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42031 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42033         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
42035 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42037         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42038         change internal state upon failure.
42040 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42042         * malloc/mcheck.c (mcheck_check_all): Fix typo.
42043         * malloc/memusage.c (mmap): Likewise.
42044         (mmap64, mremap): Likewise.  Adjust name in comment.
42046 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42048         * libio/fileops.c: Fix typos in comments.
42049         * libio/oldfileops.c: Likewise.
42050         * libio/wfileops.c: Likewise.
42052 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42054         [BZ #1349]
42055         * malloc/Makefile (tests): Add tst-malloc-usable test case.
42056         (tst-malloc-usable-ENV): Set environment for test case.
42057         * malloc/hooks.c (malloc_check_get_size): New function to get
42058         requested size.
42059         * malloc/malloc.c (musable): Use malloc_check_get_size.
42060         * malloc/tst-malloc-usable.c: New test case.
42062 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42064         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42066 2012-09-05  Allan McRae  <allan@archlinux.org>
42068         [BZ #13966]
42069         * configure.in (CXX_SYSINCLUDES): Use compiler output to
42070         determine header location.
42071         * configure: Regenerated.
42073 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42075         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42076         float format.
42077         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42078         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42079         format.
42080         (test): Regenerate.
42082 2012-09-04  David S. Miller  <davem@davemloft.net>
42084         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42085         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42086         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42088 2012-09-04  Florian Weimer  <fweimer@redhat.com>
42090         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42091         failures.
42093         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42095 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
42097         [BZ #9914]
42098         * libio/iogetdelim.c: Include <limits.h>.
42099         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42100         + len + 1 would overflow.
42102 2012-09-03  Andreas Jaeger  <aj@suse.de>
42104         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42105         * sysdeps/i386/fpu/libm-test-ulps: Update.
42107 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42109         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42110         Add s_sinf-sse2, s_conf-sse2.
42112         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42113         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42114         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42115         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42117         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42118         for using routine as __sinf_ia32.
42119         Use macro for function declaration and weak_alias.
42120         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42121         for using routine as __cosf_ia32.
42122         Use macro for function declaration and weak_alias.
42124         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42125         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42127         * sysdeps/x86_64/fpu/s_sinf.S: New file.
42128         * sysdeps/x86_64/fpu/s_cosf.S: New file.
42129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42131         * math/libm-test.inc (cos_test): Add more test cases.
42132         (sin_test): Likewise.
42133         (sincos_test): Likewise.
42135 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42137         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42138         (IFUNC_RESOLVE): Make pointers to the specialized implementations
42139         hidden.
42140         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42142 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
42144         [BZ #14538]
42145         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42146         first element of the GOT.
42147         (elf_machine_load_address): Return the difference between
42148         the runtime address of _DYNAMIC and elf_machine_dynamic ().
42150 2012-09-01  Allan McRae  <allan@archlinux.org>
42152         [BZ #13412]
42153         * configure.in (AWK): Require gawk version 3.0 or later.
42154         * configure: Regenerated.
42156 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
42158         * sysdeps/unix/sysv/linux/kernel-features.h
42159         (__ASSUME_POSIX_CPU_TIMERS): Remove.
42160         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42161         [__NR_clock_getres]: Make code unconditional.
42162         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42163         (clock_getcpuclockid): Remove code left unreachable by removal of
42164         conditionals.
42165         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42166         code unconditional.
42167         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42168         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42169         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42170         Make code unconditional.
42171         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42172         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42173         * sysdeps/unix/sysv/linux/clock_settime.c
42174         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42175         conditional code.
42176         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42177         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42179 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
42181         [BZ #14476]
42182         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42183         scripts/test-installation.pl.
42185         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42186         and $ld_so_version if it is set.
42188 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42190         [BZ #14516]
42191         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42192         failure if reading from procfs failed.
42193         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42195 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42197         * sysdeps/unix/sysv/linux/kernel-features.h
42198         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42199         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42200         Remove conditional code.
42201         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42202         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42203         Remove conditional code.
42204         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42205         * sysdeps/unix/sysv/linux/i386/fxstat.c
42206         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42207         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42208         * sysdeps/unix/sysv/linux/i386/fxstatat.c
42209         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42210         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42211         * sysdeps/unix/sysv/linux/i386/lxstat.c
42212         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42213         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42214         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42215         Remove conditional code.
42216         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42217         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42218         Remove conditional code.
42219         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42220         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42221         <kernel-features.h>.
42222         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42223         Remove.
42224         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42225         Remove conditional code.
42226         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42227         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42228         Remove conditional.
42230 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
42232         [BZ #5400]
42233         * NEWS: Add fixed bug number.
42235 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42237         [BZ #14519]
42238         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42239         underflowing exponent in case of negative sign.
42240         * stdlib/tst-strtod-round-data: Add more tests.
42241         * stdlib/tst-strtod-round.c (tests): Regenerated.
42243         [BZ #3479]
42244         * stdlib/strtod_l.c (NDIG): Remove.
42245         (HEXNDIG): Likewise.
42246         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42247         smallest representable value.
42248         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42249         lie within an exact representation of 1/2 ulp of the result.
42250         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42251         unconditionally.
42252         (TENS_P9_IDX): Define unconditionally.
42253         (TENS_P9_SIZE): Likewise.
42254         (TENS_P10_IDX): Likewise.
42255         (TENS_P10_SIZE): Likewise.
42256         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42257         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42258         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42259         entries for 10^2^13 and 10^2^14.
42260         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42261         (TENS_P13_IDX): Define.
42262         (TENS_P13_SIZE): Likewise.
42263         (TENS_P14_IDX): Likewise.
42264         (TENS_P14_SIZE): Likewise.
42265         (_fpioconst_pow10): Change array size to
42266         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
42267         unconditional.
42268         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42269         1024]: Add entries for 10^2^13 and 10^2^14.
42270         [LAST_POW10 > _LAST_POW10]: Remove #error.
42271         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42272         (_fpioconst_pow10): Change array size to
42273         FPIOCONST_POW10_ARRAY_SIZE.
42274         * stdlib/gen-fpioconst.c: New file.
42275         * stdlib/gen-tst-strtod-round.c: Likewise.
42276         * stdlib/tst-strtod-round-data: Likewise.
42277         * stdlib/tst-strtod-round.c: Likewise.
42278         * stdlib/Makefile (tests): Add tst-strtod-round.
42280         [BZ #14459]
42281         * stdlib/strtod_l.c: Include <stdint.h>.
42282         (NDEBUG): Do not define.
42283         (round_and_return): Change EXPONENT parameter to type intmax_t.
42284         Rearrange calculations to avoid internal overflow possibilities.
42285         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42286         Rearrange calculations to avoid internal overflow possibilities.
42287         Assert that number fits inside MPNSIZE limbs.
42288         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42289         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
42290         calculations and add assertions to avoid internal overflow
42291         possibilities.  Add casts to avoid signed/unsigned operations.
42292         * stdlib/tst-strtod-overflow.c: New file.
42293         * stdlib/Makefile (tests): Add tst-strtod-overflow.
42295 2012-08-25  Marek Polacek  <polacek@redhat.com>
42297         * time/time.h: Fix some typos in comments.
42299 2012-08-23  Roland McGrath  <roland@hack.frob.com>
42301         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42302         * posix/tst-rfc3484-2.c: Likewise.
42303         * posix/tst-rfc3484-3.c: Likewise.
42305 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
42307         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42308         (EF_ARM_ABI_FLOAT_HARD): Likewise.
42310 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
42312         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42313         #include of fxstatat64.c.
42315 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42317         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42318         * shadow/getspent_r.c: Likewise.
42319         * shadow/getspnam.c: Likewise.
42320         * shadow/getspnam_r.c: Likewise.
42321         * gshadow/getsgent.c: Likewise.
42322         * gshadow/getsgent_r.c: Likewise.
42323         * gshadow/getsgnam.c: Likewise.
42324         * gshadow/getsgnam_r.c: Likewise.
42325         * inet/getnetbyad.c: Likewise.
42326         * inet/getnetbyad_r.c: Likewise.
42327         * inet/getnetbynm.c: Likewise.
42328         * inet/getnetbynm_r.c: Likewise.
42329         * inet/getnetent.c: Likewise.
42330         * inet/getnetent_r.c: Likewise.
42331         * inet/getproto.c: Likewise.
42332         * inet/getproto_r.c: Likewise.
42333         * inet/getprtent.c: Likewise.
42334         * inet/getprtent_r.c: Likewise.
42335         * inet/getprtname.c: Likewise.
42336         * inet/getprtname_r.c: Likewise.
42337         * inet/getrpcbyname.c: Likewise.
42338         * inet/getrpcbyname_r.c: Likewise.
42339         * inet/getrpcbynumber.c: Likewise.
42340         * inet/getrpcbynumber_r.c: Likewise.
42341         * inet/getrpcent.c: Likewise.
42342         * inet/getrpcent_r.c: Likewise.
42343         * inet/getaliasent.c: Likewise.
42344         * inet/getaliasent_r.c: Likewise.
42345         * inet/getaliasname.c: Likewise.
42346         * inet/getaliasname_r.c: Likewise.
42347         * nscd/getgrgid_r.c: Likewise.
42348         * nscd/getgrnam_r.c: Likewise.
42349         * nscd/gethstbyad_r.c: Likewise.
42350         * nscd/gethstbynm3_r.c: Likewise.
42351         * nscd/getpwnam_r.c: Likewise.
42352         * nscd/getpwuid_r.c: Likewise.
42353         * nscd/getsrvbynm_r.c: Likewise.
42354         * nscd/getsrvbypt_r.c: Likewise.
42355         * nscd/gai.c: Likewise.
42357         * configure.in (build_nscd): New substituted variable, set
42358         by --disable-build-nscd and defaults to $use_nscd.
42359         * configure: Regenerated.
42360         * config.make.in (build-nscd): New substituted variable.
42361         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42362         Change conditional to require [$(build-nscd) = yes] as well.
42363         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42365         [BZ# 13696]
42366         * configure.in (use_nscd): New substituted variable, set by
42367         --disable-nscd.  If enabled, define USE_NSCD.
42368         * configure: Regenerated.
42369         * config.h.in: Add USE_NSCD.
42370         * config.make.in (use-nscd): New substituted variable.
42371         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42372         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42373         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42374         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42375         (CFLAGS-getgrnam_r.c): Likewise.
42376         (CFLAGS-initgroups.c): Likewise.
42377         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42378         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42379         Variables removed.
42380         * inet/getnetgrent_r.c
42381         (nscd_setnetgrent): New function, broken out of ...
42382         (setnetgrent): ... here.  Call it.
42383         (innetgr): Conditionalize nscd bits on [USE_NSCD].
42384         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42385         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42386         * nscd/Makefile (routines, aux): Move definitions after include of
42387         Makeconfig.  Conditionalize on [$(use-nscd) != no].
42388         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42389         Conditionalize on [USE_NSCD].
42390         (is_nscd, nscd_init_cb): Likewise.
42391         (nss_load_library): Conditionalize init callback on [USE_NSCD].
42392         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42393         * nss/nss_db/db-init.c: Likewise.
42394         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42395         [USE_NSCD].
42396         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42397         (make_request): Use it.
42398         (cache_valid_p): New function.
42399         (__check_pf): Use it.
42400         * NEWS: Add item for --disable-nscd.
42402 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
42404         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42405         to support sed >= 4.2.1-20-ga9bf076.
42406         * configure: Regenerated.
42408 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42410         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42411         Conditionalize whole body on [IREL].
42413 2012-08-22  Jeff Law <law@redhat.com>
42415         [BZ #14505]
42416         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42417         if the family is PF_UNSPEC.
42419 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
42421         * Makerules (lib-version): Rename from V.
42422         (install-lib-nosubdir): Change V to lib-version.
42424 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
42426         [BZ #14252]
42427         * powerpc32/power6/wcschr.c: New file.
42428         * powerpc32/power6/wcscpy.c: New file.
42429         * powerpc32/power6/wcsrchr.c: New file.
42430         * powerpc64/power6/wcschr.c: New file.
42431         * powerpc64/power6/wcscpy.c: New file.
42432         * powerpc64/power6/wcsrchr.c: New file.
42434 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42436         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42437         (two_way_short_needle): Use it.
42438         * string/strstr.c (AVAILABLE1_USES_J): Define.
42439         * string/strcasestr.c: Likewise.
42441         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42442         array references.
42443         * string/strcasestr.c (TOLOWER): Make side-effect safe.
42445         [BZ #11607]
42446         * NEWS: Add an entry.
42447         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42448         define their defaults.
42449         (two_way_short_needle): Detect end-of-string on-the-fly.
42450         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42451         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42452         * string/bug-strcasestr1.c: New test.
42453         * string/Makefile: Run it.
42455 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42457         [BZ #11607]
42458         * string/str-two-way.h (two_way_short_needle): Optimize matching of
42459         the first character.
42461 2012-08-21  Roland McGrath  <roland@hack.frob.com>
42463         * csu/elf-init.c (__libc_csu_irel): Function removed.
42464         * csu/libc-start.c (apply_irel): New function.
42465         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42467 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
42469         * sysdeps/unix/sysv/linux/kernel-features.h
42470         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42471         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42472         <kernel-features.h>.
42473         [__NR_fadvise64_64]: Make code unconditional.
42474         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42475         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42476         !__NR_fadvise64_64)]: Likewise.
42477         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42478         !__NR_fadvise64_64))]: Likewise.
42479         [__NR_fadvise64]: Make code unconditional.
42480         [!__NR_fadvise64]: Remove conditional code.
42481         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42482         <kernel-features.h>.
42483         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42484         unconditional.
42485         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42486         conditional code.
42487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42488         not include <kernel-features.h>.
42489         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42490         unconditional.
42491         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42492         conditional code.
42493         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42494         include <kernel-features.h>.
42495         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42496         unconditional.
42497         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42498         conditional code.
42500 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42502         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42503         slight instruction rearrangements per scrollpipe analysis.
42504         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42506 2012-08-20  Roland McGrath  <roland@hack.frob.com>
42508         * manual/syslog.texi (syslog; vsyslog, closelog):
42509         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42510         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42512         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42513         DSOCAPS to match condition on defining it.
42515 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
42517         * sysdeps/unix/sysv/linux/kernel-features.h
42518         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42520         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42521         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42523         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42524         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42526         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42527         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42529         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42530         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42532         * sysdeps/unix/sysv/linux/kernel-features.h
42533         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42534         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42535         unconditional.
42536         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42537         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42538         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42539         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42540         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42541         Make code unconditional.
42542         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42543         (__mmap64) [!__NR_mmap2]: Likewise.
42544         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42545         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42546         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42547         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42548         [__NR_mmap2]: Make code unconditional.
42549         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42550         (__mmap64) [!__NR_mmap2]: Likewise.
42552 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42554         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42556 2012-08-18  Andreas Jaeger  <aj@suse.de>
42558         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42560 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42562         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42563         * include/unistd.h (__have_sock_cloexec): Likewise.
42564         (__have_pipe2): Likewise.
42565         (__have_dup3): Likewise.
42567 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42569         [BZ #9685]
42570         * include/unistd.h (__have_pipe2): Change define into an extern int.
42571         (__have_dup3): Likewise.
42572         * socket/have_sock_cloexec.c: Include fcntl.h.
42573         (__have_pipe2): New variable.
42574         (__have_dup3): Likewise.
42576 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
42578         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42580 2012-08-17  Marek Polacek  <polacek@redhat.com>
42582         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42583         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42585 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42587         * configure.in: Add AC_SUBST for sysheaders.
42588         * configure: Regenerated.
42589         * config.make.in (sysheaders): New substituted variable.
42591         * sysdeps/unix/mkfifo.c: Moved ...
42592         * sysdeps/posix/mkfifo.c: ... here.
42593         * sysdeps/unix/mkfifoat.c: Moved ...
42594         * sysdeps/posix/mkfifoat.c: ... here.
42596         * sysdeps/unix/utime.c: Moved ...
42597         * sysdeps/posix/utime.c: ... here.
42599         * sysdeps/unix/time.c: Moved ...
42600         * sysdeps/posix/time.c: ... here.
42601         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42602         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42604         * sysdeps/unix/nice.c: Moved ...
42605         * sysdeps/posix/nice.c: ... here.
42607         * sysdeps/unix/alarm.c: Moved ...
42608         * sysdeps/posix/alarm.c: ... here.
42610         * intl/Makefile ($(codeset_mo)): Depend on the input file.
42612 2012-08-17  Jeff Law <law@redhat.com>
42614         * intl/Makefile (codeset_mo): New variable.
42615         ($(codeset_mo)): New target.
42616         (tst-codeset.out): Depend on that.  Remove explicit rule.
42617         (tst-gettext3.out, tst-gettext5.out): Likewise.
42618         (LOCPATH-ENV, tst-codeset-ENV): New variables.
42619         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42620         * intl/tst-codeset.sh: Remove.
42621         * intl/tst-gettext3.sh: Likewise.
42622         * intl/tst-gettext5.sh: Likewise.
42624 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42626         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
42627         * sysdeps/unix/syscalls.list: ... here.
42629         * sysdeps/posix/getaddrinfo.c
42630         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42631         (gaiconf_init, gaiconf_reload): Use them.
42632         [!_STATBUF_ST_NSEC]
42633         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42634         Define using time_t rather than struct timespec.
42636         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42637         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42638         Macros removed.
42639         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42640         [!NO_THREADS].
42641         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42642         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42643         Likewise.
42645         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42646         __libc_cleanup_push argument.
42648         * bits/param.h: New file.
42649         * misc/sys/param.h: New file.
42650         * include/sys/param.h: New file.
42651         * misc/Makefile (headers): Add bits/param.h.
42652         * sysdeps/generic/sys/param.h: File removed.
42653         * sysdeps/unix/sysv/linux/bits/param.h: New file.
42654         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42655         * sysdeps/mach/hurd/bits/param.h: New file.
42656         * sysdeps/mach/hurd/sys/param.h: File removed.
42658         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42659         last change.
42661         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42662         [_IO_MTSAFE_IO].
42663         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42664         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42665         New macros.
42667         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42668         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42669         rather than -D_IO_MTSAFE_IO conditionally.
42670         * stdio-common/Makefile (CPPFLAGS): Likewise.
42671         * wcsmbs/Makefile (CPPFLAGS): Likewise.
42672         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42673         Use $(libio-mtsafe).
42674         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42675         of -D_IO_MTSAFE_IO.
42676         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42677         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42678         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42679         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42680         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42681         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42682         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42683         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42684         (CFLAGS-fread_u_chk.c): Likewise.
42685         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42686         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42687         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42688         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42689         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42690         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42691         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42692         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42693         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42695         * libio/Makefile: Test [$(libc-reentrant) = yes]
42696         instead of [$(filter %REENTRANT, $(defines)) nonempty].
42698         * Makeconfig
42699         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42700         * sysdeps/pthread/configure: File removed.
42701         * sysdeps/pthread/Makeconfig: New file.
42702         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42703         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42705 2012-08-16  Gary Benson  <gbenson@redhat.com>
42707         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42708         unmapping the first object in a namespace.
42710 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42712         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42713         (__internal_setnetgrent): ... this.  Add internal_function to
42714         definition.  Add libc_hidden_def.
42715         (setnetgrent): Update caller.
42716         (internal_endnetgrent): Renamed to ...
42717         (__internal_endnetgrent): ... this.  Add internal_function to
42718         definition.  Add libc_hidden_def.
42719         (endnetgrent): Update caller.
42720         (internal_getnetgrent_r): Renamed to ...
42721         (__internal_getnetgrent_r): ... this.  Add internal_function to
42722         definition.  Add libc_hidden_def.
42723         (__getnetgrent_r): Update caller.
42724         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
42726 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42728         * stdlib/longlong.h: Update from GCC.
42730 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42732         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42733         on _QL, which is set by umul_ppmm but never used.
42734         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42735         variables, which are set by GMP macros but never used.
42736         * stdio-common/_itowa.c (_itowa): Likewise.
42737         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42738         * stdlib/mod_1.c (mpn_mod_1): Likewise.
42740 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
42742         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42743         struct La_sh_regs is not constant.
42744         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42745         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42746         and struct La_sparc64_regs are not constant.
42748 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42750         * sysdeps/unix/sysv/linux/kernel-features.h
42751         (__ASSUME_POSIX_TIMERS): Remove.
42752         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42753         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42754         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42755         Make code unconditional.
42756         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42757         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42758         Make code unconditional.
42759         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42760         * sysdeps/unix/sysv/linux/clock_nanosleep.c
42761         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42762         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42763         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42764         Make code unconditional.
42765         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42766         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42767         (__libc_missing_posix_timers): Remove.
42769 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42771         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42772         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42774         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42776         * elf/dl-sym.c: Include <stdlib.h>.
42778         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42779         constants, which avoids warnings in 32-bit builds.
42781         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42782         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42784         * misc/lseek.c: File moved to ...
42785         * io/lseek.c: ... here.
42787         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42789         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42790         shifting LEN more than 31 bits at once.
42792 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42794         [BZ #14195]
42795         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42796         segmentation fault for a case of two empty input strings.
42797         * string/test-strncasecmp.c (check1): Renamed to...
42798         (bz12205): ...this.
42799         (bz14195): Add new testcase for two empty input strings and N > 0.
42800         (test_main): Call new testcase, adapt for renamed function.
42802 2012-08-15  Andreas Jaeger  <aj@suse.de>
42804         [BZ #14090]
42805         * crypt/md5test2.c: New test, based on test supplied by Serge
42806         Belyshev <belyshev@depni.sinp.msu.ru>.
42807         * crypt/Makefile (xtests): Add md5test-giant..
42808         * crypt/Makefile ($(objpfx)md5test-giant): Add.
42810 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
42812         [BZ #14090]
42813         * crypt/md5.c (md5_process_block): Don't assume the buffer
42814         length is less than 2**32.
42815         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42816         length is less than 2**64.
42818 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42820         * string/str-two-way.h: Include <sys/param.h>.
42821         (MAX): Macro removed.
42823         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42824         Move #define and #undef of memmove to just before and after
42825         including <string.h>.
42827         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42828         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42829         and after including <string.h>.  Move declarations of
42830         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42831         to before #include "string/memmove.c".
42833         * include/dirent.h: Declare __getdirentries.
42835         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42836         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42838 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
42840         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42841         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42842         * sysdeps/i386/configure: Regenerated.
42843         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42844         STABS_CURRENT_FILE, and STABS_FUN.
42845         (END): Remove call to STABS_FUN_END.
42846         (STABS_CURRENT_FILE1): Delete.
42847         (STABS_CURRENT_FILE): Likewise.
42848         (STABS_FUN): Likewise.
42849         (STABS_FUN_END): Likewise.
42850         (STABS_FUN2): Likewise.
42851         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42852         * sysdeps/x86_64/configure: Regenerated.
42854 2012-08-14  Roland McGrath  <roland@hack.frob.com>
42856         * elf/dl-open.c: Include <atomic.h>.
42857         * elf/dl-lookup.c: Likewise.
42859 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
42861         * sysdeps/unix/sysv/linux/kernel-features.h
42862         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42863         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42864         unconditionally.
42865         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42866         unconditionally.
42867         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42868         condition on __ASSUME_CLONE_THREAD_FLAGS.
42870 2012-08-14  Andreas Jaeger  <aj@suse.de>
42872         * sysdeps/i386/fpu/libm-test-ulps: Update.
42874 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
42876         * include/atomic.h (atomic_exchange_and_add): Split into ...
42877         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42878         New atomic macros.
42880 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
42882         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42884 2012-08-13  Jeff Law <law@redhat.com>
42886         * manual/stdio.texi (snprintf): Clarify handling of the trailing
42887         null byte in the output string.
42889 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
42891         * sysdeps/unix/sysv/linux/kernel-features.h
42892         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42893         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42894         (__ASSUME_ARG_MAX_STACK_BASED): Define.
42895         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42896         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42897         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
42898         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42900 2012-08-09  Jeff Law <law@redhat.com>
42902         [BZ #13939]
42903         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42904         When avoid_arena is set, don't retry in the that arena.  Pick the
42905         next one, whatever it might be.
42906         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42907         (arena_lock): Pass in new parameter to arena_get2.
42908         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42909         arena_get2.
42910         (__libc_malloc): Unify retrying after main arena failure with
42911         __libc_memalign version.
42912         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42914 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
42916         [BZ #14166]
42917         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42918         to __redirect_strstr.
42919         (__strstr_sse42): Use typeof __redirect_strstr.
42920         (__strstr_ia32): Likewise.
42921         (__libc_strstr): New prototype.
42922         (strstr): Renamed to ...
42923         (__libc_strstr): This.
42924         (strstr): New strong alias of __libc_strstr.
42925         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42926         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42927         __redirect_time.
42928         Include <time.h>.
42929         (__libc_time): New prototype.
42930         (time_ifunc): Replace time with __libc_time.
42931         (time): New strong alias and hidden definition of __libc_time.
42932         (__GI_time): Remove strong alias.
42933         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42934         Include <stddef.h>.
42935         (memmove): Redefined to __redirect_memmove.
42936         (__memmove_sse2): Use typeof __redirect_memmove.
42937         (__memmove_ssse3): Likewise.
42938         (__memmove_ssse3_back): Likewise.
42939         (__libc_memmove): New prototype.
42940         (memmove): Renamed to ...
42941         (__libc_memmove): This.
42942         (memmove): New strong alias of __libc_memmove.
42944 2012-08-08  Mark Salter  <msalter@redhat.com>
42946         * elf/elf.h
42947         (R_MN10300_TLS_GD): Define.
42948         (R_MN10300_TLS_LD): Likewise.
42949         (R_MN10300_TLS_LDO): Likewise.
42950         (R_MN10300_TLS_GOTIE): Likewise.
42951         (R_MN10300_TLS_IE): Likewise.
42952         (R_MN10300_TLS_LE): Likewise.
42953         (R_MN10300_TLS_DTPMOD): Likewise.
42954         (R_MN10300_TLS_DTPOFF): Likewise.
42955         (R_MN10300_TLS_TPOFF): Likewise.
42956         (R_MN10300_SYM_DIFF): Likewise.
42957         (R_MN10300_ALIGN): Likewise.
42958         (R_MN10300_NUM): Update.
42960 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
42962         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42963         Remove.
42965 2012-08-08  Roland McGrath  <roland@hack.frob.com>
42967         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42969         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42970         sysdeps/unix -> sysdeps/posix move.
42971         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42973 2012-08-07      Allan McRae     <allan@archlinux.org>
42975         [BZ #14303]
42976         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42977         (SUNOS_CPP): Likewise.
42978         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42979         not found.
42980         (open_input): Call CPP using execvp.
42982 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42984         * sysdeps/unix/sysv/linux/kernel-features.h
42985         (__ASSUME_PROT_GROWSUPDOWN): Remove.
42986         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42987         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42988         (__ASSUME_WAITID_SYSCALL): Likewise.
42989         * sysdeps/unix/sysv/linux/dl-execstack.c
42990         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42991         code unconditional.
42992         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42993         conditional code.
42994         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42995         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42996         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42997         code.
42998         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42999         unconditional.
43000         [__ASSUME_WAITID_SYSCALL]: Likewise.
43001         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43003 2012-08-07  Roland McGrath  <roland@hack.frob.com>
43005         * sysdeps/unix/closedir.c: Renamed to ...
43006         * sysdeps/posix/closedir.c: ... here.
43007         * sysdeps/unix/dirfd.c: Renamed to ...
43008         * sysdeps/posix/dirfd.c: ... here.
43009         * sysdeps/unix/dirstream.h: Renamed to ...
43010         * sysdeps/posix/dirstream.h: ... here.
43011         * sysdeps/unix/fdopendir.c: Renamed to ...
43012         * sysdeps/posix/fdopendir.c: ... here.
43013         * sysdeps/unix/opendir.c: Renamed to ...
43014         * sysdeps/posix/opendir.c: ... here.
43015         * sysdeps/unix/readdir.c: Renamed to ...
43016         * sysdeps/posix/readdir.c: ... here.
43017         * sysdeps/unix/readdir_r.c: Renamed to ...
43018         * sysdeps/posix/readdir_r.c: ... here.
43019         * sysdeps/unix/rewinddir.c: Renamed to ...
43020         * sysdeps/posix/rewinddir.c: ... here.
43021         * sysdeps/unix/seekdir.c: Renamed to ...
43022         * sysdeps/posix/seekdir.c: ... here.
43023         * sysdeps/unix/telldir.c: Renamed to ...
43024         * sysdeps/posix/telldir.c: ... here.
43025         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43026         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43027         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43028         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43030         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43031         * bits/fcntl.h: ... here.
43033         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43034         not 0.
43035         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43036         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43037         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43038         (struct flock): Move l_start, l_len to the beginning.
43039         Use __pid_t for l_pid.
43040         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43041         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43042         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43043         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43044         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43045         [__USE_LARGEFILE64] (struct flock64): New type.
43046         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43048         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43049         * bits/dirent.h: ... here.
43051         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43052         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43054 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43056         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43057         Change from 2.6.0 to 2.6.16.
43058         * sysdeps/unix/sysv/linux/configure: Regenerated.
43059         * sysdeps/unix/sysv/linux/kernel-features.h
43060         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43061         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43062         version.
43063         (__ASSUME_UTIMES): Likewise.
43064         (__ASSUME_CLONE_STOPPED): Remove.
43065         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43066         architectures, not kernel version.
43067         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43068         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43069         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43070         (__ASSUME_WAITID_SYSCALL): Likewise.
43071         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43072         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43073         * README: State 2.6.16 as minimum Linux kernel version.  Do not
43074         refer to older versions.
43076 2012-08-06  Roland McGrath  <roland@hack.frob.com>
43078         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43079         Define alphasort64 as an alias.
43080         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43081         Define versionsort64 as an alias.
43082         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43083         Define scandir64 as an alias.
43084         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43085         Define scandirat64 as an alias.
43086         * dirent/alphasort64.c (alphasort64):
43087         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43088         * dirent/versionsort64.c: Likewise.
43089         * dirent/scandir64.c: Likewise.
43090         * dirent/scandirat64.c: Likewise.
43091         * sysdeps/wordsize-64/alphasort.c: File removed.
43092         * sysdeps/wordsize-64/alphasort64.c: File removed.
43093         * sysdeps/wordsize-64/scandir.c: File removed.
43094         * sysdeps/wordsize-64/scandir64.c: File removed.
43095         * sysdeps/wordsize-64/scandirat.c: File removed.
43096         * sysdeps/wordsize-64/scandirat64.c: File removed.
43097         * sysdeps/wordsize-64/versionsort.c: File removed.
43098         * sysdeps/wordsize-64/versionsort64.c: File removed.
43099         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43100         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43101         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43102         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43103         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43104         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43105         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43106         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43108         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43109         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43110         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43111         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43112         [defined __arch64__ || defined __sparcv9]
43113         (__INO_T_MATCHES_INO64_T): New macro.
43114         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43115         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43116         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43117         * sysdeps/unix/sysv/linux/bits/dirent.h
43118         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43119         (_DIRENT_MATCHES_DIRENT64): New macro.
43121         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43122         Define lockf64 as an alias.
43123         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43124         Define fseeko64 as an alias.
43125         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43126         Define ftello64 as an alias.
43127         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43128         Define _IO_fgetpos64 and fgetpos64 as aliases.
43129         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43130         Define _IO_fsetpos64 and fsetpos64 as aliases.
43131         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43132         Conditionalize body on this.
43133         * libio/fseeko64.c: Likewise.
43134         * libio/ftello64.c: Likewise.
43135         * libio/iofgetpos64.c: Likewise.
43136         * libio/iofsetpos64.c: Likewise.
43137         * sysdeps/wordsize-64/lockf.c: File removed.
43138         * sysdeps/wordsize-64/lockf64.c: File removed.
43139         * sysdeps/wordsize-64/fseeko.c: File removed.
43140         * sysdeps/wordsize-64/fseeko64.c: File removed.
43141         * sysdeps/wordsize-64/ftello.c: File removed.
43142         * sysdeps/wordsize-64/ftello64.c: File removed.
43143         * sysdeps/wordsize-64/iofgetpos.c: File removed.
43144         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43145         * sysdeps/wordsize-64/iofsetpos.c: File removed.
43146         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43147         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43148         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43149         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43150         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43151         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43152         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43153         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43154         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43155         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43156         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43158         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43159         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43160         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43161         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43162         [defined __arch64__ || defined __sparcv9]
43163         (__OFF_T_MATCHES_OFF64_T): New macro.
43164         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43165         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43166         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43167         (__OFF_T_MATCHES_OFF64_T): New macro.
43169 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43171         * stdlib/secure-getenv.c (__secure_getenv): Replace
43172         GLIBC_2_16 with GLIBC_2_17.
43174 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43176         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43177         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43179 2012-08-03  David S. Miller  <davem@davemloft.net>
43181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43183 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43185         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43186         Remove.
43187         (__ASSUME_CORRECT_SI_PID): Likewise.
43188         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43189         (__ASSUME_TMPFS_NAME): Likewise.
43190         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43191         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43192         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43193         (HAVE_AUX_SECURE): Make definition unconditional.
43194         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43195         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43197 2012-08-03  Roland McGrath  <roland@hack.frob.com>
43199         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43200         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43201         * sysdeps/mach/hurd/eloop-threshold.h: New file.
43202         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43203         __eloop_threshold instead of SYMLOOP_MAX.
43205         * sysdeps/generic/eloop-threshold.h: New file.
43206         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43207         of MAXSYMLINKS.
43208         * elf/chroot_canon.c (chroot_canon): Likewise.
43210 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43212         [BZ #13717]
43213         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43214         Change to 2.6.0 everywhere.
43215         * sysdeps/unix/sysv/linux/configure: Regenerated.
43216         * sysdeps/unix/sysv/linux/kernel-features.h
43217         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43218         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43219         kernel versions.
43220         (__ASSUME_POSIX_TIMERS): Define unconditionally.
43221         (__ASSUME_FUTEX_REQUEUE): Remove.
43222         (__ASSUME_STATFS64): Define unconditionally.
43223         (__ASSUME_AT_SECURE): Likewise.
43224         (__ASSUME_CORRECT_SI_PID): Likewise.
43225         (__ASSUME_TGKILL): Define without depending on kernel version for
43226         i386.
43227         (__ASSUME_UTIMES): Likewise.
43228         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43229         kernel version.
43230         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43231         (__ASSUME_TMPFS_NAME): Likewise.
43232         * README: Update reference to Linux kernel versions.
43234 2012-08-02  Marek Polacek  <polacek@redhat.com>
43236         [BZ# 14150]
43237         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
43238         libc_cv_asm_type_prefix with %.
43239         * configure: Regenerated.
43240         * include/libc-symbols.h: Remove comment about
43241         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43242         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43243         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43244         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43245         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43246         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43247         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43248         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43249         * elf/tst-unique2mod1.c: Likewise.
43250         * elf/tst-unique1mod2.c: Likewise.
43251         * elf/tst-unique1mod1.c: Likewise.
43252         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43253         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43254         Replace ASM_TYPE_DIRECTIVE with .type.
43255         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43256         * sysdeps/i386/sysdep.h: Likewise.
43257         * sysdeps/x86_64/sysdep.h: Likewise.
43258         * sysdeps/sh/sysdep.h: Likewise.
43259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43260         Do not define ASM_TYPE_DIRECTIVE.
43261         * sysdeps/powerpc/sysdep.h: Likewise.
43262         * sysdeps/powerpc/powerpc32/sysdep.h:
43263         Replace ASM_TYPE_DIRECTIVE with .type.
43264         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43265         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43266         * sysdeps/i386/fpu/e_powf.S: Likewise.
43267         * sysdeps/i386/fpu/e_expl.S: Likewise.
43268         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43269         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43270         * sysdeps/i386/fpu/e_pow.S: Likewise.
43271         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43272         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43273         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43274         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43275         * sysdeps/i386/fpu/e_log2.S: Likewise.
43276         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43277         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43278         * sysdeps/i386/fpu/e_powl.S: Likewise.
43279         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43280         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43281         * sysdeps/i386/fpu/e_logl.S: Likewise.
43282         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43283         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43284         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43285         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43286         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43287         * sysdeps/i386/fpu/e_log.S: Likewise.
43288         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43289         * sysdeps/i386/fpu/e_logf.S: Likewise.
43290         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43291         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43292         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43293         * sysdeps/i386/fpu/e_log10.S: Likewise.
43294         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43295         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43296         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43297         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43298         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43299         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43300         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43301         * sysdeps/i386/i686/strtok.S: Likewise.
43302         * sysdeps/i386/i386-mcount.S: Likewise.
43303         * sysdeps/i386/strtok.S: Likewise.
43304         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43305         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43306         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43307         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43308         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43309         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43310         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43311         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43312         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43313         * sysdeps/x86_64/_mcount.S: Likewise.
43314         * sysdeps/x86_64/strtok.S: Likewise.
43315         * sysdeps/sh/_mcount.S: Likewise.
43317 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43319         * libio/iofopen.c: Include <fcntl.h>.
43320         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43321         (_IO_fopen64, fopen64): Define as aliases.
43322         * libio/iofopen64.c: Include <fcntl.h>.
43323         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43324         Conditionalize body on this.
43325         * sysdeps/wordsize-64/iofopen.c: File removed.
43326         * sysdeps/wordsize-64/iofopen64.c: File removed.
43328 2012-08-01  Marek Polacek  <polacek@redhat.com>
43330         * libc/Makeconfig: Use elf in place of binfmt-subdir.
43331         Use dlfcn directly instead of a variable.
43332         (binfmt-subdir): Do not define.
43333         (dlfcn): Likewise.
43335 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
43337         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43338         Remove all definitions.
43339         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43340         <kernel-features.h>.
43341         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43342         (miss_F_GETOWN_EX): Remove all definitions.
43343         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43344         macro definition.
43345         [!__ASSUME_FCNTL64]: Remove conditional code.
43346         [__ASSUME_FCNTL64]: Make code unconditional.
43347         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43348         <kernel-features.h>.
43349         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43350         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43351         (lockf64) [__NR_fcntl64]: Make code unconditional.
43352         (lockf64) [__ASSUME_FCNTL64]: Likewise.
43354         * sysdeps/unix/sysv/linux/kernel-features.h
43355         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43356         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43357         Make code unconditional.
43358         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43359         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43361         [__NR_vfork]: Make code unconditional.
43362         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43363         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43365         [__NR_vfork]: Make code unconditional.
43366         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43367         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43369 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43371         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43372         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43374         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43375         Define mkstemp64 as an alias.
43376         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43377         Define mkstemps64 as an alias.
43378         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43379         Define mkostemp64 as an alias.
43380         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43381         Define mkostemps64 as an alias.
43382         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43383         Conditionalize body on this.
43384         * misc/mkostemp64.c: Likewise.
43385         * misc/mkostemps64.c: Likewise.
43386         * misc/mkstemps64.c: Likewise.
43387         * sysdeps/wordsize-64/mkstemp64.c: File removed.
43388         * sysdeps/wordsize-64/mkostemp64.c: File removed.
43389         * sysdeps/wordsize-64/mkostemp.c: File removed.
43390         * sysdeps/wordsize-64/mkstemp.c: File removed.
43391         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43392         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43393         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43394         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43396         [BZ #14138]
43397         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43398         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43399         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43400         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43402         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43403         compat_symbol macros from <shlib-compat.h> rather than the underlying
43404         default_symbol_version and symbol_version macros, so that DEFAULT
43405         lines in shlib-versions are respected.
43406         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43408 2012-08-01  Florian Weimer  <fweimer@redhat.com>
43410         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43411         Declare with warn_unused_result.
43412         (setgid, setregid, setegid, setresgid): Likewise.
43413         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43414         Likewise.
43415         * WUR-REPORT: Remove set*id functions.
43417 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
43419         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43421 2012-07-31  Roland McGrath  <roland@hack.frob.com>
43423         [BZ #10191]
43424         * include/sys/socket.h (__libc_accept, __libc_accept4):
43425         Add attribute_hidden.
43426         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43428         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43429         use of PTR_MANGLE.
43430         * inet/getnetgrent_r.c (setup): Likewise.
43432         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43434 2012-07-31  David S. Miller  <davem@davemloft.net>
43436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43438 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
43440         [BZ #13629]
43441         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43442         value between 1.0 and 2.0 and smaller part has absolute value less
43443         than 1.0.
43444         * math/s_clog10.c (__clog10): Likewise.
43445         * math/s_clog10f.c (__clog10f): Likewise.
43446         * math/s_clog10l.c (__clog10l): Likewise.
43447         * math/s_clogf.c (__clogf): Likewise.
43448         * math/s_clogl.c (__clogl): Likewise.
43449         * math/libm-test.inc (clog_test): Add more tests.
43450         (clog10_test): Likewise.
43451         * sysdeps/i386/fpu/libm-test-ulps: Update.
43452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43454 2012-07-31  Florian Weimer  <fweimer@redhat.com>
43456         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43457         Exit with zero in case no suitable GID is found, and write a
43458         message to standard error.
43460 2012-07-30  Roland McGrath  <roland@hack.frob.com>
43462         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43463         rather than to 1.
43464         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43465         (MAXPATHLEN): Removed.
43466         (NOGROUP, NODEV): New macros.
43467         (setbit, clrbit, isset, isclr): New macros.
43468         (howmany, roundup, powerof2): New macros.
43469         (DEV_BSIZE): New macro.
43471         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43472         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43474         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43475         definition on [!__NO_LONG_DOUBLE_MATH].
43477         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43478         PTR_MANGLE and PTR_DEMANGLE.
43480         * socket/accept4.c (accept4): Rename to __libc_accept4.
43481         Define accept4 as a weak alias.
43483         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43484         on [_DIRENT_HAVE_D_TYPE].
43485         * io/ftw.c (ftw_dir): Likewise.
43487         * io/xmknod.c (__xmknod): Don't check PATH for being null.
43489         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43491         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43492         Use the BSD numbers rather than the arbitrary ones we had.
43493         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43494         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43495         (SIGXCPU, SIGXFSZ): New macros.
43496         (_NSIG): Now 32.
43498         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43499         initializer on [_LIBC_REENTRANT].
43501         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43502         definitions inside [_POSIX_MAPPED_FILES].
43504         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43506         * dirent/opendir.c: Include <fcntl.h>.
43508         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43509         (__libc_getspecific): Likewise.
43510         (__libc_key_create): Likewise.
43512         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43513         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43514         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43515         (tmpfile64): Define as alias.
43516         * sysdeps/wordsize-64/tmpfile.c: File removed.
43517         * sysdeps/wordsize-64/tmpfile64.c: File removed.
43518         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43519         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43521         * stdio-common/vfscanf.c: Include <stdbool.h>.
43522         * nss/makedb.c: Likewise.
43523         * stdio-common/_i18n_number.h: Likewise.
43524         * argp/argp-help.c: Likewise.
43525         * posix/wordexp.c: Likewise.
43526         * sysdeps/posix/spawni.c: Likewise.
43527         * nss/nss_files/files-initgroups.c: Likewise.
43528         * stdio-common/reg-modifier.c: Include <stdlib.h>.
43529         * nss/nss_files/files-initgroups.c: Likewise.
43530         * nss/nss_db/db-netgrp.c: Likewise.
43531         * nss/nss_db/db-initgroups.c: Likewise.
43532         * io/fchmodat.c: Include <sys/stat.h>.
43534         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43535         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43537         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43538         [HAVE_MMAP].
43540         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43541         Add multiple inclusion protection.
43543 2012-07-27  David S. Miller  <davem@davemloft.net>
43545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43547 2012-07-27  Gary Benson  <gbenson@redhat.com>
43549         [BZ #14298]
43550         * elf/rtld.c: Include <stap-probe.h>.
43551         (dl_main): Added static probes "init_start" and "init_complete".
43552         * elf/dl-load.c: Include <stap-probe.h>.
43553         (lose): Take new parameter "nsid".
43554         Added static probe "map_failed".
43555         (_dl_map_object_from_fd): Pass namespace id to lose.
43556         Added static probe "map_start".
43557         (open_verify): Pass namespace id to lose.
43558         * elf/dl-open.c: Include <stap-probe.h>.
43559         (dl_open_worker) Added static probes "map_complete", "reloc_start"
43560         and "reloc_complete".
43561         * elf/dl-close.c: Include <stap-probe.h>.
43562         (_dl_close_worker): Added static probes "unmap_start" and
43563         "unmap_complete".
43564         * elf/rtld-debugger-interface.txt: New file documenting the above.
43566 2012-07-26  Roland McGrath  <roland@hack.frob.com>
43568         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43569         rather than a string variable.
43570         * sunrpc/rpc_main.c (h_output): Likewise.
43571         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43573 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
43575         * inet/check_native.c: New file.
43577 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
43579         [BZ #13629]
43580         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43581         if larger part has absolute value 1.0.
43582         * math/s_clog10.c (__clog10): Likewise.
43583         * math/s_clog10f.c (__clog10f): Likewise.
43584         * math/s_clog10l.c (__clog10l): Likewise.
43585         * math/s_clogf.c (__clogf): Likewise.
43586         * math/s_clogl.c (__clogl): Likewise.
43587         * math/libm-test.inc (clog_test): Add more tests.
43588         (clog10_test): Likewise.
43589         * sysdeps/i386/fpu/libm-test-ulps: Update.
43590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43592         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43593         (pltexit): Likewise.
43594         (La_regs): Likewise.
43595         (La_retval): Likewise.
43596         (int_retval): Likewise.
43597         Update #error for removed macros to refer only to definitions in
43598         tst-audit.h.
43599         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43600         macro.
43601         (pltexit): Likewise.
43602         (La_regs): Likewise.
43603         (La_retval): Likewise.
43604         (int_retval): Likewise.
43605         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43606         macro.
43607         (pltexit): Likewise.
43608         (La_regs): Likewise.
43609         (La_retval): Likewise.
43610         (int_retval): Likewise.
43611         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43612         macro.
43613         (pltexit): Likewise.
43614         (La_regs): Likewise.
43615         (La_retval): Likewise.
43616         (int_retval): Likewise.
43617         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43618         macro.
43619         (pltexit): Likewise.
43620         (La_regs): Likewise.
43621         (La_retval): Likewise.
43622         (int_retval): Likewise.
43623         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43624         macro.
43625         (pltexit): Likewise.
43626         (La_regs): Likewise.
43627         (La_retval): Likewise.
43628         (int_retval): Likewise.
43629         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43630         macro.
43631         (pltexit): Likewise.
43632         (La_regs): Likewise.
43633         (La_retval): Likewise.
43634         (int_retval): Likewise.
43635         * sysdeps/generic/tst-audit.h: Update comment to refer only to
43636         macro definitions in tst-audit.h.
43637         * sysdeps/i386/tst-audit.h: New file.
43638         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43639         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43640         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43641         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43642         * sysdeps/sh/tst-audit.h: Likewise.
43643         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43644         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43645         * sysdeps/x86_64/tst-audit.h: Likewise.
43647 2012-07-26  Andreas Jaeger  <aj@suse.de>
43649         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43650         ptrace.
43652         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43653         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43654         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43655         PTRACE_O_MASK.
43656         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43657         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43658         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43660         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43661         value.
43663         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43664         _sigsys.
43665         (si_call_addr, si_syscall, si_arch): Define new macro.
43666         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43667         _sigsys.
43668         (si_call_addr, si_syscall, si_arch): Define new marcro.
43669         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43670         _sigsys.
43671         (si_call_addr, si_syscall, si_arch): Define new macro.
43672         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43673         _sigsys.
43674         (si_call_addr, si_syscall, si_arch): Define new macro.
43676 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43678         [BZ #13717]
43679         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43680         Change to 2.4.21 where previously 2.4.1.
43681         * sysdeps/unix/sysv/linux/configure: Regenerated.
43682         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43683         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43684         Linux kernel version.
43685         (__ASSUME_STD_AUXV): Remove.
43686         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43687         kernel version.
43688         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43689         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43690         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43691         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43692         (__ASSUME_NETLINK_SUPPORT): Likewise.
43693         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43694         (__no_netlink_support): Remove conditional definition.
43695         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43696         Remove.
43697         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43698         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43699         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43700         (if_nameindex_ioctl): Remove.
43701         (if_nameindex_netlink): Do not handle __no_netlink_support.
43702         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43703         code.
43704         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43705         Remove conditional code.
43706         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43707         code.
43708         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43709         unconditional.
43710         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43711         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43712         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43713         Remove.
43714         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43715         [!__ASSUME_STD_AUXV]: Remove conditional code.
43716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43717         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43718         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43720         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43721         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43722         code.
43723         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43725         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43726         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43727         conditional code.
43728         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43730         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43731         code.
43732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43733         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43734         conditional code.
43735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43736         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43737         code unconditional.
43738         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43739         conditional code.
43740         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43741         unconditional.
43742         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43743         conditional code.
43744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43745         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43746         unconditional.
43747         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43748         conditional code.
43749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43750         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43751         code unconditional.
43752         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43753         conditional code.
43754         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43755         unconditional.
43756         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43757         conditional code.
43758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43759         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43760         code unconditional.
43761         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43762         conditional code.
43763         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43764         unconditional.
43765         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43766         conditional code.
43768 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
43770         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43771         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43772         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43773         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43774         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43775         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43776         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43777         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43778         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43779         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43780         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43781         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43782         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43783         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43784         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43785         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43786         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43787         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43788         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43789         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43790         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43791         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43792         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43794 2012-07-25  Florian Weimer  <fweimer@redhat.com>
43796         * Versions.def: Add GLIBC_2.17.
43797         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43798         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43799         Introduce __libc_secure_getenv.
43800         * stdlib/Versions (2.17): Add secure_getenv
43801         (GLIBC_PRIVATE): Add __libc_secure_getenv.
43802         * stdlib/secure-getenv.c: Rename __secure_getenv to
43803         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
43804         symbol __secure_getenv for GLIBC_2.0.
43805         * stdlib/tst-secure-getenv.c: New.
43806         * stdlib/Makefile (tests): Add testcase.
43807         * manual/startup.texi (Environment Access): Document
43808         secure_getenv.
43809         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43810         __libc_secure_getenv.
43811         * inet/ruserpass.c (ruserpass): Likewise.
43812         * malloc/mtrace.c (mtrace): Likewise.
43813         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43814         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43815         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43816         * sysdeps/posix/tempname.c: Likewise.  Evaluate
43817         HAVE_SECURE_GETENV.
43818         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43819         __secure_getenv to __libc_secure_getenv.
43820         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43822         Likewise.
43823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43824         Likewise.
43825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43827         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43833 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43835         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43836         (struct La_i86_retval): Likewise.
43837         (struct La_x86_64_regs): Likewise.
43838         (struct La_x86_64_retval): Likewise.
43839         (struct La_x32_regs): Likewise.
43840         (struct La_x32_retval): Likewise.
43841         (struct La_ppc32_regs): Likewise.
43842         (struct La_ppc32_retval): Likewise.
43843         (struct La_ppc64_regs): Likewise.
43844         (struct La_ppc64_retval): Likewise.
43845         (struct La_sh_regs): Likewise.
43846         (struct La_sh_retval): Likewise.
43847         (struct La_s390_32_regs): Likewise.
43848         (struct La_s390_32_retval): Likewise.
43849         (struct La_s390_64_regs): Likewise.
43850         (struct La_s390_64_retval): Likewise.
43851         (struct La_sparc32_regs): Likewise.
43852         (struct La_sparc32_retval): Likewise.
43853         (struct La_sparc64_regs): Likewise.
43854         (struct La_sparc64_retval): Likewise.
43855         (struct audit_ifaces): Remove architecture-specific pltenter and
43856         pltexit members.
43857         * sysdeps/i386/ldsodefs.h: New file.
43858         * sysdeps/powerpc/ldsodefs.h: Likewise.
43859         * sysdeps/s390/ldsodefs.h: Likewise.
43860         * sysdeps/sh/ldsodefs.h: Likewise.
43861         * sysdeps/sparc/ldsodefs.h: Likewise.
43862         * sysdeps/x86_64/ldsodefs.h: Likewise.
43864 2012-07-25  Marek Polacek  <polacek@redhat.com>
43866         [BZ #6808]
43867         * math/libm-test.inc (yn_test): Add another test.
43868         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43869         to ERANGE when the result is +-Inf.
43870         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43871         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43872         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43873         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43875 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
43877         * conform/data/time.h-data (NULL): Use macro-constant.  Require
43878         equal to 0.
43879         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
43880         clock_t.
43881         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
43883 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
43885         * configure.in <sysdeps resolving>: Correct printing
43886         Implies_before.
43887         * configure: Regenerate.
43889 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
43891         * math/w_ilogb.c: Include <limits.h>.
43892         * math/w_ilogbl.c: Likewise.
43894 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43896         * manual/lang.texi (__va_copy): Document primarily as ISO C99
43897         va_copy.  Document allowing for unavailable va_copy only as
43898         pre-C99 compatibility.
43899         * manual/string.texi (Copying and Concatenation): Use va_copy
43900         instead of __va_copy in concat example.
43902 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
43904         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43905         (__sendto): Use create_address_port.  Initialize APORT and deallocate
43906         it if not null.
43908         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43909         with O_NOLINK passed to __file_name_lookup.
43911         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43912         with O_NOLINK passed to __file_name_lookup.
43914         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43915         negative N or less than NGIDS.
43917         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43918         type to string_t.  Set ERANGE as errno and return it if NAME is not big
43919         enough.  Use memcpy instead of strncpy.
43921 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43923         * elf/Makefile (check-data): Remove.
43924         (localplt.data): New vpath directive.
43925         ($(objpfx)check-localplt.out): Use localplt.data from vpath
43926         instead of $(check-data).
43927         * scripts/data/localplt-generic.data: Move to ...
43928         * sysdeps/generic/localplt.data: ... here.
43929         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43930         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43931         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43933         ... here.
43934         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43936         ... here.
43937         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43939         ... here.
43940         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43942         ... here.
43943         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43945         ... here.
43946         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43948         ... here.
43950 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43952         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43953         PPC32 and PPC64 files.
43954         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43955         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43957 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43959         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43960         __makecontext_ret to ...
43961         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43962         ... here and call exit if uc_link is NULL.  New file.
43963         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43964         __makecontext_ret.S.
43965         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43966         __makecontext_ret to ...
43967         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43968         ... here and call exit if uc_link is NULL.  New file.
43969         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43970         __makecontext_ret.S.
43972 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43974         * elf/elf.h (R_390_IRELATIVE): New definition.
43975         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43976         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
43977         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43978         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43979         (elf_machine_lazy_rel): Likewise.
43980         * sysdeps/s390/dl-irel.h: New file.
43981         * sysdeps/s390/s390-64/memcpy.S: New asm code.
43982         * sysdeps/s390/s390-64/memset.S: New asm code.
43983         * sysdeps/s390/s390-64/memcmp.S: New asm code.
43984         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43985         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43986         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43987         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43988         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43989         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43990         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43991         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43992         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43993         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43994         * sysdeps/s390/s390-32/memcpy.S: New asm code.
43995         * sysdeps/s390/s390-32/memset.S: New asm code.
43996         * sysdeps/s390/s390-32/memcmp.S: New asm code.
43998 2012-07-17  Marek Polacek  <polacek@redhat.com>
44000         [BZ #14349]
44001         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44002         * sysdeps/s390/s390-64/configure.in: Likewise.
44003         * sysdeps/sparc/configure.in: Likewise.
44004         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44005         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44006         * sysdeps/i386/configure.in: Likewise.
44007         * sysdeps/x86_64/configure.in: Likewise.
44008         * sysdeps/sh/configure.in: Likewise.
44009         * sysdeps/s390/s390-32/configure: Regenerated.
44010         * sysdeps/s390/s390-64/configure: Likewise.
44011         * sysdeps/x86_64/configure: Likewise.
44012         * sysdeps/sh/configure: Likewise.
44013         * sysdeps/powerpc/powerpc64/configure: Likewise.
44014         * sysdeps/powerpc/powerpc32/configure: Likewise.
44015         * sysdeps/sparc/configure: Likwise.
44016         * sysdeps/i386/configure: Likewise.
44018         * elf/dl-open.c: Comment fixes.
44020 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
44022         * Makefile [CXX] (check-data): Remove.
44023         [CXX] (c++-types.data): New vpath directive.
44024         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44025         vpath.  Do not allow for C++ type data being missing.
44026         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44027         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44028         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44029         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44030         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44031         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44032         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44034         ... here.
44035         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44037         ... here.
44038         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44040         ... here.
44041         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44043         ... here.
44044         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44046         ... here.
44047         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44049         ... here.
44050         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44051         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44052         ... here.
44053         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44056         * elf/tls-macros.h (TLS_LE): Move architecture-specific
44057         definitions to architecture-specific files.
44058         (TLS_IE): Likewise.
44059         (TLS_LD): Likewise.
44060         (TLS_GD): Likewise.
44061         * sysdeps/i386/tls-macros.h: New file.
44062         * sysdeps/powerpc/tls-macros.h: Likewise.
44063         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44064         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44065         * sysdeps/sh/tls-macros.h: Likewise.
44066         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44067         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44068         * sysdeps/x86_64/tls-macros.h: Likewise.
44070 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44072         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44073         zero value for regular exit case.
44075         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44076         (__start_context): Preserve zero value for regular exit case.
44078 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44079             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44081         * manual/setjmp.texi (setcontext): Clarify normal process
44082         termination when uc_link is the null pointer.
44083         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44084         exit call.
44086 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
44088         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44089         preprocessor.  Test for each exception mask separately.
44091 2012-07-16  Andreas Jaeger  <aj@suse.de>
44093         * po/ru.po: Update from translation team.
44095 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
44097         * conform/data/string.h-data (NULL): Use macro-constant.  Require
44098         equal to 0.
44099         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44100         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44101         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44102         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44103         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44105 2012-07-13  Andreas Jaeger  <aj@suse.de>
44107         * po/fr.po: Update from translation team.
44109 2012-07-12  Marek Polacek  <polacek@redhat.com>
44111         [BZ #14173]
44112         * math/libm-test.inc (yn_test): Add test for BZ #14173.
44113         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44114         loop condition.
44116 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
44118         [BZ #13717]
44119         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44120         Change to 2.4.1 where previously 2.4.0.
44121         * sysdeps/unix/sysv/linux/configure: Regenerated.
44122         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44123         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44124         version.
44125         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44126         (__ASSUME_AT_CLKTCK): Remove.
44127         (__ASSUME_AT_PAGESIZE): Likewise.
44128         (__ASSUME_AT_XID): Likewise.
44129         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44130         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44131         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44132         unconditionally.
44133         (HAVE_AUX_PAGESIZE): Likewise.
44134         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44135         [__ASSUME_AT_CLKTCK]: Make code unconditional.
44136         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44138 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
44140         [BZ #14307]
44141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44142         the temporary buffer used to invoke __gethostbyname2_r,
44143         __gethostbyaddr_r and gethostbyname4_r to make room for struct
44144         host_data / struct gaih_addrtuple.
44145         * resolv/nss_dns/dns-host.c (global scope): Move definition of
44146         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44147         header file nss/nsswitch.h.
44148         * nss/nsswitch.h (global scope): Add definition of implementation
44149         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44150         resolv/nss_dns/dns-host.c).
44152 2012-07-11  Andreas Jaeger  <aj@suse.de>
44154         * po/fr.po: Update from translation team.
44156         * po/sv.po: Update from translation team
44157         * po/fr.po: Another update from translation team.
44159 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44161         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44162         for subnormals or multiply small sinh result by itself.
44163         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44166 2012-07-11  David S. Miller  <davem@davemloft.net>
44168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44170 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
44172         [BZ #14347]
44173         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44174         (INTERNAL_MARK): Shift it here.
44176 2012-07-10  Marek Polacek  <polacek@redhat.com>
44178         [BZ #14151]
44179         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
44180         libc_cv_asm_global_directive with .globl.
44181         * configure: Regenerated.
44182         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44183         with .globl.
44184         * sysdeps/i386/configure: Regenerated.
44185         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44186         with .globl.
44187         * sysdeps/x86_64/configure: Regenerated.
44188         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44189         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44190         * elf/tst-unique2mod2.c: Likewise.
44191         * elf/tst-unique2mod1.c: Likewise.
44192         * elf/tst-unique1mod2.c: Likewise.
44193         * elf/tst-unique1mod1.c: Likewise.
44194         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44195         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44196         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44197         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44198         * sysdeps/mach/sysdep.h: Likewise.
44199         * sysdeps/i386/sysdep.h: Likewise.
44200         * sysdeps/i386/i386-mcount.S: Likewise.
44201         * sysdeps/x86_64/_mcount.S: Likewise.
44202         * sysdeps/x86_64/sysdep.h: Likewise.
44203         * sysdeps/sh/_mcount.S: Likewise.
44204         * sysdeps/sh/sysdep.h: Likewise.
44205         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44206         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44207         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44208         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44209         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44210         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44211         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44212         * locale/localeinfo.h: Likewise.
44213         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44214         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44216 2012-07-09  Roland McGrath  <roland@hack.frob.com>
44218         [BZ #14336]
44219         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44220         system".
44221         * manual/message.texi (The Uniforum approach): Likewise.
44222         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44223         (glibc iconv Implementation): Likewise.
44225 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
44227         [BZ #14337]
44228         * math/s_clog.c (__clog): Avoid scaling a value down where that
44229         could result in underflow.
44230         * math/s_clog10.c (__clog10): Likewise.
44231         * math/s_clog10f.c (__clog10f): Likewise.
44232         * math/s_clog10l.c (__clog10l): Likewise.
44233         * math/s_clogf.c (__clogf): Likewise.
44234         * math/s_clogl.c (__clogl): Likewise.
44235         * math/libm-test.inc (clog_test): Add more tests.
44236         (clog10_test): Likewise.
44237         * sysdeps/i386/fpu/libm-test-ulps: Update.
44238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44240 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
44242         [BZ #14283]
44243         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44244         by 7 not 8 to examine high bit of fractional part.
44246         [BZ #14042]
44247         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44248         for call to __mcount_internal.
44249         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44250         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44251         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44253 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
44255         [BZ #14154]
44256         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44257         approximation for values within 0x1p-13f of an odd multiple of
44258         pi/4.
44259         * math/libm-test.inc (tan_test): Do not allow spurious underflow
44260         exception.  Add more tests.
44261         * sysdeps/i386/fpu/libm-test-ulps: Update.
44263         [BZ #6778]
44264         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44265         inputs and return -1 for them.  Do not check for +Inf in case not
44266         reachable for +Inf.
44267         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44268         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44269         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44270         and return -1 for them.  Do not check for +Inf in case not
44271         reachable for +Inf.
44272         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44273         define.
44274         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44275         and return -1 for them.  Do not check for +Inf in case not
44276         reachable for +Inf.
44277         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
44278         spurious underflow.
44279         * sysdeps/i386/fpu/libm-test-ulps: Update.
44280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44282 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
44284         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44286 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
44288         [BZ #14157]
44289         [BZ #14331]
44290         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44291         could result in spurious underflow.  Scale down values above
44292         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44293         * math/s_csqrtf.c (__csqrtf): Likewise.
44294         * math/s_csqrtl.c (__csqrtl): Likewise.
44295         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
44296         spurious underflow.
44297         * sysdeps/i386/fpu/libm-test-ulps: Update.
44298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44300 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
44302         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44303         xopen-msg.sed.
44304         * catgets/xopen-msg.awk: New file.
44305         * catgets/xopen-msg.sed: Removed.
44307         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44308         po2text.sed.
44309         * intl/po2test.awk: New file.
44310         * intl/po2test.sed: Removed.
44312 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
44314         [BZ #14328]
44315         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44316         or multiply small sinh result by itself.
44317         * math/s_ctanf.c (__ctanf): Likewise.
44318         * math/s_ctanh.c (__ctanh): Likewise.
44319         * math/s_ctanhf.c (__ctanhf): Likewise.
44320         * math/s_ctanhl.c (__ctanhl): Likewise.
44321         * math/s_ctanl.c (__ctanl): Likewise.
44322         * math/libm-test.inc (ctan_test_tonearest): New function.
44323         (ctan_test_towardzero): Likewise.
44324         (ctan_test_downward): Likewise.
44325         (ctan_test_upward): Likewise.
44326         (ctanh_test_tonearest): Likewise.
44327         (ctanh_test_towardzero): Likewise.
44328         (ctanh_test_downward): Likewise.
44329         (ctanh_test_upward): Likewise.
44330         (main): Call these new functions.
44331         * sysdeps/i386/fpu/libm-test-ulps: Update.
44332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44334 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
44336         * .gitignore: Delete /ports entry.
44338 2012-07-03  Andreas Jaeger  <aj@suse.de>
44340         * po/bg.po: Update from translation team.
44341         * po/cs.po: Likewise.
44342         * po/de.po: Likewise.
44343         * po/hr.po: Likewise.
44344         * po/nl.pl: Likewise.
44345         * po/pl.po: Likewise.
44346         * po/vi.po: Likewise.
44348 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
44350         * Makeconfig [!+link] (+link-before-libc): New variable.
44351         [!+link] (+link-after-libc): Likewise.
44352         [!+link] (+link-tests): Likewise.
44353         [!+link] (+link): Define in terms of $(+link-before-libc) and
44354         $(+link-after-libc).
44355         [!+link-static] (+link-static-before-libc): New variable.
44356         [!+link-static] (+link-static-after-libc): Likewise.
44357         [!+link-static] (+link-static-tests): Likewise.
44358         [!+link-static] (+link-static): Define in terms of
44359         $(+link-static-before-libc) and $(+link-static-after-libc).
44360         [build-shared] (link-libc-before-gnulib): New variable.
44361         [build-shared] (link-libc-tests): Likewise.
44362         [build-shared] (link-libc): Define in terms of
44363         $(link-libc-before-gnulib).
44364         [!build-shared] (link-libc-tests): New variable.
44365         (link-libc-static-tests): New variable.
44366         [!gnulib] (gnulib-arch): New variable.
44367         [!gnulib] (gnulib-tests): Likewise.
44368         [!gnulib] (static-gnulib-arch): Likewise.
44369         [!gnulib] (static-gnulib-tests): Likewise.
44370         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
44371         Define with "=" instead of ":=".
44372         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
44373         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
44374         * Rules (binaries-all-notests): New variable.
44375         (binaries-all-tests): Likewise.
44376         (binaries-static-notests): Likewise.
44377         (binaries-static-tests): Likewise.
44378         (binaries-all): Define using $(binaries-all-notests) and
44379         $(binaries-all-tests).
44380         (binaries-static): Define using $(binaries-static-notests) and
44381         $(binaries-static-tests).
44382         (binaries-shared-tests): New variable.
44383         (binaries-shared-notests): Likewise.
44384         (binaries-shared): Remove variable.
44385         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44386         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44387         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44388         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44389         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44390         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44391         * elf/Makefile (sln-modules): New variable.
44392         (extra-objs): Add $(sln-modules:=.o).
44393         (ldconfig-modules): Add static-stubs.
44394         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44395         * elf/static-stubs.c: New file.
44397         [BZ #14283]
44398         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44399         by 7 not 8 to examine high bit of fractional part.  Use volatile
44400         variables when splitting into final array of floats if
44401         __FLT_EVAL_METHOD__ != 0.
44402         * math/libm-test.inc (cos_test): Add another test.
44403         (sin_test): Likewise.
44404         * sysdeps/i386/fpu/libm-test-ulps: Update.
44406         [BZ #14273]
44407         * math/libm-test.inc (cosh_test): Add more tests.
44409         * version.h (RELEASE): Set to "development".
44410         (VERSION): Set to "2.16.90".
44412 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
44414         * NEWS: Update copyright. Remove last-updated date.
44415         Mention math library bug fixes and timezone data changes.
44416         * README: Mention GNU/Hurd, x32, and HPPA support status.
44418 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
44420         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44422 2012-06-27  Andreas Jaeger  <aj@suse.de>
44424         * manual/contrib.texi (Contributors): Add Samuel Thibault.
44426 2012-06-25  Andreas Jaeger  <aj@suse.de>
44428         * sysdeps/s390/fpu/libm-test-ulps: Update.
44430 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
44431             Thomas Schwinge  <thomas@codesourcery.com>
44433         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44434         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44435         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44436         fanotify_mark.
44438 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
44440         * sysdeps/mach/start.c: Remove file.
44441         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44442         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44443         * sysdeps/sh/init-first.c: Likewise.
44445         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44446         registers for frame unwinding purposes, add CFI directives.
44447         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44448         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44449         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44450         Likewise.
44452         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44453         __fortify_fail returning.
44454         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44456         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44457         sysdeps/sh/____longjmp_chk.S.
44458         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44459         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44460         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44461         (gen-as-const-headers): Append sigaltstack-offsets.sym.
44463         * sysdeps/sh/abort-instr.h: New file.
44464         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44465         process in case exit returns.
44467         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44468         initialize the GOT register before use.
44470         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44471         calculation of ARGC > 4.
44473         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44474         meaningful names to some local labels.
44476 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44477             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44479         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44480         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44481         (__arch_compare_and_exchange_val_16_acq): Likewise.
44482         (__arch_compare_and_exchange_val_32_acq): Likewise.
44483         (atomic_exchange_and_add): Fix gUSA sequence.
44484         (atomic_add): Likewise.
44485         (atomic_add_negative): Likewise.
44486         (atomic_add_zero): Likewise.
44487         (atomic_bit_test_set): Likewise.
44489 2012-06-22  Andreas Schwab  <schwab@redhat.com>
44491         [BZ #13579]
44492         * include/link.h (struct link_map): Add l_free_initfini.
44493         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44494         l_initfini.
44495         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44496         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44497         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44498         set.
44500 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
44502         * configure.in: Use AC_LANG_SOURCE.
44503         * configure: Regenerate.
44505 2012-06-22  Roland McGrath  <roland@hack.frob.com>
44507         * configure.in (libc_cv_localstatedir): New substituted variable.
44508         * configure: Regenerated.
44509         * config.make.in (localstatedir): New variable, substituted from
44510         libc_cv_localstatedir.
44511         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44512         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44513         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44514         * sysdeps/gnu/configure: Regenerated.
44516 2012-06-21  Jeff Law  <law@redhat.com>
44518         [BZ #14277]
44519         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44520         free.  Simplify list management for _LIBC case.
44522 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
44524         [BZ #14273]
44525         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44526         Clear sign bit of 64-bit integer value before comparing against
44527         overflow value.
44529         * sysdeps/mach/configure: Regenerated.
44531 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
44533         [BZ #14278]
44534         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44536 2012-06-21  Jeff Law  <law@redhat.com>
44538         [BZ #13882]
44539         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
44540         uint16_t for elements in the "seen" array to avoid char overflows.
44541         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44542         * elf/dl-open.c (dl_open_worker): Likewise.
44544 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
44546         * scripts/list-sources.sh: Scan PORTS for translations.
44547         * po/libc.pot: Regenerated.
44549 2012-06-21  Andreas Jaeger  <aj@suse.de>
44551         [BZ #12194]
44552         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44553         warning.
44554         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44555         * bits/byteswap-16.h (__bswap_16): Likewise.
44556         * bits/byteswap.h (__bswap_constant_16): Likewise.
44558 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
44560         [BZ #14117]
44561         * sysdeps/i386/fpu_control.h: Removed.
44562         * sysdeps/x86_64/fpu_control.h: Moved to ...
44563         * sysdeps/x86/fpu_control.h: Here.
44565         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44566         (_FPU_SETCW): Likewise.
44568 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
44570         [BZ #14117]
44571         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44572         * sysdeps/x86/fpu/bits/mathinline.h: This.
44573         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44575         [BZ #14050]
44576         [BZ #14117]
44577         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44578         functions if __x86_64__ is defined.
44580 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
44582         * string/endian.h: Add !__ASSEMBLER__ condition for including
44583         conversion interfaces.
44585 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
44587         [BZ #14241]
44588         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44589         of ABS(x) in calculating zero to negative powers other than odd
44590         integers.
44591         * math/libm-test.inc (pow_test): Add more tests.
44593 2012-06-15  Andreas Jaeger  <aj@suse.de>
44595         * manual/contrib.texi (Contributors): Update entry of Liubov
44596         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44597         Machado Filho.
44599 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
44601         * string/string.h: Add __wur to GNU version of strerror_r.
44603 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
44605         [BZ #14229]
44606         * string/Makefile (tests): Add tst-strtok_r.
44607         * string/tst-strtok_r.c: New file.
44608         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44609         RAX_LP/RDX_LP on SAVE_PTR.
44611 2012-06-14  Roland McGrath  <roland@hack.frob.com>
44613         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44615 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
44617         * libm_test.inc (csqrt_test): Allow more spurious underflow
44618         exceptions.
44619         (j0_test): Likewise.
44620         (j1_test): Likewise.
44621         (y0_test): Likewise.
44622         (y1_test): Likewise.
44624 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
44626         * po/Makefile (libc.pot): Use UTF-8 charset.
44628 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
44630         [BZ #14210]
44631         Suppress sign-conversion warning from FD_SET.
44632         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44633         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44634         not unsigned long int.
44635         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44637 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
44639         [BZ #14050]
44640         [BZ #14117]
44641         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44642         __extern_always_inline instead of __extern_inline.
44643         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44644         (__signbit): Likewise.
44645         (__signbitl): Support C++ namespace.
44646         (lrintf): New inline function.
44647         (lrint): Likewise.
44648         (llrintf): Likewise.
44649         (llrint): Likewise.
44650         (fmaxf): Likewise.
44651         (fmax): Likewise.
44652         (fminf): Likewise.
44653         (fmin): Likewise.
44654         (rint): Likewise.
44655         (rintf): Likewise.
44656         (ceil): Likewise.
44657         (ceilf): Likewise.
44658         (floor): Likewise.
44659         (floorf): Likewise.
44660         (nearbyint): Likewise.
44661         (nearbyintf): Likewise.
44663 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
44665         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44666         non-default versions.
44668 2012-06-11  Roland McGrath  <roland@hack.frob.com>
44670         [BZ #14218]
44671         * manual/argp.texi (Argp): Reword argp_parse description slightly.
44673 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
44675         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44676         (FE_UPWARD, FE_DOWNWARD): Don't define.
44677         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44678         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44680         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44681         reading it.
44682         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44683         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44685 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44687         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44688         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44689         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44690         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44692 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
44694         [BZ #14117]
44695         * sysdeps/i386/fpu/bits/fenv.h: Removed.
44696         * sysdeps/i386/fpu/Implies: New file.
44697         * sysdeps/x86_64/fpu/Implies: Likewise.
44698         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44699         * sysdeps/x86/fpu/bits/fenv.h: This.
44701         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44702         __SSE_MATH__.
44704 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44706         [BZ #14134]
44707         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44708         character 0xffff that matches the last element of the
44709         conversion table.
44711 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44713         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44714         fmodl commit.
44716 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44718         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44719         values higher than 25.6283.
44721 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44723         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44724         subnormal exponent extraction and add some __builtin_expect.
44725         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44726         Fix for subnormal mantissa calculation.
44728 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
44730         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44731         cpu2 is -1 and errno is not ENOSYS.
44733 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
44735         [BZ #14117]
44736         * sysdeps/i386/i486/bits/string.h: Renamed to ...
44737         * sysdeps/x86/bits/string.h: This.
44738         * sysdeps/x86_64/bits/string.h: Removed.
44740         * sysdeps/i386/i486/bits/string.h: Define inline functions only
44741         if not compiling for x86-64, but compiling for >= i486.
44743         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44744         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44746         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44747         New macro from Linux kernel 3.4.0.
44748         (FP_XSTATE_MAGIC2): Likewise.
44749         (FP_XSTATE_MAGIC2_SIZE): Likewise.
44750         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44751         (struct _fpx_sw_bytes): New struct.
44752         (struct _xsave_hdr): Likewise.
44753         (struct _ymmh_state): Likewise.
44754         (struct _xstate): Likewise.
44756         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44757         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44758         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44759         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44760         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44761         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44763         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44764         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44765         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44766         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44767         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44768         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44770 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44772         [BZ #13743]
44773         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44774         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44775         (sysdep_headers): Include sys/platform/ppc.h.
44776         * sysdeps/powerpc/test-gettimebase.c: Test for
44777         __ppc_get_timebase() to catch future ISA opcode/insn changes.
44778         * manual/Makefile (appendices): Include platform.texi.
44779         * manual/contrib.texi (Contributors): Update @node pointers.
44780         * manual/maint.texi (Maintenance): Likewise.
44781         (Platform): New node.
44782         * manual/platform.texi: New file.  Document the new features.
44784 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44785             Jakub Jelinek  <jakub@redhat.com>
44787         [BZ #14188]
44788         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44789         where __builtin_expect is unavailable.
44791 2012-06-03  David S. Miller  <davem@davemloft.net>
44793         * stdlib/longlong.h: Updated from GCC.
44795 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
44797         [BZ #14042]
44798         * sysdeps/powerpc/powerpc32/mcount.c: New file.
44799         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44800         __mcount_internal.
44801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44802         (GLIBC_2.16): Likewise.
44804 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44806         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44808 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44811         (default-abi): New variable.
44812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44813         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44814         variable.
44815         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44816         Likewise.
44817         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44818         Likewise.
44819         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44820         Likewise.
44822         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44823         definition.  Document in comment.
44825 2012-06-01  David S. Miller  <davem@davemloft.net>
44827         * stdlib/longlong.h: Updated from GCC.
44829 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44831         [BZ #14117]
44832         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44833         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44834         sys/debugreg.h sys/io.h here.
44835         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44836         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44837         sys/io.h.
44838         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44839         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44840         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44841         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44842         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44843         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44845         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44846         Define only if __x86_64__ is defined.
44848 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44850         [BZ #14048]
44851         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44852         Use int64_t for variable i.
44853         * math/libm-test.inc (fmod_test): Add more tests.
44855         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44856         z computation is not scheduled after fetestexcept.
44857         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44858         Use math_force_eval instead of asm to ensure calculation scheduled
44859         before exception test.
44860         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44861         Ensure a1 + u.d computation is not scheduled after fetestexcept.
44863 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
44865         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44866         computation is not scheduled after fetestexcept.
44868 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44870         [BZ #14117]
44871         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44872         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44874 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44876         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44877         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44879 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44881         [BZ #14117]
44882         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44883         <bits/wordsize.h>.
44884         (__WCHAR_MIN): Support __WORDSIZE == 64.
44885         (__WCHAR_MAX): Likewise.
44887         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44888         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44890         [BZ #14183]
44891         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44892         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44894         [BZ #14117]
44895         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44896         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44898         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44899         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44901         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44902         Defined to 1 if __x86_64__ isn't defined.
44903         (_STAT_VER_LINUX_OLD): New.
44904         (st_atime): Remove duplicate.
44905         (st_mtime): Likewise.
44906         (st_ctime): Likewise.
44908 2012-05-31  David S. Miller  <davem@davemloft.net>
44910         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44911         entries.
44913 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
44915         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44916         gen-libm-test.pl.
44918         [BZ #14132]
44919         * elf/dl-reloc.c: Include <_itoa.h>.
44920         (_dl_reloc_bad_type): Remove use of INTUSE.
44921         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44922         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44923         * stdio-common/psiginfo.c (psiginfo): Likewise.
44924         * stdio-common/psignal.c (psignal): Likewise.
44925         * string/strsignal.c (strsignal): Likewise.
44926         * include/signal.h (_sys_siglist): Declare hidden proto.
44927         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
44928         INTVARDEF with libc_hidden_data_def.
44929         * stdio-common/itoa-udigits.c: Likewise.
44930         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44931         (_itoa_lower_digits_internal): Remove declaration.
44932         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44933         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44934         (_sys_sigabbrev_internal): Remove aliases.
44935         (_sys_siglist): Define hidden alias.
44937 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
44939         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44940         bits/sysctl.h.
44942 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44944         [BZ #14117]
44945         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44946         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44948         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44949         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44950         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44951         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44952         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44953         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44955         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44956         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44957         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44959         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44960         with __addr.
44961         (insw): Likewise.
44962         (insl): Likewise.
44963         (outsb): Likewise.
44964         (outsw): Likewise.
44965         (outsl): Likewise.
44967         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44968         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44969         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44971         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44972         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44973         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44974         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44975         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44976         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44978         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44979         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44981         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44982         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44984         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44985         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44986         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44988         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44989         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44990         to ...
44991         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44993         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44994         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44995         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44997         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44998         for x86-64.
44999         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45001 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
45003         * math/math.h (M_El): Use two more decimal places.
45004         (M_LOG2El): Likewise.
45005         (M_LOG10El): Likewise.
45006         (M_LN2l): Likewise.
45007         (M_LN10l): Likewise.
45008         (M_PIl): Likewise.
45009         (M_PI_2l): Likewise.
45010         (M_PI_4l): Likewise.
45011         (M_1_PIl): Likewise.
45012         (M_2_PIl): Likewise.
45013         (M_2_SQRTPIl): Likewise.
45014         (M_SQRT2l): Likewise.
45015         (M_SQRT1_2l): Likewise.
45017 2012-05-31  David S. Miller  <davem@davemloft.net>
45019         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45020         values between float registers.
45021         * sysdeps/sparc/sparc64/memset.S: Likewise.
45022         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45024 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
45026         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45027         -D_FORTIFY_SOURCE=1.
45028         (CPPFLAGS-tst-longjmp_chk.c): Define.
45029         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45030         (CPPFLAGS-tst-longjmp_chk2.c): Define.
45031         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45032         CFLAGS-tst-wchar-h.c.
45034 2012-05-31  Marek Polacek  <polacek@redhat.com>
45036         [BZ #14132]
45037         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45038         __endmntent_internal): Remove declaration.
45039         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45040         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45041         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45043 2012-05-30  David S. Miller  <davem@davemloft.net>
45045         * sysdeps/sparc/sparc32/soft-fp/q_util.c
45046         (___Q_simulate_exceptions): Use real FP ops rather than writing
45047         into the %fsr.
45048         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45049         Likewise.
45051 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45053         [BZ #14117]
45054         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45055         * sysdeps/x86/bits/xtitypes.h: This.
45057         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45058         * sysdeps/x86/bits/wordsize.h: This.
45060         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45061         * sysdeps/x86/bits/huge_vall.h: This.
45063         * sysdeps/i386/bits/select.h: Removed.
45064         * sysdeps/x86_64/bits/select.h: Renamed to ...
45065         * sysdeps/x86/bits/select.h: This.
45067         * sysdeps/i386/bits/setjmp.h: Removed.
45068         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45069         * sysdeps/x86/bits/setjmp.h: This.
45071         * sysdeps/i386/bits/mathdef.h: Removed.
45072         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45073         * sysdeps/x86/bits/mathdef.h: This.
45075 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
45077         [BZ #14132]
45078         * include/sys/socket.h (__connect_internal)
45079         (__libc_sa_len_internal): Remove declaration.
45080         (__connect, __libc_sa_len): Declare hidden_proto.
45081         (SA_LEN): Remove use of INTUSE.
45082         * socket/connect.c: Add libc_hidden_def.
45083         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45084         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45085         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45086         alias.
45087         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45088         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45089         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45090         of adding _internal alias.
45092 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45094         [BZ #14117]
45095         * sysdeps/i386/bits/link.h: Removed.
45096         * sysdeps/i386/bits/linkmap.h: Likewise.
45097         * sysdeps/x86_64/bits/link.h: Renamed to ...
45098         * sysdeps/x86/bits/link.h: This.
45099         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45100         * sysdeps/x86/bits/linkmap.h: This.
45102         * sysdeps/i386/bits/endian.h: Removed.
45103         * sysdeps/x86_64/bits/endian.h: Renamed to ...
45104         * sysdeps/x86/bits/endian.h: This.
45106         * sysdeps/i386/bits/byteswap.h: Removed.
45107         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45108         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45109         * sysdeps/x86/bits/byteswap.h: This.
45110         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45111         * sysdeps/x86/bits/byteswap-16.h: This.
45112         * sysdeps/i386/Implies: Add x86.
45113         * sysdeps/x86_64/Implies: Likewise.
45115 2012-05-30  David S. Miller  <davem@davemloft.net>
45117         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45118         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45119         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45120         (FP_TRAPPING_EXCEPTIONS): Define.
45121         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45122         (FP_TRAPPING_EXCEPTIONS): Define.
45123         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45124         subnormals only when inexact has been signalled or underflow
45125         exceptions are enabled.
45126         (_FP_PACK_CANONICAL): Likewise.
45128 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45130         [BZ #14183]
45131         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45132         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45134 2012-05-30  Richard Henderson  <rth@twiddle.net>
45136         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45137         with #ifndef NOT_IN_libc.
45139         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
45140         marked to avoid plt entry.
45142 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45144         [BZ #14112]
45145         * Makeconfig (default-abi): New macro.
45146         (abi-includes): Likewise.
45147         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
45148         $(abi-$(default-abi)-lib-soname) for soname if defined.
45149         ($(common-objpfx)gnu/lib-names.stmp): Generate from
45150         abi-variants.
45151         * Makefile (installed-stubs): Likewise.
45152         * include/stubs-biarch.h: Removed.
45153         * scripts/lib-names.awk: Only handle one library at a time.
45154         * scripts/soversions.awk: Remove WORDSIZE support.
45155         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45156         entries.
45157         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45158         Removed.
45159         (syscall-list-default-condition): Likewise.
45160         (syscall-list-default-condition): Likewise.
45161         (syscall-list-includes): Likewise.
45162         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45163         syscall-list-* with abi-*.  Handle undefined abi-variants.
45164         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45165         * sysdeps/unix/sysv/linux/i386/Implies: New file.
45166         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45167         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45168         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45169         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45170         Removed.
45171         (syscall-list-32-options): Likewise.
45172         (syscall-list-32-condition): Likewise.
45173         (syscall-list-64-options): Likewise.
45174         (syscall-list-64-condition): Likewise.
45175         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45176         macro.
45177         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45178         Renamed to ...
45179         (abi-*): This.
45180         (abi-64-ld-soname): New macro.
45181         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45182         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45183         Renamed to ...
45184         (abi-*): This.
45185         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45186         * sysdeps/x86_64/x32/shlib-versions: Likewise.
45188 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
45190         * sysdeps/unix/sysv/linux/kernel-features.h
45191         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45192         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45193         include <kernel-features.h>.
45194         [!__NR_ftruncate64]: Remove conditional code.
45195         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45196         [__NR_ftruncate64]: Make code unconditional.
45197         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45198         * sysdeps/unix/sysv/linux/truncate64.c: Do not
45199         include <kernel-features.h>.
45200         [!__NR_ftruncate64]: Remove conditional code.
45201         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45202         [__NR_ftruncate64]: Make code unconditional.
45203         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45205         include <kernel-features.h>.
45206         [!__NR_ftruncate64]: Remove conditional code.
45207         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45208         [__NR_ftruncate64]: Make code unconditional.
45209         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45211         include <kernel-features.h>.
45212         [!__NR_ftruncate64]: Remove conditional code.
45213         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45214         [__NR_ftruncate64]: Make code unconditional.
45215         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45217         * configure.in (libc_cv_fpie): Weaken to a compile test using
45218         LIBC_TRY_CC_OPTION.
45219         * configure: Regenerated.
45221 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45227         Refreshed.
45228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45234         Refreshed.
45236 2012-05-27  David S. Miller  <davem@davemloft.net>
45238         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45239         (___Q_zero): New.
45240         (__Q_simulate_exceptions): Return void.  Change to simulate
45241         exceptions by writing into the %fsr.
45242         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45243         (__Qp_handle_exceptions): Likewise.
45244         (numbers): Delete.
45245         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45246         __Qp_handle_exceptions.
45247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45248         __Qp_handle_exceptions.
45249         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45250         as unused and give dummy FP_RND_NEAREST initializer.
45251         (FP_INHIBIT_RESULTS): Define.
45252         (___Q_simulate_exceptions): Update declaration.
45253         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45254         formatting.
45255         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45256         as unused and give dummy FP_RND_NEAREST initializer.
45257         (__Qp_handle_exceptions): Update declaration.
45258         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45259         formatting.
45261 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
45263         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45264         the temporary FPU control word.
45265         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45266         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45267         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45268         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45269         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45270         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45271         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45272         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45273         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45274         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45275         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45277 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45279         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45280         fields.
45282 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
45284         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45285         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45286         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45287         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45288         Likewise.
45289         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45290         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45291         Likewise.
45293 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
45295         * po/h.po: Update from translation team.
45297 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
45299         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45301         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45302         handling of denormals.
45303         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45304         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45305         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45306         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45307         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45308         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45309         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45310         Likewise.
45312 2012-05-26  Marek Polacek  <polacek@redhat.com>
45314         [BZ #14152]
45315         * math/libm-test.inc (fma_test): Don't always expect underflow
45316         exception.
45318 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45320         [BZ #12416]
45321         * elf/tst-execstack.c: Include stackinfo.h.
45322         (do_test): Adjust test case to ensure that pthread_getattr_np
45323         behaviour remains the same after marking stack executable.
45325 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45327         * sysdeps/unix/sysv/linux/kernel-features.h
45328         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45329         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45330         kernel-features.h.
45331         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45332         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45333         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45334         kernel-features.h.
45335         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45336         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45338 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
45340         * configure.in: Define the default includes to being none.
45341         * configure: Regenerated.
45343 2012-05-25  Roland McGrath  <roland@hack.frob.com>
45345         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45346         * sysdeps/x86_64/setjmp.S: Likewise.
45347         * sysdeps/i386/bsd-setjmp.S: Likewise.
45348         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45349         * sysdeps/i386/setjmp.S: Likewise.
45350         * sysdeps/i386/__longjmp.S: Likewise.
45351         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45352         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45354         * include/stap-probe.h: New file.
45355         * configure.in: Handle --enable-systemtap.
45356         * configure: Regenerated.
45357         * config.h.in (USE_STAP_PROBE): New #undef.
45358         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45359         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45360         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45362 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45364         [BZ #13717]
45365         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45366         to 2.4.0 where earlier.
45367         * sysdeps/unix/sysv/linux/configure: Regenerated.
45368         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45369         <kernel-features.h>.
45370         [__ASSUME_32BITUIDS]: Make code unconditional.
45371         [!__ASSUME_32BITUIDS]: Remove conditional code.
45372         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45373         <kernel-features.h>.
45374         [__ASSUME_32BITUIDS]: Make code unconditional.
45375         [!__ASSUME_32BITUIDS]: Remove conditional code.
45376         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45377         [__ASSUME_32BITUIDS]: Make code unconditional.
45378         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45379         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45380         <kernel-features.h>.
45381         [__ASSUME_32BITUIDS]: Make code unconditional.
45382         [!__ASSUME_32BITUIDS]: Remove conditional code.
45383         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45384         <kernel-features.h>.
45385         [__ASSUME_32BITUIDS]: Make code unconditional.
45386         [!__ASSUME_32BITUIDS]: Remove conditional code.
45387         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45388         <kernel-features.h>.
45389         [__ASSUME_32BITUIDS]: Make code unconditional.
45390         [!__ASSUME_32BITUIDS]: Remove conditional code.
45391         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45392         <kernel-features.h>.
45393         [__ASSUME_32BITUIDS]: Make code unconditional.
45394         [!__ASSUME_32BITUIDS]: Remove conditional code.
45395         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45396         <kernel-features.h>.
45397         [__ASSUME_32BITUIDS]: Make code unconditional.
45398         [!__ASSUME_32BITUIDS]: Remove conditional code.
45399         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45400         <kernel-features.h>.
45401         [__ASSUME_32BITUIDS]: Make code unconditional.
45402         [!__ASSUME_32BITUIDS]: Remove conditional code.
45403         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45404         <kernel-features.h>.
45405         [__ASSUME_32BITUIDS]: Make code unconditional.
45406         [!__ASSUME_32BITUIDS]: Remove conditional code.
45407         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45408         <kernel-features.h>.
45409         [__ASSUME_32BITUIDS]: Make code unconditional.
45410         [!__ASSUME_32BITUIDS]: Remove conditional code.
45411         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45412         <kernel-features.h>.
45413         [__ASSUME_32BITUIDS]: Make code unconditional.
45414         [!__ASSUME_32BITUIDS]: Remove conditional code.
45415         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45416         <kernel-features.h>.
45417         [__ASSUME_32BITUIDS]: Make code unconditional.
45418         [!__ASSUME_32BITUIDS]: Remove conditional code.
45419         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45420         <kernel-features.h>.
45421         [__NR_setresgid] (__setresgid): Do not declare.
45422         [__ASSUME_32BITUIDS]: Make code unconditional.
45423         [!__ASSUME_32BITUIDS]: Remove conditional code.
45424         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45425         <kernel-features.h>.
45426         [__NR_setresuid] (__setresuid): Do not declare.
45427         [__ASSUME_32BITUIDS]: Make code unconditional.
45428         [!__ASSUME_32BITUIDS]: Remove conditional code.
45429         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45430         <kernel-features.h>.
45431         [__ASSUME_32BITUIDS]: Make code unconditional.
45432         [!__ASSUME_32BITUIDS]: Remove conditional code.
45433         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45434         <kernel-features.h>.
45435         [__ASSUME_32BITUIDS]: Make code unconditional.
45436         [!__ASSUME_32BITUIDS]: Remove conditional code.
45437         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45438         <kernel-features.h>.
45439         [__ASSUME_32BITUIDS]: Make code unconditional.
45440         [!__ASSUME_32BITUIDS]: Remove conditional code.
45441         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45442         <kernel-features.h>.
45443         [__ASSUME_32BITUIDS]: Make code unconditional.
45444         [!__ASSUME_32BITUIDS]: Remove conditional code.
45445         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45446         <kernel-features.h>.
45447         [__ASSUME_32BITUIDS]: Make code unconditional.
45448         [!__ASSUME_32BITUIDS]: Remove conditional code.
45449         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45450         <kernel-features.h>.
45451         [__ASSUME_32BITUIDS]: Make code unconditional.
45452         [!__ASSUME_32BITUIDS]: Remove conditional code.
45453         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45454         <kernel-features.h>.
45455         [__ASSUME_32BITUIDS]: Make code unconditional.
45456         [!__ASSUME_32BITUIDS]: Remove conditional code.
45457         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45458         <kernel-features.h>.
45459         [__ASSUME_32BITUIDS]: Make code unconditional.
45460         [!__ASSUME_32BITUIDS]: Remove conditional code.
45461         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45462         <kernel-features.h>.
45463         [__ASSUME_32BITUIDS]: Make code unconditional.
45464         [!__ASSUME_32BITUIDS]: Remove conditional code.
45465         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45466         <kernel-features.h>.
45467         [__ASSUME_32BITUIDS]: Make code unconditional.
45468         [!__ASSUME_32BITUIDS]: Remove conditional code.
45469         * sysdeps/unix/sysv/linux/kernel-features.h
45470         (__ASSUME_SETRESUID_SYSCALL): Remove.
45471         (__ASSUME_SETRESGID_SYSCALL): Likewise.
45472         (__ASSUME_32BITUIDS): Likewise.
45473         (__ASSUME_LDT_WORKS): Likewise.
45474         (__ASSUME_O_DIRECTORY): Likewise.
45475         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45476         architecture but not kernel version.
45477         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45478         (__ASSUME_MMAP2_SYSCALL): Likewise.
45479         (__ASSUME_STAT64_SYSCALL): Likewise.
45480         (__ASSUME_IPC64): Likewise.
45481         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45482         <kernel-features.h>.
45483         [__ASSUME_32BITUIDS]: Make code unconditional.
45484         [!__ASSUME_32BITUIDS]: Remove conditional code.
45485         * sysdeps/unix/sysv/linux/opendir.c: Do not include
45486         <kernel-features.h>.
45487         [__ASSUME_O_DIRECTORY]: Make code unconditional.
45488         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45489         132096]: Remove conditional code.
45490         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45491         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45492         <kernel-features.h>.
45493         [__ASSUME_32BITUIDS]: Make code unconditional.
45494         [!__ASSUME_32BITUIDS]: Remove conditional code.
45495         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45496         <kernel-features.h>.
45497         [__ASSUME_32BITUIDS]: Make code unconditional.
45498         [!__ASSUME_32BITUIDS]: Remove conditional code.
45499         * sysdeps/unix/sysv/linux/setegid.c: Do not include
45500         <kernel-features.h>.
45501         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45502         unconditional.
45503         (__setresgid): Do not declare.
45504         [__ASSUME_32BITUIDS]: Make code unconditional.
45505         [!__ASSUME_32BITUIDS]: Remove conditional code.
45506         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45507         <kernel-features.h>.
45508         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45509         unconditional.
45510         (__setresuid): Do not declare.
45511         [__ASSUME_32BITUIDS]: Make code unconditional.
45512         [!__ASSUME_32BITUIDS]: Remove conditional code.
45513         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45514         <kernel-features.h>.
45515         [__ASSUME_32BITUIDS]: Make code unconditional.
45516         [!__ASSUME_32BITUIDS]: Remove conditional code.
45517         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45518         <kernel-features.h>.
45519         [__ASSUME_32BITUIDS]: Make code unconditional.
45520         [!__ASSUME_32BITUIDS]: Remove conditional code.
45522 2012-05-25  Richard Henderson  <rth@twiddle.net>
45524         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45525         dl_hwcap to ifunc resolver.
45526         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45527         elf_ifunc_invoke.
45528         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45529         dl_hwcap to ifunc resolver.
45530         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45532 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45534         [BZ #14153]
45535         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45536         for |x| <= 2**-26, not 2**-57.
45537         * math/libm-test.inc (acos_test): Do not allow spurious underflow
45538         exception.
45540 2012-05-24  Jeff Law  <law@redhat.com>
45542         * stdio-common/Makefile (tests): Add bug25.
45543         * stdio-common/bug25.c: New test.
45545 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45547         [BZ #13576]
45548         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45549         multiple of MALLOC_ALIGNMENT in size.
45550         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45552 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45554         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45555         Require >= 256.
45556         (FILENAME_MAX): Use macro-int-constant.
45557         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
45558         (_IOFBF): Use macro-int-constant.
45559         (_IOLBF): Likewise.
45560         (_IONBF): Likewise.
45561         (SEEK_CUR): Likewise.
45562         (SEEK_END): Likewise.
45563         (SEEK_SET): Likewise.
45564         (TMP_MAX): Likewise.
45565         (EOF): Use macro-int-constant.  Require < 0.
45566         (NULL): Use macro-constant.  Require == 0.
45567         (stdin): Require type to be FILE *.
45568         (stdout): Likewise.
45569         (stderr): Likewise.
45570         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45571         macro-int-constant.
45572         (EXIT_SUCCESS): Likewise.
45573         (NULL): Use macro-constant.  Require == 0.
45574         (RAND_MAX): Use macro-int-constant.
45575         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45576         [C99-based standards] (strtof): Require function.
45577         [C99-based standards] (strtold): Likewise.
45578         [C99-based standards] (strtoll): Likewise.
45579         [C99-based standards] (strtoull): Likewise.
45580         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45581         [ISO || ISO99 || ISO11] (limits.h): Likewise.
45582         [ISO || ISO99 || ISO11] (math.h): Likewise.
45583         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45584         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45585         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45587 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
45589         [BZ #14132]
45590         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45591         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45592         * intl/dgettext.c (DCGETTEXT): Likewise.
45593         * intl/gettext.c (DCGETTEXT): Likewise.
45594         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45595         * posix/regex_internal.h (gettext): Likewise.
45596         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45597         Remove declaration.
45598         * include/argz.h (__argz_count_internal)
45599         (__argz_stringify_internal): Remove declaration.
45600         (__argz_count, __argz_stringify): Declare hidden proto.
45601         * intl/dcgettext.c: Remove use of INTDEF.
45602         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45603         * string/argz-stringify.c: Likewise.
45604         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45605         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45606         Declare hidden proto.
45607         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45608         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45609         Declare hidden proto.
45610         * include/stdio.h (__asprintf_internal): Don't declare.
45611         (__asprintf): Don't define as macro.  Declare hidden proto.
45612         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45613         (__fsetlocking): Declare hidden proto.
45614         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45615         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45616         hidden proto.
45617         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45618         (_IO_setlinebuf): Remove use of INTUSE.
45619         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45620         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45621         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45622         Remove declaration.
45623         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45624         (_IO_do_flush): Remove use of INTUSE.
45625         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45626         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45627         (_IO_adjust_column, _IO_least_wmarker)
45628         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45629         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45630         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45631         (_IO_default_doallocate, _IO_wdefault_doallocate)
45632         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45633         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45634         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45635         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45636         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45637         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45638         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45639         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45640         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45641         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45642         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45643         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45644         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45645         proto.
45646         (_IO_flush_all_internal, _IO_adjust_column_internal)
45647         (_IO_default_uflow_internal, _IO_default_finish_internal)
45648         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45649         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45650         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45651         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45652         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45653         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45654         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45655         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45656         (_IO_file_close_internal, _IO_file_close_it_internal)
45657         (_IO_file_underflow_internal, _IO_file_overflow_internal)
45658         (_IO_file_init_internal, _IO_file_attach_internal)
45659         (_IO_file_fopen_internal, _IO_file_read_internal)
45660         (_IO_file_sync_internal, _IO_file_seek_internal)
45661         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45662         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45663         (_IO_str_underflow_internal, _IO_str_overflow_internal)
45664         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45665         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45666         (_IO_list_all_internal, _IO_link_in_internal)
45667         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45668         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45669         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45670         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45671         (_IO_do_write_internal, _IO_padn_internal)
45672         (_IO_getline_info_internal, _IO_getline_internal)
45673         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45674         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45675         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45676         (_IO_vfscanf_internal, _IO_vfprintf_internal)
45677         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45678         (_IO_init_internal, _IO_un_link_internal): Don't declare.
45679         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45680         with libc_hidden_ver, remove use of INTUSE.
45681         * libio/genops.c: Likewise.
45682         * libio/freopen.c: Likewise.
45683         * libio/freopen64.c: Likewise.
45684         * libio/iofclose.c: Likewise.
45685         * libio/iofdopen.c: Likewise.
45686         * libio/iofflush.c: Likewise.
45687         * libio/iofflush_u.c: Likewise.
45688         * libio/iofgets.c: Likewise.
45689         * libio/iofgets_u.c: Likewise.
45690         * libio/iofopen.c: Likewise.
45691         * libio/iofopncook.c: Likewise.
45692         * libio/iofread.c: Likewise.
45693         * libio/iofread_u.c: Likewise.
45694         * libio/ioftell.c: Likewise.
45695         * libio/iofwrite.c: Likewise.
45696         * libio/iogetline.c: Likewise.
45697         * libio/iogets.c: Likewise.
45698         * libio/iogetwline.c: Likewise.
45699         * libio/iopadn.c: Likewise.
45700         * libio/iopopen.c: Likewise.
45701         * libio/ioseekoff.c: Likewise.
45702         * libio/ioseekpos.c: Likewise.
45703         * libio/iosetbuffer.c: Likewise.
45704         * libio/iosetvbuf.c: Likewise.
45705         * libio/ioungetc.c: Likewise.
45706         * libio/ioungetwc.c: Likewise.
45707         * libio/iovdprintf.c: Likewise.
45708         * libio/iovsprintf.c: Likewise.
45709         * libio/iovsscanf.c: Likewise.
45710         * libio/memstream.c: Likewise.
45711         * libio/obprintf.c: Likewise.
45712         * libio/oldfileops.c: Likewise.
45713         * libio/oldiofclose.c: Likewise.
45714         * libio/oldiofdopen.c: Likewise.
45715         * libio/oldiofopen.c: Likewise.
45716         * libio/oldiopopen.c: Likewise.
45717         * libio/oldstdfiles.c: Likewise.
45718         * libio/putc.c: Likewise.
45719         * libio/setbuf.c: Likewise.
45720         * libio/setlinebuf.c: Likewise.
45721         * libio/stdfiles.c: Likewise.
45722         * libio/strops.c: Likewise.
45723         * libio/vasprintf.c: Likewise.
45724         * libio/vscanf.c: Likewise.
45725         * libio/vsnprintf.c: Likewise.
45726         * libio/vswprintf.c: Likewise.
45727         * libio/wfiledoalloc.c: Likewise.
45728         * libio/wfileops.c: Likewise.
45729         * libio/wgenops.c: Likewise.
45730         * libio/wmemstream.c: Likewise.
45731         * libio/wstrops.c: Likewise.
45732         * libio/__fpurge.c: Likewise.
45733         * libio/__fsetlocking.c: Likewise.
45734         * assert/assert.c: Likewise.
45735         * debug/fgets_chk.c: Likewise.
45736         * debug/fgets_u_chk.c: Likewise.
45737         * debug/fread_chk.c: Likewise.
45738         * debug/fread_u_chk.c: Likewise.
45739         * debug/gets_chk.c: Likewise.
45740         * debug/obprintf_chk.c: Likewise.
45741         * debug/vasprintf_chk.c: Likewise.
45742         * debug/vdprintf_chk.c: Likewise.
45743         * debug/vsnprintf_chk.c: Likewise.
45744         * debug/vsprintf_chk.c: Likewise.
45745         * malloc/mtrace.c: Likewise.
45746         * misc/error.c: Likewise.
45747         * misc/syslog.c: Likewise.
45748         * stdio-common/asprintf.c: Likewise.
45749         * stdio-common/fxprintf.c: Likewise.
45750         * stdio-common/getw.c: Likewise.
45751         * stdio-common/isoc99_fscanf.c: Likewise.
45752         * stdio-common/isoc99_scanf.c: Likewise.
45753         * stdio-common/isoc99_vfscanf.c: Likewise.
45754         * stdio-common/isoc99_vscanf.c: Likewise.
45755         * stdio-common/isoc99_vsscanf.c: Likewise.
45756         * stdio-common/printf-prs.c: Likewise.
45757         * stdio-common/printf_fp.c: Likewise.
45758         * stdio-common/printf_fphex.c: Likewise.
45759         * stdio-common/printf_size.c: Likewise.
45760         * stdio-common/putw.c: Likewise.
45761         * stdio-common/scanf.c: Likewise.
45762         * stdio-common/sprintf.c: Likewise.
45763         * stdio-common/tmpfile.c: Likewise.
45764         * stdio-common/vfprintf.c: Likewise.
45765         * stdio-common/vfscanf.c: Likewise.
45766         * stdlib/strfmon_l.c: Likewise.
45767         * sunrpc/openchild.c: Likewise.
45768         * sunrpc/xdr_stdio.c: Likewise.
45769         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45770         * sysdeps/mach/hurd/tmpfile.c: Likewise.
45772 2012-05-24  Roland McGrath  <roland@hack.frob.com>
45774         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45776         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45777         in the third column, to generate for the shared library an IFUNC
45778         that uses _dl_vdso_vsym.
45779         * Makerules (COMPILE.c, compile-stdin.c): New variables.
45780         * Makeconfig (object-suffixes-noshared): New variable.
45782         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45783         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45784         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45785         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45787         [BZ #14132]
45788         * include/sys/time.h (__gettimeofday): Remove macro.
45789         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45790         * time/gettimeofday.c (__gettimeofday): Remove #undef.
45791         Remove INTDEF.
45792         (__gettimeofday): Add libc_hidden_def.
45793         (gettimeofday): Add libc_hidden_weak.
45794         * sysdeps/mach/gettimeofday.c: Likewise.
45795         * sysdeps/posix/gettimeofday.c: Likewise.
45796         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45797         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45798         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45799         (__gettimeofday_internal): Remove strong_alias.
45800         (__gettimeofday): Add libc_hidden_def.
45801         (gettimeofday): Add libc_hidden_weak.
45802         * sysdeps/unix/syscalls.list (gettimeofday):
45803         Remove __gettimeofday_internal alias.
45805 2012-05-24  Daniel Jacobowitz  <drow@false.org>
45806             H.J. Lu  <hongjiu.lu@intel.com>
45808         [BZ #12495]
45809         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45810         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45811         (largebin_index_32_big): New.
45812         (largebin_index): Use it for 16-byte alignment.
45813         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
45814         correction with front_misalign.
45816 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45820         Likewise.
45821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45822         Likewise.
45823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45824         Likewise.
45825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45826         Likewise.
45827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45828         Likewise.
45829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45830         Likewise.
45831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45832         Likewise.
45833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45834         Likewise.
45835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45836         Likewise.
45837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45838         Likewise.
45839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45840         Likewise.
45841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45842         Likewise.
45844         * scripts/data/c++-types-x32-linux-gnu.data: New file.
45845         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45847 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45849         [BZ #10846]
45850         [BZ #14036]
45851         * math/libm-test.inc (exp_test): Add test from bug 14036.
45852         (pow_test): Add test from bug 10846.
45854         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45855         and other flags.
45856         (special_function): Do not include flags in test name.
45857         (parse_args): Likewise.
45858         * sysdeps/i386/fpu/libm-test-ulps: Update.
45859         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45860         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45861         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45864         * math/gen-libm-test.pl (%beautify): Add entries for underflow
45865         exceptions.
45866         * math/libm-test.inc ("Philosophy"): Update comment about
45867         exception testing.
45868         (UNDERFLOW_EXCEPTION): New macro.
45869         (UNDERFLOW_EXCEPTION_OK): Likewise.
45870         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45871         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45872         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45873         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45874         (INVALID_EXCEPTION_OK): Update value.
45875         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45876         (OVERFLOW_EXCEPTION_OK): Likewise.
45877         (IGNORE_ZERO_INF_SIGN): Likewise.
45878         (test_exceptions): Handle underflow exceptions.
45879         (acos_test): Update for underflow exception expectations.
45880         (cexp_test): Likewise.
45881         (clog_test): Likewise.
45882         (clog10_test): Likewise.
45883         (csqrt_test): Likewise.
45884         (ctan_test): Likewise.
45885         (ctanh_test): Likewise.
45886         (exp_test): Likewise.
45887         (exp10_test): Likewise.
45888         (exp2_test): Likewise.
45889         (expm1_test): Likewise.
45890         (fma_test): Likewise.
45891         (j0_test): Likewise.
45892         (jn_test): Likewise.
45893         (nexttoward_test): Likewise.
45894         (pow_test): Likewise.
45895         (scalbn_test): Likewise.
45896         (scalbln_test): Likewise.
45897         (tan_test): Likewise.
45898         (y1_test): Likewise.
45899         * sysdeps/i386/fpu/libm-test-ulps: Update.
45900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45902 2012-05-23  David S. Miller  <davem@davemloft.net>
45904         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45905         (__libc_sigaction): Remove unused local variables.
45907 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45909         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45911 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
45913         mktime: avoid signed integer overflow
45914         * time/mktime.c (__mktime_internal): Do not mishandle the case
45915         where diff == INT_MIN.
45917         mktime: simplify computation of average
45918         * time/mktime.c (ranged_convert): Use new time_t_avg function
45919         instead of rolling our own (probably-slower) code.
45921         mktime: do not assume signed right shift propagates sign bit
45922         * time/mktime.c (isdst_differ): New static function.
45923         (__mktime_internal): No need to normalize tm_isdst now.
45924         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45925         tm_isdst values.
45927         mktime: merge another wrapv change from gnulib
45928         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45929         from some compilers.
45931         mktime: remove incorrect attempt at unusual arithmetics
45932         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45933         The code didn't really work on such machines anyway.
45934         (TYPE_MINIMUM): Assume two's complement.
45935         (twos_complement_arithmetic): Verify that long_int and time_t
45936         are two's complement (or unsigned, in the latter case).
45938         mktime: check signed shifts on long_int and time_t, too
45939         * time/mktime.c (SHR): Check that shifts work as desired
45940         on the types long_int and time_t too, as SHR is used on
45941         such types.
45943         mktime: do not assume 'long' is wide enough
45944         * time/mktime.c (verify): Move decl up.
45945         (long_int): New type.
45946         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45947         to remove assumption in the code that 'long' is wide enough to
45948         store year values.  This assumption is not true on x32 and on
45949         some non-glibc platforms.
45951         mktime: merge wrapv change from gnulib
45952         * time/mktime.c (WRAPV): New macro.
45953         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45954         (guess_time_tm, __mktime_internal): Do not assume that signed
45955         integer overflow wraps around; modern compilers generate code
45956         where this assumption is no longer valid.
45958 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45960         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45961         Replace "jmp L(pseudo_end)" with "ret".
45962         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45963         Likewise.
45965 2012-05-23  Andreas Jaeger  <aj@suse.de>
45967         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45968         * sysdeps/unix/sysv/linux/poll.c: Remove file.
45970 2012-05-23  Andreas Jaeger  <aj@suse.de>
45971             Maximilian Attems  <max@stro.at>
45973         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45974         New macros.
45976 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45978         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45979         code so that pseudo_end is just ret and the stack pointer is
45980         correct also for static library in error case.
45982 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
45984         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45985         move to syscalls.list.
45986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45991         * manual/install.texi (Running make install): Do not mention Linux
45992         kernel version for which pt_chown is not needed.
45993         (Linux): Do not mention problems with nscd with 2.0 kernels.
45994         * INSTALL: Regenerated.
45996 2012-05-23  Andreas Jaeger  <aj@suse.de>
45998         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45999         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46000         macro.
46001         * sysdeps/unix/sysv/linux/s390/bits/mman.h
46002         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46003         * sysdeps/unix/sysv/linux/sh/bits/mman.h
46004         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46005         * sysdeps/unix/sysv/linux/i386/bits/mman.h
46006         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46007         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46008         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46009         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46010         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46011         * sysdeps/unix/sysv/linux/bits/in.h
46012         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46014 2012-05-22  Roland McGrath  <roland@hack.frob.com>
46016         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46017         (PREPARE_VERSION): Just use assert instead, it will be elided
46018         under [NDEBUG] anyway.
46020 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46022         * sysdeps/unix/sysv/linux/Makefile: Include
46023         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46024         (sysdep_routines): Remove sysctl.
46025         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46026         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46027         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46028         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46029         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46031 2012-05-22  Andreas Jaeger  <aj@suse.de>
46033         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46034         that pseudo_end is just ret and the stack pointer is correct also
46035         for static library in error case.
46037 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
46039         [BZ #14122]
46040         * nss/nsswitch.c (defconfig_entries): New variable.
46041         (__nss_database_lookup): Don't leak defconfig entries.
46042         (nss_parse_service_list): Don't leak on error paths.
46043         (free_database_entries): New function.
46044         (free_defconfig): New function.
46045         (free_mem): Move common code to free_database_entries.
46047 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46049         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46050         Add arch_prctl.
46051         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46053         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46054         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46055         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46056         New macro.
46057         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46058         (INTERNAL_SYSCALL_TYPES): Likewise.
46059         (LOAD_ARGS_TYPES_[1-6]): Likewise.
46060         (LOAD_REGS_TYPES_[1-6]): Likewise.
46061         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46062         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46064 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46066         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46067         copysignl for GLIBC_2_0.
46068         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46069         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46070         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46071         logbl for GLIBC_2_0.
46072         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46073         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46075 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46077         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46078         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46080         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46081         Use "neg %eax".
46083         * time/mktime.c: Update copyright years.
46085 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
46087         mktime: merge comment-quoting-style change from gnulib
46088         * time/mktime.c: Quote 'like this' in comments.
46089         The GNU coding standards suggest that we no longer quote `like this',
46090         as "`" and "'" are typically rendered asymmetrically nowadays.
46091         The typical gnulib style is to quote 'like this' when quoting
46092         code, and "like this" when quoting English.
46094         * time/mktime.c (compile-command): Add "-I.".
46096         mktime: merge mktime-internal.h change from gnulib
46097         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46099         mktime: merge time_r change from gnulib
46100         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46102         mktime: merge DEBUG change from gnulib
46103         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46104         case system <time.h> has a #define.
46106         mktime: merge <sys/types.h> change from gnulib
46107         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46108         since <time.t> is now guaranteed to define time_t.
46110         mktime: merge HAVE_CONFIG_H change from gnulib
46111         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46113 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46115         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46116         Use "neg %eax".
46118         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46119         __rlim_t cast.
46120         (struct rusage): Use anonymous union to pad each field to
46121         __syscall_slong_t.
46123 2012-05-21  David S. Miller  <davem@davemloft.net>
46125         * Makefules (o-iterator): Remove .s cases.
46126         (compile-command.s): Delete.
46127         (COMPILE.s): Delete.
46128         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46130 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
46132         * configure.in (libc_cv_predef_stack_protector): Only consider
46133         "foobar" and "__stack_chk_fail" lines in libc_undefs.
46134         * configure: Regenerated.
46136 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46138         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46139         New macro.  Use R*LP on int and pointer.
46140         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46141         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46142         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46143         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46145         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46146         [__WORDSIZE_TIME64_COMPAT32] instead of
46147         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46148         (struct utmp): Likewise.
46149         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46150         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46151         Renamed to ...
46152         (__WORDSIZE_TIME64_COMPAT32): This.
46153         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46154         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46155         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46156         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46157         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46158         (__WORDSIZE_TIME64_COMPAT32): New macro.
46160 2012-05-21  Andreas Jaeger  <aj@suse.de>
46162         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46163         only if [SHARED]. Add prototype for __wcschr_ia32.
46165 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46167         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46168         of %rbp unmolested in the jmp_buf while mangling the low bits.
46169         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46170         unmolested high bits of %rbp while demangling the low bits.
46171         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46173 2012-05-21  Andreas Jaeger  <aj@suse.de>
46175         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46176         * sunrpc/svc_simple.c: Use it for registerrpc.
46177         * sunrpc/xcrypt.c: Use it for passwd2des.
46179         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46181 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46183         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46184         Don't define if [__SYSCALL_WORDSIZE != 32].
46185         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46186         New macro.
46188 2012-05-21  Bruno Haible  <bruno@clisp.org>
46189             Andreas Jaeger  <aj@suse.de>
46191         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46192         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46193         inptr and inend for must_buffer_ch.
46194         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46195         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46196         * stdio-common/Makefile (tests): Remove bug15.
46197         (bug15-ENV): Remove macro.
46198         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46199         anymore.
46201 2012-05-19  Andreas Jaeger  <aj@suse.de>
46202             Roland McGrath  <roland@hack.frob.com>
46204         * manual/contrib.texi: Completely rewritten. It contains now an
46205         alphabetical list of contributors and their contributions.
46207 2012-05-21  Richard Henderson  <rth@twiddle.net>
46209         * misc/getauxval.c (__getauxval): Use unsigned long int.
46210         * misc/sys/auxv.h: Include <sys/cdefs.h>.
46211         (getauxval): Use unsigned long int.
46213 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46215         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46217 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46219         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46220         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46221         __alignof__ (long double).
46223 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46227 2012-05-20  Richard Henderson  <rth@twiddle.net>
46229         * misc/getauxval.c: New file.
46230         * misc/sys/auxv.h: New file.
46231         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46232         (routines): Add getauxval.
46233         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46234         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46235         * elf/dl-sysdep.c (_dl_auxv): Remove.
46236         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46237         * elf/dl-support.c (_dl_auxv): New variable.
46238         (_dl_aux_init): Initialize it.
46239         * manual/startup.texi (Auxiliary Vector): New node.
46240         * sysdeps/generic/bits/hwcap.h: New file.
46241         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46242         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
46243         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46244         * sysdeps/sparc/sysdep.h: ... here.  Include it.
46245         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46246         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46248         Update.
46249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46252         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46258 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46262 2012-05-19  David S. Miller  <davem@davemloft.net>
46264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46266 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46268         [BZ #14123]
46269         * math/s_ccosh.c: Include <float.h>
46270         (__ccosh): Avoid internal overflow calculating sinh and cosh
46271         values before multiplying by sin and cos values.
46272         * math/s_ccoshf.c: Likewise.
46273         * math/s_ccoshl.c: Likewise.
46274         * math/s_csin.c: Likewise.
46275         * math/s_csinf.c: Likewise.
46276         * math/s_csinl.c: Likewise.
46277         * math/s_csinh.c: Likewise.
46278         * math/s_csinhf.c: Likewise.
46279         * math/s_csinhl.c: Likewise.
46280         * math/libm-test.inc (ccos_test): Add more tests.
46281         (ccosh_test): Likewise.
46282         (csin_test): Likewise.
46283         (csinh_test): Likewise.
46284         * sysdeps/i386/fpu/libm-test-ulps: Update.
46285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46287 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
46289         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46290         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46292         * sysdeps/x86_64/x32/_itoa.h: Add comment.
46294 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46296         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46297         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46298         * sysdeps/powerpc/soft-fp/Versions: Likewise.
46299         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46300         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46301         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46302         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46303         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46304         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46305         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46306         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46307         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46308         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46309         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46310         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46311         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46312         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46313         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46314         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46315         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46316         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46317         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46318         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46319         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46320         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46321         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46322         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46323         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46324         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46325         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46326         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46328 2012-05-18  Andreas Jaeger  <aj@suse.de>
46330         * csu/.gitignore: Delete.
46332 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46334         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46335         (timex): Use __syscall_slong_t.
46337 2012-05-18  Andreas Jaeger  <aj@suse.de>
46338             Carlos O'Donell  <carlos_odonell@mentor.com>
46340         * manual/install.texi (Configuring and compiling): Update
46341         description about files modified in the source directory.
46342         * INSTALL: Regenerated.
46344 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46346         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46347         value.  Use "or" to set return value to -1.
46348         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46349         negate return value.
46351 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46353         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46354         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46355         failure if the compiler has Graphite support disabled.
46356         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46357         Likewise.
46358         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46359         (CFLAGS-memmove.c): Likewise.
46360         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46361         Likewise.
46363 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46365         * sysdeps/x86_64/x32/_itoa.h: New file.
46367         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46368         getdents system call only if kernel and user dirents have the
46369         same d_ino and d_off.
46371         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46372         LLONG_MAX != LONG_MAX.
46373         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46374         (_fitoa_word): Likewise.
46376         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46377         years.
46378         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46379         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46380         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46382         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46383         include <bits/wordsize.h>.  Check __x86_64__ instead of
46384         __WORDSIZE.
46385         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46386         if __x86_64__ is defined.  Use anonymous union on fpstate.
46388         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46389         anonymous union.
46391 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
46393         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46394         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46395         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46396         Refer to _rtld_local_ro instead of _rtld_global_ro.
46397         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46398         Likewise.
46399         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46400         Likewise.
46401         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46402         Likewise.
46403         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46404         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46405         of _rtld_global, and rtld_progname instead of _dl_argv[0].
46407         * sysdeps/powerpc/powerpc32/dl-machine.c
46408         (__elf_machine_runtime_setup) [PROF]: Don't reference
46409         _dl_prof_resolve.
46411 2012-05-18  Andreas Jaeger  <aj@suse.de>
46413         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46414         function only available for GCCs before 3.4 since GCC 3.4
46415         introduced a builtin.
46416         (lrint): Likewise.
46417         (llrintf): Likewise.
46418         (llrint): Likewise.
46419         (fmaxf): Likewise.
46420         (fmax): Likewise.
46421         (fminf): Likewise.
46422         (fmin): Likewise.
46423         (rint): Likewise.
46424         (rintf): Likewise.
46425         (nearbyint): Likewise.
46426         (nearbyintf): Likewise.
46427         (ceil): Likewise.
46428         (ceilf): Likewise.
46429         (floor): Likewise.
46430         (floorf): Likewise.
46432 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46434         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46435         on both fields and cast pointer to __syscall_ulong_t.
46437         * bits/types.h (__fsword_t): New type.
46438         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46439         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46440         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46441         (__FSWORD_T_TYPE): Likewise.
46442         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46443         (__FSWORD_T_TYPE): Likewise.
46444         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46445         (__FSWORD_T_TYPE): Likewise.
46446         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46447         (__FSWORD_T_TYPE): Likewise.
46448         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46449         __SWORD_TYPE with __fsword_t.
46450         (statfs64): Likewise.
46452 2012-05-17  David S. Miller  <davem@davemloft.net>
46454         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46456 2012-05-17  Andreas Jaeger  <aj@suse.de>
46458         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46459         warning.
46461 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46463         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46465 2012-05-17  Andreas Jaeger  <aj@suse.de>
46467         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46468         when it is used.
46470 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46472         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46474 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46476         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46477         * sysdeps/x86_64/tst-mallocalign1.c: New file.
46479 2012-05-17  Andreas Jaeger  <aj@suse.de>
46480             Carlos O'Donell  <carlos_odonell@mentor.com>
46482         [BZ #14059]
46483         * sysdeps/x86_64/multiarch/init-arch.h
46484         (bit_YMM_Usable): Rename to...
46485         (bit_AVX_Usable): ... this.
46486         (bit_FMA4_Usable): New macro.
46487         (bit_XMM_state): New macro.
46488         (bit_YMM_state): New macro.
46489         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46490         [__ASSEMBLER__] (index_AVX_Usable): ... this.
46491         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46492         (CPUID_OSXSAVE): New macro.
46493         (CPUID_AVX): New macro.
46494         (CPUID_FMA4): New macro.
46495         (index_YMM_Usable): Rename to...
46496         (index_AVX_Usable): ... this.
46497         (HAS_AVX): Use HAS_ARCH_FEATURE.
46498         (HAS_FMA4): Likewise.
46499         (HAS_YMM_USABLE): Remove.
46500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46501         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46502         are present.
46503         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46504         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46505         * sysdeps/x86_64/multiarch/Makefile: Likewise.
46506         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46507         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46509 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46511         * math/libm-test.c: Support platforms without multiple rounding modes.
46512         * math/bug-nextafter.c: Support platforms without FP exceptions.
46513         * math/bug-nexttoward.c: Likewise.
46514         * math/test-fenv.c: Likewise.
46515         * math/test-misc.c: Likewise.
46516         * stdlib/bug-getcontext.c: Likewise.
46518 2012-05-17  Andreas Jaeger  <aj@suse.de>
46520         * manual/examples/search.c (critter_cmp): Change signature to
46521         avoid warnings.
46522         * manual/string.texi (Collation Functions): Likewise.
46524 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46526         * bits/types.h: Fold copyright years.
46527         * bits/typesizes.h: Likewise.
46528         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46529         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46530         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46531         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46532         * time/time.h: Likewise.
46534 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
46536         [BZ #208]
46537         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46538         in instead of returning them.  Return void.
46539         (__libc_mallinfo): Accumulate over all arenas.
46540         (__malloc_stats): Adjust for change in int_mallinfo interface.
46542 2012-05-16  Roland McGrath  <roland@hack.frob.com>
46544         [BZ #10375]
46545         * configure.in (NM): Add AC_CHECK_TOOL for it.
46546         (libc_extra_cflags): New substituted variable.
46547         Check for -fstack-protector being used implicitly.
46548         * configure: Regenerated.
46549         * config.make.in (config-extra-cflags): New variable,
46550         gets @libc_extra_cflags@.
46551         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46553         [BZ #10375]
46554         * configure.in: Check for _FORTIFY_SOURCE being predefined.
46555         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46556         * configure: Regenerated.
46557         * config.make.in (CPPUNDEFS): New substituted variable.
46558         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46559         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46560         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46562 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46564         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46565         (mq_attr): Use __syscall_slong_t.
46567 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46569         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46570         Check __x86_64__ instead of __WORDSIZE.
46571         (_STAT_VER_LINUX): Likewise.
46572         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
46573         __syscall_ulong_t and __syscall_slong_t.
46574         (stat64): Likewise.
46576 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46578         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46580 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46582         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46584 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46586         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46587         __syscall_ulong_t.
46589         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46590         include <bits/wordsize.h>.  Check __x86_64__ instead of
46591         __WORDSIZE.
46592         (greg_t): Use "__extension__ long long int" if __x86_64__ is
46593         defined.
46594         (mcontext_t): Replace "unsigned long" with "unsigned long long".
46596         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46597         include <bits/wordsize.h>.  Check __x86_64__ instead of
46598         __WORDSIZE.
46599         (user_regs_struct): Use "__extension__ unsigned long long"
46600         instead of "unsigned long" if __x86_64__ is defined.
46601         (user): Likewise.  Pad after pointer field if __ILP32__ is
46602         defined.
46604 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
46606         * configure.in (makeinfo): Require version 4.5 or later.  Allow
46607         versions 5 to 9.
46608         * configure: Regenerated.
46609         * manual/install.texi (texinfo): Increase version requirement to
46610         4.5 or later.
46611         * INSTALL: Regenerated.
46613         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46615 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46617         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46619         * sysdeps/x86_64/x32/ffs.c: New file.
46621         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46622         __syscall_ulong_t.
46623         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46624         defined.  Use __syscall_ulong_t.
46625         (shminfo): Use __syscall_ulong_t.
46626         (shm_info): Likewise.
46628         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46629         __syscall_ulong_t.
46631         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46632         <bits/wordsize.h>.
46633         (msgqnum_t): Use __syscall_ulong_t.
46634         (msglen_t): Likewise.
46635         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
46636         __syscall_ulong_t.
46638         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46639         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46641         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46643         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46644         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46646         * sysvipc/sys/msg.h (msgbuf): Replace long int with
46647         __syscall_slong_t.
46649         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46650         include <bits/wordsize.h>.  Check __x86_64__ instead of
46651         __WORDSIZE.
46653         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46654         "unsigned long long int" if __x86_64__ is defined.
46655         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46657         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46658         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46659         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46661         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46662         <stdint.h>.
46663         (GET_PC): Cast to uintptr_t first.
46664         (GET_FRAME): Likewise.
46665         (GET_STACK): Likewise.
46667         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46668         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46669         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46670         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46671         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46672         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46673         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46674         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46675         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46676         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46677         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46678         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46679         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46680         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46681         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46682         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46683         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46684         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46685         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46686         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46687         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46688         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46689         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46690         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46691         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46692         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46693         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46694         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46695         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46697 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
46699         * Makerules (+depfiles): Also collect depfiles from .oS in
46700         $(extra-objs).
46701         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46702         .oS, $(libnldbl-routines)).
46704         * Makerules (native-compile-mkdep-flags): Define.
46705         * sunrpc/Makefile (extra-objs): Add $(addprefix
46706         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46707         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46708         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
46709         calling $(make-target-directory).
46711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46713         * bits/types.h (__snseconds_t): Removed.
46714         * time/time.h (struct timespec): Replace __snseconds_t with
46715         __syscall_slong_t.
46716         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46717         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46718         Likewise.
46719         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46720         (__SNSECONDS_T_TYPE): Likewise.
46721         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46722         (__SNSECONDS_T_TYPE): Likewise.
46723         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46724         (__SNSECONDS_T_TYPE): Likewise.
46726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46728         * sysdeps/mach/hurd/bits/typesizes.h
46729         (__SYSCALL_SLONG_TYPE): New macro.
46730         (__SYSCALL_ULONG_TYPE): Likewise.
46732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46734         * bits/types.h (__syscall_slong_t): New type.
46735         (__syscall_ulong_t): Likewise.
46737         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46738         (__SYSCALL_ULONG_TYPE): Likewise.
46739         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46740         (__SYSCALL_SLONG_TYPE): Likewise.
46741         (__SYSCALL_ULONG_TYPE): Likewise.
46742         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46743         (__SYSCALL_SLONG_TYPE): Likewise.
46744         (__SYSCALL_ULONG_TYPE): Likewise.
46745         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46746         (__SYSCALL_SLONG_TYPE): Likewise.
46747         (__SYSCALL_ULONG_TYPE): Likewise.
46749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46751         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46752         Add sigaltstack-offsets.sym.
46753         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46754         <sigaltstack-offsets.h>.
46755         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
46756         longjmp_msg pointer.
46757         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
46758         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46759         signal stack.
46760         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46762 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46764         * elf/stackguard-macros.h: Remove file.
46765         * sysdeps/generic/stackguard-macros.h: New file.
46766         * sysdeps/i386/stackguard-macros.h: Likewise.
46767         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46768         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46769         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46770         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46771         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46772         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46773         * sysdeps/x86_64/stackguard-macros.h: Likewise.
46774         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46775         <elf/stackguard-macros.h>.
46777         [BZ #14109]
46778         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46779         __aligned__ in attribute.
46780         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46781         (gregset_t): Likewise.
46783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46785         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46786         * sysdeps/x86_64/64/Implies-after: Here.  New file.
46787         * sysdeps/x86_64/x32/Implies-after: New file.
46789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46791         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46792         and access return value for _dl_profile_fixup.  Use R10_LP to
46793         load frame size.
46795 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46797         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46801         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46802         * sysdeps/x86_64/x32/sysdep.h: New file.
46804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46806         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46807         * sysdeps/x86_64/setjmp.S: Likewise.
46809 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46811         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46812         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46813         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46814         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46815         remove unused global constant.
46817 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
46819         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46820         include of <not-cancel.h>.
46822 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46824         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46826 2012-05-15  Jeff Law  <law@redhat.com>
46827             Andreas Jaeger  <aj@suse.de>
46829         [BZ #13594]
46830         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46831         out from...
46832         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46833         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46834         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46835         code changing __hst_map_handle.map.
46837 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46839         * configure.in (sysnames): Look for Implies-before and Implies-after
46840         files.
46841         * configure: Regenerated.
46843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46845         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46846         8-byte data alignment with LP_SIZE alignment.
46848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46850         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46851         into R10_LP.
46853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46855         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46859         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46860         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46861         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46862         Likewise.
46863         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46867         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46868         (stackinfo_sub_sp): Likewise.
46870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46872         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46873         RAX_LP.
46875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46877         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46878         into R*_LP.
46880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46882         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46883         sizes into R*_LP.
46885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46887         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46891         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46892         into R11_LP and load __x86_64_shared_cache_size_half into
46893         R8_LP.
46895 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46897         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46898         R8_LP.
46900 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46902         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46903         logb for POWER7.
46904         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46905         logbf for POWER7.
46906         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46907         logbl for POWER7.
46908         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46909         powerpc32/power7/fpu/s_logb.c via #include.
46910         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46911         powerpc32/power7/fpu/s_logbf.c via #include.
46912         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46913         powerpc32/power7/fpu/s_logbl.c via #include.
46915 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46917         * README.libm: Remove file.
46919 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46921         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46922         count for x32.  Use R*_LP and omit operand-size suffix.
46924 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46926         * shlib-versions: Move x86_64-.*-linux.* entries to ...
46927         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
46928         * sysdeps/x86_64/x32/shlib-versions: New file.
46930 2012-05-14  Roland McGrath  <roland@hack.frob.com>
46932         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46933         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46934         Use _dl_fatal_printf instead.
46936 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46938         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46939         set if not set by the user.  Do not allow for being unset.
46940         * sysdeps/unix/sysv/linux/configure: Regenerated.
46942 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46944         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46945         the `q' suffix from lea and replace .quad with ASM_ADDR.
46947 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46949         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46950         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
46951         instead of $17.
46952         (PTR_DEMANGLE): Likewise.
46954 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46956         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46957         (LP_OP): Likewise.
46958         (ASM_ADDR): Likewise.
46959         (RAX_LP): Likewise.
46960         (RBP_LP): Likewise.
46961         (RBX_LP): Likewise.
46962         (RCX_LP): Likewise.
46963         (RDI_LP): Likewise.
46964         (RSI_LP): Likewise.
46965         (RSP_LP): Likewise.
46966         (R8_LP): Likewise.
46967         (R9_LP): Likewise.
46968         (R10_LP): Likewise.
46969         (R10_LP): Likewise.
46970         (R11_LP): Likewise.
46971         (R12_LP): Likewise.
46972         (R13_LP): Likewise.
46973         (R14_LP): Likewise.
46974         (R15_LP): Likewise.
46976 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46978         * sysdeps/x86_64/x32/dl-machine.h: New file.
46980 2012-05-14  Andreas Jaeger  <aj@suse.de>
46982         * manual/Makefile (subdir): Remove export of subdir.
46983         (all): Remove target.
46984         (.PHONY): Remove all from list.
46985         (mkinstalldirs): Remove.
46986         (.PHONY): Remove installdirs from list.
46987         ($(inst_infodir)/libc.info): Use make-target-directory.
46988         (installdirs): Remove.
46989         (subdir_%): Remove.
46990         (glibc-targets): Remove.
46991         (lib): Remove.
46992         (stubs): Remove.
46993         ($(objpfx)stubs ../po/manual.pot): Remove.
46994         ($(objpfx)stamp%): Remove.
46995         (make-target-directory): Remove.
46996         (subdir_install): Remove.
46997         (routines): Remove.
46998         (aux): Remove.
46999         (sources): Remove.
47000         (objects): Remove.
47001         (headers): Remove.
47003         [BZ #13750]
47004         * manual/.gitignore: Remove, it's not needed anymore.
47005         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47006         all files in it.
47007         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47008         directory.
47009         (texis): Renamed to $(objpfx)texis.
47010         (texis-path): New, contains path to generated files.
47011         (chapters.%): Use texis-path for complete path, add extra argument
47012         libc-texinfo.sh.
47013         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47014         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47015         (summary,texi, stamp-summary): Use complete path of
47016         files. Generate files in build dir.
47017         (dir-add.texi): Build in build dir.
47018         (libm-err.texi,stamp-libm-err): Likewise.
47019         (version.texi, stamp-version): Likewise.
47020         (.%c.texi): Likewise.
47021         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47022         (mostlyclean): Remove target.
47023         (realclean): Remove target.
47024         (generated): Add new variable with contents from mostlyclean and
47025         realclean, remove entries duplicated in common-mostlyclean, add
47026         stamp-libm-err and stamp-version.
47027         (generated-dirs): Add libc directory.
47028         ($(inst_infodir)/libc.info): Install files from build dir.
47030         * manual/install.texi (Configuring and compiling): Adjust since
47031         the info files are not part of the tar ball anymore.
47033 2012-05-14  Andreas Jaeger  <aj@suse.de>
47035         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47036         variable.
47038 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47040         [BZ #13717]
47041         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47042         to 2.2.0 where earlier.
47043         * sysdeps/unix/sysv/linux/configure: Regenerated.
47044         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47045         Remove conditional code.
47046         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47047         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47048         Remove conditional code.
47049         [!__NR_lchown]: Likewise.
47050         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47051         [__NR_lchown]: Likewise.
47052         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47053         comment referencing __ASSUME_LCHOWN_SYSCALL.
47054         * sysdeps/unix/sysv/linux/i386/sigaction.c
47055         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47056         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47057         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47058         Remove conditional code.
47059         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47060         (__protocol_available): Remove #if 0 code.
47061         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47062         conditional code.
47063         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47064         * sysdeps/unix/sysv/linux/kernel-features.h
47065         (__ASSUME_GETCWD_SYSCALL): Don't define.
47066         (__ASSUME_REALTIME_SIGNALS): Likewise.
47067         (__ASSUME_PREAD_SYSCALL): Likewise.
47068         (__ASSUME_PWRITE_SYSCALL): Likewise.
47069         (__ASSUME_POLL_SYSCALL): Likewise.
47070         (__ASSUME_LCHOWN_SYSCALL): Likewise.
47071         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47072         non-SPARC.
47073         (__ASSUME_SIOCGIFNAME): Don't define.
47074         (__ASSUME_MSG_NOSIGNAL): Likewise.
47075         (__ASSUME_SENDFILE): Define unconditionally.
47076         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47077         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47078         conditional code.
47079         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47080         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47081         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47082         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47083         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47084         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47085         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47087         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47088         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47090         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47091         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47093         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47094         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47096         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47097         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47099         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47100         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47102         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47103         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47105         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47106         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47108         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47109         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47110         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47111         Remove conditional code.
47112         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47113         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47114         Remove conditional code.
47115         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47116         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47117         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47118         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47119         Remove conditional code.
47120         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47121         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47122         Remove conditional code.
47123         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47124         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47125         Remove conditional code.
47126         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47127         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47128         Remove conditional code.
47129         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47130         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47131         Remove conditional code.
47132         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47133         * sysdeps/unix/sysv/linux/sh/pwrite64.c
47134         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47135         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47136         * sysdeps/unix/sysv/linux/sigaction.c
47137         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47138         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47139         * sysdeps/unix/sysv/linux/sigpending.c
47140         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47141         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47142         * sysdeps/unix/sysv/linux/sigprocmask.c
47143         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47144         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47145         * sysdeps/unix/sysv/linux/sigsuspend.c
47146         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47147         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47148         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47149         (__libc_missing_rt_sigs): Remove.
47150         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47151         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47152         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47153         Remove conditional code.
47154         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47155         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47156         return 1.
47157         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47158         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47159         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47160         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47162 2012-05-14  Andreas Jaeger  <aj@suse.de>
47164         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47165         it's not used in glibc.
47166         (__coshm1): Likewise.
47167         (__acosh1p): Likewise.
47168         (__sgn): Likewise.
47170         * manual/string.texi (Copying and Concatenation): Add missing
47171         variable in concat example.
47172         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47174 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47176         [BZ #14103]
47177         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47178         __builtin_clzl with __builtin_clzll.
47180 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47182         [BZ #14104]
47183         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47184         libc_freeres_ptr.
47186 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47188         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47189         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47190         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47191         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47193 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
47195         * NEWS: Update ia64 info.
47197 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
47199         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47200         used as bcopy.
47202 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
47204         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47205         * sysdeps/unix/syscalls.list (dup3): Likewise.
47206         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47207         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47209 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47211         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47212         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47214 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47216         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47217         thread pointer.
47218         (TLS_IE): Use mov/add instead of movq/addq to load thread
47219         pointer.
47220         (TLS_GD_PREFIX): New.
47221         (TLS_GD): Use it.
47223 2012-05-11  David S. Miller  <davem@davemloft.net>
47225         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47226         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47227         (_FPU_SETCW): Likewise.
47229 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47231         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47232         is 32-byte aligned.
47234 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
47236         [BZ #11837]
47237         * iconvdata/gb18030.c: Update tables.
47238         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
47239         characters specially.
47240         (BODY for TO_LOOP): Add encoding of missing ranges.
47242 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
47244         [BZ #13673]
47245         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47246         * sysdeps/mach/hurd/dup3.c: Likewise.
47247         * sysdeps/mach/hurd/readlinkat.c: Likewise.
47248         * sysdeps/powerpc/memmove.c:: Likewise.
47250 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47252         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47253         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47255 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47257         * elf/elf.h (R_X86_64_RELATIVE64): New.
47258         (R_X86_64_NUM): Updated.
47259         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47260         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
47261         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47262         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47263         tst-quad1pie tst-quad2pie
47264         (modules-names): Add tst-quadmod1 tst-quadmod2.
47265         ($(objpfx)tst-quad1): New dependency.
47266         ($(objpfx)tst-quad2): Likewise.
47267         ($(objpfx)tst-quad1pie): Likewise.
47268         ($(objpfx)tst-quad2pie): Likewise.
47269         * sysdeps/x86_64/tst-quad1.c: New file.
47270         * sysdeps/x86_64/tst-quad1pie.c: New file.
47271         * sysdeps/x86_64/tst-quad2.c: Likewise.
47272         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47273         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47274         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47275         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47276         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47278 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47280         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47281         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47282         * streams/stropts.h (t_scalar_t): Define type.
47284         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47285         (_PATH_PRESERVE): Set to "/var/lib".
47286         (_PATH_RWHODIR): Set to "/var/spool/rwho".
47288         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47289         instead of int.
47291         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47292         if __dir_mkfile succeeded.
47294         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47295         checking for _hurd_dtablesize.  Unlock it right after having
47296         finished _hurd_dtable allocation.
47298 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47300         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47301         * sysdeps/mach/hurd/configure: Regenerated.
47302         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47303         special-casing to...
47304         * sysdeps/gnu/configure.in: ... this new file.
47305         * sysdeps/unix/sysv/linux/configure: Regenerated.
47306         * sysdeps/gnu/configure: New generated file.
47308         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47309         for Linux: use nsec instead of usec, as well as:
47310         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47311         members of type struct timespec.
47312         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47313         New macros.
47314         (struct stat64): Likewise.
47315         (_STATBUF_ST_NSEC): New macro.
47316         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47318         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47319         __strtoul_internal rather than strtoul.
47321 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47323         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47324         and reject them.
47326 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47328         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47329         which preserves existing values.
47330         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47332 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47334         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47335         TIMEOUT values.  Return EINVAL for NFDS values either negative or
47336         greater than FD_SETSIZE.
47338 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47340         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47341         allocated, call __vm_protect to finish enabling the existing space, and
47342         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47343         allocate the remainder.
47345 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47347         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47348         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
47350 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47352         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47353         sysdeps/mach/hurd/readlink.c.
47355         * posix/tst-sysconf.c (posix_options): Only use
47356         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47357         _POSIX_SYNCHRONIZED_IO when they are defined
47358         * sysdeps/mach/hurd/bits/posix_opt.h:
47359         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47360         (_XOPEN_REALTIME): Undefine macro.
47361         (_XOPEN_REALTIME_THREADS): Undefine macro.
47362         (_XOPEN_SHM): Undefine macro.
47363         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47364         macro to -1.
47365         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47366         macro to -1.
47367         (_POSIX_ASYNC_IO): Undefine macro.
47368         (_POSIX_PRIORITIZED_IO): Undefine macro.
47369         (_POSIX_SPIN_LOCKS): Define macro to -1.
47371         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47372         SA_NODEFER, SA_RESETHAND.
47373         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47374         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47375         F_DUPFD_CLOEXEC.
47377 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47379         * elf/Makefile (pldd-modules): Define unconditionally.
47381 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47383         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47385 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47387         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47388         Return ENOENT when name is empty.
47389         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47391 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47393         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47395         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47397 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47399         Fix mlock in all cases except non-readable pages.
47400         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47401         instead of VM_PROT_ALL as parameter to __vm_wire function.
47403         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47404         (__mkdir): When path is `/', just fail with EEXIST.
47405         * sysdeps/mach/hurd/mkdirat.c: Likewise.
47407 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47409         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47410         <sys/uio.h> (for writev).
47411         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47412         and <sys/param.h> (for MIN).
47414 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47416         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47417         REQUESTED_TIME.  Properly set the remaining time and return EINTR
47418         if interrupted.
47420 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47422         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47423         Depend on against $(link-rpcuserlibs).
47425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47427         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47428         (__libc_stack_end): Do not use attribute_relro.
47429         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47430         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47431         to libthread-provided value.
47432         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47433         attribute_relro.
47435 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47437         [BZ #3748]
47438         * bits/libc-lock.h (__libc_once_get): New macro.
47439         * sysdeps/mach/bits/libc-lock.h: Likewise.
47440         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47441         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47442         instead of using implementation details.
47444         * libio/fileops.c: Unconditionally include <kernel-features.h>.
47445         * libio/freopen.c: Likewise.
47446         * libio/freopen64.c: Likewise.
47447         * misc/syslog.c: Likewise.
47448         * nscd/connections.c: Likewise.
47449         * nscd/netgroupcache.c: Likewise.
47450         * sysdeps/posix/getcwd.c: Likewise.
47452 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47454         * math/w_ilogbf.c: Add #include <limits.h>.
47456 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47458         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47459         path instead of returning without unlocking.
47461         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47462         immediate-write ioctls.
47463         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47465 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47467         * sysdeps/mach/hurd/i386/init-first.c (init): Use
47468         __builtin_frame_address instead of making assumptions about the
47469         location of the return address relative to DATA.  Force early load of
47470         the return address.
47471         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47472         __builtin_frame_address.
47474         dup3 for GNU Hurd.
47475         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47476         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
47477         implement dup3 and do some further code clean-ups.
47478         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47479         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47481 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47483         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47485         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47486         HURD_CRITICAL_END around holding _hurd_dtable_lock.
47487         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47488         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47489         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47490         d->port.lock.
47492         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47493         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
47494         when handler == SIG_ERR, not when handler != SIG_ERR.
47496 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47498         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47499         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47500         definitions.
47502         accept4 for GNU Hurd.
47503         * include/sys/socket.h (__libc_accept4): New prototype.
47504         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
47505         to implement __libc_accept4.
47506         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47507         __libc_accept4.
47508         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47510         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47511         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47512         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47513         signal-defines.sym.
47515 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47517         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47519 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47521         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47522         assertion on O_CLOEXEC flag.
47523         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47524         * hurd/intern-fd.c: Likewise.
47525         * hurd/port2fd.c: Likewise.
47527 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47529         [BZ #3906]
47530         * bits/in.h (IPV6_PKTINFO): Define new macro.
47531         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47533 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47535         [BZ #13954]
47536         [BZ #13955]
47537         [BZ #13956]
47538         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47539         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47540         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47541         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47542         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47543         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47544         * math/libm-test.inc (logb_test) : Additional logb tests.
47546 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
47547             Andreas Jaeger  <aj@suse.de>
47549         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47550         * configure: Regenerated.
47551         * config.h.in (LINK_OBSOLETE_RPC): New macro.
47552         * config.make.in (link-obsolete-rpc): New substituted variable.
47553         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47554         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47555         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47556         (shared-only-routines): Don't set it under [link-obsolete-rpc],
47557         so that libc.a contains the symbols.
47558         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47559         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47560         * sunrpc/auth_none.c: Likewise.
47561         * sunrpc/auth_unix.c: Likewise.
47562         * sunrpc/authdes_prot.c: Likewise.
47563         * sunrpc/authuxprot.c: Likewise.
47564         * sunrpc/clnt_gen.c: Likewise.
47565         * sunrpc/clnt_perr.c: Likewise.
47566         * sunrpc/clnt_raw.c: Likewise.
47567         * sunrpc/clnt_simp.c: Likewise.
47568         * sunrpc/clnt_tcp.c: Likewise.
47569         * sunrpc/clnt_udp.c: Likewise.
47570         * sunrpc/clnt_unix.c: Likewise.
47571         * sunrpc/des_crypt.c: Likewise.
47572         * sunrpc/des_soft.c: Likewise.
47573         * sunrpc/get_myaddr.c: Likewise.
47574         * sunrpc/key_call.c: Likewise.
47575         * sunrpc/key_prot.c: Likewise.
47576         * sunrpc/netname.c: Likewise.
47577         * sunrpc/pm_getmaps.c: Likewise.
47578         * sunrpc/pm_getport.c: Likewise.
47579         * sunrpc/pmap_clnt.c: Likewise.
47580         * sunrpc/pmap_prot.c: Likewise.
47581         * sunrpc/pmap_prot2.c: Likewise.
47582         * sunrpc/pmap_rmt.c: Likewise.
47583         * sunrpc/publickey.c: Likewise.
47584         * sunrpc/rpc_cmsg.c: Likewise.
47585         * sunrpc/rpc_common.c: Likewise.
47586         * sunrpc/rpc_dtable.c: Likewise.
47587         * sunrpc/rpc_prot.c: Likewise.
47588         * sunrpc/rpc_thread.c: Likewise.
47589         * sunrpc/rtime.c: Likewise.
47590         * sunrpc/svc.c: Likewise.
47591         * sunrpc/svc_auth.c: Likewise.
47592         * sunrpc/svc_raw.c: Likewise.
47593         * sunrpc/svc_run.c: Likewise.
47594         * sunrpc/svc_tcp.c: Likewise.
47595         * sunrpc/svc_udp.c: Likewise.
47596         * sunrpc/svc_unix.c: Likewise.
47597         * sunrpc/svcauth_des.c: Likewise.
47598         * sunrpc/xcrypt.c: Likewise.
47599         * sunrpc/xdr.c: Likewise.
47600         * sunrpc/xdr_array.c: Likewise.
47601         * sunrpc/xdr_float.c: Likewise.
47602         * sunrpc/xdr_intXX_t.c: Likewise.
47603         * sunrpc/xdr_mem.c: Likewise.
47604         * sunrpc/xdr_rec.c: Likewise.
47605         * sunrpc/xdr_ref.c: Likewise.
47606         * sunrpc/xdr_sizeof.c: Likewise.
47607         * sunrpc/xdr_stdio.c: Likewise.
47609 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47611         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47612         change.  Update copyright years.
47614 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47616         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47618 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
47619             Joseph Myers  <joseph@codesourcery.com>
47620             Paul Pluzhnikov  <ppluzhnikov@google.com>
47622         [BZ #14012]
47623         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47624         requiring rpcgen.
47625         [cross-compiling] (extra-libs): Likewise.
47626         [cross-compiling] (extra-libs-others): Likewise.
47627         [cross-compiling] (librpcsvc-routines): Likewise.
47628         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47629         [cross-compiling] (omit-deps): Likewise.
47630         (sunrpc-CPPFLAGS): New variable.
47631         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47632         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47633         (cross-rpcgen-objs): New variable.
47634         (extra-objs): Append $(cross-rpcgen-objs).
47635         ($(cross-rpcgen-objs)): New rule.
47636         ($(objpfx)cross-rpcgen): Likewise.
47637         (rpcgen-cmd): Define to use $(built-program-file).  Expand
47638         comment.
47639         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47640         ($(objpfx)x%.stmp): Likewise.
47641         * sunrpc/proto.h [IS_IN_build] (_): Define.
47642         [IS_IN_build] (_libc_intl_domainname): Likewise.
47644 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47646         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47647         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47648         and R_X86_64_TPOFF64.
47650 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47652         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47653         sysdeps/unix/sysv/syscalls.list.
47654         (stime): Likewise.
47655         (utime): Likewise.
47656         * sysdeps/unix/sysv/syscalls.list: Remove file.
47658 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
47660         [BZ #3440]
47661         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47662         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47663         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47664         (__LC_IDENTIFICATION): Make these macros useful in #if
47665         expressions, as required by C99.
47667 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
47669         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47670         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
47671         after this.
47673 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
47675         * stdlib/longlong.h: Updated from GCC.
47677 2012-05-09  Andreas Jaeger  <aj@suse.de>
47679         * nscd/nscd.c (run_modes): Make named enum, reorder so that
47680         default is first entry.
47681         (run_mode): Set type.
47682         (main): Remove informal message about syslog.
47683         (options): Fix typo.
47685         [BZ #14053]
47686         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47687         to asm.
47688         (lrint): Likewise.
47689         (llrintf): Likewise.
47690         (llrint): Likewise.
47691         (rint): Likewise.
47692         (rintf): Likewise.
47693         (nearbyint): Likewise.
47694         (nearbyintf): Likewise.
47696 2012-05-09  Andreas Jaeger  <aj@suse.de>
47697             Pedro Alves  <palves@redhat.com>
47699         * nscd/nscd.c (run_mode): Use enum.
47700         (main): Cleanup coding style issue.
47702 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
47703             Andreas Jaeger  <aj@suse.de>
47705         * nscd/nscd.c (go_background): Replaced with...
47706         (run_mode): ... this.
47707         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47708         (options): Add -F --foreground.
47709         (main): Implement it.
47710         (parse_opt): Parse it.
47712 2012-05-09  Andreas Jaeger  <aj@suse.de>
47714         [BZ #14083]
47715         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47716         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47717         -Wconversion warning.
47718         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47719         Likewise.
47721 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
47723         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
47724         == 0.
47725         (LC_ALL): Use macro-int-constant.
47726         (LC_COLLATE): Likewise.
47727         (LC_CTYPE): Likewise.
47728         (LC_MESSAGES): Likewise.
47729         (LC_MONETARY): Likewise.
47730         (LC_NUMERIC): Likewise.
47731         (LC_TIME): Likewise.
47732         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47733         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47734         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47735         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47736         Specify type.
47737         [C99-based standards] (float_t): Expect type.
47738         [C99-based standards] (double_t): Expect type.
47739         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
47740         type.
47741         [C99-based standards] (HUGE_VALL): Likewise.
47742         [C99-based standards] (INFINITY): Likewise.
47743         [C99-based standards] (NAN): Likewise.
47744         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47745         [C99-based standards] (FP_NAN): Likewise.
47746         [C99-based standards] (FP_NORMAL): Likewise.
47747         [C99-based standards] (FP_SUBNORMAL): Likewise.
47748         [C99-based standards] (FP_ZERO): Likewise.
47749         [C99-based standards] (FP_FAST_FMA): Use
47750         optional-macro-int-constant.  Specify type.  Require == 1.
47751         [C99-based standards] (FP_FAST_FMAF): Likewise.
47752         [C99-based standards] (FP_FAST_FMAL): Likewise.
47753         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47754         [C99-based standards] (FP_ILOGBNAN): Likewise.
47755         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47756         Specify type.
47757         [C99-based standards] (MATH_ERREXCEPT): Likewise.
47758         [C99-based standards] (math_errhandling): Specify type.
47759         [ISO99 || ISO11] (signgam): Do not allow.
47760         [non-C99-based standards] (copysignf): Do not allow.
47761         [non-C99-based standards] (exp2f): Likewise.
47762         [non-C99-based standards] (log2f): Likewise.
47763         [non-C99-based standards] (modff): Allow.
47764         [non-C99-based standards] (erff): Do not allow.
47765         [non-C99-based standards] (erfcf): Likewise.
47766         [non-C99-based standards] (gammaf): Likewise.
47767         [non-C99-based standards] (hypotf): Likewise.
47768         [non-C99-based standards] (j0f): Likewise.
47769         [non-C99-based standards] (j1f): Likewise.
47770         [non-C99-based standards] (jnf): Likewise.
47771         [non-C99-based standards] (lgammaf): Likewise.
47772         [non-C99-based standards] (tgammaf): Likewise.
47773         [non-C99-based standards] (y0f): Likewise.
47774         [non-C99-based standards] (y1f): Likewise.
47775         [non-C99-based standards] (ynf): Likewise.
47776         [non-C99-based standards] (isnanf): Likewise.
47777         [non-C99-based standards] (acoshf): Likewise.
47778         [non-C99-based standards] (asinhf): Likewise.
47779         [non-C99-based standards] (atanhf): Likewise.
47780         [non-C99-based standards] (cbrtf): Likewise.
47781         [non-C99-based standards] (expm1f): Likewise.
47782         [non-C99-based standards] (ilogbf): Likewise.
47783         [non-C99-based standards] (log1pf): Likewise.
47784         [non-C99-based standards] (logbf): Likewise.
47785         [non-C99-based standards] (nextafterf): Likewise.
47786         [non-C99-based standards] (remainderf): Likewise.
47787         [non-C99-based standards] (rintf): Likewise.
47788         [non-C99-based standards] (scalbf): Likewise.
47789         [non-C99-based standards] (copysignl): Likewise.
47790         [non-C99-based standards] (exp2l): Likewise.
47791         [non-C99-based standards] (log2l): Likewise.
47792         [non-C99-based standards] (modfl): Allow.
47793         [non-C99-based standards] (erfl): Do not allow.
47794         [non-C99-based standards] (erfcl): Likewise.
47795         [non-C99-based standards] (gammal): Likewise.
47796         [non-C99-based standards] (hypotl): Likewise.
47797         [non-C99-based standards] (j0l): Likewise.
47798         [non-C99-based standards] (j1l): Likewise.
47799         [non-C99-based standards] (jnl): Likewise.
47800         [non-C99-based standards] (lgammal): Likewise.
47801         [non-C99-based standards] (tgammal): Likewise.
47802         [non-C99-based standards] (y0l): Likewise.
47803         [non-C99-based standards] (y1l): Likewise.
47804         [non-C99-based standards] (ynl): Likewise.
47805         [non-C99-based standards] (isnanl): Likewise.
47806         [non-C99-based standards] (acoshl): Likewise.
47807         [non-C99-based standards] (asinhl): Likewise.
47808         [non-C99-based standards] (atanhl): Likewise.
47809         [non-C99-based standards] (cbrtl): Likewise.
47810         [non-C99-based standards] (expm1l): Likewise.
47811         [non-C99-based standards] (ilogbl): Likewise.
47812         [non-C99-based standards] (log1pl): Likewise.
47813         [non-C99-based standards] (logbl): Likewise.
47814         [non-C99-based standards] (nextafterl): Likewise.
47815         [non-C99-based standards] (remainderl): Likewise.
47816         [non-C99-based standards] (rintl): Likewise.
47817         [non-C99-based standards] (scalbl): Likewise.
47818         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47819         [non-C99-based standards] (FP_*): Do not allow.
47820         [C99-based standards] (FP_*): Change to
47821         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47822         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47823         allow.
47824         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47825         (SIG_ERR): Likewise.
47826         [X/Open-based standards] (SIG_HOLD): Likewise.
47827         (SIG_IGN): Likewise.
47828         (SIGABRT): Use macro-int-constant.  Specify type.  Require
47829         positive value.
47830         (SIGFPE): Likewise.
47831         (SIGILL): Likewise.
47832         (SIGINT): Likewise.
47833         (SIGSEGV): Likewise.
47834         (SIGTER): Likewise.
47835         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47836         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47837         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47838         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47839         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47840         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47841         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47842         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47843         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47844         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47845         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47846         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47847         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47848         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47849         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47850         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47851         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47852         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47853         [X/Open-based standards] (SIGTRAP): Likewise.
47854         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47855         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47856         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47857         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47858         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47859         allow.
47861 2012-05-08  Ian Wienand  <ianw@vmware.com>
47863         [BZ #14080]
47864         * time/tzset.c (__tzset_parse_tz): Update default rules for
47865         daylight time changes in the Energy Policy Act of 2005.
47867 2012-05-09  Andreas Jaeger  <aj@suse.de>
47869         [BZ #13983]
47870         * elf/ldconfig.c (parse_conf): Change string to make clear that
47871         ldconfig only issued a warning if ld.so.conf does not exist.
47873 2012-05-08  David S. Miller  <davem@davemloft.net>
47875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47876         movxtod instead of popping the value on the stack.
47878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47880 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
47882         * config.h.in: Add HAVE_ARM_PCS_VFP.
47884 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
47886         [BZ #13979]
47887         * include/features.h: Warn if user requests __FORTIFY_SOURCE
47888         checking but the checks are disabled for any reason.
47890 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
47892         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47893         and ELF64_R_TYPE with ELFW(R_TYPE).
47895 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
47897         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47898         (ulimit): Likewise.
47900         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47901         (settimeofday): Likewise.
47903 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
47905         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
47906         a struct th_u2 inside the union, and move tu_block/tu_code into
47907         a new th_u3 union of tu_block/tu_code inside of that.  Move
47908         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
47909         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
47910         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47911         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47912         (th_stuff): Change to th_u1.tu_stuff.
47913         (th_data): Define.
47914         (th_msg): Change to th_u1.th_u2.tu_data.
47916 2012-05-07  David S. Miller  <davem@davemloft.net>
47918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47920         [BZ #14074]
47921         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47922         (SETUP_PIC_REG): Use it.
47923         (SETUP_PIC_REG_LEAF): Use it.
47925 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
47927         [BZ #13885]
47928         [BZ #13923]
47929         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47930         USE_AS_EXPM1L.
47931         (EXPL_FINITE): Likewise.
47932         (FLDLOG): Likewise.
47933         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47934         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47935         e_expl.S.
47936         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47937         USE_AS_EXPM1L.
47938         (EXPL_FINITE): Likewise.
47939         (FLDLOG): Likewise.
47940         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47941         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47942         e_expl.S.
47943         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
47944         test of -max_value argument for long double.
47945         * sysdeps/i386/fpu/libm-test-ulps: Update.
47946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47948 2012-05-06  David S. Miller  <davem@davemloft.net>
47950         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47951         quad soft-float symbols whose references which are compiler
47952         generated.
47953         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47955 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
47957         [BZ #13884]
47958         [BZ #13914]
47959         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47960         USE_AS_EXP10L.
47961         (EXPL_FINITE): Likewise.
47962         (FLDLOG): Likewise.
47963         (c0): Likewise.
47964         (c1): Likewise.
47965         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47966         Adjust comments for base varying.
47967         (__expl_finite): Change alias to EXPL_FINITE.
47968         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47969         e_expl.S.
47970         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47971         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47972         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47973         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47974         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47975         USE_AS_EXP10L.
47976         (EXPL_FINITE): Likewise.
47977         (FLDLOG): Likewise.
47978         (c0): Likewise.
47979         (c1): Likewise.
47980         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47981         Adjust comments for base varying.
47982         (__expl_finite): Change alias to EXPL_FINITE.
47983         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
47984         tests for bugs.
47985         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47987         [BZ #14064]
47988         * math/libm-test.inc (check_float_internal): Correct ulp
47989         calculation for subnormal expected results.
47991 2012-05-06  Andreas Jaeger  <aj@suse.de>
47993         * Makeconfig (+math-flags): New, set to -frounding-math.
47994         (+cflags): Add +math-flags so that all of glibc gets compiled with
47995         it.
47997         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47999 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
48001         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48002         Disable one test.
48004         [BZ #13787]
48005         [BZ #13922]
48006         [BZ #14036]
48007         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48008         (__ieee754_expl): Allow for and saturate large arguments.
48009         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48010         (u_threshold): Likewise.
48011         (__exp): Call __ieee754_exp before checking for overflow and
48012         underflow.
48013         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48014         (u_threshold): Likewise.
48015         (__expf): Call __ieee754_expf before checking for overflow and
48016         underflow.
48017         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48018         (u_threshold): Likewise.
48019         (__expl): Call __ieee754_expl before checking for overflow and
48020         underflow.
48021         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48022         (__ieee754_expl): Allow for and saturate large arguments.
48023         * math/libm-test.inc (exp_test): Add another test.  Do not allow
48024         missing overflow exception on overflow.
48025         (expm1_test): Do not allow missing overflow exception on overflow.
48027         * sysdeps/i386/fpu/e_expl.c: Move to ...
48028         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
48029         rather than using inline asm.
48030         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48031         * sysdeps/x86_64/fpu/e_expl.S: Copy from
48032         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48034         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48035         (nice): Likewise.
48036         (poll): Likewise.
48037         (signal): Likewise.
48038         (time): Likewise.
48039         (times): Likewise.
48041 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48043         * sysdeps/unix/syscalls.list (adjtime): Add entry from
48044         sysdeps/unix/common/syscalls.list.
48045         (fchmod): Likewise.
48046         (fchown): Likewise.
48047         (ftruncate): Likewise.
48048         (getrusage): Likewise.
48049         (gettimeofday): Likewise.
48050         (setpgid): Likewise.
48051         (setregid): Likewise.
48052         (setreuid): Likewise.
48053         (sigaction): Likewise.
48054         (truncate): Likewise.
48055         (vhangup): Likewise.
48056         * sysdeps/unix/common/syscalls.list: Remove file.
48057         * sysdeps/unix/bsd/Implies: Don't include unix/common.
48058         * sysdeps/unix/sysv/linux/Implies: Likewise.
48060 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
48062         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48064         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48065         Moved to ...
48066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48067         Here.
48068         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48069         to ...
48070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48071         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48072         to ...
48073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48074         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48075         to ...
48076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48077         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48078         to ...
48079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48080         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48081         to ...
48082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48083         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48084         to ...
48085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48086         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48087         to ...
48088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48089         Here.
48090         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48091         to ...
48092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48093         Here.
48094         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48095         to ...
48096         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48097         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48098         Moved to ...
48099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48100         Here.
48101         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48102         to ...
48103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48105 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48107         * sysdeps/unix/common/bits/dirent.h: Remove file.
48108         * sysdeps/unix/common/bits/fcntl.h: Likewise.
48110         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48111         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48112         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48113         * sysdeps/unix/bsd/isatty.c: Likewise.
48114         * sysdeps/unix/bsd/tcdrain.c: Likewise.
48115         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48116         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48118 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48120         [BZ #13563]
48121         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48122         long double comparison inaccuracies.
48123         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48126 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
48128         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48129         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48131 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48133         [BZ #14049]
48134         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48135         nonzero digits before rounding a hex value.
48136         * stdlib/tst-strtod.c (tests): Add another test.
48138 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48140         * sysdeps/s390/fpu/libm-test-ulps: Update.
48142 2012-05-03  Andreas Jaeger  <aj@suse.de>
48144         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48145         does not get optimized out.
48146         (malloc_opt_barrier): New.
48148 2012-05-03  Andreas Jaeger  <aj@suse.de>
48149             Roland McGrath  <roland@hack.frob.com>
48151         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48152         intermediate file deletion.
48153         (generated): Add .symlist files.
48155 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
48157         [BZ #13775]
48158         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48159         Redirect under this condition.
48160         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48161         [__USE_GNU] (__dprintf_chk): Not under this condition.
48162         [__USE_GNU] (__vdprintf_chk): Likewise.
48163         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48164         under this condition.
48165         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48166         [__USE_XOPEN2K8] (dprintf): Define under this condition.
48167         [__USE_XOPEN2K8] (vdprintf): Likewise.
48168         [__USE_GNU] (__dprintf_chk): Not under this condition.
48169         [__USE_GNU] (__vdprintf_chk): Likewise.
48170         [__USE_GNU] (dprintf): Likewise.
48171         [__USE_GNU] (vdprintf): Likewise.
48173 2012-05-03  Roland McGrath  <roland@hack.frob.com>
48175         * elf/Makefile (common-generated): Set this instead of generated for
48176         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
48177         $(all-built-dso)-derived lists.
48179 2012-05-03  Andreas Jaeger  <aj@suse.de>
48181         * sysdeps/i386/fpu/libm-test-ulps: Update.
48183         * FAQ: Removed.
48184         * FAQ.in: Likewise.
48185         * scripts/gen-FAQ.pl: Likewise.
48186         * manual/install.texi (Installation): Point to online location of
48187         FAQ.
48188         * Makefile (files-for-dist): Remove FAQ.
48189         (FAQ): Remove.
48191 2012-05-02  Allan McRae  <allan@archlinux.org>
48193         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48194         (LDFLAGS-reldepmod5.so): Likewise.
48195         (LDFLAGS-reldep6mod1.so): Likewise.
48196         (LDFLAGS-reldep6mod4.so): Likewise.
48197         (LDFLAGS-reldep8mod3.so): Likewise.
48198         (LDFLAGS-unload4mod1.so): Likewise.
48199         (LDFLAGS-unload4mod2.so): Likewise.
48200         (LDFLAGS-tst-initorder): Likewise.
48201         (LDFLAGS-tst-initordera2.so): Likewise.
48202         (LDFLAGS-tst-initordera3.so): Likewise.
48203         (LDFLAGS-tst-initordera4.so): Likewise.
48204         (LDFLAGS-tst-initorderb2.so): Likewise.
48205         (LDFLAGS-noload): Likewise.
48206         (LDFLAGS-next): Likewise.
48207         (LDFLAGS-order2mod1.so): Likewise.
48208         (LDFLAGS-order2mod2.so): Likewise.
48209         (LDFLAGS-tst-initorder2): Likewise.
48210         (LDFLAGS-tst-initorder2a.so): Likewise.
48211         (LDFLAGS-tst-initorder2b.so): Likewise.
48212         (LDFLAGS-tst-initorder2c.so): Likewise.
48213         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48215 2012-05-02  David S. Miller  <davem@davemloft.net>
48217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48219 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
48221         [BZ #14055]
48222         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48224 2012-05-02  Andreas Jaeger  <aj@suse.de>
48226         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48227         since we manipulate rounding mode.
48228         (CPPFLAGS-test-idouble.c): Likewise.
48229         (CPPFLAGS-test-ifloat.c): Likewise.
48230         (CFLAGS-test-ldouble.c): Likewise.
48231         (CFLAGS-test-double.c): Likewise.
48232         (CFLAGS-test-float.c): Likewise.
48233         (CFLAGS-test-misc.c): Likewise.
48234         (CFLAGS-test-test-fenv.c): Likewise.
48236 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48238         [BZ #2550]
48239         [BZ #2570]
48240         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48241         comparisons to determine direction to adjust input.
48243 2012-05-01  Roland McGrath  <roland@hack.frob.com>
48245         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48246         output to the target.
48248         * scripts/localplt.awk: New file.
48249         * elf/Makefile ($(objpfx)check-localplt): Target removed.
48250         (check-localplt-CFLAGS): Variable removed.
48251         ($(all-built-dso:=.jmprel)): New static pattern rule.
48252         (generated): Add those targets.
48253         (localplt-built-dso): New variable.
48254         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48256         * elf/check-localplt.c: File removed.
48258         * scripts/check-execstack.awk: New file.
48259         * elf/Makefile ($(objpfx)check-execstack): Target removed.
48260         (check-execstack-CFLAGS): Variable removed.
48261         ($(objpfx)check-execstack.h): Target removed.
48262         ($(objpfx)execstack-default): New target.
48263         (generated): Add that instead of check-execstack.h.
48264         ($(all-built-dso:=.phdr)): New static pattern rule.
48265         (generated): Add those targets.
48266         * elf/check-execstack.c: File removed.
48268         * scripts/check-textrel.awk: New file.
48269         * elf/Makefile ($(objpfx)check-textrel): Target removed.
48270         (check-textrel-CFLAGS): Variable removed.
48271         (all-built-dso): Use := to define.o
48272         ($(all-built-dso:=.dyn)): New static pattern rule.
48273         (generated): Add those targets.
48274         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48275         * config.make.in (READELF): New substituted variable.
48276         * elf/check-textrel.c: File removed.
48278 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48280         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48281         allow.
48282         * conform/data/ctype.h-data [C99-based standards] (isblank):
48283         Expect function.
48284         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48285         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48286         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48287         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48288         Specify type.  Require positive value.
48289         (EILSEQ): Likewise.
48290         (ERANGE): Likewise.
48291         [ISO || POSIX] (EILSEQ): Do not expect.
48292         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48293         Specify type.  Require positive value.
48294         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48295         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48296         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48297         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48298         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48299         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48300         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48301         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48302         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48303         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48304         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48305         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48306         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48307         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48308         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48309         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48310         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48311         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48312         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48313         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48314         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48315         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48316         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48317         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48318         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48319         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48320         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48321         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48322         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48323         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48324         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48325         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48326         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48327         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48328         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48329         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48330         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48331         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48332         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48333         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48334         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48335         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48336         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48337         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48338         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48339         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48340         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48341         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48342         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48343         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48344         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48345         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48346         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48347         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48348         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48349         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48350         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48351         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48352         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48353         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48354         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48355         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48356         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48357         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48358         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48359         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48360         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48361         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48362         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48363         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48364         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48365         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48366         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48367         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48368         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48369         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48370         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48371         Require >= 2.
48372         (FLT_ROUNDS): Expect as macro, not constant.
48373         (FLT_MANT_DIG): Use macro-int-constant.
48374         (DBL_MANT_DIG): Likewise.
48375         (LDBL_MANT_DIG): Likewise.
48376         (FLT_DIG): Likewise.
48377         (DBL_DIG): Likewise.
48378         (LDBL_DIG): Likewise.
48379         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
48380         (DBL_MIN_EXP): Likewise.
48381         (LDBL_MIN_EXP): Likewise.
48382         (FLT_MAX_EXP): Use macro-int-constant.
48383         (DBL_MAX_EXP): Likewise.
48384         (LDBL_MAX_EXP): Likewise.
48385         (FLT_MAX_10_EXP): Likewise.
48386         (DBL_MAX_10_EXP): Likewise.
48387         (LDBL_MAX_10_EXP): Likewise.
48388         (FLT_MAX): Use macro-constant.
48389         (DBL_MAX): Likewise.
48390         (LDBL_MAX): Likewise.
48391         (FLT_EPSILON): Use macro-constant.  Give upper bound.
48392         (DBL_EPSILON): Likewise.
48393         (LDBL_EPSILON): Likewise.
48394         (FLT_MIN): Likewise.
48395         (DBL_MIN): Likewise.
48396         (LDBL_MIN): Likewise.
48397         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48398         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48399         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48400         [ISO11] (FLT_HAS_SUBNORM): Likewise.
48401         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48402         [ISO11] (DBL_DECIMAL_DIG): Likewise.
48403         [ISO11] (FLT_DECIMAL_DIG): Likewise.
48404         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48405         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48406         [ISO11] (FLT_TRUE_MIN): Likewise.
48407         [ISO11] (LDBL_TRUE_MIN): Likewise.
48408         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48409         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48410         (SCHAR_MIN): Use macro-int-constant.  Specify type.
48411         (SCHAR_MAX): Likewise.
48412         (UCHAR_MAX): Likewise.
48413         (CHAR_MIN): Likewise.
48414         (CHAR_MAX): Likewise.
48415         (MB_LEN_MAX): Use macro-int-constant.
48416         (SHRT_MIN): Use macro-int-constant.  Specify type.
48417         (SHRT_MAX): Likewise.
48418         (USHRT_MAX): Likewise.
48419         (INT_MAX): Likewise.
48420         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
48421         bound negative.
48422         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48423         bound with "U".
48424         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48425         bound with "L".
48426         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
48427         bound negative.  Suffix upper bound with "L".
48428         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48429         bound with "UL".
48430         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48431         Specify type.
48432         [C99-based standards] (LLONG_MAX): Likewise.
48433         [C99-based standards] (ULLONG_MAX): Likewise.
48434         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
48435         == 0.
48436         [ISO11] (max_align_t): Require type.
48437         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48439         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48440         from $CFLAGS, without defining away __attribute__ calls.
48441         (checknamespace): Use $CFLAGS_namespace.
48443         * conform/conformtest.pl (@keywords): Only include C99 keywords
48444         for standards based on C99 or C11.
48446         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48447         Disable tests.
48448         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48449         UNIX98]: Likewise.
48451         * conform/conformtest.pl: Handle "macro-int-constant" and test for
48452         usability of symbols in #if.
48454         * conform/conformtest.pl: If macro or constant types start
48455         "promoted:", expect the symbol to be of the following type
48456         promoted by the integer promotions.
48458         * conform/conformtest.pl: Parse all "constant" and "macro" lines
48459         in one place.  Also handle "macro-constant".
48461         * conform/conformtest.pl: Only accept expected macro values with
48462         "==".  Parse all "macro" lines in one place.
48463         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48465         * conform/conformtest.pl: Handle braced types on "constant" lines
48466         instead of handling "typed-constant".
48467         * conform/data/signal.h-data: Use "constant" instead of
48468         "typed-constant".
48470         * conform/conformtest.pl: Handle "optional-" at start of lines in
48471         one place rather than duplicating several cases.  Handle each
48472         format of "macro" line with initial "optional-".
48474         * conform/conformtest.pl: Only accept expected constant or
48475         optional-constant values with "==".  Parse all "constant" lines in
48476         one place.  Parse all "optional-constant" lines in one place.
48477         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48478         * conform/data/fmtmsg.h-data: Likewise.
48479         * conform/data/netinet/in.h-data: Likewise.
48480         * conform/data/tar.h-data: Likewise.
48481         * conform/data/limits.h-data: Use "==" form on "constant" and
48482         "optional-constant" lines.
48484         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48485         Use -std=c99 for XOPEN2K.
48486         (@knownproblems): Remove.
48487         (newtoken): Don't check %isknown.
48489         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48490         Do not expect macro.
48491         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48492         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48493         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48494         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48495         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48496         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48497         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48498         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48499         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48500         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48501         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48502         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48503         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48504         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48505         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48506         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48507         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48508         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48509         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48510         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48511         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48512         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48513         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48514         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48515         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48516         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48517         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48518         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48519         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48520         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48521         [XPG3] (acosh): Likewise.
48522         [XPG3] (asinh): Likewise.
48523         [XPG3] (atanh): Likewise.
48524         [XPG3] (cbrt): Likewise.
48525         [XPG3] (expm1): Likewise.
48526         [XPG3] (ilogb): Likewise.
48527         [XPG3] (log1p): Likewise.
48528         [XPG3] (logb): Likewise.
48529         [XPG3] (nextafter): Likewise.
48530         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48531         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48532         [XPG3] (remainder): Likewise.
48533         [XPG3] (rint): Likewise.
48534         [XPG3 || XPG4 || UNIX98] (round): Likewise.
48535         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48536         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48537         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48538         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48539         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48540         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48541         [UNIX98 || XOPEN2K] (scalb): Expect.
48542         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48543         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48544         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48545         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48546         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48547         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48548         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48549         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48550         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48551         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48552         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48553         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48554         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48555         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48556         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48557         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48558         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48559         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48560         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48561         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48562         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48563         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48564         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48565         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48566         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48567         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48568         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48569         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48570         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48571         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48572         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48573         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48574         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48575         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48576         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48577         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48578         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48579         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48580         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48581         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48582         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48583         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48584         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48585         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48586         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48587         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48588         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48589         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48590         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48591         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48592         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48593         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48594         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48595         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48596         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48597         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48598         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48599         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48600         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48601         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48602         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48603         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48604         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48605         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48606         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48607         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48608         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48609         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48610         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48611         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48612         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48613         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48614         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48615         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48616         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48617         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48618         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48619         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48620         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48621         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48622         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48623         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48624         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48625         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48626         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48627         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48628         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48629         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48630         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48631         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48632         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48633         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48634         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48635         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48636         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48637         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48638         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48639         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48640         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48641         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48642         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48643         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48644         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48645         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48646         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48647         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48648         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48649         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48650         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48651         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48652         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48653         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48654         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48655         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48656         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48657         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48658         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48659         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48660         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48661         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48662         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48663         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48664         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48665         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48666         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48667         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48668         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48669         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48670         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48671         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48672         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48673         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48674         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48675         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48676         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48677         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48678         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48680         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48681         _XOPEN_SOURCE_EXTENDED for XPG4.
48683         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48685         * Makeconfig (localtime): Remove variable.
48686         (inst_localtime-file): Likewise.
48688 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48691         Update.
48692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48693         Update.
48694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48695         Update.
48696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48697         Update.
48698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48699         Update.
48700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48701         Update.
48702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48703         Update.
48704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48705         Update.
48706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48707         Update.
48709 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48711         [BZ #2550]
48712         [BZ #2570]
48713         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48714         comparisons to determine direction to adjust input.
48715         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48716         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48717         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48718         Likewise.
48719         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48720         Likewise.
48721         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48722         Likewise.
48723         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48724         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48725         Likewise.
48726         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48727         Likewise.
48728         * math/libm-test.inc (nexttoward_test): Add more tests.
48730 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48732         [BZ #14040]
48733         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48734         in version GLIBC_2.1, not GLIBC_2.0.
48735         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48736         Likewise.
48738 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
48740         [BZ #13942]
48741         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48742         (1 - x) * (1 + x).
48743         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48744         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48745         * math/libm-test.inc (acos_test): Add more tests.
48746         (asin_test): Likewise.
48747         * sysdeps/i386/fpu/libm-test-ulps: Update.
48748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48750         [BZ #14034]
48751         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48752         of square root.
48753         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48754         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48755         * math/libm-test.inc (acos_test_tonearest): New function.
48756         (acos_test_towardzero): Likewise.
48757         (acos_test_downward): Likewise.
48758         (acos_test_upward): Likewise.
48759         (asin_test_tonearest): Likewise.
48760         (asin_test_towardzero): Likewise.
48761         (asin_test_downward): Likewise.
48762         (asin_test_upward): Likewise.
48763         (main): Call the new functions.
48764         * sysdeps/i386/fpu/libm-test-ulps: Update.
48765         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48767         [BZ #13884]
48768         [BZ #13924]
48769         * math/e_exp10.c: Include <float.h>.
48770         (__ieee754_exp10): Handle underflow here rather than multiplying
48771         large negative argument by M_LN10.
48772         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48773         of __ieee754_expf.
48774         * math/e_exp10l.c: Include <float.h>.
48775         (__ieee754_exp10l): Handle underflow here rather than multiplying
48776         large negative argument by M_LN10l.
48777         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
48778         spurious overflow exception on underflow.
48780 2012-04-29  Marek Polacek  <polacek@redhat.com>
48782         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48783         (__fortify_function): New macro.
48784         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48785         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48786         __extern_always_inline.
48787         * libio/bits/stdio2.h: Likewise.
48788         * libio/bits/stdio.h: Likewise.
48789         * string/string.h: Likewise.
48790         * string/bits/string3.h: Likewise.
48791         * include/stdio.h: Likewise.
48792         * stdlib/bits/stdlib.h: Likewise.
48793         * stdlib/stdlib.h: Likewise.
48794         * rt/bits/mqueue2.h: Likewise.
48795         * rt/mqueue.h: Likewise.
48796         * posix/bits/unistd.h: Likewise.
48797         * posix/unistd.h: Likewise.
48798         * io/bits/poll2.h: Likewise.
48799         * io/bits/fcntl2.h: Likewise.
48800         * io/fcntl.h: Likewise.
48801         * io/sys/poll.h: Likewise.
48802         * misc/bits/syslog.h: Likewise.
48803         * misc/bits/syslog-ldbl.h: Likewise.
48804         * misc/sys/syslog.h: Likewise.
48805         * socket/bits/socket2.h: Likewise.
48806         * socket/sys/socket.h: Likewise.
48807         * debug/tst-chk1.c: Likewise.
48808         * wcsmbs/bits/wchar2.h: Likewise.
48809         * wcsmbs/bits/wchar-ldbl.h: Likewise.
48810         * wcsmbs/wchar.h: Likewise.
48812 2012-04-29  Andreas Jaeger  <aj@suse.de>
48814         * Makerules (tests): Remove enable-check-abi protection.
48815         (check-abi-warn): Remove.
48816         (check-abi-%): Remove check-abi-warn usage.
48818         * configure.in: Remove check-abi configure option.
48819         * configure: Regenerated.
48820         * config.make.in (enable-check-abi): Remove.
48822 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
48824         [BZ #14033]
48825         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48826         double functions to double *_finite functions.
48828         [BZ #13941]
48829         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48830         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48831         LDBL_MIN_EXP.
48832         * stdio-common/Makefile (tests): Add tst-sprintf3.
48833         * stdio-common/tst-sprintf3.c: New file.
48835         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48836         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48838 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48840         * conform/conformtest.pl: Remove duplicate typed-constant
48841         handling.
48843 2012-04-28  David S. Miller  <davem@davemloft.net>
48845         * Makerules (%.abilist): Add vpath on sysdep_dirs.
48846         (check-abi-%): Remove AWK script prerequisite and explicit
48847         abilist directory.
48848         (check-abi): Rewrite to just diff the symlist with the abilist.
48849         (config-tls, config-abi-config): Delete, no longer used.
48850         (update-abi-%): Remove AWK script and explicit abilist directory.
48851         (update-abi): Rewrite to simply compare and conditionally copy the
48852         symlist and the sysdep abilist file.  Remove update-abi-config
48853         checks.
48854         * abilist/ld.abilist: Remove.
48855         * abilist/libBrokenLocale.abilist: Remove.
48856         * abilist/libanl.abilist: Remove.
48857         * abilist/libcrypt.abilist: Remove.
48858         * abilist/libdl.abilist: Remove.
48859         * abilist/librt.abilist: Remove.
48860         * abilist/libthread_db.abilist: Remove.
48861         * abilist/libutil.abilist: Remove.
48862         * scripts/extract-abilist.awk: Remove.
48863         * scripts/merge-abilist.awk: Remove.
48864         * sysdeps/generic/libcidn.abilist: New file.
48865         * sysdeps/generic/libnss_compat.abilist: New file.
48866         * sysdeps/generic/libnss_db.abilist: New file.
48867         * sysdeps/generic/libnss_dns.abilist: New file.
48868         * sysdeps/generic/libnss_files.abilist: New file.
48869         * sysdeps/generic/libnss_hesiod.abilist: New file.
48870         * sysdeps/generic/libnss_nis.abilist: New file.
48871         * sysdeps/generic/libnss_nisplus.abilist: New file.
48872         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48873         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48874         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48875         file.
48876         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48877         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48878         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48879         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48880         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48881         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48882         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48883         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48884         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48885         file.
48886         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48887         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48888         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48889         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48890         file.
48891         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48892         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48893         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48894         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48895         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48896         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48897         file.
48898         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48899         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48900         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48901         file.
48902         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48903         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48904         New file.
48905         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48906         New file.
48907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48908         New file.
48909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48910         New file.
48911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48912         New file.
48913         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48914         New file.
48915         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48916         New file.
48917         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48918         New file.
48919         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48920         New file.
48921         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48922         New file.
48923         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48924         New file.
48925         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48926         New file.
48927         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48928         New file.
48929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48930         file.
48931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48932         New file.
48933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48934         New file.
48935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48936         file.
48937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48938         New file.
48939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48940         New file.
48941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48942         file.
48943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48944         New file.
48945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48946         New file.
48947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48948         New file.
48949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48950         New file.
48951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48952         New file.
48953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48954         New file.
48955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48957         file.
48958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48959         New file.
48960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48961         file.
48962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48963         file.
48964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48965         file.
48966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48967         file.
48968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48969         file.
48970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48971         New file.
48972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48973         file.
48974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48975         file.
48976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48977         New file.
48978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48979         file.
48980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48982         file.
48983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48984         New file.
48985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48986         file.
48987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48988         file.
48989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48990         file.
48991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48992         file.
48993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48994         file.
48995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48996         New file.
48997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48998         file.
48999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49000         file.
49001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49002         New file.
49003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49004         file.
49005         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49006         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49007         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49008         file.
49009         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49010         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49011         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49012         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49013         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49014         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49015         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49016         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49017         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49018         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49021         file.
49022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49023         New file.
49024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49025         file.
49026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49027         file.
49028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49029         file.
49030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49031         file.
49032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49033         file.
49034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49035         New file.
49036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49037         New file.
49038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49039         file.
49040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49041         New file.
49042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49043         file.
49044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49046         file.
49047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49048         New file.
49049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49050         file.
49051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49052         file.
49053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49054         file.
49055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49056         file.
49057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49058         file.
49059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49060         New file.
49061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49062         New file.
49063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49064         file.
49065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49066         New file.
49067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49068         file.
49070 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49072         * conform/conformtest.pl: Fix typo in handling typed-constant from
49073         allow-header.
49075 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49077         * README: Cut down references to pre-2.6 Linux kernels and
49078         Linuxthreads.  Update lists of configurations in libc and ports
49079         and sort alphabetically.  Say "or newer" with Linux kernel version
49080         requirements.
49082         * config.h.in [IS_IN_build]: Allow compiling without optimization.
49084 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49086         [BZ #887]
49087         * math/libm-test.inc (logb_test_downward): New test to expose
49088         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49089         rounding mode.
49091 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49093         [BZ #14027]
49094         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49095         to be done.
49096         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49097         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49099 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
49101         * sysdeps/unix/i386/brk.S: Remove file.
49102         * sysdeps/unix/i386/dl-brk.S: Likewise.
49103         * sysdeps/unix/i386/pipe.S: Likewise.
49104         * sysdeps/unix/i386/sigreturn.S: Likewise.
49105         * sysdeps/unix/i386/syscall.S: Likewise.
49106         * sysdeps/unix/i386/vfork.S: Likewise.
49107         * sysdeps/unix/i386/wait.S: Likewise.
49109         * sysdeps/unix/common/tcsendbrk.c: Move to ...
49110         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49112         * configure.in (arm*-none*): Do not allow without
49113         --enable-hacker-mode.
49114         (netbsd*): Remove case setting base_os.
49115         (386bsd*): Likewise.
49116         (freebsd*): Likewise.
49117         (bsdi*): Likewise.
49118         (osf*): Likewise.
49119         (sunos*): Likewise.
49120         (ultrix*): Likewise.
49121         (newsos*): Likewise.
49122         (dynix*): Likewise.
49123         (*bsd*): Likewise.
49124         (sysv*): Likewise.
49125         (isc*): Likewise.
49126         (esix*): Likewise.
49127         (sco*): Likewise.
49128         (minix*): Likewise.
49129         (irix4*): Likewise.
49130         (irix6*): Likewise.
49131         (solaris[2-9]*): Likewise.
49132         (none): Likewise.
49133         * configure: Regenerated.
49135 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49137         [BZ #11521]
49138         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49139         overflow or cancellation in calculating denominator.
49140         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49141         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49142         down expression to avoid unexpected rounding in newer GCCs.
49143         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49145 2012-04-26  David S. Miller  <davem@davemloft.net>
49147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49148         long-double compat symbols.
49149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49163 2012-04-25  David S. Miller  <davem@davemloft.net>
49165         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49166         HWCAP_* values only after the memory barriers have been defined.
49167         (atomic_full_barrier): Define.
49168         (atomic_read_barrier): Define.
49169         (atomic_write_barrier): Define.
49171 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49173         * shlib-versions: Add libgcc_s version information.
49174         * sysdeps/generic/libgcc_s.h: Remove.
49175         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49176         libgcc_s.h.
49177         * sysdeps/gnu/unwind-resume.c: Likewise.
49178         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49180 2012-04-25  David S. Miller  <davem@davemloft.net>
49182         * sysdeps/unix/sparc/brk.S: Delete.
49183         * sysdeps/unix/sparc/dl-brk.S: Delete.
49184         * sysdeps/unix/sparc/pipe.S: Delete.
49185         * sysdeps/unix/sparc/sysdep.S: Delete.
49186         * sysdeps/unix/sparc/sysdep.h: Delete.
49187         * sysdeps/unix/sparc/vfork.S: Delete.
49188         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49189         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49190         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49191         (ret_ERRVAL, r0, r1, MOVE): Define.
49192         (JUMPTARGET): Remove.
49193         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49194         sysdeps/unix/sparc/sysdep.h
49195         (ENTRY, END): Remove.
49196         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49198 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
49200         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49201         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49202         -DIS_IN_build.
49204         * timezone/README: Update upstream location and email address for
49205         tzcode and tzdata.
49206         * timezone/zdump.c: Update from tzcode 2012b.
49207         * timezone/zic.c: Likewise.
49209         * configure.in (libc_cv_as_needed): Remove test.
49210         * configure: Regenerated.
49211         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49212         conditional definition.
49213         [$(have-as-needed) != yes] (no-as-needed): Likewise.
49214         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49215         * config.make.in (have-as-needed): Remove variable.
49217 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49218             Paul Pluzhnikov  <ppluzhnikov@google.com>
49220         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49221         strings correctly.
49223 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
49225         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49226         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49227         * sysdeps/sh/strlen.S: Likewise.
49229 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49231         * sysdeps/unix/fork.S: Remove file.
49232         * sysdeps/unix/i386/fork.S: Likewise.
49233         * sysdeps/unix/sparc/fork.S: Likewise.
49235         * sysdeps/unix/system.c: Remove file.
49236         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49238         * sysdeps/unix/getegid.S: Remove file.
49239         * sysdeps/unix/geteuid.S: Likewise.
49241 2012-04-24  Roland McGrath  <roland@hack.frob.com>
49243         * scripts/check-localplt.awk: New file.
49244         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49245         of diff.
49246         * scripts/data/localplt-generic.data: Add a comment.
49248         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49249         NODE when __dir_mkfile failed.
49250         * sysdeps/mach/hurd/symlinkat.c: Likewise.
49251         Reported by Ludovic Courtès <ludo@gnu.org>.
49253 2012-04-24  Andreas Jaeger  <aj@suse.de>
49255         * Makerules (common-clean): Also remove gen-as-const-headers
49256         files.
49258 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49260         * Makerules (native-compile): Do not change working directory for
49261         build.  Use $(OUTPUT_OPTION) in command.
49262         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49264 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49266         [BZ #13886]
49267         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49268         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49269         * math/libm-test.inc (floor_test): Add more tests.
49270         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49272 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49274         * sysdeps/unix/getdents.c: Remove file.
49275         * sysdeps/unix/sysv/getdents.c: Likewise.
49276         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49278         * sysdeps/unix/syscalls.list (madvise): Add syscall from
49279         sysdeps/unix/mman/syscalls.list.
49280         (mmap): Likewise.
49281         (mprotect): Likewise.
49282         (msync): Likewise.
49283         (munmap): Likewise.
49284         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49285         * sysdeps/unix/mman/syscalls.list: Remove.
49286         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49288         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49289         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49290         * configure: Regenerated.
49291         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49292         $(libgcc_s_suffix).
49293         * config.make.in (libgcc_s_suffix): Remove variable.
49295 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
49297         * sysdeps/unix/sysv/gethostname.c: Move to ...
49298         * sysdeps/posix/gethostname.c: ... here.
49300         * sysdeps/unix/execve.S: Remove file.
49302         * sysdeps/unix/_exit.S: Remove file.
49304 2012-04-23  Andreas Jaeger  <aj@suse.de>
49306         [BZ #13739]
49307         * manual/Makefile: Remove make dist support, there's no
49308         need for a stand-alone documentation tar ball.
49309         (TEXI2DVI): Define always, it's not in Makeconfig.
49310         (dist): Removed.
49311         (tar-it): Removed.
49312         (edition): Removed.
49313         (glibc-doc-$(edition).tar): Removed
49314         (%.Z): Removed.
49315         (%.gz): Removed.
49316         (%.uu): Removed.
49317         (ETAGS): Remove, it's in Makeconfig.
49318         (move-if-change): Remove, it's in Makeconfig.
49320 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
49322         [BZ #13970]
49323         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49324         (strtod, strtof, strtold, strtol, strtoul, strtoq)
49325         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49326         (strtod_l, strtof_l, strtold_l): Remove __wur.
49327         It is not necessarily an error to ignore strtol's return value.
49328         One can reliably look at the stored endptr to decide whether
49329         the number had valid syntax.
49331 2012-04-21  Andreas Jaeger  <aj@suse.de>
49333         [BZ #13739]
49334         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49336 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
49338         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49339         * sysdeps/unix/sysv/Versions: Remove file.
49341 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
49343         [BZ #13927]
49344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49346 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
49348         [BZ #7064]
49349         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49350         version from __vm86.
49352 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
49354         * sysdeps/unix/common/lxstat.c: Remove file.
49355         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49357         * sysdeps/unix/sysv/Makefile: Remove file.
49359         * sysdeps/unix/sysv/direct.h: Remove file.
49361         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49362         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49363         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49364         * sysdeps/unix/sysv/bits/signum.h: Likewise.
49365         * sysdeps/unix/sysv/bits/stat.h: Likewise.
49366         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49367         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49369         * sysdeps/unix/sysv/setrlimit.c: Remove file.
49371         * sysdeps/unix/xmknod.c: Remove file.
49372         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49374         * sysdeps/unix/sysv/settimeofday.c: Remove file.
49376         * sysdeps/unix/sysv/i386/time.S: Remove file.
49378         * sysdeps/unix/fxstat.c: Remove file.
49379         * sysdeps/unix/xstat.c: Likewise.
49380         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49382         * sysdeps/unix/sysv/sigaction.c: Remove file.
49384         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49385         (sysdep_headers): Remove variable.
49386         [termio.h not in sysdep_headers] (generated): Likewise.
49387         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49388         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49389         * sysdeps/unix/sysv/tcdrain.c: Likewise.
49390         * sysdeps/unix/sysv/tcflow.c: Likewise.
49391         * sysdeps/unix/sysv/tcflush.c: Likewise.
49392         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49393         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49394         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49395         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49396         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49398         * sysdeps/unix/siglist.c: Remove file.
49400         * sysdeps/unix/getppid.S: Remove file.
49402         * sysdeps/unix/mkdir.c: Remove file.
49403         * sysdeps/unix/rmdir.c: Likewise.
49405 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
49407         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49408         ERR_MAX value.
49409         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49410         errlist-compat value.
49412 2012-04-18  David S. Miller  <davem@davemloft.net>
49414         * sysdeps/generic/memcopy.h (reg_char): Delete.
49415         * debug/strcat_chk.c: Use char, not reg_char.
49416         * debug/strcpy_chk.c: Likewise.
49417         * debug/strncat_chk.c: Likewise.
49418         * debug/strncpy_chk.c: Likewise.
49419         * string/memchr.c: Likewise.
49420         * string/memrchr.c: Likewise.
49421         * string/rawmemchr.c: Likewise.
49422         * string/strcat.c: Likewise.
49423         * string/strchr.c: Likewise.
49424         * string/strchrnul.c: Likewise.
49425         * string/strcmp.c: Likewise.
49426         * string/strcpy.c: Likewise.
49427         * string/strncat.c: Likewise.
49428         * string/strncmp.c: Likewise.
49429         * string/strncpy.c: Likewise.
49431 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49433         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49434         __builtin_memcopy is called when src and dest ranges are known to not
49435         overlap.
49437 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49439         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49440         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49441         fwd_align_merge macro call.
49442         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49443         bwd_align_merge macro call.
49444         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49446 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49448         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49449         bwd_align_merge macros.
49450         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49451         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49452         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49454 2012-04-18  David S. Miller  <davem@davemloft.net>
49456         * sysdeps/sparc/sparc64/memcopy.h: Delete.
49458 2012-04-18  Andreas Jaeger  <aj@suse.de>
49460         [BZ# 6794]
49461         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49462         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49463         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49465         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49466         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49467         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49469         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49470         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49471         Adjust for changed ldbl-128 files.
49473         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49474         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49475         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49477 2012-04-17  David S. Miller  <davem@davemloft.net>
49479         * sysdeps/sparc/sparc32/memcopy.h: Delete.
49481 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
49483         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49484         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49485         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49486         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49487         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49488         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49490 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49492         [BZ #6794]
49493         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49494         * math/libm-test.inc: Add ilogb errno and exception tests.
49495         * math/w_ilogb.c: New file: ilogb wrapper.
49496         * math/w_ilogbf.c: New file: ilogbf wrapper.
49497         * math/w_ilogbl.c: New file: ilogbl wrapper.
49498         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49499         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49500         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49501         exception being thrown with 0.0 as argument.
49502         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49503         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49504         exception being thrown with 0.0 as argument.
49505         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49506         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49507         exception being thrown with 0.0 as argument.
49508         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49509         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49510         exception being thrown with 0.0 as argument.
49511         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49512         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49513         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49514         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49515         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49516         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49517         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49518         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49519         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49521 2012-04-17  Petr Baudis  <pasky@ucw.cz>
49523         * include/sys/uio.h: Change __vector to __iovec to avoid clash
49524         with altivec.
49526 2012-04-16  Marek Polacek  <polacek@redhat.com>
49528         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49530 2012-04-16  Marek Polacek  <polacek@redhat.com>
49532         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49533         operands of fdivp instruction.
49535 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49537         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49538         * elf/tst-auditmod3b.c: Likewise.
49539         * elf/tst-auditmod4b.c: Likewise.
49540         * elf/tst-auditmod5b.c: Likewise.
49541         * elf/tst-auditmod6b.c: Likewise.
49542         * elf/tst-auditmod6c.c: Likewise.
49543         * elf/tst-auditmod7b.c: Likewise.
49544         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49545         * sysdeps/x86_64/preconfigure.in: Likewise.
49546         * sysdeps/x86_64/preconfigure: Regenerated.
49548 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49550         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49551         __ILP32__.
49553 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
49555         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49556         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49558 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
49560         [BZ #13973]
49561         * locale/iso-639.def: Fix gl language name. Spotted by
49562         Yaron Shahrabani.
49564 2012-04-12  Roland McGrath  <roland@hack.frob.com>
49566         [BZ #2074]
49567         * libio/libio.h (__io_write_fn): Update comment.
49569 2012-04-12  Petr Baudis  <pasky@ucw.cz>
49571         [BZ #2074]
49572         * stdio.texi (Hook Functions): The user provided writer function
49573         is not allowed to return -1.
49575 2012-04-11  David S. Miller  <davem@davemloft.net>
49577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49579 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
49581         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49582         Add a leading slash to rtkaio.
49584 2012-04-11  Jim Meyering  <meyering@redhat.com>
49586         [BZ #11959]
49587         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49588         It is not necessarily an error to ignore fwrite's return
49589         value.  One can reliably use ferror to test for errors after
49590         the fact.
49592 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49594         * bits/types.h (__snseconds_t): New type.
49595         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49597         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49598         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49599         (__SNSECONDS_T_TYPE): Likewise.
49600         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49601         (__SNSECONDS_T_TYPE): Likewise.
49602         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49603         (__SNSECONDS_T_TYPE): Likewise.
49605 2012-04-10  Andreas Jaeger  <aj@suse.de>
49607         [BZ #2636]
49608         * manual/time.texi (Processor Time): Return type of times is
49609         elapsed real time since an arbitrary point in the past.
49610         (CPU Time): Move CLK_TCK from here...
49611         (Processor Time): ...to here.  Correct description.
49612         * manual/conf.texi (Constants for Sysconf): Correct description of
49613         _SC_CLK_TCK.
49615 2012-04-10  David S. Miller  <davem@davemloft.net>
49617         [BZ #13967]
49618         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49619         where the is a gap between DT_REL(A) and DT_JMPREL.
49621 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49623         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49624         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49625         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49627 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49629         * elf/dl-support.c (_dl_inhibit_cache): New variable.
49630         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49631         (dl_main): Handle --inhibit-cache.
49632         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49633         _dl_inhibit_cache.
49634         * elf/dl-load.c (_dl_map_object): Use it.
49635         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49637 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49639         [BZ #13872]
49640         * sysdeps/i386/fpu/e_powl.S (p78): New object.
49641         (__ieee754_powl): Saturate large exponents rather than testing for
49642         overflow of y*log2(x).
49643         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49644         * math/libm-test.inc (pow_test): Do not permit spurious overflow
49645         exceptions.
49647         [BZ #11521]
49648         * math/s_ctan.c: Include <float.h>.
49649         (__ctan): Avoid internal overflow or cancellation in calculating
49650         denominator.
49651         * math/s_ctanf.c: Likewise.
49652         * math/s_ctanl.c: Likewise.
49653         * math/s_ctanh.c: Likewise.
49654         * math/s_ctanhf.c: Likewise.
49655         * math/s_ctanhl.c: Likewise.
49656         * math/libm-test.inc (ctan_test): Add more tests.
49657         (ctanh_test): Likewise.
49658         * sysdeps/i386/fpu/libm-test-ulps: Update.
49659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49661 2012-04-09  Andreas Jaeger  <aj@suse.de>
49663         [BZ #6894]
49664         * manual/filesys.texi (Directory Entries): Mention that d_namlen
49665         is an optional BSD extension.
49667         [BZ #10254]
49668         * manual/stdio.texi (Opening Streams): Document additional fopen
49669         parameters.
49671 2012-04-09  Roland McGrath  <roland@hack.frob.com>
49673         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49674         %eax without telling the compiler.
49676 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
49678         [BZ # 13963]
49679         * manual/install.texi: Use sourceware.org.
49681 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49683         [BZ #13873]
49684         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49685         (__ieee754_pow): Generate overflow and underflow using huge*huge
49686         and tiny*tiny rather than just returning constant infinity or zero
49687         for large exponents.
49688         * math/libm-test.inc (pow_test): Require overflow exceptions for
49689         applicable cases of large exponents.
49691         [BZ #706]
49692         * sysdeps/i386/fpu/e_pow.S (p10): New object.
49693         (__ieee754_pow): Use iterative multiplication algorithm only for
49694         integer exponents with absolute value below 1024.  Check for odd
49695         integer exponents when using algorithm for real exponents.
49696         * math/libm-test.inc (pow_test): Add more tests.
49697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49699 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
49701         [BZ #13705]
49702         * math/libm-test.inc (exp_test): Do not allow overflow exception
49703         on underflow test.
49705 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
49707         [BZ #13705]
49708         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49709         instead of __kernel_standard_f.
49711 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
49713         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49714         * sysdeps/x86_64/memset_chk.S: Likewise.
49716 2012-04-08  Andreas Jaeger  <aj@suse.de>
49718         [BZ #10153]
49719         * manual/startup.texi (Environment Access): Describe return value
49720         for putenv and setenv.
49722         [BZ #6895]
49723         * manual/filesys.texi (Directory Entries): Add description for
49724         DT_LNK.
49726         [BZ #6890]
49727         * manual/filesys.texi (Directory Entries): Clarify that it's file
49728         system not operating system in the description of DT_UNKNOWN.
49730         [BZ #6578]
49731         * manual/syslog.texi (closelog): Fix reference, it's openlog.
49733 2012-04-08  Stephen Compall  <s11@member.fsf.org>
49735         [BZ #6649]
49736         * manual/llio.texi (Opening and Closing Files): Add cross
49737         reference to explain mode argument.
49739 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
49741         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49742         * sysdeps/x86_64/memset_chk.S: Likewise.
49744 2012-04-07  David S. Miller  <davem@davemloft.net>
49746         * elf/elf.h (R_SPARC_WDISP10): Define.
49747         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49748         R_SPARC_SIZE32.
49749         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49750         R_SPARC_SIZE64 and R_SPARC_H34.
49752 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
49754         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49755         conditions and remove no longer applicable assertion.
49757 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49759         * bits/byteswap.h: Include <features.h>.
49760         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49761         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49763 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49765         * bits/byteswap.h (__bswap_16): Removed.
49766         Include <bits/byteswap-16.h> to get __bswap_16.
49767         * sysdeps/i386/bits/byteswap.h: Likewise.
49768         * sysdeps/s390/bits/byteswap.h: Likewise.
49769         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49770         * bits/byteswap-16.h: New file.
49771         * sysdeps/i386/bits/byteswap-16.h: Likewise.
49772         * sysdeps/s390/bits/byteswap-16.h: Likewise.
49773         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49774         * string/Makefile (headers): Add bits/byteswap-16.h.
49776 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49778         [BZ #13895]
49779         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49780         extra indirection.
49781         * nss/Makefile (tests-static, tests): Add tst-nss-static.
49782         * nss/tst-nss-static.c: New.
49784 2012-04-06  Robert Millan  <rmh@gnu.org>
49786         [BZ #6486]
49787         * manual/llio.texi (File Position Primitive): lseek
49788         refers to WHENCE when it really means OFFSET.
49790 2012-04-06  Andreas Jaeger  <aj@suse.de>
49792         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49793         strncmp declarations.
49795         * abilist/libc.abilist: Add __poll and __ppoll.
49797 2012-04-05  David S. Miller  <davem@davemloft.net>
49799         * scripts/check-local-headers.sh: Accept a host triplet in the
49800         path matched by the exclude regexp.
49802         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49803         definition.
49804         * sysdeps/powerpc/powerpc32/dl-machine.h
49805         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49806         * sysdeps/s390/s390-32/dl-machine.h
49807         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49808         * sysdeps/sparc/sparc32/dl-machine.h
49809         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49810         * sysdeps/sparc/sparc64/dl-machine.h
49811         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49813         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49814         lazy binding.
49815         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49816         undefined symbol errors.
49818         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49819         DT_NEEDED entries.
49821 2012-04-05  Michael Matz  <matz@suse.de>
49823         [BZ #13592]
49824         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49826 2012-04-05  Andreas Jaeger  <aj@suse.de>
49828         [BZ #13908]
49829         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49830         comment.
49832 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49834         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49835         which ROUND is no valid rounding mode.
49837 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49839         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49840         read again.
49841         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49843 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49845         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49846         an exception using FPU order intentionally.
49848 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49850         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49851         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49852         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49853         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49855 2012-04-05  Simon Josefsson  <simon@josefsson.org>
49857         [BZ #12340]
49858         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49859         EINVAL when BUFLEN is too smal.
49861 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49863         [BZ #13553]
49864         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49865         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49867 2012-04-03  Andreas Jaeger  <aj@suse.de>
49869         [BZ #13938]
49870         * manual/setjmp.texi (System V contexts): Fix sentence.
49872         [BZ #13926]
49873         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49874         New macro for this case.
49875         [!__GNUC__] (__bswap_64): New inline function for this case.
49876         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49877         * bits/byteswap.h: Likewise.
49878         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49879         ull, guard with __GLIBC_HAVE_LONG_LONG.
49881         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49882         __GLIBC_HAVE_LONG_LONG.
49884         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49885         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49887 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49889         [BZ #13691]
49890         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49891         inptr and inend, rather than using last_ch.
49893 2012-04-02  David S. Miller  <davem@davemloft.net>
49895         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49896         * stdio-common/printf-parse.h (read_int): Change return type to
49897         'int', return -1 on INT_MAX overflow.
49898         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49899         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
49900         overflows INT_MAX.  Check for overflow of in-format-string precision
49901         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
49902         SIZE_MAX not INT_MAX for integer overflow test.
49903         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49904         skip the construct in the format string but do not record anything.
49905         * stdio-common/bug22.c: Adjust to test both width/prevision
49906         INT_MAX overflow as well as total length INT_MAX overflow.  Check
49907         explicitly for proper errno values.
49909 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49911         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49912         CHAR_MAX.
49913         * string/test-strcmp.c [! WIDE]: Likewise.
49914         * time/tst-mktime2.c: Likewise for INT_MAX.
49915         * string/test-string.h: #include <sys/param.h> for MIN.
49917         * csu/init-first.c (__libc_init_first): Call __ctype_init.
49918         * sysdeps/i386/init-first.c (init): Likewise.
49919         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49920         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49921         * sysdeps/sh/init-first.c (init): Likewise.
49923 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
49925         * po/ru.po: Update from translation team.
49926         * po/vi.po: Likewise.
49928 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49930         * resolv/nss_dns/dns-host.c: Merge copyright years.
49932 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49934         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49935         Optimize memcpy with prefetch if
49936         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
49937         src, dst pointers have unequal 16 byte alignments.
49939 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49941         [BZ #13928]
49942         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49943         from a CNAME entry and return the minimum ttl for the query.
49944         (gaih_getanswer_slice): Likewise.
49946 2012-03-30  Jeff Law  <law@redhat.com>
49948         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49949         due to long keys.
49950         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49951         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49953         * resolv/nss_dns/dns-host.c: Update copyright year.
49955 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
49957         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49958         requests to save a system call.  Fix check that all bytes are sent.
49960         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49961         comments for sendmmsg.
49963 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49965         [BZ #13691]
49966         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49967         with only 1 character between 0x0041 and 0x01b0.
49968         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49969         * wcsmbs/tst-mbsnrtowcs.c: New file.
49971 2012-03-29  David S. Miller  <davem@davemloft.net>
49973         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49974         small copies by hand.
49976 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49978         [BZ #13761]
49979         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49980         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49981         group memberships.
49983 2012-03-28  David S. Miller  <davem@davemloft.net>
49985         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49986         that branches into memcpy.
49987         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49988         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49989         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49990         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49991         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49992         bits.
49993         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49994         implementation too.
49995         * sysdeps/sparc/mempcpy.S: New file.
49997         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49998         the IFUNC routine in the libc case.
49999         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50001         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50002         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50003         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50004         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50005         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50006         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50007         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50008         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50010         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50011         loop to 256 bytes instead of 64 bytes and fix test signedness.
50013         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50014         * sysdeps/sparc/sparc32/Makefile: rather than here...
50015         * sysdeps/sparc/sparc64/Makefile: and here.
50017 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
50019         * malloc/mallocbug.c: Avoid warnings about unused variables.
50021 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50023         [BZ #13760]
50024         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50025         in the right place. Discard and retry query if response is
50026         larger than input buffer size.
50028 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
50030         [BZ #369]
50031         [BZ #2678]
50032         [BZ #3866]
50033         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50034         x for large integer exponent.
50035         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50036         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
50037         sign of result as needed afterwards.
50038         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50039         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50040         result for underflowing pow the same as for overflow.
50041         (__kernel_standard_l): Handle powl overflow and underflow here
50042         rather than calling __kernel_standard.
50043         * math/libm-test.inc (pow_test): Add more tests.
50045         [BZ #3868]
50046         [BZ #13879]
50047         [BZ #13910]
50048         [BZ #13911]
50049         [BZ #13912]
50050         [BZ #13913]
50051         [BZ #13915]
50052         [BZ #13916]
50053         [BZ #13917]
50054         [BZ #13918]
50055         [BZ #13919]
50056         [BZ #13920]
50057         [BZ #13921]
50058         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50059         * sysdeps/ieee754/k_standard.c: Include <float.h>.
50060         (__kernel_standard_l): New function.
50061         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50062         __kernel_standard.
50063         * math/w_acosl.c (__acosl): Likewise.
50064         * math/w_asinl.c (__asinl): Likewise.
50065         * math/w_atan2l.c (__atan2l): Likewise.
50066         * math/w_atanhl.c (__atanhl): Likewise.
50067         * math/w_coshl.c (__coshl): Likewise.
50068         * math/w_exp10l.c (__exp10l): Likewise.
50069         * math/w_exp2l.c (__exp2l): Likewise.
50070         * math/w_fmodl.c (__fmodl): Likewise.
50071         * math/w_hypotl.c (__hypotl): Likewise.
50072         * math/w_j0l.c (__j0l, __y0l): Likewise.
50073         * math/w_j1l.c (__j1l, __y1l): Likewise.
50074         * math/w_jnl.c (__jnl, __ynl): Likewise.
50075         * math/w_lgammal.c (__lgammal): Likewise.
50076         * math/w_log10l.c (__log10l): Likewise.
50077         * math/w_log2l.c (__log2l): Likewise.
50078         * math/w_logl.c (__logl): Likewise.
50079         * math/w_powl.c (__powl): Likewise.
50080         * math/w_remainderl.c (__remainderl): Likewise.
50081         * math/w_scalbl.c (sysv_scalbl): Likewise.
50082         * math/w_sinhl.c (__sinhl): Likewise.
50083         * math/w_sqrtl.c (__sqrtl): Likewise.
50084         * math/w_tgammal.c (__tgammal): Likewise.
50085         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50086         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50087         * math/libm-test.inc (acos_test): Add more tests.
50088         (acosh_test): Likewise.
50089         (asin_test): Likewise.
50090         (atanh_test): Likewise.
50091         (exp_test): Likewise.
50092         (exp10_test): Likewise.
50093         (exp2_test): Likewise.
50094         (expm1_test): Likewise.
50095         (lgamma_test): Likewise.
50096         (log_test): Likewise.
50097         (log10_test): Likewise.
50098         (log1p_test): Likewise.
50099         (log2_test): Likewise.
50100         (pow_test): Do not allow some spurious overflow exceptions.
50101         (sqrt_test): Add more tests.
50102         (tgamma_test): Likewise.
50103         (y0_test): Likewise.
50104         (y1_test): Likewise.
50105         (yn_test): Likewise.
50107 2012-03-27  Anton Blanchard  <anton@samba.org>
50109         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50110         MAP_HUGETLB.
50111         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50112         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50113         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50115 2012-03-27  David S. Miller  <davem@davemloft.net>
50117         * conform/Makefile: Run run-conformtest.sh using $(BASH).
50119         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50120         have-as-vis3 check.
50122 2012-03-27  Andreas Jaeger  <aj@suse.de>
50124         * sysdeps/x86_64/elf/configure.in: Moved to ...
50125         * sysdeps/x86_64/configure.in: ... here.
50126         * sysdeps/x86_64/elf/start.S: Moved to ...
50127         * sysdeps/x86_64/start.S: ... here.
50128         * sysdeps/x86_64/elf/configure: Delete.
50130         * sysdeps/x86_64/configure.in: Merge contents from
50131         sysdeps/i386/configure.in (without i686 check).
50133         * sysdeps/i386/elf/Versions: Merge into ...
50134         * sysdeps/i386/Versions: ... this.
50135         * sysdeps/i386/elf/Versions: Delete file.
50136         * sysdeps/i386/elf/start.S: Moved to ...
50137         * sysdeps/i386/start.S: ...here.
50138         * sysdeps/i386/elf/configure.in: Merge into...
50139         * sysdeps/i386/configure.in: ...here.
50140         * sysdeps/i386/elf/configure.in: Delete file.
50141         * sysdeps/i386/elf/configure: Delete file.
50143         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50144         * debug/backtracesyms.c: ... here.
50145         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50146         * debug/backtracesymsfd.c: ... here.
50147         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50148         * sysdeps/generic/ifunc-sel.h: ... here.
50150         * sysdeps/unix/i386/start.c: Delete file.
50151         * sysdeps/unix/sparc/start.c: Delete file.
50152         * sysdeps/unix/start.c: Delete file.
50154         * sysdeps/sh/elf/configure.in: Moved to ...
50155         * sysdeps/sh/configure.in: ... here.
50156         * sysdeps/sh/elf/start.S: Moved to ...
50157         * sysdeps/sh/start.S: ... here.
50158         * sysdeps/sh/elf/configure: Delete file.
50160         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50161         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50162         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50163         * sysdeps/powerpc/powerpc64/entry.h: ... here.
50164         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50165         * sysdeps/powerpc/powerpc64/start.S: here.
50166         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50167         * sysdeps/powerpc/powerpc64/Makefile: ... this.
50168         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50169         * sysdeps/powerpc/powerpc64/configure.in: ... this.
50170         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50172         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50173         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50174         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50175         * sysdeps/powerpc/powerpc32/start.S: ... here.
50176         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50177         * sysdeps/powerpc/powerpc32/configure.in: ... this.
50178         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50180         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50181         * sysdeps/powerpc/ifunc-sel.h: ... here.
50182         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50183         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50185         * sysdeps/sparc/elf/configure.in: Moved to ...
50186         * sysdeps/sparc/configure.in: ... here.
50187         * sysdeps/sparc/elf/configure: Delete file.
50188         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50189         * sysdeps/sparc/sparc32/start.S: ... here.
50190         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50191         * sysdeps/sparc/sparc64/start.S: ... here.
50192         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50193         * sysdeps/sparc/sparc32/Makefile: ... this.
50194         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50195         * sysdeps/sparc/sparc64/Makefile: ... this.
50197         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50198         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50199         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50200         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50201         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50202         * sysdeps/s390/s390-32/setjmp.S: ... here.
50203         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50204         * sysdeps/s390/s390-32/configure.in: ... here.
50205         * sysdeps/s390/s390-32/elf/configure: Delete file.
50206         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50207         * sysdeps/s390/s390-32/start.S: ... here.
50209         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50210         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50211         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50212         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50213         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50214         * sysdeps/s390/s390-64/setjmp.S: ... here.
50215         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50216         * sysdeps/s390/s390-64/configure.in: ... here
50217         * sysdeps/s390/s390-64/elf/configure: Delete file.
50218         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50219         * sysdeps/s390/s390-64/start.S: ... here.
50220         * sysdeps/s390/s390-64/elf/configure: Delete.
50222         * configure.in: Remove support for elf directories in sysdeps.
50224         * configure: Regenerated.
50225         * sysdeps/i386/configure: Regenerated.
50226         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50227         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50228         * sysdeps/s390/s390-32/configure: Regenerated.
50229         * sysdeps/s390/s390-64/configure: Regenerated.
50230         * sysdeps/sh/configure: Regenerated.
50231         * sysdeps/sparc/configure: Regenerated.
50232         * sysdeps/x86_64/configure: Regenerated.
50234 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
50236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50238         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50239         denormal result into account.
50241 2012-03-25  Roland McGrath  <roland@hack.frob.com>
50243         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50244         Reported by Allan McRae <allan@archlinux.org>.
50246 2012-03-23  Jeff Law  <law@redhat.com>
50248         * nss/getnssent.c (__nss_getent): Fix typo.
50250 2012-03-23  David S. Miller  <davem@davemloft.net>
50252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50254 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
50256         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50257         to pad to uint64_t for each field.
50258         (dl_tls_index): Replace unsigned long with uint64_t.
50260 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
50261         Paul Pluzhnikov  <ppluzhnikov@google.com>
50263         [BZ #6528]
50264         * grp/Makefile (otherlibs): Don't set it.
50265         * inet/Makefile (otherlibs): Likewise.
50266         * login/Makefile (otherlibs): Likewise.
50267         * nscd/Makefile (otherlibs): Likewise.
50268         * posix/Makefile (otherlibs): Likewise.
50269         * pwd/Makefile (otherlibs): Likewise.
50270         * rt/Makefile (otherlibs): Likewise.
50271         * sunrpc/Makefile (otherlibs): Likewise.
50272         * nss/Makefile (otherlibs): Likewise.
50273         Add libnss_files to routines and static-only-routines.
50274         ($(objpfx)getent): Remove rule.
50275         * resolv/Makefile: Add libnss_dns and libresolv to routines and
50276         static-only-routines.
50278 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50280         [BZ #13892]
50281         * math/s_cexp.c: Include <float.h>.
50282         (__cexp): Handle exp result overflowing not necessarily
50283         overflowing both real and imaginary parts of result.
50284         * math/s_cexpf.c: Likewise.
50285         * math/s_cexpl.c: Likewise.
50286         * math/libm-test.inc (cexp_test): Add more tests.
50287         * sysdeps/i386/fpu/libm-test-ulps: Update.
50288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50290 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50292         * include/link.h (ELFW): New macro.
50293         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50294         Replace ELF64_R_TYPE with ELFW(R_TYPE).
50296 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50298         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50299         with uint64_t.
50301 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50303         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50304         declaration.
50305         (struct La_x32_retval): Likewise.
50307 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50309         * sysdeps/x86_64/preconfigure.in: New file.
50310         * sysdeps/x86_64/preconfigure: New generated file.
50312 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50314         [BZ #13824]
50315         * math/e_exp2l.c: Include <float.h>.
50316         (__ieee754_exp2l): Handle overflow and underflow cases
50317         separately.  Only pass fractional part of argument to
50318         __ieee754_expl.
50319         * math/libm-test.inc (exp2_test): Add more tests.
50321         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50322         negating x to take absolute value.
50323         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50324         Likewise.
50325         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50326         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50327         Likewise.
50328         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50329         computing low part if x was negated.
50330         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50332 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50334         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50335         la_x32_gnu_pltexit.
50336         (pltexit): Cast int_retval to ptrdiff_t.
50337         * elf/tst-auditmod3b.c: Likewise.
50338         * elf/tst-auditmod4b.c: Likewise.
50339         * elf/tst-auditmod5b.c: Likewise.
50340         * elf/tst-auditmod6b.c: Likewise.
50341         * elf/tst-auditmod6c.c: Likewise.
50342         * elf/tst-auditmod7b.c: Likewise.
50344         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50345         and x32_gnu_pltexit.
50347         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50348         __ELF_NATIVE_CLASS.
50349         (La_x32_regs): New macro.
50350         (La_x32_retval): Likewise.
50351         (la_x32_gnu_pltenter): New function prototype.
50352         (la_x32_gnu_pltexit): Likewise.
50354 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
50356         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50357         exponent.
50359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50361         * configure.in (libc_cv_cc_nofma): Check for option to disable
50362         generation of FMA instructions.
50363         * configure: Regenerate.
50364         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50365         * sysdeps/ieee754/dbl-64/Makefile: New file.
50366         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50367         Remove brandred-fma4.
50368         (CFLAGS-brandred-fma4.c): Remove.
50369         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50370         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50371         define.
50372         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50373         define.
50375 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50377         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50378         LLONG_MAX != LONG_MAX.
50379         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50380         (_fitoa_word): Likewise.
50381         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50382         LLONG_MAX != LONG_MAX.
50383         * stdio-common/_itowa.h: Include <_itoa.h>.
50384         (_itowa_word): Use _ITOA_WORD_TYPE on value.
50385         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
50386         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
50387         only if not defined.
50388         (_ITOA_WORD_TYPE): Likewise.
50389         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50390         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50392 2012-03-21  David S. Miller  <davem@davemloft.net>
50394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50396 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50398         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50399         of x86_64 when setting libc_cv_slibdir, libdir and
50400         libc_cv_localedir.
50401         * sysdeps/unix/sysv/linux/configure: Regenerated.
50403 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50405         * manual/lang.texi (Old Varargs): Remove section.
50406         (How Variadic): Update menu.
50407         (va_start): Do not mention varargs.h.
50409 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50410             Joseph Myers  <joseph@codesourcery.com>
50412         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50413         link test.
50414         * configure: Regenerated.
50416 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50418         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50419         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50420         conformtest.pl
50422 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50424         * NOTES: Remove.
50425         * Makefile (files-for-dist): Remove NOTES.
50426         (NOTES): Remove rule.
50427         * README: Don't refer to NOTES.
50428         * manual/creature.texi: Don't include macros.texi.
50429         * manual/intro.texi (creature.texi): Remove comment referring to
50430         NOTES.
50432         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50433         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50434         * configure: Regenerated.
50435         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50436         LIBC_TRY_CC_OPTION.
50437         (libc_cv_as_i686): Likewise.
50438         (libc_cv_cc_avx): Likewise.
50439         (libc_cv_cc_sse2avx): Likewise.
50440         (libc_cv_cc_fma4): Likewise.
50441         (libc_cv_cc_novzeroupper): Likewise.
50442         * sysdeps/i386/configure: Regenerated.
50444         [BZ #13883]
50445         * sysdeps/i386/fpu/s_cexp.S: Remove.
50446         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50447         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50448         * math/libm-test.inc (cexp_test): Add more tests.
50449         * sysdeps/i386/fpu/libm-test-ulps: Update.
50450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50452 2012-03-21  Allan McRae  <allan@archlinux.org>
50454         * timezone/Makefile: Do not install iso3166.tab and zone.tab
50456 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50458         [BZ #13871]
50459         * math/w_exp2.c: Do not include <float.h>.
50460         (o_threshold, u_threshold): Remove.
50461         (__exp2): Calculate result before checking finiteness and calling
50462         __kernel_standard.
50463         * math/w_exp2f.c: Likewise.
50464         * math/w_exp2l.c: Likewise.
50465         * math/libm-test.inc (exp2_test): Require overflow exception for
50466         1e6 input.
50468         [BZ #3866]
50469         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50470         range of signed 64-bit integers before using fistpll.  Remove
50471         checks for whether integers fit in mantissa bits.
50472         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50473         the range of signed 32-bit integers before using fistpl.  Remove
50474         checks for whether integers fit in mantissa bits.
50475         * sysdeps/i386/fpu/e_powl.S (p64): New object.
50476         (__ieee754_powl): Test for y outside the range of signed 64-bit
50477         integers before using fistpll.  Reduce 64-bit values to 63-bit
50478         ones as needed.
50479         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50480         divide-by-zero is raised for zero to large negative powers.
50481         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50482         (__ieee754_powl): Test for y outside the range of signed 64-bit
50483         integers before using fistpll.  Reduce 64-bit values to 63-bit
50484         ones as needed.
50485         * math/libm-test.inc (pow_test): Add more tests.
50487 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50489         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50490         <stdio-common/_itoa.h>.
50491         * debug/segfault.c: Likewise.
50492         * elf/dl-cache.c: Likewise.
50493         * elf/dl-minimal.c: Likewise.
50494         * elf/dl-misc.c: Likewise.
50495         * elf/dl-sysdep.c: Likewise.
50496         * elf/dl-version.c: Likewise.
50497         * elf/rtld.c: Likewise.
50498         * hurd/hurdsock.c: Likewise.
50499         * hurd/lookup-retry.c: Likewise.
50500         * malloc/malloc.c: Likewise.
50501         * malloc/mtrace.c: Likewise.
50502         * nscd/nscd_getgr_r.c: Likewise.
50503         * nscd/nscd_getpw_r.c: Likewise.
50504         * nscd/nscd_getserv_r.c: Likewise.
50505         * posix/getopt_init.c: Likewise.
50506         * posix/wordexp.c: Likewise.
50507         * stdio-common/_itoa.c: Likewise.
50508         * stdio-common/printf_fphex.c: Likewise.
50509         * stdio-common/vfprintf.c: Likewise.
50510         * string/_strerror.c: Likewise.
50511         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50512         * sysdeps/i386/i686/hp-timing.h: Likewise.
50513         * sysdeps/mach/_strerror.c: Likewise.
50514         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50515         * sysdeps/mach/hurd/sethostid.c: Likewise.
50516         * sysdeps/mach/hurd/xmknodat.c: Likewise.
50517         * sysdeps/mach/xpg-strerror.c: Likewise.
50518         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50519         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50520         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50521         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50522         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50523         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50524         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50525         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50526         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50527         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50528         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50529         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50530         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50531         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50532         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50533         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50534         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50535         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50536         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50537         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50538         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50540         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50542         * stdio-common/_itoa.h: Moved to ...
50543         * sysdeps/generic/_itoa.h: Here.
50545         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50547         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50548         instead of "_itoa.h" and "_itowa.h".
50549         * stdio-common/vfprintf.: Likewise.
50551 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50553         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50554         <bits/wordsize.h>.
50555         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50556         (__signbit): Likwise.
50557         (llrintf): Likwise.
50558         (llrint): Likwise.
50560 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50562         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50563         __WORDSIZE != 64.
50565 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
50567         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50568         OVERFLOW_EXCEPTION_OK.
50569         * math/libm-test.inc ("Philosophy"): Update comment about
50570         exception testing.
50571         (OVERFLOW_EXCEPTION): Define.
50572         (OVERFLOW_EXCEPTION_OK): Likewise.
50573         (INVALID_EXCEPTION_OK): Renumber.
50574         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50575         (IGNORE_ZERO_INF_SIGN): Likewise.
50576         (test_exceptions): Handle FE_OVERFLOW.
50577         (exp10_test): Expect overflow exceptions.
50578         (exp2_test): Likewise.
50579         (expm1_test): Likewise.
50580         (nextafter_test): Likewise.
50581         (pow_test): Likewise.
50582         (scalbn_test): Likewise.
50583         (scalbln_test): Likewise.
50585 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50587         * sysdeps/x86_64/bits/atomic.h
50588         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50589         64bit integer.
50590         (atomic_exchange_acq): Likewise.
50591         (__arch_exchange_and_add_body): Likewise.
50592         (__arch_add_body): Likewise.
50593         (atomic_add_negative): Likewise.
50594         (atomic_add_zero): Likewise.
50596 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50598         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50599         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50601 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50603         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50604         Check __x86_64__ instead of __WORDSIZE.
50606 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50608         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50610 2012-03-19  David S. Miller  <davem@davemloft.net>
50612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50614         * sysdeps/sparc/fpu/fenv_private.h: New file.
50615         * sysdeps/sparc/fpu/math_private.h: Use it.
50616         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50617         Remove.
50618         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50619         (libc_feholdexcept_setroundl): Remove.
50620         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50621         Remove.
50622         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50623         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50625 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50627         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50628         int64_t instead of long int.
50629         (INSERT_WORDS64): Likwise.
50631 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50633         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50634         _Unwind_GetCFA return to _Unwind_Ptr first.
50636 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
50638         [BZ #13629]
50639         * math/s_clog.c: Include <float.h>.
50640         (__clog): Scale large or subnormal inputs.
50641         * math/s_clogf.c: Likewise.
50642         * math/s_clogl.c: Likewise.
50643         * math/s_clog10.c: Include <float.h>.
50644         (M_LOG10_2): Define.
50645         (__clog10): Scale large or subnormal inputs.
50646         * math/s_clog10f.c: Likewise.
50647         * math/s_clog10l.c: Likewise.
50648         * math/libm-test.inc (clog_test): Add more tests.
50649         (clog10_test): Likewise.
50650         * sysdeps/i386/fpu/libm-test-ulps: Update.
50651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50653         [BZ #11451]
50654         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50655         x and y.
50656         * math/libm-test.inc (atan2_test): Add another test.
50658         * Makerules (common-objdir-compile): Remove.
50659         * sysdeps/unix/Makefile (config-generated): Do not add
50660         $(unix-generated) to variable.
50661         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50662         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50663         Remove rule.
50664         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50665         Likewise.
50666         [generic bits/local_lim.h] (before-compile): Do not append to
50667         variable.
50668         [generic bits/local_lim.h] (common-generated): Likewise.
50669         [generic sys/param.h] (before-compile): Do not append to variable.
50670         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50671         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50672         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50673         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50674         include.
50675         [generic sys/param.h] (sys/param.h-includes): Remove variable.
50676         [generic sys/param.h] (sys/param.h-includes): Remove rule.
50677         [generic sys/param.h] ($(addprefix
50678         $(common-objpfx),$(sys/param.h-includes))): Likewise.
50679         [generic sys/param.h] (common-generated): Do not append to
50680         variable.
50681         [generic sys/param.h] (sysdep_headers): Likewise.
50682         [generic bits/errno.h] (before-compile): Do not append to
50683         variable.
50684         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50685         rule.
50686         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50687         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50688         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50689         [generic bits/errno.h] (common-generated): Do not append to
50690         variable.
50691         [generic bits/ioctls.h] (before-compile): Do not append to
50692         variable.
50693         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50694         rule.
50695         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50696         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50697         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50698         rule.
50699         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50700         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50701         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50702         [generic bits/ioctls.h] (common-generated): Do not append to
50703         variable.
50704         [generic sys/syscall.h] (syscall.h): Remove variable.
50705         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50706         rule.
50707         [generic sys/syscall.h] (before-compile): Do not append to
50708         variable.
50709         [generic sys/syscall.h] (common-generated): Likewise.
50710         * sysdeps/unix/errnos-tmpl.c: Remove file.
50711         * sysdeps/unix/errnos.awk: Likewise.
50712         * sysdeps/unix/ioctls-tmpl.c: Likewise.
50713         * sysdeps/unix/ioctls.awk: Likewise.
50714         * sysdeps/unix/mk-local_lim.c: Likewise.
50715         * sysdeps/unix/snarf-ioctls: Likewise.
50717 2012-03-19  Richard Henderson  <rth@twiddle.net>
50719         * sysdeps/i386/fpu/fenv_private.h: New file.
50720         * sysdeps/i386/fpu/math_private.h: Use it.
50721         (math_opt_barrier, math_force_eval): Remove.
50722         (libc_feholdexcept_setround_53bit): Remove.
50723         (libc_feupdateenv_53bit): Remove.
50724         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50725         (math_opt_barrier, math_force_eval): Remove.
50726         (libc_feholdexcept): Remove.
50727         (libc_feholdexcept_setround): Remove.
50728         (libc_fetestexcept, libc_fesetenv): Remove.
50729         (libc_feupdateenv_test): Remove.
50730         (libc_feupdateenv, libc_feholdsetround): Remove.
50731         (libc_feresetround): Remove.
50733         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50734         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50736         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50737         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50738         (libc_feupdateenv_testl): New.
50739         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50740         (libc_feupdateenv_testf): New.
50741         (libc_feupdateenv): Use libc_feupdateenv_test.
50742         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50743         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50745         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50746         (libc_feholdsetroundf, libc_feholdsetroundl): New.
50747         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50748         (libc_feresetround_noex): New.
50749         (libc_feresetround_noexf): New.
50750         (libc_feresetround_noexl): New.
50751         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50752         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50753         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50754         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50755         SET_RESTORE_ROUND.
50756         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50757         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50758         (__cos): Likewise.
50759         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50760         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50761         SET_RESTORE_ROUND_NOEX.
50762         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50763         SET_RESTORE_ROUND_NOEXF.
50764         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50765         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50766         (libc_feholdsetroundf): New.
50767         (libc_feresetround, libc_feresetroundf): New.
50769         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50770         (libc_feholdexcept_setround_53bit): Convert from macro to function.
50771         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
50773         * sysdeps/generic/math_private.h: Include <fenv.h>.
50774         (default_libc_feholdexcept): New.
50775         (default_libc_feholdexcept_setround): New.
50776         (default_libc_fesetenv, default_libc_feupdateenv): New.
50777         (libc_feholdexcept): Only define if undefined.
50778         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50779         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50780         (libc_feholdexcept_setroundl): Likewise.
50781         (libc_feholdexcept_setround_53bit): Likewise.
50782         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50783         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50784         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50785         (libc_feupdateenv_53bit): Likewise.
50786         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50787         (libc_feholdexcept): Convert from macro to inline function.
50788         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50789         (libc_fesetenv, libc_feupdateenv): Likewise.
50791         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50792         not previously defined.
50793         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50794         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50795         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50796         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50797         * sysdeps/ieee754/flt-32/math_private.h: New file.
50798         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50799         math_private.h below SET_FLOAT_WORD.
50800         (__isnan, __isinf_ns, __finite): Remove.
50801         (__isnanf, __isinf_nsf, __finitef): Remove.
50803 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
50805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50807 2012-03-17  David S. Miller  <davem@davemloft.net>
50809         [BZ #6471]
50810         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50811         for 2.16.
50813 2012-03-16  David S. Miller  <davem@davemloft.net>
50815         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50816         warnings.
50818         [BZ #6471]
50819         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50820         properly.
50821         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50822         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50823         sysdep_routines when subdir is sysvipc.
50824         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50825         __getshmlba helper.
50827         * sysdeps/sparc/fpu/libm-test/ulps: Update.
50829 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50831         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50832         [__LP64__].
50834 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50836         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50837         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50838         (__lround): Renamed to ...
50839         (__llround): This.  Replace long int with long long int.
50840         Define lround functions as aliases of llround functions.
50841         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50843 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50845         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50846         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
50847         adresses to uintptr_t.  Replace "long int" and "unsigned long
50848         int" with "greg_t" on va_arg.
50850 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50852         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50853         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50855         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50856         Move e_machine check before EI_CLASS check.  Handle x32
50857         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50858         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50859         SKIP_EM_IA_64 and include
50860         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50862         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50863         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50864         (add_system_dir): New macro.
50866         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50867         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50869 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50871         [BZ #2551]
50872         [BZ #2552]
50873         [BZ #2553]
50874         [BZ #2554]
50875         [BZ #2562]
50876         [BZ #2563]
50877         [BZ #2565]
50878         [BZ #2566]
50879         [BZ #2576]
50880         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50881         (y0): Likewise.
50882         * math/w_j0f.c (j0f): Likewise.
50883         (y0f): Likewise.
50884         * math/w_j0l.c (__j0l): Likewise.
50885         (__y0l): Likewise.
50886         * math/w_j1.c (j1): Likewise.
50887         (y1): Likewise.
50888         * math/w_j1f.c (j1f): Likewise.
50889         (y1f): Likewise.
50890         * math/w_j1l.c (__j1l): Likewise.
50891         (__y1l): Likewise.
50892         * math/w_jn.c (jn): Likewise.
50893         (yn): Likewise.
50894         * math/w_jnf.c (jnf): Likewise.
50895         (ynf): Likewise.
50896         * math/w_jnl.c (__jnl): Likewise.
50897         (__ynl): Likewise.
50898         * math/libm-test.inc (j0_test): Add more tests.
50899         (j1_test): Likewise.
50900         (jn_test): Likewise.  Add trailing semicolon to existing test.
50901         (y0_test): Likewise.
50902         (y1_test): Likewise.
50903         * sysdeps/i386/fpu/libm-test-ulps: Update.
50904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50906         [BZ #13851]
50907         [BZ #13854]
50908         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50909         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50910         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50911         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50912         (__tanl): Set errno for infinite argument.
50913         * sysdeps/i386/fpu/mptan.c: Remove.
50914         * sysdeps/i386/fpu/s_tan.S: Likewise.
50915         * sysdeps/i386/fpu/s_tanl.S: Likewise.
50916         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50917         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50918         * math/libm-test.inc (tan_test): Add more tests and enable more
50919         tests for double and long double.
50920         * sysdeps/i386/fpu/libm-test-ulps: Update.
50921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50923 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
50925         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50926         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50928 2012-03-16  Roland McGrath  <roland@hack.frob.com>
50930         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50931         * configure.in: Use it for both main tree and add-ons.
50932         * configure: Regenerated.
50934 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50936         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50938 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50940         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50941         in comment.
50943         [BZ #13851]
50944         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50945         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50946         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50947         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50948         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50949         infinite argument.
50950         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50951         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50952         != 0 for prec == 2.
50953         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50954         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50955         * sysdeps/i386/fpu/s_cosl.S: Likewise.
50956         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50957         * sysdeps/i386/fpu/s_sinl.S: Likewise.
50958         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50959         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50960         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50961         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50962         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50963         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50964         * math/libm-test.inc (cos_test): Add more tests and enable more
50965         tests for long double.
50966         (sin_test): Likewise.
50967         (sincos_test): Likewise.
50968         * sysdeps/i386/fpu/libm-test-ulps: Update.
50969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50971 2012-03-16  David S. Miller  <davem@davemloft.net>
50973         * sysdeps/sparc/fpu/math_private.h: New file.
50975 2012-03-15  David S. Miller  <davem@davemloft.net>
50977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50978         file.
50979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50981         file.
50982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50983         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50984         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50985         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50986         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50987         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50988         sysdep routines.
50989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50991         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50992         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50994         * sysdeps/sparc/sparc-ifunc.h: New file.
50995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50996         sparc-ifunc.h
50997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50999         Likewise.
51000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51001         Likewise.
51002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51006         Likewise.
51007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51012         Likewise.
51013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51014         Likewise.
51015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51019         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51020         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51021         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51022         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51023         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51024         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51025         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51026         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51027         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51028         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51029         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51030         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51031         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51032         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51033         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51034         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51035         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51036         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51037         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51038         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51040 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51042         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51043         scaling.
51044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51046 2012-03-15  Andreas Jaeger  <aj@suse.de>
51048         [BZ #13852]
51049         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51050         ieee754/flt-32 implementation for sin, cos and sincos.
51051         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51052         * sysdeps/i386/fpu/s_cosf.S: Likewise.
51053         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51054         * sysdeps/i386/fpu/s_sinf.S: Likewise.
51055         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51056         ieee754/flt-32 implementation for tan.
51058         * math/libm-test.inc (cos_test): Enable some large input tests for
51059         float as well
51060         (sin_test): Likewise.
51061         (sincos_test): Likewise.
51062         (tan_test): Add tests for large input.
51064         * sysdeps/i386/fpu/libm-test-ulps: Update.
51066 2012-03-15  Andreas Jaeger  <aj@suse.de>
51068         [BZ #13658]
51069         * math/libm-test.inc (cos_test): Add more test cases.
51070         (sin_test): Likewise.
51071         (sincos_test): Likewise.
51073 2012-03-15  Andreas Jaeger  <aj@suse.de>
51075         [BZ #13837]
51076         * math/libm-test.inc (cos_test): Add a test case for large input
51077         value.
51078         (sin_test): Likewise.
51079         (sincos_test): Likewise.
51081 2012-03-15  Andreas Jaeger  <aj@suse.de>
51082             Joseph Myers  <joseph@codesourcery.com>
51084         [BZ #13658]
51085         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51086         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51087         * sysdeps/i386/fpu/branred.c: Likewise.
51088         * sysdeps/i386/fpu/dosincos.c: Likewise.
51089         * sysdeps/i386/fpu/mpa.c: Likewise.
51090         * sysdeps/i386/fpu/s_cos.S: Likewise.
51091         * sysdeps/i386/fpu/s_sin.S: Likewise.
51092         * sysdeps/i386/fpu/s_sincos.S: Likewise.
51093         * sysdeps/i386/fpu/sincos32.c: Likewise.
51095         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51096         Define.
51097         (libc_feupdateenv_53bit): Define.
51098         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51099         Define.
51100         (libc_feupdateenv_53bit): Define.
51102         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51103         53 bit (without extend i386 double precision).
51105         * math/libm-test.inc (sincos_test): Add tests for large input.
51106         (sin): Likewise.
51107         (cos): Likewise.
51109         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51111 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51115 2012-03-15  David S. Miller  <davem@davemloft.net>
51117         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51118         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51119         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51120         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51125         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51133         file.
51134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51136         file.
51137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51139         file.
51140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51142         file.
51143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51144         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51145         fmin/fmax sysdep routines.
51146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51148 2012-03-14  David S. Miller  <davem@davemloft.net>
51150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51151         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51152         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51153         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51154         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51155         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51156         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51157         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51158         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51159         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51160         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51162         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51163         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51164         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51165         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51166         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51167         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51168         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51169         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51170         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51171         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51172         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51173         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51174         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51175         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51176         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51177         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51178         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51179         routines.
51180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51181         file.
51182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51184         file.
51185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51187         file.
51188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51190         file.
51191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51193         file.
51194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51196         file.
51197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51198         file.
51199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51200         file.
51201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51202         file.
51203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51204         New file.
51205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51206         file.
51207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51208         file.
51209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51211         file.
51212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51214         file.
51215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51217         file.
51218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51220         VIS3 routines.
51222         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51223         New file.
51225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51227         * sysdeps/sparc/configure.in: New file.
51228         * sysdeps/sparc/configure: Generate.
51229         * configure.in (libc_cv_sparc_as_vis3): Substitute.
51230         * configure: Regenerate.
51231         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51232         * config.make.in (have-as-vis3): New.
51233         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51234         available use -Av9d instead of -Av9a.
51235         * sysdeps/sparc/sparc64/Makefile: Likewise.
51236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51238         New file.
51239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51240         file.
51241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51242         New file.
51243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51244         file.
51245         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51246         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51247         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51248         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51249         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51251         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51252         fzeros/fnegs to load 0x80000000 into a float register instead of
51253         using the stack.
51254         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51256 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51258         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51259         bits/syscall.h.
51260         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51261         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51262         ($(inst_includedir)/bits/syscall.h): Remove rule.
51263         ($(objpfx)bits/syscall.d): Include instead of
51264         $(objpfx)syscall-list.d.
51265         (generated): Change syscall-list.h and syscall-list.d to
51266         bits/syscall.h and bits/syscall.d.
51268 2012-03-14  Roland McGrath  <roland@hack.frob.com>
51270         [BZ #13846]
51271         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51273 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51275         [BZ #13841]
51276         * math/s_csqrt.c: Include <float.h>.
51277         (__csqrt): Scale large or subnormal inputs.
51278         * math/s_csqrtf.c: Likewise.
51279         * math/s_csqrtl.c: Likewise.
51280         * math/libm-test.inc (csqrt_test): Add more tests.
51281         * sysdeps/i386/fpu/libm-test-ulps: Update.
51282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51284         [BZ #13840]
51285         * math/libm-test.inc (hypot_test): Add more tests.
51287 2012-03-13  David S. Miller  <davem@davemloft.net>
51289         [BZ #13840]
51290         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51291         double-precision for the calculation instead of scaling.
51293 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
51295         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51296         manipulate bits before adding and subtracting TWO52[sx].
51297         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51298         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51299         Likewise.
51300         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51302 2012-03-13  David S. Miller  <davem@davemloft.net>
51304         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51305         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51306         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51307         rtld-global-offsets.h
51308         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51310         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51311         large parameters.
51313         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51315         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51316         'err' in the ifdef scope in which it is actually used.
51318         * nss/nss_db/db-init.c: Include string.h
51320 2012-03-12  David S. Miller  <davem@davemloft.net>
51322         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51323         masking out of the most significant byte of random value used.
51324         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51325         Fix coding style in previous change.
51327         * sysdeps/unix/sysv/linux/kernel-features.h
51328         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51329         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51330         expression.
51331         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51332         later.
51334 2012-03-11  David S. Miller  <davem@davemloft.net>
51336         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51337         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51338         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51339         for 'resultvar' otherwise things get truncated on 64-bit.
51341         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51342         Fix masking out of the most significant byte of random value used.
51344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51346 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
51348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51350 2012-03-09  David S. Miller  <davem@davemloft.net>
51352         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51353         variables with appropriate CPP guards.
51354         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51355         from the frame pointer, not the stack pointer.  Correct layout
51356         comments.  Fix test on resulting framesize and the management of
51357         the outregs buffer for pltexit.  Preserve floating point return
51358         values across _dl_call_pltexit call.
51359         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51360         framesize and the management of the outregs buffer for pltexit.
51361         Preserve floating point return values across _dl_call_pltexit
51362         call.
51363         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51364         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51365         (la_sparc64_gnu_pltexit): New functions.
51366         (print_exit): Fix format string for return register value.
51368 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
51370         * sunrpc/Makefile (others): Add rpcgen.
51371         ($(objpfx)rpcgen): Remove special build rule and dependency on
51372         libc.
51373         * sunrpc/rpcgen.c: New file.
51375 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
51377         [BZ #13673]
51378         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51379         * stdio-common/bug-vfprintf-nargs.c: Likewise.
51380         * sysdeps/i386/crti.S: Likewise.
51381         * sysdeps/i386/crtn.S: Likewise.
51382         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51383         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51384         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51385         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51386         * sysdeps/sh/crti.S: Likewise.
51387         * sysdeps/sh/crtn.S: Likewise.
51388         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51390         [BZ #13673]
51391         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51392         with URL.
51393         * locale/programs/locfile-kw.gperf: Likewise.
51394         * locale/programs/charmap-kw.h: Regenerated.
51395         * locale/programs/locfile-kw.h: Likewise.
51397         [BZ #13673]
51398         * intl/plural.y: Replace FSF snail mail address with URL.
51399         * intl/plural.c: Regenerated.
51401 2012-03-09  Richard Henderson  <rth@twiddle.net>
51403         * include/math_private.h: Remove file.
51404         * math/math_private.h: Move file ...
51405         * sysdeps/generic/math_private.h: ... here.
51407         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51408         * sysdeps/powerpc/fpu/math_private.h: Likewise.
51409         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51411         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51412         and <math_private.h>.
51413         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51414         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51415         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51416         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51417         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51418         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51419         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51420         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51421         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51422         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51423         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51424         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51425         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51426         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51427         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51428         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51429         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51430         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51431         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51432         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51433         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51434         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51435         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51436         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51437         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51438         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51439         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51440         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51441         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51442         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51443         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51444         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51445         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51446         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51447         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51448         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51449         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51450         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51451         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51452         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51453         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51454         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51455         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51456         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51457         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51458         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51459         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51460         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51461         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51462         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51463         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51464         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51465         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51466         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51467         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51468         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51469         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51470         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51471         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51472         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51473         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51474         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51475         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51476         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51477         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51478         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51479         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51480         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51481         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51482         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51483         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51484         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51485         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51486         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51487         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51488         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51489         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51490         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51491         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51492         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51493         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51494         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51495         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51496         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51497         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51498         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51499         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51500         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51501         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51502         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51503         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51504         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51505         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51506         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51507         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51508         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51509         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51510         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51511         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51512         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51513         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51514         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51515         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51516         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51517         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51518         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51519         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51520         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51521         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51522         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51523         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51524         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51525         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51526         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51527         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51528         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51529         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51530         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51531         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51532         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51533         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51534         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51535         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51536         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51537         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51538         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51539         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51540         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51541         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51542         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51543         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51544         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51545         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51546         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51547         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51548         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51549         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51550         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51551         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51552         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51553         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51554         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51555         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51556         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51557         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51558         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51559         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51560         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51561         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51562         * sysdeps/ieee754/k_standard.c: Likewise.
51563         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51564         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51565         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51566         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51567         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51568         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51569         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51570         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51571         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51572         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51573         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51574         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51575         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51576         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51577         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51578         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51579         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51580         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51581         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51582         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51583         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51584         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51585         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51586         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51587         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51588         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51589         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51590         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51591         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51592         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51593         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51594         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51595         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51596         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51597         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51598         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51599         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51600         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51601         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51602         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51603         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51604         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51605         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51606         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51607         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51608         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51609         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51610         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51611         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51612         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51613         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51614         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51615         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51616         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51617         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51618         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51619         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51620         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51621         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51622         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51623         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51624         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51625         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51626         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51627         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51628         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51629         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51630         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51631         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51632         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51633         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51634         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51635         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51636         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51637         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51638         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51639         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51640         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51641         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51642         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51643         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51644         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51645         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51646         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51647         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51648         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51649         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51650         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51651         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51652         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51653         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51654         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51655         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51656         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51657         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51658         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51659         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51660         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51661         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51662         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51663         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51664         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51665         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51666         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51667         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51668         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51669         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51670         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51671         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51672         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51673         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51674         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51675         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51676         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51677         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51678         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51679         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51680         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51681         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51682         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51683         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51684         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51685         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51686         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51687         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51688         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51689         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51690         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51691         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51692         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51693         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51694         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51695         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51696         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51697         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51698         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51699         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51700         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51701         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51702         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51703         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51704         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51705         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51706         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51707         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51708         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51709         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51710         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51711         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51712         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51713         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51714         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51715         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51716         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51717         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51718         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51719         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51720         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51721         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51722         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51723         * sysdeps/ieee754/s_lib_version.c: Likewise.
51724         * sysdeps/ieee754/s_matherr.c: Likewise.
51725         * sysdeps/ieee754/s_signgam.c: Likewise.
51726         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51727         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51728         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51729         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51730         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51731         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51732         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51733         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51734         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51735         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51736         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51737         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51738         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51739         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51740         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51741         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51742         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51743         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51744         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51745         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51746         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51748 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51750         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51751         * sunrpc/rpc_main.c: Likewise.
51752         * sunrpc/rpc_svcout.c: Likewise.
51754 2012-03-09  David S. Miller  <davem@davemloft.net>
51756         * include/math_private.h: New file.
51758 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51760         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51761         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51762         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51763         from <bits/socket_type.h>.
51764         (enum __socket_type): Don't define here.
51765         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51767         bits/socket_type.h.
51769         [BZ #13566]
51770         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51771         checking __USE_GNU.
51773         * Makerules ($(inst_includedir)/%.h): New rule.
51774         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51775         (install-others): Remove variable setting.
51776         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51778 2012-03-08  Richard Henderson  <rth@twiddle.net>
51780         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51781         from macro to inline function; merge with the
51782         !__LIBC_INTERNAL_MATH_INLINES version.
51783         (__ieee754_sqrtf): Likewise.
51785         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51786         to inline function.
51787         (__rintf, __floor, __floorf): Likewise.
51789         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51790         macro to inline function.
51791         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51793         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51794         not <math/math_private.h>.
51796 2012-03-08  David S. Miller  <davem@davemloft.net>
51798         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51799         copyright year.
51800         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51802 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
51804         * resolv/gai_misc.c (handle_requests): Fix struct timespec
51805         normalization.
51806         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51807         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51809 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
51811         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
51812         be defined individually, they must be defined as a block.  Define
51813         S for printing a string instead of hidint the different by using a
51814         macro for adding the 'l'.
51815         * stdio-common/tst-fphex-wide.c: Adjust.
51817 2012-03-07  Marek Polacek  <polacek@redhat.com>
51819         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51821 2012-03-08  Marek Polacek  <polacek@redhat.com>
51823         [BZ #13806]
51824         * stdio-common/Makefile (tests): Add tst-fphex-wide.
51825         * stdio-common/tst-fphex.c: Define a few macros to make the
51826         test reusable.  Use them.
51827         * stdio-common/tst-fphex-wide.c: New file.
51829 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
51831         [BZ #6911]
51832         * manual/macros.texi (gnusystems): New macro.
51833         (nongnusystems): Likewise.
51834         (gnulinuxhurdsystems): Likewise.
51835         (gnuhurdsystems): Likewise..
51836         (gnulinuxsystems): Likewise.
51837         * manual/charset.texi: Use new macros or @theglibc{} to refer to
51838         variants of the GNU system, not "GNU system".
51839         * manual/conf.texi: Likewise.
51840         * manual/errno.texi: Likewise.  Update example of errno macro
51841         expansion.
51842         * manual/filesys.texi: Likewise.
51843         (getumask): Document as specific to GNU/Hurd.
51844         * manual/install.texi: Likewise.  Reword some references to
51845         GNU/Linux.
51846         * manual/intro.texi: Likewise.
51847         * manual/io.texi: Likewise.
51848         (File Name Portability): Detail which constraints are inapplicable
51849         to all GNU systems and which are only inapplicable to GNU/Hurd.
51850         * manual/job.texi: Likewise.
51851         * manual/llio.texi: Likewise.
51852         (O_NOCTTY): Document as present on GNU/Linux.
51853         * manual/maint.texi: Likewise.
51854         * manual/memory.texi: Likewise.
51855         * manual/pattern.texi: Likewise.
51856         * manual/pipe.texi: Likewise.
51857         * manual/process.texi: Likewise.
51858         * manual/resource.texi: Likewise.
51859         (RUSAGE_CHILDREN): Remove statement about specifying a particular
51860         child on GNU/Hurd.
51861         * manual/setjmp.texi: Likewise.
51862         * manual/signal.texi: Likewise.
51863         * manual/startup.texi: Likewise.
51864         * manual/stdio.texi: Likewise.
51865         * manual/terminal.texi: Likewise.
51866         (ONLCR): Document as POSIX.
51867         (OXTABS): Document availability on GNU/Linux as XTABS.
51868         (ONOEOT): Document availability separately from other bits.
51869         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51870         * manual/time.texi: Likewise.
51871         * manual/users.texi: Likewise.
51872         * INSTALL: Regenerated.
51873         * sysdeps/gnu/errlist.c: Regenerated.
51875         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51876         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51877         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
51878         puts.
51879         * configure: Regenerated.
51881 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
51883         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51884         default includes instead of AC_HEADER_CHECK.
51885         * sysdeps/i386/configure: Regenerated.
51887         [BZ #10716]
51888         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51889         * math/s_cacoshf.c (__cacoshf): Likewise.
51890         * math/s_cacoshl.c (__cacoshl): Likewise.
51891         * math/s_casinh.c (__casinh): Set signs of result from argument.
51892         * math/s_casinhf.c (__casinhf): Likewise.
51893         * math/s_casinhl.c (__casinhl): Likewise.
51894         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51895         (casinh_test): Add more tests.
51896         * sysdeps/i386/fpu/libm-test-ulps: Update.
51897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51899 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
51901         * po/zh_TW.po: Update from translation team.
51903         * login/Makefile (distribute): Remove variable.
51904         * catgets/Makefile: Likewise.
51905         * mach/Makefile: Likewise.
51906         * malloc/Makefile: Likewise.
51907         * misc/Makefile: Likewise.
51908         * iconv/Makefile: Likewise.
51909         * nscd/Makefile: Likewise.
51910         * hurd/Makefile: Likewise.
51911         * manual/Makefile: Likewise.
51912         * locale/Makefile: Likewise.
51913         * intl/Makefile: Likewise.
51914         * conform/Makefile: Likewise.
51915         * nss/Makefile: Likewise.
51916         * time/Makefile: Likewise.
51917         * soft-fp/Makefile: Likewise.
51918         * dirent/Makefile: Likewise.
51919         * gmon/Makefile: Likewise.
51920         * po/Makefile: Likewise.
51921         * rt/Makefile: Likewise.
51922         * socket/Makefile: Likewise.
51923         * math/Makefile: Likewise.
51924         * signal/Makefile: Likewise.
51925         * debug/Makefile: Likewise.
51926         * elf/Makefile: Likewise.
51927         * timezone/Makefile: Likewise.
51928         * stdlib/Makefile: Likewise.
51929         * iconvdata/Makefile: Likewise.
51930         * sunrpc/Makefile: Likewise.
51931         * io/Makefile: Likewise.
51932         * argp/Makefile: Likewise.
51933         * inet/Makefile: Likewise.
51934         * hesiod/Makefile: Likewise.
51935         * grp/Makefile: Likewise.
51936         * csu/Makefile: Likewise.
51937         * wctype/Makefile: Likewise.
51938         * crypt/Makefile: Likewise.
51939         * libio/Makefile: Likewise.
51940         * string/Makefile: Likewise.
51941         * nis/Makefile: Likewise.
51942         * resolv/Makefile: Likewise.
51943         * stdio-common/Makefile: Likewise.
51944         * wcsmbs/Makefile: Likewise.
51945         * dlfcn/Makefile: Likewise.
51946         * posix/Makefile: Likewise.
51948         [BZ #6959]
51949         * timezone/Makefile: Don't install timezone files, just the programs
51950         and scripts.
51952 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
51954         * nss/databases.def: Add missing gshadow entry.
51956         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
51958 2012-03-06  Marek Polacek  <polacek@redhat.com>
51960         [BZ #13726]
51961         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51962         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51963         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51964         * stdio-common/tst-long-dbl-fphex.c: New file.
51966 2012-03-06  David S. Miller  <davem@davemloft.net>
51968         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51969         (set_obp_int): New function.
51970         (get_obp_int): New function.
51971         (__get_clockfreq_via_dev_openprom): Likewise.
51972         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51973         Avoid unused variable warnings on 'val' and use builtin_expect.
51974         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51975         __builtin_expect.
51976         (INLINE_CLONE_SYSCALL): Likewise.
51978 2012-03-05  David S. Miller  <davem@davemloft.net>
51980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51982 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
51984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51986         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51987         only for |x| >= 40.
51988         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51990 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
51992         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51993         Replace gettimeofday with __vdso_gettimeofday.
51995         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51996         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51997         __vdso_clock_gettime and __vdso_getcpu.
51999         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52000         time with __vdso_time.
52002 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52004         * manual/lang.texi (size_t): Note types to which size_t may be
52005         equivalent with the GNU C Library, but do not describe when
52006         differences between them are significant.
52008 2012-03-05  Andreas Jaeger  <aj@suse.de>
52010         * sysdeps/i386/fpu/libm-test-ulps: Update.
52012 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52014         [BZ #3976]
52015         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52016         (__ieee754_pow): Save and restore rounding mode and use
52017         round-to-nearest for main computations.
52018         * math/libm-test.inc (pow_test_tonearest): New function.
52019         (pow_test_towardzero): Likewise.
52020         (pow_test_downward): Likewise.
52021         (pow_test_upward): Likewise.
52022         (main): Call the new functions.
52023         * sysdeps/i386/fpu/libm-test-ulps: Update.
52024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52026         [BZ #3976]
52027         * math/libm-test.inc (cosh_test_tonearest): New function.
52028         (cosh_test_towardzero): Likewise.
52029         (cosh_test_downward): Likewise.
52030         (cosh_test_upward): Likewise.
52031         (sinh_test_tonearest): Likewise.
52032         (sinh_test_towardzero): Likewise.
52033         (sinh_test_downward): Likewise.
52034         (sinh_test_upward): Likewise.
52035         (main): Call the new functions.
52036         * sysdeps/i386/fpu/libm-test-ulps: Update.
52037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52039 2012-03-05  Tom de Vries  <tom@codesourcery.com>
52041         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52042         default stack guard is set in last bytes.
52043         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52045 2012-03-05  Kees Cook  <keescook@chromium.org>
52047         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52049         [BZ #13656]
52050         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52051         possibly allocate from heap instead of stack.
52052         * stdio-common/bug-vfprintf-nargs.c: New file.
52053         * stdio-common/Makefile (tests): Add nargs overflow test.
52055 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
52057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52059 2012-03-03  Marek Polacek  <polacek@redhat.com>
52061         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52062         * math/math_private.h: Likewise.
52063         * stdlib/tst-strtod.c: Likewise.
52064         * sysdeps/i386/i486/bits/atomic.h: Likewise.
52065         * sysdeps/x86_64/bits/atomic.h: Likewise.
52067 2012-03-02  David S. Miller  <davem@davemloft.net>
52069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52073         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52074         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52075         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52076         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52078 2012-03-02  Roland McGrath  <roland@hack.frob.com>
52080         [BZ #13792]
52081         * manual/examples/README: New file, says the example source files
52082         can be used under GPL>=2.
52083         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52084         line containing just "*/".
52085         * manual/examples/add.c: Add copyright header (GPL>=2).
52086         * manual/examples/argp-ex1.c: Likewise.
52087         * manual/examples/argp-ex2.c: Likewise.
52088         * manual/examples/argp-ex3.c: Likewise.
52089         * manual/examples/argp-ex4.c: Likewise.
52090         * manual/examples/atexit.c: Likewise.
52091         * manual/examples/db.c: Likewise.
52092         * manual/examples/dir.c: Likewise.
52093         * manual/examples/dir2.c: Likewise.
52094         * manual/examples/execinfo.c: Likewise.
52095         * manual/examples/filecli.c: Likewise.
52096         * manual/examples/filesrv.c: Likewise.
52097         * manual/examples/fmtmsgexpl.c: Likewise.
52098         * manual/examples/genpass.c: Likewise.
52099         * manual/examples/inetcli.c: Likewise.
52100         * manual/examples/inetsrv.c: Likewise.
52101         * manual/examples/isockad.c: Likewise.
52102         * manual/examples/longopt.c: Likewise.
52103         * manual/examples/memopen.c: Likewise.
52104         * manual/examples/memstrm.c: Likewise.
52105         * manual/examples/mkfsock.c: Likewise.
52106         * manual/examples/mkisock.c: Likewise.
52107         * manual/examples/mygetpass.c: Likewise.
52108         * manual/examples/pipe.c: Likewise.
52109         * manual/examples/popen.c: Likewise.
52110         * manual/examples/rprintf.c: Likewise.
52111         * manual/examples/search.c: Likewise.
52112         * manual/examples/select.c: Likewise.
52113         * manual/examples/setjmp.c: Likewise.
52114         * manual/examples/sigh1.c: Likewise.
52115         * manual/examples/sigusr.c: Likewise.
52116         * manual/examples/stpcpy.c: Likewise.
52117         * manual/examples/strdupa.c: Likewise.
52118         * manual/examples/strftim.c: Likewise.
52119         * manual/examples/strncat.c: Likewise.
52120         * manual/examples/subopt.c: Likewise.
52121         * manual/examples/swapcontext.c: Likewise.
52122         * manual/examples/termios.c: Likewise.
52123         * manual/examples/testopt.c: Likewise.
52124         * manual/examples/testpass.c: Likewise.
52125         * manual/examples/timeval_subtract.c: Likewise.
52127         [BZ #13792]
52128         * manual/time.texi (Elapsed Time): Move timeval_subtract example
52129         function to ...
52130         * manual/timeval_subtract.c.texi: ... here, new file.
52132 2012-03-02  David S. Miller  <davem@davemloft.net>
52134         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52136 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
52138         [BZ #3976]
52139         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52140         (__sin): Save and restore rounding mode and use round-to-nearest
52141         for all computations.
52142         (__cos): Save and restore rounding mode and use round-to-nearest
52143         for all computations.
52144         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52145         <fenv.h>.
52146         (tan): Save and restore rounding mode and use round-to-nearest for
52147         all computations.
52148         * math/libm-test.inc (cos_test_tonearest): New function.
52149         (cos_test_towardzero): Likewise.
52150         (cos_test_downward): Likewise.
52151         (cos_test_upward): Likewise.
52152         (sin_test_tonearest): Likewise.
52153         (sin_test_towardzero): Likewise.
52154         (sin_test_downward): Likewise.
52155         (sin_test_upward): Likewise.
52156         (tan_test_tonearest): Likewise.
52157         (tan_test_towardzero): Likewise.
52158         (tan_test_downward): Likewise.
52159         (tan_test_upward): Likewise.
52160         (main): Call the new functions.
52161         * sysdeps/i386/fpu/libm-test-ulps: Update.
52162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52164         [BZ #10135]
52165         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52166         small n, then large n, before computing and testing k+n.
52167         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52168         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52169         Likewise.
52170         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52171         Likewise.
52172         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52173         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52174         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52175         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52176         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52177         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52178         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52179         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52180         * math/libm-test.inc (scalbn_test): Add more tests.
52181         (scalbln_test): Likewise.
52183         * manual/filesys.texi (mode_t): Describe constraints on size and
52184         signedness, not exact equivalence to a particular type.
52185         (ino_t): Likewise.
52186         (ino64_t): Likewise.
52187         (dev_t): Likewise.
52188         (nlink_t): Likewise.
52189         (blkcnt_t): Likewise.
52190         (blkcnt64_t): Likewise.
52191         * manual/llio.texi (off_t): Likewise.
52193         [BZ #3976]
52194         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52195         (__ieee754_exp): Save and restore rounding mode and use
52196         round-to-nearest for all computations.
52197         * math/libm-test.inc (exp_test_tonearest): New function.
52198         (exp_test_towardzero): Likewise.
52199         (exp_test_downward): Likewise.
52200         (exp_test_upward): Likewise.
52201         (main): Call the new functions.
52202         * sysdeps/i386/fpu/libm-test-ulps: Update.
52203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52205 2012-03-01  Chris Demetriou  <cgd@google.com>
52207         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52208         have predictable order.
52210 2012-03-01  David S. Miller  <davem@davemloft.net>
52212         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52214         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52215         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52216         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52217         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52219         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52220         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52221         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52223         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52224         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52225         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52226         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52227         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52231         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52232         * sysdeps/sparc/fpu/libm-test-ulps: to here.
52233         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52235         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52236         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52237         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52238         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52239         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52240         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52241         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52242         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52243         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52244         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52245         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52246         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52247         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52248         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52249         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52250         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52251         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52252         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52253         * sysdeps/sparc/elf/configure: Regenerated.
52255 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
52257         * configure.in (AS, LD): Require binutils 2.20 or later.
52258         * configure: Regenerated.
52259         * manual/install.texi (Tools for Compilation): Give binutils 2.20
52260         as required minimum version.
52261         * INSTALL: Regenerated.
52263         [BZ #2541]
52264         [BZ #4108]
52265         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52266         before squaring exponent.
52267         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52268         bottom long double and 27 bits of top long double before squaring
52269         exponent.
52270         * math/libm-test.inc (erfc_test): Add more tests.
52271         * sysdeps/i386/fpu/libm-test-ulps: Update.
52272         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52275 2012-03-01  Kai Tietz  <ktietz@redhat.com>
52277         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52278         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52279         containing bit-fields.
52280         * soft-fp/extended.h (_FP_UNION_E): Likewise.
52281         * soft-fp/single.h (_FP_UNION_S): Likewise.
52282         * soft-fp/double.h (_FP_UNION_D): Likewise.
52284 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52286         [BZ #13786]
52287         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52288         not include ../strcmp.S.
52289         [USE_AS_STRNCASECMP_L]: Likewise.
52290         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52291         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52292         * sysdeps/i386/i686/multiarch/strncase_l-c.c
52293         (__strncasecmp_l_ia32): Define as alias to
52294         __strncasecmp_l_nonascii.
52296         [BZ #5794]
52297         * math/libm-test.inc (expm1_test): Add test for bug 5794.
52298         * sysdeps/i386/fpu/libm-test-ulps: Update.
52299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52301         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52304 2012-02-29  Jeff Law  <law@redhat.com>
52306         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52307         out of bounds read.
52309 2012-02-29  Marek Polacek  <polacek@redhat.com>
52311         [BZ #13706]
52312         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52313         * elf/Makefile: Add rules to run tst-unused-dep.out.
52315 2012-02-28  David S. Miller  <davem@davemloft.net>
52317         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52318         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52319         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52320         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52321         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52322         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52324 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52326         * math/libm-test.inc (llround_test): Move one test from
52327         lround_test.  Use TEST_f_L in moved test.
52328         (lround_test): Move misplaced test to llround_test.  Add testcase
52329         from bug 2561.
52331 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
52333         * sysdeps/x86_64/fpu/e_expf.S: New file.
52334         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52336 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
52338         [BZ #13637]
52339         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52340         of remain_len that may cause incomplete multi-byte character and
52341         false match.
52342         * posix/bug-regex33.c: New file.
52343         * posix/Makefile (tests): Add bug-regex33.
52345 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
52347         * manual/macros.texi: New file.
52348         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52349         * manual/libc.texinfo: Include macros.texi.
52350         * manual/creatute.texi: Likewise.
52351         * manual/install.texi: Likewise.
52352         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52353         @glibcadj{} in references to the GNU C Library.
52354         * manual/charset.texi: Likewise.
52355         * manual/conf.texi: Likewise.
52356         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
52357         when not using those macros.
52358         * manual/creature.texi: Likewise.
52359         * manual/crypt.texi: Likewise.
52360         * manual/errno.texi: Likewise.
52361         * manual/filesys.texi: Likewise.
52362         * manual/header.texi: Likewise.
52363         * manual/install.texi: Likewise.
52364         * manual/intro.texi: Likewise.
52365         * manual/io.texi: Likewise.
52366         * manual/job.texi: Likewise.
52367         * manual/lang.texi: Likewise.
52368         * manual/libc.texiinfo: Likewise.
52369         * manual/llio.texi: Likewise.
52370         * manual/locale.texi: Likewise.
52371         * manual/maint.texi: Likewise.
52372         * manual/math.texi: Likewise.
52373         * manual/memory.texi: Likewise.
52374         * manual/message.texi: Likewise.
52375         * manual/nss.texi: Likewise.
52376         * manual/pattern.texi: Likewise.
52377         * manual/process.texi: Likewise.
52378         * manual/resource.texi: Likewise.
52379         * manual/search.texi: Likewise.
52380         * manual/setjmp.texi: Likewise.
52381         * manual/signal.texi: Likewise.
52382         * manual/socket.texi: Likewise.
52383         * manual/startup.texi: Likewise.
52384         * manual/stdio.texi: Likewise.
52385         * manual/string.texi: Likewise.
52386         * manual/sysinfo.texi: Likewise.
52387         * manual/syslog.texi: Likewise.
52388         * manual/terminal.texi: Likewise.
52389         * manual/time.texi: Likewise.
52390         * manual/users.texi: Likewise.
52391         * INSTALL: Regenerated.
52392         * NOTES: Regenerated.
52393         * sysdeps/gnu/errlist.c: Regenerated.
52395 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
52397         * include/dirent.h: Include <dirstream.h> before
52398         <dirent/dirent.h>.
52400 2012-02-28  David S. Miller  <davem@davemloft.net>
52402         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52403         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52404         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52405         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52407 2012-02-27  David S. Miller  <davem@davemloft.net>
52409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52411         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52412         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52415         frame pointer instead of stack pointer relative arg slot.
52416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52417         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52418         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52420 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
52422         [BZ #3992]
52423         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52425 2012-02-27  David S. Miller  <davem@davemloft.net>
52427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52431         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52432         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52433         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52434         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52436 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52438         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52439         later.  Allow versions 5-9.
52440         * configure: Regenerated.
52441         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52442         required minimum version and 4.6 as recommended version.  Do not
52443         mention bugs in GCC 2.7 and 2.8.
52444         * INSTALL: Regenerated.
52446 2012-02-27  David S. Miller  <davem@davemloft.net>
52448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52452         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52453         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52454         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52455         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52457         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52458         manipulate bits before adding and subtracting TWO112[sx].
52459         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52461 2012-02-27  Roland McGrath  <roland@hack.frob.com>
52463         [BZ #13775]
52464         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52465         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52466         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52467         being in POSIX, because they are in 1003.1-2008.
52469         * rt/tst-aio.c: Include <fcntl.h>.
52470         * rt/tst-aio7.c: Likewise.
52471         * rt/tst-aio64.c: Likewise.
52473         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52475 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52477         * manual/install.texi (--with-headers): Describe headers as
52478         interface headers, not private headers.
52479         (Specific advice for GNU/Linux systems): Describe use of headers
52480         from "make headers_install", not private headers from older
52481         kernels.
52482         * INSTALL: Regenerated.
52483         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52484         Change to 2.6.19.
52485         * sysdeps/unix/sysv/linux/configure: Regenerated.
52487         * manual/llio.texi (fclean): Remove documentation.
52489         * manual/Makefile (libc-texi-generated): New variable.  Include
52490         version.texi.
52491         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52492         $(libc-texi-generated), not duplicated list of files.
52493         (version.texi, stamp-version): New rules.
52494         (realclean): Remove $(libc-texi-generated), not individual files
52495         from that list.  Do not remove dir-add.texinfo.
52496         * manual/libc.texinfo: Comment out uses of edition numbers and
52497         references to printed manual.  Remove last-updated dates.
52498         (EDITION): Comment out.
52499         (ISBN): Likewise.
52500         (VERSION, UPDATED): Remove.
52501         (version.texi): Include.
52503 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
52505         * sysdeps/posix/spawni.c: Include <signal.h>.
52506         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52507         * sysdeps/pthread/aio_fsync.c: Likewise.
52509 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
52511         * conform/Makefile (tests): Run only when not cross-compiling and
52512         when fast-check is not defined.
52514         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52515         * conform/data/limits.h-data: Fixes for POSIX2008.
52516         * conform/run-conformtest.sh: Run all tests.
52517         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52518         headers.
52519         * include/bits/dlfcn.h: Likewise.
52520         * include/langinfo.h: Likewise.
52521         * include/monetary.h: Likewise.
52522         * include/sys/poll.h: Likewise.
52524         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52525         for __USE_GNU.
52526         * posix/spawn.h: Define __need_sigset_t.
52527         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52528         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52529         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
52530         to get sigevent_t only.
52531         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52532         only for __USE_GNU.
52533         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52534         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52535         process_vm_writev only for __USE_GNU.
52536         * termios/termios.h: Declare tcgetsid also for POSIX2008.
52538         * conform/Makefile: For now ignore errors from run-conformtest.
52539         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
52540         POSIX to avoid namespace pollution.  Don't prepend headers.
52541         * conform/data/aio.h-data: Fixes for POSIX testing.
52542         * conform/data/fcntl.h-data: Likewise.
52543         * conform/data/glob.h-data: Likewise.
52544         * conform/data/grp.h-data: Likewise.
52545         * conform/data/pthread.h-data: Likewise.
52546         * conform/data/pwd.h-data: Likewise.
52547         * conform/data/signal.h-data: Likewise.
52548         * conform/data/spawn.h-data: Likewise.
52549         * conform/data/stdio.h-data: Likewise.
52550         * conform/data/stdlib.h-data: Likewise.
52551         * conform/data/stropts.h-data: Likewise.
52552         * conform/data/sys/mman.h-data: Likewise.
52553         * conform/data/sys/stat.h-data: Likewise.
52554         * conform/data/sys/types.h-data: Likewise.
52555         * conform/data/sys/wait.h-data: Likewise.
52556         * conform/data/time.h-data: Likewise.
52557         * conform/data/unistd.h-data: Likewise.
52558         * conform/data/utime.h-data: Likewise.
52560         * io/sys/stat.h: fchmod was always in POSIX.
52561         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52562         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52563         * rt/aio.h: Define __need_timespec before including <time.h>.
52564         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52565         struct.  Add forward declaration of pthread_attr_t and use it in
52566         sigevent.
52567         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52568         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52569         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52570         always remove CLK_TCK definition.
52572 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
52574         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52576 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
52578         * conform/run-conformtest.sh: New file.
52579         * conform/Makefile: Run run-conformtest for tests.
52580         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
52581         support.
52583         * conform/data/uchar.h-data: New file.
52584         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52585         * conform/data/arpa/inet.h-data: Likewise.
52586         * conform/data/assert.h-data: Likewise.
52587         * conform/data/complex.h-data: Likewise.
52588         * conform/data/cpio.h-data: Likewise.
52589         * conform/data/ctype.h-data: Likewise.
52590         * conform/data/dirent.h-data: Likewise.
52591         * conform/data/dlfcn.h-data: Likewise.
52592         * conform/data/errno.h-data: Likewise.
52593         * conform/data/fcntl.h-data: Likewise.
52594         * conform/data/float.h-data: Likewise.
52595         * conform/data/fmtmsg.h-data: Likewise.
52596         * conform/data/fnmatch.h-data: Likewise.
52597         * conform/data/ftw.h-data: Likewise.
52598         * conform/data/glob.h-data: Likewise.
52599         * conform/data/grp.h-data: Likewise.
52600         * conform/data/iconv.h-data: Likewise.
52601         * conform/data/inttypes.h-data: Likewise.
52602         * conform/data/langinfo.h-data: Likewise.
52603         * conform/data/libgen.h-data: Likewise.
52604         * conform/data/limits.h-data: Likewise.
52605         * conform/data/locale.h-data: Likewise.
52606         * conform/data/math.h-data: Likewise.
52607         * conform/data/monetary.h-data: Likewise.
52608         * conform/data/mqueue.h-data: Likewise.
52609         * conform/data/ndbm.h-data: Likewise.
52610         * conform/data/net/if.h-data: Likewise.
52611         * conform/data/netdb.h-data: Likewise.
52612         * conform/data/netinet/in.h-data: Likewise.
52613         * conform/data/nl_types.h-data: Likewise.
52614         * conform/data/poll.h-data: Likewise.
52615         * conform/data/pthread.h-data: Likewise.
52616         * conform/data/pwd.h-data: Likewise.
52617         * conform/data/regex.h-data: Likewise.
52618         * conform/data/sched.h-data: Likewise.
52619         * conform/data/search.h-data: Likewise.
52620         * conform/data/semaphore.h-data: Likewise.
52621         * conform/data/setjmp.h-data: Likewise.
52622         * conform/data/signal.h-data: Likewise.
52623         * conform/data/spawn.h-data: Likewise.
52624         * conform/data/stdarg.h-data: Likewise.
52625         * conform/data/stdio.h-data: Likewise.
52626         * conform/data/stdlib.h-data: Likewise.
52627         * conform/data/string.h-data: Likewise.
52628         * conform/data/strings.h-data: Likewise.
52629         * conform/data/stropts.h-data: Likewise.
52630         * conform/data/sys/ipc.h-data: Likewise.
52631         * conform/data/sys/mman.h-data: Likewise.
52632         * conform/data/sys/msg.h-data: Likewise.
52633         * conform/data/sys/resource.h-data: Likewise.
52634         * conform/data/sys/select.h-data: Likewise.
52635         * conform/data/sys/sem.h-data: Likewise.
52636         * conform/data/sys/shm.h-data: Likewise.
52637         * conform/data/sys/socket.h-data: Likewise.
52638         * conform/data/sys/stat.h-data: Likewise.
52639         * conform/data/sys/statvfs.h-data: Likewise.
52640         * conform/data/sys/time.h-data: Likewise.
52641         * conform/data/sys/timeb.h-data: Likewise.
52642         * conform/data/sys/times.h-data: Likewise.
52643         * conform/data/sys/types.h-data: Likewise.
52644         * conform/data/sys/uio.h-data: Likewise.
52645         * conform/data/sys/un.h-data: Likewise.
52646         * conform/data/sys/utsname.h-data: Likewise.
52647         * conform/data/sys/wait.h-data: Likewise.
52648         * conform/data/syslog.h-data: Likewise.
52649         * conform/data/tar.h-data: Likewise.
52650         * conform/data/termios.h-data: Likewise.
52651         * conform/data/utime.h-data: Likewise.
52652         * conform/data/utmpx.h-data: Likewise.
52653         * conform/data/varargs.h-data: Likewise.
52654         * conform/data/wchar.h-data: Likewise.
52655         * conform/data/wctype.h-data: Likewise.
52656         * conform/data/wordexp.h-data: Likewise.
52658         * include/stropts.h: New file.
52659         * include/uchar.h: New file.
52660         * include/aio.h: Changes to allow conformtest.pl to use the headers.
52661         * include/assert.h: Likewise.
52662         * include/ctype.h: Likewise.
52663         * include/dirent.h: Likewise.
52664         * include/dlfcn.h: Likewise.
52665         * include/fcntl.h: Likewise.
52666         * include/fnmatch.h: Likewise.
52667         * include/glob.h: Likewise.
52668         * include/grp.h: Likewise.
52669         * include/libio.h: Likewise.
52670         * include/locale.h: Likewise.
52671         * include/math.h: Likewise.
52672         * include/net/if.h: Likewise.
52673         * include/netdb.h: Likewise.
52674         * include/netinet/in.h: Likewise.
52675         * include/pthread.h: Likewise.
52676         * include/pwd.h: Likewise.
52677         * include/regex.h: Likewise.
52678         * include/sched.h: Likewise.
52679         * include/search.h: Likewise.
52680         * include/setjmp.h: Likewise.
52681         * include/signal.h: Likewise.
52682         * include/stdio.h: Likewise.
52683         * include/stdlib.h: Likewise.
52684         * include/string.h: Likewise.
52685         * include/sys/cdefs.h: Likewise.
52686         * include/sys/mman.h: Likewise.
52687         * include/sys/msg.h: Likewise.
52688         * include/sys/resource.h: Likewise.
52689         * include/sys/select.h: Likewise.
52690         * include/sys/socket.h: Likewise.
52691         * include/sys/stat.h: Likewise.
52692         * include/sys/statvfs.h: Likewise.
52693         * include/sys/time.h: Likewise.
52694         * include/sys/times.h: Likewise.
52695         * include/sys/uio.h: Likewise.
52696         * include/sys/utsname.h: Likewise.
52697         * include/sys/wait.h: Likewise.
52698         * include/termios.h: Likewise.
52699         * include/time.h: Likewise.
52700         * include/ulimit.h: Likewise.
52701         * include/unistd.h: Likewise.
52702         * include/utime.h: Likewise.
52703         * include/wchar.h: Likewise.
52704         * include/wctype.h: Likewise.
52705         * include/wordexp.h: Likewise.
52707         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52709         * time/time.h: TIME_UTC must be a macro.
52710         Make timespec_get available for ISO C11 only as well.
52712 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
52714         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52715         Reported by Peng Haitao <penght@cn.fujitsu.com>.
52717 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52719         * configure.in: Use -o not -a in test for unsupported multi-arch.
52721 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52723         * manual/texinfo.tex: Update to version 2012-01-19.16.
52725 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52727         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52729 2012-02-24  Roland McGrath  <roland@hack.frob.com>
52731         [BZ #13738]
52732         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52733         * manual/fdl-1.3.texi: New file.
52734         * manual/fdl-1.1.texi: File removed.
52736         [BZ #13738]
52737         * manual/libc.texinfo (FDL_VERSION): New @set.
52738         Use it for mention of FDL in cover text.
52739         (Documentation License): Use it in @include file name.
52741 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52742             Roland McGrath  <roland@hack.frob.com>
52744         [BZ #5461]
52745         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52746         (not LONG_LONG_MAX and LONG_LONG_MIN.
52747         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52748         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
52749         name.
52750         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52752 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52754         [BZ #2547]
52755         [BZ #11365]
52756         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52757         manipulate bits before adding and subtracting TWO23[sx].
52758         * math/libm-test.inc (nearbyint_test): Add more tests.
52760 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52762         [BZ #2548]
52763         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52764         bits before adding and subtracting TWO23[sx].
52765         * math/libm-test.inc (rint_test): Add more tests.
52766         (rint_test_tonearest): Likewise.
52767         (rint_test_towardzero): Likewise.
52768         (rint_test_downward): Likewise.
52769         (rint_test_upward: Likewise.
52771 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52773         [BZ #10110]
52774         * include/stdc-predef.h: New file.  Extracted from features.h.
52775         * include/features.h: Include stdc-predef.h.
52776         * Makefile (headers): Add stdc-predef.h.
52777         * CONFORMANCE (Compiler limitations): Update.
52779 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52781         * manual/libc.texinfo (VERSION, UPDATED): Revert.
52783 2012-02-21  David S. Miller  <davem@davemloft.net>
52785         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52786         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52788 2012-02-20  David S. Miller  <davem@davemloft.net>
52790         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52791         using a normal save/restore sequence, rather than allocating a
52792         dummy stack frame just to store a frame pointer and restore.
52793         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52795 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52797         * manual/install.texi: Fix stray word in line-wrapped comment.
52799 2012-02-20  David S. Miller  <davem@davemloft.net>
52801         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52802         both binutils and gcc support GOTDATA.
52804         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52805         "rd %pc" in the PIC register setup sequences.
52807         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52808         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52809         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52810         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52811         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52812         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52813         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52814         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52815         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52816         (SYSCALL_ERROR_HANDLER): Likewise.
52817         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52818         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52819         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52820         (SYSCALL_ERROR_HANDLER): Likewise.
52822         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52823         (HAVE_GCC_GOTDATA): New.
52824         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52825         relocation support in both binutils and gcc.
52826         * sysdeps/sparc/elf/configure: Regenerate.
52828         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52829         * sysdeps/sparc/sparc32/elf/configure: Delete.
52830         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52831         * sysdeps/sparc/sparc64/elf/configure: Delete.
52832         * sysdeps/sparc/elf/configure.in: New file.
52833         * sysdeps/sparc/elf/configure: Generate.
52835         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52836         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52837         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52838         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52839         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52841 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52843         * manual/install.texi: Do not mention specific glibc version
52844         numbers.
52845         * manual/libc.texinfo (VERSION, UPDATED): Update.
52846         (@copying): Use @copyright{} and range of years.
52848 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52850         [BZ #13695]
52851         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52852         [crti.S not in sysdirs] (generated): Do not append.
52853         [crti.S not in sysdirs] (omit-deps): Likewise.
52854         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52855         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52856         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52857         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52858         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52859         Likewise.
52860         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52861         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52862         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52863         * csu/defs.awk: Remove file.
52864         * sysdeps/generic/initfini.c: Likewise.
52865         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52866         variable.
52867         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52868         Likewise.
52870 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52872         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52873         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52874         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52875         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52876         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52877         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52878         <bits/epoll.h>.
52879         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52880         (__EPOLL_PACKED): Define to empty if not defined by
52881         <bits/epoll.h>.
52882         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52883         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52884         bits/epoll.h.
52886 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52888         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52889         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52890         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52891         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52892         <bits/timerfd.h>.
52893         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52895         bits/timerfd.h.
52897 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52899         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52900         in C locale.
52901         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52902         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52903         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52906 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
52908         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52909         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52911 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
52913         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52914         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52915         defined.
52916         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52917         Likewise.
52918         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52919         entry for 2.16.
52921 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
52923         * math/w_acos.c: Use non-signaling floating-point comparisons.
52924         * math/w_acosf.c: Likewise.
52925         * math/w_acosh.c: Likewise.
52926         * math/w_acoshf.c: Likewise.
52927         * math/w_acoshl.c: Likewise.
52928         * math/w_acosl.c: Likewise.
52929         * math/w_asin.c: Likewise.
52930         * math/w_asinf.c: Likewise.
52931         * math/w_asinl.c: Likewise.
52932         * math/w_atanh.c: Likewise.
52933         * math/w_atanhf.c: Likewise.
52934         * math/w_atanhl.c: Likewise.
52935         * math/w_exp2.c: Likewise.
52936         * math/w_exp2f.c: Likewise.
52937         * math/w_exp2l.c: Likewise.
52938         * math/w_j0.c: Likewise.
52939         * math/w_j0f.c: Likewise.
52940         * math/w_j0l.c: Likewise.
52941         * math/w_j1.c: Likewise.
52942         * math/w_j1f.c: Likewise.
52943         * math/w_j1l.c: Likewise.
52944         * math/w_jn.c: Likewise.
52945         * math/w_jnf.c: Likewise.
52946         * math/w_log.c: Likewise.
52947         * math/w_log10.c: Likewise.
52948         * math/w_log10f.c: Likewise.
52949         * math/w_log10l.c: Likewise.
52950         * math/w_log2.c: Likewise.
52951         * math/w_log2f.c: Likewise.
52952         * math/w_log2l.c: Likewise.
52953         * math/w_logf.c: Likewise.
52954         * math/w_logl.c: Likewise.
52955         * math/w_sqrt.c: Likewise.
52956         * math/w_sqrtf.c: Likewise.
52957         * math/w_sqrtl.c: Likewise.
52958         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52959         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52960         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52961         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52962         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52964 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52966         [BZ #9739]
52967         * manual/string.texi (strnlen): Use correct parameter name in
52968         equivalent expression.
52970 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52972         [BZ #11174]
52973         * manual/users.texi (seteuid): Consistently use neweuid for
52974         argument name.
52976 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52978         [BZ #13704]
52979         * manual/nss.texi (Services in the NSS configuration): Correct
52980         list of services in example configuration file.
52982 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
52984         [BZ #11322]
52985         * manual/arith.texi: Remove statements about negative zero
52986         behaving identically to zero.
52988 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52990         [BZ #5993]
52991         * manual/install.texi: Do not document upgrading from libc5.
52993 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52995         [BZ #4596]
52996         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52998 2012-02-18  David S. Miller  <davem@davemloft.net>
53000         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53001         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53002         %o7 across the call.
53003         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53004         instead.
53005         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53006         SETUP_PIC_REG_LEAF.
53007         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53008         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53009         * sysdeps/sparc/crtn.S: Likewise.
53011 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
53013         * aout/Makefile: Remove.
53015 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
53017         [BZ #13058]
53018         * manual/examples/argp-ex1.c (main): Format definition in GNU
53019         style.
53020         * manual/examples/argp-ex2.c (main): Likewise.
53021         * manual/examples/argp-ex3.c (main): Likewise.
53022         * manual/examples/argp-ex4.c (main): Likewise.
53023         * manual/examples/longopt.c (main): Use new-style prototype
53024         definition.
53025         * manual/examples/strncat.c (main): Specify return type and use
53026         (void) for arguments.
53027         * manual/examples/subopt.c (main): Use char **argv argument.
53029 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53031         [BZ #5077]
53032         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53033         rounding modes.
53035 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
53037         [BZ #6907]
53038         * manual/string.texi (strchr): Change when strchrnul is
53039         recommended.
53041 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
53043         [BZ #174]
53044         * manual/locale.texi (setlocale): Document LOCPATH.
53046 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53048         [BZ #10210]
53049         * manual/process.texi (execle): Move @dots{} before last argument.
53051 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
53053         [BZ #12047]
53054         * manual/charset.texi (Generic Charset Conversion): Fix typo
53055         (LC_TYPE -> LC_CTYPE).
53057 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
53059         [BZ #5805]
53060         * manual/arith.texi (scalbn): Use @var{} on parameter names.
53061         (scalbnf): Likewise.
53062         (scalbnl): Likewise.
53063         (scalbln): Likewise.
53064         (scalblnf): Likewise.
53065         (scalblnl): Likewise.
53066         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53067         (vwarnx): Likewise.
53068         (verr): Likewise.
53069         (verrx): Likewise.
53070         * manual/filesys.texi (telldir): Use braces around return type.
53071         * manual/llio.texi (mmap): Add space after comma.
53072         (mmap64): Likewise.
53073         * manual/math.texi (jn): Use @var{} on parameter names.
53074         (jnf): Likewise.
53075         (jnl): Likewise.
53076         (yn): Likewise.
53077         (ynf): Likewise.
53078         (ynl): Likewise.
53079         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53080         line.
53081         * manual/resource.texi (ulimit): Use @dots{} instead of literal
53082         "...".
53083         (sched_get_priority_min): Remove semicolon on @deftypefun line.
53084         (sched_get_priority_max): Likewise.
53085         * manual/signal.texi (sigvec): Add space after comma.
53086         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53087         names.
53088         (if_indextoname): Likewise.
53089         (if_freenameindex): Likewise.
53090         (sendto): Use ',' instead of '.' in prototype.
53091         * manual/startup.texi (syscall): Use @dots{} instead of literal
53092         "...".
53093         * manual/stdio.texi (__fpending): Separate initial words of
53094         paragraph from @deftypefun line.
53095         * manual/syslog.texi (syslog): Use @dots{} instead of literal
53096         "...".
53097         (vsyslog): Use @var{} on parameter names.
53098         * manual/terminal.texi (stty): Use @var{} on parameter names.
53099         * manual/users.texi (getutmp): Use @var{} on parameter names.
53100         (getutmpx): Likewise.
53102 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53104         [BZ #6884]
53105         * manual/stdio.texi (fopen): Fix typos in description of
53106         ",ccs=STRING".
53108 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
53110         [BZ #4026]
53111         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53112         get clock_id definition.
53114 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
53116         [BZ #4822]
53117         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53118         (madvise): Cast every argument to void on its own.
53120 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53122         [BZ #9902]
53123         * manual/startup.texi (Exit Status): Fix typo.
53125 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53127         [BZ #10140]
53128         * manual/examples/argp-ex1.c: Include <stdlib.h>.
53129         * manual/examples/argp-ex2.c: Likewise.
53130         * manual/examples/argp-ex3.c: Likewise.
53132 2012-02-16  Richard Henderson  <rth@redhat.com>
53134         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53135         * sysdeps/s390/s390-32/initfini.c: Remove.
53136         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53137         * sysdeps/s390/s390-64/initfini.c: Remove.
53139 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53141         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53142         compiler output for sysdeps/generic/initfini.c.
53143         * sysdeps/sh/elf/initfini.c: Remove file.
53145 2012-02-16  David S. Miller  <davem@davemloft.net>
53147         [BZ #11494]
53148         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53150         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53151         * sysdeps/sparc/crti.S: New file.
53152         * sysdeps/sparc/crtn.S: New file.
53153         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53154         * sysdeps/sparc/sparc64/Makefile: Likewise.
53156 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
53158         [BZ #3335]
53159         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53161 2012-02-15  Roland McGrath  <roland@hack.frob.com>
53163         [BZ #4822]
53164         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53166         * mach/devstream.c (cookie_io_functions_t): Macro removed.
53167         (write, read, close): Likewise.
53168         Patch by Aurelien Jarno <aurelien@aurel32.net>.
53170 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
53172         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53173         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53174         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53175         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53176         <bits/signalfd.h>.
53177         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53178         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53179         bits/signalfd.h.
53181 2012-02-14  Marek Polacek  <polacek@redhat.com>
53183         * sysdeps/x86_64/crti.S: New file.
53184         * sysdeps/x86_64/crtn.S: New file.
53185         * sysdeps/x86_64/elf/initfini.c: Remove file.
53187 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53189         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53190         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53191         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53192         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53193         <bits/inotify.h>.
53194         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53195         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53196         bits/inotify.h.
53198 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53200         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53201         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53202         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53203         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53204         <bits/eventfd.h>.
53205         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53206         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53207         bits/eventfd.h.
53209 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
53211         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53212         __feraiseexcept instead of feraiseexcept.
53214         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53215         nanosleep invocations.
53216         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53217         strings, and add error checking for a nanosleep invocations.
53219 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
53221         Replace FSF snail mail address with URLs, as per GNU coding standards.
53222         Most of the snail mail addresses were wrong anyway, and omitting
53223         them makes the source code easier to maintain.  Almost all of the
53224         changes are to license notices and to locale LC_IDENTIFICATION
53225         addresses, except for this one:
53226         * manual/libc.texinfo: In "Published by", give the FSF's URL,
53227         not its snail mail address.
53229 2012-02-09  Richard Henderson  <rth@twiddle.net>
53231         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53232         of kernel-features.h.
53234         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53236 2012-02-08  Marek Polacek  <polacek@redhat.com>
53238         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53239         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53240         * sysdeps/gnu/_G_config.h: Likewise.
53241         * sysdeps/generic/_G_config.h: Likewise.
53243 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
53245         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53246         tests.
53247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53249         * sysdeps/powerpc/powerpc32/crti.S: New file.
53250         * sysdeps/powerpc/powerpc32/crtn.S: New file.
53251         * sysdeps/powerpc/powerpc64/crti.S: New file.
53252         * sysdeps/powerpc/powerpc64/crtn.S: New file.
53254         * Makeconfig (have-initfini): Don't set.
53255         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53256         * configure.in (nopic_initfini): Don't substitute.
53257         * config.h.in (HAVE_INITFINI): Don't #undef.
53258         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53259         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53261 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
53263         Support crti.S and crtn.S provided directly by architectures.
53264         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53265         [crti.S in sysdirs] (omit-deps): Likewise.
53266         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53267         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53268         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53269         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53270         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53271         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53272         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53273         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53274         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53275         compiler output for sysdeps/generic/initfini.c.
53276         * sysdeps/i386/elf/Makefile: Remove file.
53277         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53279 2012-02-07  Marek Polacek  <polacek@redhat.com>
53281         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53282         * sysdeps/gnu/_G_config.h: Likewise.
53283         * sysdeps/mach/hurd/_G_config.h: Likewise.
53285 2012-02-07  Marek Polacek  <polacek@redhat.com>
53287         * math/Makefile (tests): Add tst-CMPLX2.
53288         * math/tst-CMPLX2.c: New file.
53290 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
53292         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53294         * math/libm-test.inc (jn_test): Add missing L suffix.
53296 2012-02-06  Marek Polacek  <polacek@redhat.com>
53298         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53299         * sysdeps/i386/fpu/e_powf.S: Likewise.
53300         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53301         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53302         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53303         * sysdeps/i386/fpu/e_pow.S: Likewise.
53304         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53305         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53306         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53307         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53308         * sysdeps/i386/fpu/e_log2.S: Likewise.
53309         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53310         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53311         * sysdeps/i386/fpu/e_powl.S: Likewise.
53312         * sysdeps/i386/fpu/s_log1p.S: Likewise.
53313         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53314         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53315         * sysdeps/i386/fpu/e_logl.S: Likewise.
53316         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53317         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53318         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53319         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53320         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53321         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53322         * sysdeps/i386/fpu/e_log.S: Likewise.
53323         * sysdeps/i386/fpu/s_cexp.S: Likewise.
53324         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53325         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53326         * sysdeps/i386/fpu/e_logf.S: Likewise.
53327         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53328         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53329         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53330         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53331         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53332         * sysdeps/i386/fpu/e_log10.S: Likewise.
53333         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53334         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53335         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53336         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53337         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53338         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53339         * sysdeps/i386/asm-syntax.h: Likewise.
53340         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53341         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53342         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53343         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53344         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53345         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53346         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53347         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53348         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53349         * sysdeps/powerpc/sysdep.h: Likewise.
53350         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53351         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53353 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53355         [BZ #411]
53356         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53358 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53360         * sysdeps/i386/sysdep.h: Include <features.h>.
53361         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53362         version.
53364 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
53366         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53367         Define.
53368         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53369         LOAD_PIC_REG_STR.
53371 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53373         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53374         (SETUP_PIC_REG): Use GET_PC_THUNK.
53375         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53376         macro.
53378 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53380         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53381         for non-PIC compilation.
53382         (SETUP_PIC_REG): Add .p2align directive.
53383         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53384         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53385         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53386         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53387         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53388         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53389         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53390         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53391         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53392         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53393         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53394         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53395         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53396         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53397         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53398         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53399         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53400         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53401         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53402         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53403         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53404         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53405         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53406         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53407         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53408         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53409         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53410         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53411         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53412         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53413         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53414         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53415         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53416         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53417         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53418         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53419         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53420         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53421         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53422         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53423         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53425 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53427         * math/tst-CMPLX.c: Include <stdio.h>.
53429 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
53431         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53432         float.
53433         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53434         * sysdeps/sparc/bits/mathdef.h: Likewise.
53436 2012-01-31  Marek Polacek  <polacek@redhat.com>
53438         * libio/libio.h: Don't define _PARAMS.
53439         * locale/programs/config.h: Don't define PARAMS.
53440         * stdlib/strtol_l.c: Likewise.
53441         (__strtol_l): Remove PARAMS from the prototype.
53443 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
53445         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
53446         names.  Just use the correct names.  Remove unnecessary wrapper
53447         functions.
53448         * malloc/arena.c: Likewise.
53449         * malloc/hooks.c: Likewise.
53451         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53452         ARENA_TEST says not to.  Simplify test for creation of a new arena.
53453         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53455 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
53457         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53458         into tail calls.
53459         (update_get_addr): New function.
53460         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53461         GET_ADDR_MODULE parameter.
53463 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53465         * crypt/cert.c: Remove __STDC__ conditionals.
53466         * crypt/crypt-entry.c: Likewise.
53467         * crypt/crypt_util.c: Likewise.
53468         * libio/filedoalloc.c: Likewise.
53469         * libio/fileops.c: Likewise.
53470         * libio/genops.c: Likewise.
53471         * libio/iofclose.c: Likewise.
53472         * libio/iofdopen.c: Likewise.
53473         * libio/iofopen.c: Likewise.
53474         * libio/iofopen64.c: Likewise.
53475         * libio/iogetdelim.c: Likewise.
53476         * libio/iopopen.c: Likewise.
53477         * libio/obprintf.c: Likewise.
53478         * libio/oldfileops.c: Likewise.
53479         * libio/oldiofclose.c: Likewise.
53480         * libio/oldiofdopen.c: Likewise.
53481         * libio/oldiofopen.c: Likewise.
53482         * libio/oldiopopen.c: Likewise.
53483         * libio/wfiledoalloc.c: Likewise.
53484         * libio/wgenops.c: Likewise.
53485         * locale/programs/xmalloc.c: Likewise.
53486         * misc/syslog.c: Likewise.
53487         * stdio-common/xbug.c: Likewise.
53488         * string/memchr.c: Likewise.
53489         * string/memcmp.c: Likewise.
53490         * string/memrchr.c: Likewise.
53491         * string/rawmemchr.c: Likewise.
53492         * sysdeps/posix/getcwd.c: Likewise.
53493         * time/strftime_l.c: Likewise.
53495 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53497         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53498         * config.make.in (config-cflags-sse2avx): Define.
53499         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53500         Fix typo.
53502 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
53504         * scripts/config.guess: Update from upstream config git repository.
53505         * scripts/config.sub: Likewise.
53507 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
53509         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53510         (EM_NUM): Update.
53511         (R_TILEPRO_*, R_TILEGX_*): New macros.
53513         * scripts/firstversions.awk: Fix bug in version range handling.
53515         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53517         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53519         * include/sys/epoll.h: New file.
53520         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53521         libc_hidden_def.
53523 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
53525         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53526         Avoid unnecessary __WORDSIZE == 64 test.
53527         (fmaxf): Use VEX format if possible.
53528         (fmax): Likewise.
53529         (fminf): Likewise.
53530         (fmin): Likewise.
53532         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53533         * math/math_private.h: Remove libc_fegetround* and
53534         libc_fesetround*.
53535         * sysdeps/i386/configure.in: Check for -msse2avx.
53536         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53537         also if SSE2AVX is defined.
53538         Remove libc_fegetround* and libc_fesetround*.
53539         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53540         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
53541         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53542         of HAS_YMM_USABLE.
53543         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53544         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53545         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53546         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53547         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53549         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53551 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53553         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53554         size is not set.
53555         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53557 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
53559         [BZ #13618]
53560         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53561         relocation.
53562         * Makeconfig (libm): Define.
53563         * elf/Makefile: Add rules to build and run tst-relsort1.
53564         * elf/tst-relsort1.c: New file.
53565         * elf/tst-relsort1mod1.c: New file.
53566         * elf/tst-relsort1mod2.c: New file.
53568 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
53570         * math/s_ldexp.c: Remove __STDC__ conditionals.
53571         * math/s_ldexpf.c: Likewise.
53572         * math/s_ldexpl.c: Likewise.
53573         * math/s_nextafter.c: Likewise.
53574         * math/s_nexttowardf.c: Likewise.
53575         * math/s_significand.c: Likewise.
53576         * math/s_significandf.c: Likewise.
53577         * math/s_significandl.c: Likewise.
53578         * math/w_jnl.c: Likewise.
53579         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53580         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53581         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53582         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53583         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53584         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53585         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53586         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53587         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53588         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53589         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53590         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53591         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53592         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53593         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53594         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53595         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53596         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53597         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53598         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53599         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53600         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53601         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53602         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53603         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53604         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53605         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53606         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53607         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53608         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53609         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53610         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53611         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53612         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53613         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53614         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53615         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53616         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53617         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53618         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53619         * sysdeps/ieee754/k_standard.c: Likewise.
53620         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53621         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53622         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53623         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53624         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53625         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53626         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53627         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53628         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53629         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53630         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53631         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53632         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53633         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53634         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53635         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53636         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53637         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53638         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53639         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53640         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53641         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53642         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53643         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53644         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53645         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53646         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53647         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53648         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53649         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53650         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53651         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53652         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53653         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53654         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53655         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53656         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53657         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53658         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53659         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53660         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53661         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53662         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53663         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53664         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53665         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53666         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53667         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53668         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53669         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53670         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53671         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53672         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53673         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53674         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53675         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53676         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53677         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53678         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53679         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53680         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53681         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53682         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53683         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53684         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53685         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53686         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53687         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53688         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53689         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53690         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53691         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53692         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53693         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53694         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53695         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53696         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53697         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53698         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53699         * sysdeps/ieee754/s_matherr.c: Likewise.
53700         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53701         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53702         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53703         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53705 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53707         * crypt/md5.h: Remove __STDC__ conditionals.
53708         * libio/libioP.h: Likewise.
53709         * locale/programs/config.h: Likewise.
53710         * sysdeps/generic/sysdep.h: Likewise.
53711         * sysdeps/i386/asm-syntax.h: Likewise.
53712         * sysdeps/s390/asm-syntax.h: Likewise.
53713         * sysdeps/unix/sysdep.h: Likewise.
53714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53717 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53719         * libio/libio.h: Remove __STDC__ conditionals.
53720         * malloc/obstack.h: Likewise.
53721         * math/complex.h: Likewise.
53722         * math/math.h: Likewise.
53723         * sysdeps/generic/_G_config.h: Likewise.
53724         * sysdeps/gnu/_G_config.h: Likewise.
53725         * sysdeps/mach/hurd/_G_config.h: Likewise.
53726         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53727         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53728         * sysdeps/sparc/bits/mathdef.h: Likewise.
53730 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
53732         [BZ #13583]
53733         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53734         Clean up HAS_* macros.
53735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53736         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53737         possible.
53738         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53739         HAS_AVX.
53740         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53741         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53742         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53743         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53744         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53746 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
53748         * elf/tst-unique3.cc (gets): Remove declaration.
53749         * elf/tst-unique3lib.cc (gets): Likewise.
53750         * elf/tst-unique3lib2.cc (gets): Likewise.
53751         * elf/tst-unique4.cc (gets): Likewise.
53753 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
53755         * include/stdio.h: Add C++ protection.  Add gets declarations and
53756         definitions.
53757         * debug/tst-chk1.c: Don't declare gets here.
53758         * stdio-common/tst-gets.c: Likewise.
53760 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53762         * posix/glob: Remove directory.
53764 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53766         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53768 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
53770         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53771         of the non-standard EPFNOSUPPORT.
53773 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53775         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53776         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53777         ANYWHERE set to 1 only on KERN_NO_SPACE error.
53779 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
53781         * wcsmbs/uchar.h: Test __STDC_VERSION__.
53783 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
53785         * nscd/aicache.c (addhstaiX): Do not cache negative results of
53786         transient errors.
53787         * nscd/grpcache.c (cache_addgr): Likewise.
53788         * nscd/hstcache.c (cache_addhst): Likewise.
53789         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53790         * nscd/pwdcache.c (cache_addpw): Likewise.
53791         * nscd/servicescache.c (cache_addserv): Likewise.
53793 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
53795         * malloc/malloc.c: Various cleanups.
53796         * malloc/hooks.c: Likewise.
53798         * stdlib/Makefile (tests): Add bug-fmtmsg1.
53799         * stdlib/bug-fmtmsg1.c: New file.
53801         * stdlib/fmtmsg.c (init): Add missing unlock.
53802         Patch by Peng Haitao <penght@cn.fujitsu.com>.
53804 2012-01-12  Marek Polacek  <polacek@redhat.com>
53806         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53807         and _GNU_SOURCE.
53809 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53811         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53812         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53813         macro to ensure uniqueness of label name.
53814         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53815         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53817 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
53819         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53821         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53822         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53823         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53824         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53826 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
53828         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53830         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53831         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53832         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53834         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53836         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53837         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53838         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53839         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53841         * math/bits/math-finite.h: Add ldexp support.
53843 2012-01-10  Marek Polacek  <polacek@redhat.com>
53845         * locale/programs/localedef.h (show_archive_content): Add noreturn
53846         attribute.
53848 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
53850         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53852 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53854         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53856         * io/Makefile (headers): Add bits/poll2.h.
53858 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
53860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53861         typo #include statement.
53863 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53865         * include/sys/cdefs.h: Define __attribute_alloc_size.
53866         * catgets/gencat.c: Add alloc_size attribute and apply consistently
53867         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53868         * elf/pldd.c: Likewise.
53869         * iconv/iconv_charmap.c: Likewise.
53870         * iconv/iconvconfig.c: Likewise.
53871         * iconv/strtab.c: Likewise.
53872         * locale/programs/locale.c: Likewise.
53873         * locale/programs/localedef.h: Likewise.
53874         * locale/programs/simple-hash.c: Likewise.
53875         * nscd/nscd.h: Likewise.
53876         * nss/makedb.c: Likewise.
53877         * sysdeps/generic/ldconfig.h: Likewise.
53878         * locale/programs/localedef.c: Remove xmalloc prototype.
53879         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53881 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53883         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53884         appropriate.
53886 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53888         * math/Makefile (tests): Add tst-CMPLX.
53889         * math/tst-CMPLX.c: New file.
53891         * math/complex.h (CMPLXL): Fix typo.
53893         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53894         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53895         GLIBC_2.16.
53896         * debug/tst-chk1.c: Add poll and ppoll tests.
53897         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53898         * include/sys/poll.h: Add hidden proto for ppoll.
53899         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53900         * sysdeps/mach/hurd/ppoll.c: Likewise.
53901         * io/ppoll.c: Likewise.
53902         * debug/poll_chk.c: New file.
53903         * debug/ppoll_chk.c: New file.
53904         * include/bits/poll2.h: New file.
53905         * io/bits/poll2.h: New file.
53907         [BZ #1350]
53908         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53910         * configure.in: static is always set to yes.  Remove.
53911         * config.make.in: Don't set build-static.
53912         * Makeconfig: Remove use of build-static.
53913         * dlfcn/Makefile: Likewise.
53914         * elf/Makefile: Likewise.
53915         * math/Makefile: Likewise.
53916         * misc/Makefile: Likewise.
53917         * nptl/Makefile: Likewise.
53918         * sysdeps/mach/hurd/Makefile: Likewise.
53920         * configure.in: PWD_P is not used anymore.
53921         * config.make.in: Remove PWD_P entry.
53923         * configure.in: Remove last remnants of RANLIB.
53924         No need to check for signed size_t anymore.
53925         Don't set libc_commonpagesize and libc_relro_required here for Alpha
53926         and IA-64.
53927         Remove __builtin_expect test because we require at least gcc 3.4.
53928         * aclocal.m4: Likewise.
53930         * wcsmbs/mbrtoc16.c: Implement using towc function.
53931         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53932         * wcsmbs/wcsmbsload.c: Likewise.
53933         * iconv/gconv_simple.c: Likewise.
53934         * iconv/gconv_int.h: Likewise.
53935         * iconv/gconv_builtin.h: Likewise.
53936         * iconv/iconv_prog.c: Remove CHAR16 handling.
53938         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53940         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53942         * configure.in: Remove --with-elf and --enable-bounded options.
53943         Dont set base_machine for ia64.  More non-ELF conditions removed.
53944         Remove testing and setting of leading underscore information.
53945         * config.make.in (build-bounded): Set to no.
53946         * config.h.in: Remove NO_UNDERSCORES entry.
53947         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
53948         them.
53949         * csu/start.c: Remove !NO_UNDERSCORE code.
53950         * locale/localeinfo.h: Likewise.
53951         * sysdeps/generic/machine-gmon.h: Likewise.
53952         * sysdeps/generic/sysdep.h: Likewise.
53953         * sysdeps/i386/sysdep.h: Likewise.
53954         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53955         * sysdeps/mach/sysdep.h: Likewise.
53956         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53957         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53958         * sysdeps/sh/sysdep.h: Likewise.
53959         * sysdeps/sparc/sparc32/alloca.S: Likewise.
53960         * sysdeps/unix/i386/sysdep.S: Likewise.
53961         * sysdeps/unix/sparc/start.c: Likewise.
53962         * sysdeps/unix/sparc/sysdep.S: Likewise.
53963         * sysdeps/unix/sparc/sysdep.h: Likewise.
53964         * sysdeps/unix/start.c: Likewise.
53965         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53966         * sysdeps/x86_64/sysdep.h: Likewise.
53968 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
53970         [BZ #13553]
53971         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53972         for non-gcc.
53973         * argp/argp-fmtstream.h: Use const instead __const.
53974         * argp/argp.h: Likewise.
53975         * assert/assert.h: Likewise.
53976         * bits/fenv.h: Likewise.
53977         * bits/sched.h: Likewise.
53978         * bits/sigset.h: Likewise.
53979         * bits/sigthread.h: Likewise.
53980         * catgets/nl_types.h: Likewise.
53981         * conform/data/pthread.h-data: Likewise.
53982         * crypt/crypt-private.h: Likewise.
53983         * crypt/crypt.h: Likewise.
53984         * crypt/crypt_util.c: Likewise.
53985         * ctype/ctype.h: Likewise.
53986         * debug/execinfo.h: Likewise.
53987         * debug/mbsnrtowcs_chk.c: Likewise.
53988         * debug/mbsrtowcs_chk.c: Likewise.
53989         * debug/wcsnrtombs_chk.c: Likewise.
53990         * debug/wcsrtombs_chk.c: Likewise.
53991         * debug/wcstombs_chk.c: Likewise.
53992         * dirent/dirent.h: Likewise.
53993         * dlfcn/dlfcn.h: Likewise.
53994         * elf/neededtest4.c: Likewise.
53995         * grp/grp.h: Likewise.
53996         * gshadow/gshadow.h: Likewise.
53997         * iconv/gconv.h: Likewise.
53998         * iconv/gconv_int.h: Likewise.
53999         * iconv/gconv_simple.c: Likewise.
54000         * iconv/iconv.h: Likewise.
54001         * iconv/loop.c: Likewise.
54002         * iconv/skeleton.c: Likewise.
54003         * include/aio.h: Likewise.
54004         * include/aliases.h: Likewise.
54005         * include/argz.h: Likewise.
54006         * include/arpa/inet.h: Likewise.
54007         * include/assert.h: Likewise.
54008         * include/dirent.h: Likewise.
54009         * include/dlfcn.h: Likewise.
54010         * include/execinfo.h: Likewise.
54011         * include/fcntl.h: Likewise.
54012         * include/fenv.h: Likewise.
54013         * include/glob.h: Likewise.
54014         * include/grp.h: Likewise.
54015         * include/libintl.h: Likewise.
54016         * include/mntent.h: Likewise.
54017         * include/netdb.h: Likewise.
54018         * include/pwd.h: Likewise.
54019         * include/rpc/netdb.h: Likewise.
54020         * include/sched.h: Likewise.
54021         * include/search.h: Likewise.
54022         * include/shadow.h: Likewise.
54023         * include/signal.h: Likewise.
54024         * include/stdio.h: Likewise.
54025         * include/stdlib.h: Likewise.
54026         * include/string.h: Likewise.
54027         * include/sys/socket.h: Likewise.
54028         * include/sys/stat.h: Likewise.
54029         * include/sys/statfs.h: Likewise.
54030         * include/sys/statvfs.h: Likewise.
54031         * include/sys/syslog.h: Likewise.
54032         * include/sys/time.h: Likewise.
54033         * include/sys/uio.h: Likewise.
54034         * include/time.h: Likewise.
54035         * include/unistd.h: Likewise.
54036         * include/utmp.h: Likewise.
54037         * include/wchar.h: Likewise.
54038         * include/wctype.h: Likewise.
54039         * inet/aliases.h: Likewise.
54040         * inet/arpa/inet.h: Likewise.
54041         * inet/netinet/ether.h: Likewise.
54042         * inet/netinet/in.h: Likewise.
54043         * intl/libintl.h: Likewise.
54044         * io/bits/fcntl2.h: Likewise.
54045         * io/fcntl.h: Likewise.
54046         * io/ftw.h: Likewise.
54047         * io/sys/poll.h: Likewise.
54048         * io/sys/stat.h: Likewise.
54049         * io/sys/statfs.h: Likewise.
54050         * io/sys/statvfs.h: Likewise.
54051         * io/utime.h: Likewise.
54052         * libio/bits/stdio.h: Likewise.
54053         * libio/bits/stdio2.h: Likewise.
54054         * libio/libio.h: Likewise.
54055         * libio/libioP.h: Likewise.
54056         * libio/stdio.h: Likewise.
54057         * locale/lc-ctype.c: Likewise.
54058         * locale/locale.h: Likewise.
54059         * login/utmp.h: Likewise.
54060         * malloc/arena.c: Likewise.
54061         * malloc/malloc.c: Likewise.
54062         * malloc/malloc.h: Likewise.
54063         * malloc/mcheck.c: Likewise.
54064         * malloc/mtrace.c: Likewise.
54065         * math/bits/mathcalls.h: Likewise.
54066         * math/fenv.h: Likewise.
54067         * math/math_private.h: Likewise.
54068         * misc/bits/error.h: Likewise.
54069         * misc/bits/syslog.h: Likewise.
54070         * misc/err.h: Likewise.
54071         * misc/error.h: Likewise.
54072         * misc/fstab.h: Likewise.
54073         * misc/mntent.h: Likewise.
54074         * misc/regexp.h: Likewise.
54075         * misc/search.h: Likewise.
54076         * misc/sgtty.h: Likewise.
54077         * misc/sys/mman.h: Likewise.
54078         * misc/sys/syslog.h: Likewise.
54079         * misc/sys/uio.h: Likewise.
54080         * misc/sys/xattr.h: Likewise.
54081         * misc/ttyent.h: Likewise.
54082         * nis/rpcsvc/ypclnt.h: Likewise.
54083         * nss/nss.h: Likewise.
54084         * posix/bits/unistd.h: Likewise.
54085         * posix/fnmatch.h: Likewise.
54086         * posix/glob.h: Likewise.
54087         * posix/sched.h: Likewise.
54088         * posix/spawn.h: Likewise.
54089         * posix/sys/wait.h: Likewise.
54090         * posix/unistd.h: Likewise.
54091         * posix/wordexp.h: Likewise.
54092         * pwd/pwd.h: Likewise.
54093         * resolv/netdb.h: Likewise.
54094         * resource/sys/resource.h: Likewise.
54095         * rt/aio.h: Likewise.
54096         * rt/bits/mqueue2.h: Likewise.
54097         * rt/mqueue.h: Likewise.
54098         * shadow/shadow.h: Likewise.
54099         * signal/signal.h: Likewise.
54100         * socket/send.c: Likewise.
54101         * socket/sendto.c: Likewise.
54102         * socket/sys/socket.h: Likewise.
54103         * stdio-common/printf.h: Likewise.
54104         * stdlib/bits/stdlib.h: Likewise.
54105         * stdlib/fmtmsg.h: Likewise.
54106         * stdlib/monetary.h: Likewise.
54107         * stdlib/stdlib.h: Likewise.
54108         * stdlib/ucontext.h: Likewise.
54109         * streams/stropts.h: Likewise.
54110         * string/argz.h: Likewise.
54111         * string/bits/string2.h: Likewise.
54112         * string/string.h: Likewise.
54113         * string/strings.h: Likewise.
54114         * sunrpc/rpc/auth.h: Likewise.
54115         * sunrpc/rpc/auth_des.h: Likewise.
54116         * sunrpc/rpc/clnt.h: Likewise.
54117         * sunrpc/rpc/netdb.h: Likewise.
54118         * sunrpc/rpc/pmap_clnt.h: Likewise.
54119         * sunrpc/rpc/xdr.h: Likewise.
54120         * sysdeps/generic/inttypes.h: Likewise.
54121         * sysdeps/generic/net/if.h: Likewise.
54122         * sysdeps/generic/sys/swap.h: Likewise.
54123         * sysdeps/gnu/net/if.h: Likewise.
54124         * sysdeps/gnu/utmpx.h: Likewise.
54125         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54126         * sysdeps/i386/i486/bits/string.h: Likewise.
54127         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54128         * sysdeps/s390/bits/string.h: Likewise.
54129         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54130         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54131         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54132         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54133         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54134         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54135         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54136         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54137         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54138         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54139         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54140         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54141         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54142         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54143         * sysdeps/unix/sysv/linux/readv.c: Likewise.
54144         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54145         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54147         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54148         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54149         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54150         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54151         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54152         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54153         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54154         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54155         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54156         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54157         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54158         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54159         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54160         * sysvipc/sys/ipc.h: Likewise.
54161         * sysvipc/sys/msg.h: Likewise.
54162         * sysvipc/sys/sem.h: Likewise.
54163         * sysvipc/sys/shm.h: Likewise.
54164         * termios/termios.h: Likewise.
54165         * time/sys/time.h: Likewise.
54166         * time/time.h: Likewise.
54167         * wcsmbs/bits/wchar2.h: Likewise.
54168         * wcsmbs/uchar.h: Likewise.
54169         * wcsmbs/wchar.h: Likewise.
54170         * wctype/wctype.h: Likewise.
54172         [BZ #13551]
54173         * Makeconfig: Remove all but ELF support including AIX support.
54174         * Makerules: Likewise.
54175         * config.h.in: Likewise.
54176         * config.make.in: Likewise.
54177         * configure: Likewise.
54178         * configure.in: Likewise.
54179         * csu/Makefile: Likewise.
54180         * csu/version.c: Likewise.
54181         * debug/Makefile: Likewise.
54182         * dlfcn/Makefile: Likewise.
54183         * elf/Makefile: Likewise.
54184         * extra-lib.mk: Likewise.
54185         * iconv/Makefile: Likewise.
54186         * include/libc-symbols.h: Likewise.
54187         * include/shlib-compat.h: Likewise.
54188         * resolv/Makefile: Likewise.
54189         * resolv/res_libc.c: Likewise.
54190         * rt/Makefile: Likewise.
54191         * sysdeps/i386/asm-syntax.h: Likewise.
54192         * sysdeps/i386/sysdep.h: Likewise.
54193         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54194         * sysdeps/mach/sysdep.h: Likewise.
54195         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54196         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54197         * sysdeps/s390/asm-syntax.h: Likewise.
54198         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54199         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54200         * sysdeps/sh/sysdep.h: Likewise.
54201         * sysdeps/unix/sparc/sysdep.h: Likewise.
54202         * sysdeps/wordsize-32/divdi3.c: Likewise.
54203         * sysdeps/x86_64/sysdep.h: Likewise.
54205         * argp/Versions: Remove _argp_unlock_xxx.
54207         [BZ #13559]
54208         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
54209         * abilist/libBrokenLocale.abilist: Likewise.
54210         * abilist/libanl.abilist: Likewise.
54211         * abilist/libc.abilist: Likewise.
54212         * abilist/libcrypt.abilist: Likewise.
54213         * abilist/libdl.abilist: Likewise.
54214         * abilist/libm.abilist: Likewise.
54215         * abilist/libnsl.abilist: Likewise.
54216         * abilist/libpthread.abilist: Likewise.
54217         * abilist/libresolv.abilist: Likewise.
54218         * abilist/librt.abilist: Likewise.
54219         * abilist/libthread_db.abilist: Likewise.
54220         * abilist/libutil.abilist: Likewise.
54221         * abilist/libnss_db.abilist: New file.
54223         * scripts/abilist.awk: Add support for indirect functions.
54225         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54227         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54229         * shlib-versions: Remove entries for ports architectures.
54231         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
54232         files in ports.
54233         * elf/stackguard-macros.h: Remove support for IA-64.
54234         * elf/tst-auditmod1.c: Likewise.
54235         * sysdeps/generic/ldsodefs.h: Likewise.
54237         * sysdeps/unix/sysv/linux/configure.in: Ports should define
54238         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54239         configure files.
54241         [BZ #13552]
54242         * configure.in: Remove --enable-omitfp support.
54243         * FAQ.in: Adjust.
54244         * config.make.in: Likewise.
54245         * Makeconfig: Likewise.
54246         * manual/install.texi: Likewise.
54248         In case anyone cares, the IA-64 architecture could move to ports.
54249         * sysdeps/ia64/*: Removed.
54250         * sysdeps/unix/sysv/linux/ia64/*: Removed.
54251         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54253         [BZ #13555]
54254         * configure.in: Remove entries for unsupported architectures.
54256         [BZ #13533]
54257         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54258         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
54259         routines.
54260         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54261         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54262         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
54263         fall back to using wcrtomb.
54264         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54265         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
54266         renaming.
54267         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54268         * wcsmbs/tst-c16c32-1.c: New file.
54270         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54271         local variable.
54273         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54275         * elf/tst-unique3.cc: Add explicit declaration of gets.
54276         * elf/tst-unique3lib.cc: Likewise.
54277         * elf/tst-unique3lib2.cc: Likewise.
54278         * elf/tst-unique4.cc: Likewise.
54280         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54282 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
54284         [BZ #13566]
54285         * assert/assert.h (static_assert): Don't define for C++.
54286         * libio/stdio.h (gets): Do declare for C++ <= C++11.
54287         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54289 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
54291         * iconv/loop.c (single loop): Fix assertion in storing of
54292         remaining bytes.
54294         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54296 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
54298         * posix/getconf.c: Update copyright year.
54299         * nss/getent.c: Likewise.
54300         * nss/makedb.c: Likewise.
54301         * iconv/iconvconfig.c: Likewise.
54302         * iconv/iconv_prog.c: Likewise.
54303         * elf/ldconfig.c: Likewise.
54304         * elf/pldd.c: Likewise.
54305         * elf/sotruss.ksh: Likewise.
54306         * catgets/gencat.c: Likewise.
54307         * csu/version.c: Likewise.
54308         * elf/ldd.bash.in: Likewise.
54309         * elf/sprof.c (print_version): Likewise.
54310         * locale/programs/locale.c: Likewise.
54311         * locale/programs/localedef.c: Likewise.
54312         * login/programs/pt_chown.c: Likewise.
54313         * nscd/nscd.c (print_version): Likewise.
54314         * debug/xtrace.sh: Likewise.
54315         * malloc/memusage.sh: Likewise.
54316         * malloc/mtrace.pl: Likewise.
54317         * debug/catchsegv.sh: Likewise.
54319 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
54321         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54322         pure attribute.
54324 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
54326         [BZ #13533]
54327         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54328         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54329         transformations.
54330         * iconv/gconv_int.h: Likewise.
54331         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54332         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54333         from libc for GLIBC_2.16.
54334         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54335         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54336         * wcsmbs/uchar.h: Really define mbstate_t.
54337         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54338         * wcsmbs/c16rtomb.c: New file.
54339         * wcsmbs/mbrtoc16.c: New file.
54340         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54341         for C/POSIX locale.
54342         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54343         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54345         * wcsmbs/wchar.h: Add missing __restrict.
54347 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54349         [BZ #13532]
54350         * time/Makefile (routines): Add timespec_get.
54351         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54352         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
54353         timespec for ISO C11.
54354         * time/timespec_get.c: New file.
54355         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54356         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54358         [BZ #13531]
54359         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54360         * stdlib/stdlib.h: Declare aligned_alloc.
54361         * Versions.def: Add GLIBC_2.16 for libc.
54362         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54364         [BZ 13527]
54365         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54366         ISO C11.
54368         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54369         code.
54371         [BZ #13528]
54372         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54374         [BZ #13529]
54375         * assert/assert.h (static_assert): Define.
54377         * version.h: Update for 2.16 development version.
54379         [BZ #13526]
54380         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54381         _ISOC11_SOURCE.
54383         * version.h (RELEASE): Bump for 2.15 release.
54384         * include/features.h (__GLIBC_MINOR__): Bump to 15.
54386         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54387         Patch by Marek Polacek <mpolacek@redhat.com>.
54389         * bits/byteswap.h: Protect long long constants with __extension__.
54390         * sysdeps/i386/bits/byteswap.h: Likewise.
54391         * sysdeps/ia64/bits/byteswap.h: Likewise.
54392         * sysdeps/s390/bits/byteswap.h: Likewise.
54393         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54395 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54397         [BZ #13540]
54398         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54399         destination buffer.
54400         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54402 2011-12-23  Marek Polacek  <polacek@redhat.com>
54404         * elf/dl-addr.c (determine_info): Add inline keyword.
54405         * elf/tst-auditmod4b.c (check_avx): Likewise.
54406         * elf/tst-auditmod6b.c (check_avx): Likewise.
54407         * elf/tst-auditmod6c.c (check_avx): Likewise.
54408         * elf/tst-auditmod7b.c (check_avx): Likewise.
54410 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54412         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54413         !__SSE_MATH__.
54415 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54417         [BZ #13540]
54418         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54419         processing for last bytes.
54421 2011-08-06  Bruno Haible  <bruno@clisp.org>
54423         [BZ #13061]
54424         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54425         U+0385, not to U+1FEE.
54427         [BZ #13062]
54428         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54429         entry for U+00A5 U+0301.
54431 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54433         [BZ #13166]
54434         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54435         buffer for the output is too small.
54437         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54438         optimization.
54440         [BZ #13185]
54441         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54442         SSE flags if possible.
54444 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54446         [BZ #13540]
54447         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54448         processing for last bytes.
54450 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
54452         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54453         (syscall-list-default-options, syscall-list-default-condition)
54454         (syscall-list-includes): Define.
54455         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54456         list of ABIs and options and #if conditions for each ABI.  Do not
54457         handle common syscalls between ABIs specially.
54458         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54459         Remove.
54460         (syscall-list-variants, syscall-list-32bit-options)
54461         (syscall-list-32bit-condition, syscall-list-64bit-options)
54462         (syscall-list-64bit-condition): Define.
54463         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54464         (syscall-list-variants, syscall-list-32bit-options)
54465         (syscall-list-32bit-condition, syscall-list-64bit-options)
54466         (syscall-list-64bit-condition): Define.
54467         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54468         Remove.
54469         (syscall-list-variants, syscall-list-32bit-options)
54470         (syscall-list-32bit-condition, syscall-list-64bit-options)
54471         (syscall-list-64bit-condition): Define.
54472         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54473         Remove.
54474         (syscall-list-variants, syscall-list-32bit-options)
54475         (syscall-list-32bit-condition, syscall-list-64bit-options)
54476         (syscall-list-64bit-condition): Define.
54478 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54480         * locale/iso-639.def: Add brx entry.
54482         [BZ #13328]
54483         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54484         Proposed by Mariusz_Cukr <marcukr@op.pl>.
54486         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54487         __feraiseexcept_renamed.
54489 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54491         [BZ #13538]
54492         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54493         EPOLLET with unsigned values.
54494         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54495         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54497         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54498         to large cancellation.
54499         * math/s_cacoshf.c: Likewise.
54500         * math/s_cacoshl.c: Likewise.
54502 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
54504         [BZ #13305]
54505         [BZ #12786]
54506         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54507         * math/s_cacoshf.c: Likewise.
54508         * math/s_cacoshl.c: Likewise.
54510 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54512         [BZ #13439]
54513         * iconv/gconv.h: Define __GCONV_SWAP.
54514         * iconvdata/unicode.c: The swap bit must be stored in __flags.
54515         * iconvdata/utf-16.c: Likewise.
54516         * iconvdata/utf-32.c: Likewise.
54518 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
54520         [BZ #13524]
54521         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54522         numerator after shifting it by one limb.
54524 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
54526         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54527         under [__USE_EXTERN_INLINES].
54529 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54531         [BZ #13446]
54532         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54534 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54536         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54537         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54538         optimized code.
54539         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54540         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54541         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54542         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54543         for strncasecmp/strncasecmp_l compilation.
54544         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54545         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54547 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
54549         [BZ #13484]
54550         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54551         of __asm__.
54553 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54555         [BZ #13506]
54556         * time/tzfile.c (__tzfile_read): Check values from file header.
54558 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54560         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54561         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54562         * powerpc/powerpc32/dl-start.S: Likewise.
54563         * powerpc/powerpc32/elf/start.S: Likewise.
54564         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54565         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54566         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54567         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54568         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54569         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54570         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54571         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54572         * powerpc/powerpc32/fpu/s_round.S: Likewise.
54573         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54574         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54575         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54576         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54577         * powerpc/powerpc32/memset.S: Likewise.
54578         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54579         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54580         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54581         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54582         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54583         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54584         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54585         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54586         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54587         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54588         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54589         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54590         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54592 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54594         * math/libm-test.inc: Added more nearbyint tests.
54595         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54596         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54597         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54598         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54600 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
54602         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54603         FD_CLOEXEC.
54605 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54607         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54608         Add wcscpy-ssse3 wcscpy-c.
54609         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54610         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54611         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54612         * sysdeps/x86_64/wcschr.S: New file.
54613         * sysdeps/x86_64/wcsrchr.S: New file.
54614         * string/test-strcmp.c: Remove checking of wcscmp function for
54615         wrong alignments.
54616         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54617         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54618         wcsrchr-sse2 wcsrchr-c.
54619         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54620         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54621         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54622         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54623         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54624         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54625         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54626         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54627         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54628         * wcsmbc/wcschr.c (WCSCHR): New macro.
54630 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54632         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54633         * wcsmbs/test-wcsrchr.c: New file.
54634         * string/test-strrchr.c: Add wcsrchr support.
54635         (WIDE): New macro.
54636         * wcsmbs/test-wcscpy.c: New file.
54637         * string/test-strcpy.c: Add wcscpy support.
54638         (WIDE): New macro.
54640 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
54642         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54643         the inner loop.
54645 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
54647         [BZ #13472]
54648         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54650 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
54652         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54653         Minor optimizations.
54655         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54656         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54657         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54659 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
54661         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54662         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54663         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54664         for gcc to avoid warnings.
54665         * inet/Makefile (tests): Add tst-checks.
54666         * inet/tst-checks.c: New file.
54668         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54669         warning.
54671         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54672         __wmemcmp_sse2.
54674         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54675         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54677         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54679 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
54681         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54682         problem.
54684         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54686 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
54688         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54689         conditional on GCC version.
54690         (__arch_compare_and_exchange_val_8_acq)
54691         (__arch_compare_and_exchange_val_16_acq)
54692         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54693         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54694         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54696 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
54698         * sysdeps/sh/backtrace.c: New file.
54700 2011-12-02  Andreas Schwab  <schwab@redhat.com>
54702         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
54703         parenthesis.
54705 2011-12-01  Andreas Schwab  <schwab@redhat.com>
54707         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54708         falling back to utime.
54710 2011-11-30  Andreas Schwab  <schwab@redhat.com>
54712         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54713         expectations for float.
54715 2011-11-29  Andreas Schwab  <schwab@redhat.com>
54717         * locale/weight.h (findidx): Add parameter len.
54718         * locale/weightwc.h (findidx): Likewise.
54719         * posix/fnmatch_loop.c (FCT): Adjust caller.
54720         * posix/regcomp.c (build_equiv_class): Likewise.
54721         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54722         * posix/regexec.c (check_node_accept_bytes): Likewise.
54723         * string/strcoll_l.c (STRCOLL): Likewise.
54724         * string/strxfrm_l.c (STRXFRM): Likewise.
54726 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
54728         * Makefile.in: Remove CVSOPT handling.
54729         * configure.in: Remove use of AC_REVISION.
54730         * iconvdata/Makefile (distribute): No need to filter out CVS.
54731         * scripts/list-sources.sh: Remove CVS, subversion and monotone
54732         handling.
54734 2011-11-16  Andreas Schwab  <schwab@redhat.com>
54736         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54737         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54738         [USE_AS_STRNCASECMP_L]: Likewise.
54739         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54740         NO_TLS_DIRECT_SEG_REFS.
54741         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54742         Fix argument offsets for non-PIC.
54743         [USE_AS_STRNCASECMP_L]: Likewise.
54744         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54745         NO_TLS_DIRECT_SEG_REFS.
54747 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54749         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54750         O_CLOEXEC.
54751         * locale/loadlocale.c (_nl_load_locale): Likewise.
54753 2011-11-15  Andreas Schwab  <schwab@redhat.com>
54755         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54756         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54757         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54758         (SYSCALL_GETTIME): Set errno on error.
54760         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54761         count references to noai6ai_cached.
54763 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54765         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54767         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54768         FD_CLOEXEC for /proc/self/maps.
54770         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54771         FD_CLOEXEC for /proc/meminfo.
54773         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54774         gai.conf.
54776         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
54777         FD_CLOEXEC for given file.
54779         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54781         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54782         FD_CLOEXEC for /etc/hosts.
54783         (_gethtent): Likewise.
54785         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54787         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54788         cancellation and set FD_CLOEXEC for /etc/netgroup.
54790         * nss/nss_files/files-key.c (search): Don't allow cancellation when
54791         reading /etc/publickey.
54793         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54794         allow cancellation when reading /etc/group.
54796         * nss/nss_files/files-alias.c (internal_setent): Don't allow
54797         cancellation.
54798         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
54800         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54801         when using data file.
54803         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54805         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54806         (write_nis_obj): Use "c" and "e" in fopen.
54808         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54810         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54812         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54814         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54816         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54817         locale.alias.
54819         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54821         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54823         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54825         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54826         file parsing and set FD_CLOEXEC.
54828 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54830         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54832 2011-11-14  Andreas Schwab  <schwab@redhat.com>
54834         * malloc/arena.c (arena_get2): Don't call reused_arena when
54835         _int_new_arena failed.
54837 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54839         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54840         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54841         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54842         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54843         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54844         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54845         to compile strcasecmp and strncasecmp.
54846         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54847         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54849         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54851 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
54853         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54854         locale-defines.sym to gen-as-const-headers.
54855         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54856         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54857         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54858         to compile strcasecmp and strncasecmp.
54859         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54860         strcasecmp_l and strncasecmp_l.
54861         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54862         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54863         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54864         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54865         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54866         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54867         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54868         * sysdeps/i386/i686/multiarch/strncase.S: New file.
54869         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54870         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54871         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54873 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
54875         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54876         result of SYSDEP_GETTIME_CPU to retval.
54877         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54878         parameter list to macro.  Remove trailing semicolon.  Adjust users.
54880         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54881         variable.
54883         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54884         mantissa words.
54885         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54887         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54888         from unused variable.
54890         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54891         DWARF definitions.
54892         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54893         for assembling.
54895         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54896         over namespaces.
54898         * sunrpc/rpc_prot.c (rejected): Fix case value.
54900         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54901         unsigned long long int to avoid warnings in shift.
54903         * posix/regex_internal.c (re_string_reconstruct): Actually use result
54904         of use of trans.
54905         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54906         variable tmp.
54908         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54909         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54910         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54912         * nis/nis_table.c (nis_list): Use variable of correct type for
54913         result of __follow_path call.
54915 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54917         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54918         of math functions ceil, trunc, floor, round, and sqrt, when
54919         avaliable on the platform.
54920         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54921         name clash.
54922         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54923         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54924         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54926 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
54928         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54929         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54931 2011-11-11  Roland McGrath  <roland@hack.frob.com>
54933         * include/unistd.h: Fix __readlink return type.
54934         Reported by Chris Metcalf <cmetcalf@tilera.com>.
54936 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
54938         * stdlib/ucontext.h: Undo last change for makecontext.
54940 2011-11-11  Andreas Schwab  <schwab@redhat.com>
54942         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54944         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54945         * setjmp/setjmp.h: Mark functions as non-leaf.
54946         * setjmp/bits/setjmp2.h: Likewise.
54947         * stdlib/ucontext.h: Likewise.
54949 2011-11-10  Andreas Schwab  <schwab@redhat.com>
54951         * malloc/arena.c (_int_new_arena): Don't increment narenas.
54952         (reused_arena): Don't check arena limit.
54953         (arena_get2): Atomically check arena limit.
54955 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
54957         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54958         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54960         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54961         instructions.
54963 2011-11-07  Andreas Schwab  <schwab@redhat.com>
54965         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54966         handler when locking.
54968         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54969         Fix size of allocated buffer.
54971 2011-11-04  Andreas Schwab  <schwab@redhat.com>
54973         [BZ #10103]
54974         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54975         declarations for long double functions.
54976         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54978         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54980 2011-11-03  Andreas Schwab  <schwab@redhat.com>
54982         * nscd/nscd.c (main): Don't start AVC thread until credentials are
54983         installed.
54985         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54986         is disabled.
54988 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54990         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54992 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54994         * include/alloca.h (stackinfo_alloca_round): Define.
54995         (extend_alloca): Use it.
54996         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54997         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54998         here.
55000         * scripts/check-local-headers.sh: Ignore libaudit.h.
55002         * nscd/Makefile (extra-objs): Make recursively expanded.
55004 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
55006         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55007         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55009         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55010         * posix/tst-rfc3484-2.c: Likewise.
55011         * posix/tst-rfc3484-3.c: Likewise.
55013         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55014         process_vm_writev.
55015         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55016         process_vm_writev.
55017         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55018         process_vm_writev from libc using GLIBC_2.15 version.
55020         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55022 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
55024         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55025         stack usage.
55027 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
55029         [BZ #13367]
55030         * nss/getent.c (initgroups_keys): Show error message in case no group
55031         names are given.
55033         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55034         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55035         __bump_nl_timestamp.
55036         * nscd/connections (nscd_init): When host database is served open
55037         netlink socket and request notification about configuration changes.
55038         (main_loop_poll): Track netlink file descriptor and bump timestamp
55039         in case data becomes available.
55040         (main_loop_epoll): Likewise.
55041         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55042         (database_pers_head): Add extra_data fileds.
55043         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55044         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55045         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55046         Adjust caller.
55047         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55048         in6ai data, call __free_in6ai.
55049         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55050         Add -DHAVE_NETLINK.
55051         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
55052         interface information.  Reuse previous data if netlink timestamp
55053         is not changed.
55054         (__bump_nl_timestamp): New function.
55055         (__free_in6ai): New function.
55057 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
55059         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55060         close_not_cancel_no_status here.
55061         (__check_pf): Reorganize code a bit to not call close twice if OOM.
55063 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55065         [BZ #13276]
55066         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55067         return value.
55069         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55070         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55071         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55073 2011-07-03  Andreas Jaeger  <aj@suse.de>
55075         [BZ #10709]
55076         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55077         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55078         * math/libm-test.inc (sin_test): Add test case.
55080 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55082         [BZ #13337]
55083         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55084         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55086         * elf/chroot_canon.c (chroot_canon): Cleanups.
55088         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55090         [BZ #13335]
55091         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55092         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55094         * string/test-strchr.c: Make usable for strchrnul testing.
55095         * string/test-strchrnul.c: New file.
55096         * string/Makefile (strop-tests): Add strchrnul.
55098         * po/it.po: Update from translation team.
55099         * po/es.po: Likewise.
55101 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
55103         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55104         the three constants needed as parameters.  Drop the others.
55105         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55106         __m128i_strloadu_tolower.
55107         Create and initialize variable zero and use it in all the places
55108         where _mm_setzero_si128 was used.
55110         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55111         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55112         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55113         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55114         anymore.
55115         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55116         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55117         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55118         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55119         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55120         __mpranred, __mptan.
55121         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55122         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55123         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55124         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55125         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55126         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55127         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55128         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55129         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55131 2011-10-28  Andreas Schwab  <schwab@redhat.com>
55133         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55134         redefine if SHARED.
55135         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55137         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55138         wide char related routines to wcsmbs subdir.
55140 2011-10-27  Andreas Schwab  <schwab@redhat.com>
55142         [BZ #13344]
55143         * misc/sys/cdefs.h (__THROWNL): Define.
55144         * posix/unistd.h: Use __THREADNL instead of __THREAD
55145         for memory synchronization functions.
55147 2011-10-26  Roland McGrath  <roland@hack.frob.com>
55149         [BZ #13349]
55150         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55151         doesn't exist.
55152         * manual/stdio.texi (Obstack Streams): Node removed.
55154 2011-10-26  Andreas Schwab  <schwab@redhat.com>
55156         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55157         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55158         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55160         * math/math_private.h (math_force_eval): Allow non-addressable
55161         arguments.
55162         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55164 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55166         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55167         file is not needed.
55169         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55170         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55171         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55172         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55173         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55174         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55175         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55176         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55177         Add AVX variants.
55178         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55179         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55180         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55181         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55182         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55183         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55184         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55185         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55186         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55187         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55188         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55189         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55190         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55191         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55192         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55193         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55194         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55195         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55196         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55198         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55199         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
55201         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55202         place.  Use VEX encoding when compiling for AVX.
55204 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55206         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55207         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55209         * string/test-strchr.c (do_test): Don't generate NUL bytes.
55211 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55213         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55214         useless if() expression.
55215         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55216         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55217         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55218         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55219         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55220         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55221         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55222         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55223         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55224         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55225         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55226         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55227         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55228         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55229         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55230         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55231         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55232         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55233         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55235         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55237 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55239         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55240         condition.
55241         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55243 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55245         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55246         .text section.  Avoid duplicate constants.
55247         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55248         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55249         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55250         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55251         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55252         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55253         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55254         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55255         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55256         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55257         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55258         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55259         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55260         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55261         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55262         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55263         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55264         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55265         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55266         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55267         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55268         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55269         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55270         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55271         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55272         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55273         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55274         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55275         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55276         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55277         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55278         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55279         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55280         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55281         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55282         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55283         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55284         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55285         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55286         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55287         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55288         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55289         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55290         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55291         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55293 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
55295         * sysdeps/x86_64/dla.h: Move to ...
55296         * sysdeps/x86_64/fpu/dla.h: ...here.
55297         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55298         situations.  Use __builtin_fma only for gcc 4.6 and up.
55300         * config.make.in: Add have-mfma4 entry.
55301         * configure.in: Substitute libc_cv_cc_fma4.
55302         * math/Makefile (dbl-only-routines): Add sincostab.
55303         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55304         Use __sincostab not sincos.
55305         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55306         name is a macro.
55307         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55308         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55309         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55310         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
55311         using __copysign.
55312         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
55313         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
55314         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55315         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55316         and __inv.
55317         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55318         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55319         __copysign.
55320         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
55321         define aliases when function name is a macro.
55322         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55323         sysdeps/ieee754/dbl-64/sincos.tbl.
55324         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55325         fma4-enabled routines.
55326         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55327         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55328         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55329         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55330         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55331         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55332         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55333         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55334         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55335         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55336         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55337         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55338         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55339         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55340         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55341         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55342         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55343         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55344         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55345         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55346         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55347         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55348         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55349         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55350         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55351         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55352         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55353         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55354         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55355         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55357         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55358         rename.
55359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55360         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55361         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55362         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55363         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55364         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55365         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55366         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55368 2011-10-24  Andreas Schwab  <schwab@redhat.com>
55370         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55372 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55374         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55376         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55377         prediction.
55378         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55380         * string/strnlen.c: Don't define STRNLEN, reverse logic.
55381         Remove unused variable magic_bits.
55382         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55384         * string/strnlen.c: Define and use STRNLEN macro.
55385         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55386         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55387         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55388         * wcsmbs/wcslen.c: Define and use WCSLEN.
55389         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55390         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55391         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55392         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55393         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55394         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55395         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55397 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55400         strnlen-sse2-no-bsf.
55401         Rename strlen-no-bsf to strlen-sse2-no-bsf.
55402         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55403         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55404         Add strnlen support.
55405         (USE_AS_STRNLEN): New macro.
55406         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55407         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55408         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55409         * sysdeps/x86_64/wcslen.S: New file.
55411 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
55413         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55414         XMM-moves are used for copying on small sizes.
55416 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55418         * wcsmbs/Makefile (strop-tests): Add wcschr.
55419         * wcsmbs/test-wcschr.c: New file.
55420         * string/test-strchr.c: Update.
55421         Add wcschr support.
55422         (WIDE): New macro.
55424 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55426         * wcsmbs/Makefile (strop-tests): Add wcslen.
55427         * wcsmbs/test-wcslen.c: New file.
55428         * string/test-strlen.c: Update.
55429         Add wcslen support.
55430         (WIDE): New macro.
55432 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55434         * po/it.po: Update from translation team.
55436 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55438         * sysdeps/x86_64/wcscmp.S: Update.
55439         Fix wrong comparison semantics.
55440         wcscmp shall use signed comparison not unsigned.
55441         Don't use substraction to avoid overflow bug.
55442         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55443         * wcsmbc/wcscmp.c: Likewise.
55444         * string/test-strcmp.c: Likewise.
55445         Add new tests to check cases with negative values.
55447 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55449         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55450         * sysdeps/x86_64/dla.h: ...here.  New file.
55451         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55452         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55453         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55454         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55455         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55456         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55457         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55458         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55459         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55461 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
55463         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55464         __ynl_finite aliases.
55466 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55470         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55471         define DLA_FMA.
55472         [DLA_FMA] (EMULV): Use DLA_FMA.
55473         [DLA_FMA] (MUL12): Use EMULV.
55474         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55475         that are not needed.
55476         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55477         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55478         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55479         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55480         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55481         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55482         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55484 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
55486         * math/s_nan.c: Undef __nan.
55487         * math/s_nanf.c: Undef __nanf.
55488         * math/s_nanl.c: Undef __nanl.
55489         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55490         "math_private.h".
55492 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55494         * math/s_catan.c: Add branch predictions.
55495         * math/s_catanf.c: Likewise.
55496         * math/s_catanh.c: Likewise.
55497         * math/s_catanhf.c: Likewise.
55498         * math/s_catanhl.c: Likewise.
55499         * math/s_catanl.c: Likewise.
55500         * math/s_cexp.c: Likewise.
55501         * math/s_cexpf.c: Likewise.
55502         * math/s_cexpl.c: Likewise.
55503         * math/s_clog.c: Likewise.
55504         * math/s_clog10.c: Likewise.
55505         * math/s_clog10f.c: Likewise.
55506         * math/s_clog10l.c: Likewise.
55507         * math/s_clogf.c: Likewise.
55508         * math/s_clogl.c: Likewise.
55509         * math/s_csqrt.c: Likewise.
55510         * math/s_csqrtf.c: Likewise.
55511         * math/s_csqrtl.c: Likewise.
55512         * math/s_ctanf.c: Likewise.
55513         * math/s_ctanh.c: Likewise.
55514         * math/s_ctanhf.c: Likewise.
55515         * math/s_ctanhl.c: Likewise.
55516         * math/s_ctanl.c: Likewise.
55518         * math/math_private.h: Define __nan, __nanf, __nanl.
55519         * math/s_cacosh.c: Include <math_private.h>.
55520         * math/s_cacoshl.c: Likewise.
55521         * math/s_casinh.c: Likewise.
55522         * math/s_casinhf.c: Likewise.
55523         * math/s_casinhl.c: Likewise.
55524         * math/s_ccos.c: Rely entire on ccosh.
55525         * math/s_ccosf.c: Rely entire on ccoshf.
55526         * math/s_ccosl.c: Rely entirely on ccoshl.
55527         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
55528         Remove tests for FE_INVALID.
55529         * math/s_ccoshf.c: Likewise.
55530         * math/s_ccoshl.c: Likewise.
55531         * math/s_csin.c: Likewise.
55532         * math/s_csinf.c: Likewise.
55533         * math/s_csinh.c Likewise.
55534         * math/s_csinhf.c: Likewise.
55535         * math/s_csinhl.c: Likewise.
55536         * math/s_csinl.c: Likewise.
55537         * math/s_ctan.c: Likewise.
55538         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55539         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55540         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55542 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
55544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55545         compilation problems.
55547         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55548         __builtin_expect.
55550 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
55552         * sysdeps/i386/configure.in: Test for -mfma4 option.
55553         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55554         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55555         COMMON_CPUID_INDEX_80000001.
55556         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55557         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55558         use it if FMA3 is not supported.
55559         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55561         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55562         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55564 2011-10-20  Andreas Schwab  <schwab@redhat.com>
55566         [BZ #12892]
55567         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55568         it would create a cycle with a link time dependency.
55570 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
55572         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55573         instruction.
55574         * string/Makefile (strop-tests): Add rawmemchr.
55575         * string/test-rawmemchr.c: New file.
55577         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55578         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
55579         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
55580         when compiling str{,n}casecmp and when AVX is available.  Hook up
55581         new optimized code in initializers.
55583 2011-10-19  Andreas Schwab  <schwab@redhat.com>
55585         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55586         __feraiseexcept instead of feraiseexcept.
55588 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
55590         * math/math_private.h: Define defaults for libc_fetestexcept and
55591         libc_feupdateenv.
55592         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55593         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55594         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55595         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55596         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55597         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55598         libc_fetestexcept and libc_feupdateenv.
55600         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55601         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55602         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55603         * sysdeps/x86_64/fpu/math_private.h: Define special version of
55604         libc_feholdexcept_setround.
55606         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55607         Add s_nearbyint-c and s_nearbyintf-c.
55608         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55609         nearbyintf inlines.
55610         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55611         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55612         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55613         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55615         * math/math_private.h: Define defaults for libc_fegetround,
55616         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55617         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55618         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55619         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55620         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55621         standard functions.
55622         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55623         Remove comments and hacks for old compiler versions.
55624         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55625         libc_fegetround, libc_fesetround, libc_feholdexcept, and
55626         libc_feholdexceptl.
55628 2011-10-18  Andreas Schwab  <schwab@redhat.com>
55630         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55631         (__feraiseexcept_renamed): Add __NTH.
55632         (feraiseexcept): Add __NTH.  Rename local variables to fix
55633         namespace violations.
55635 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
55637         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55639         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55641         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55642         recently added interfaces.
55643         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55645         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55646         about macro parameter expansion.
55648         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55649         __NO_MATH_INLINES is defined.  Cleanups.
55651         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55652         and __floorf is target has SSE4.1.
55653         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55654         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55655         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55656         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55658         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55659         name.
55660         (floorf): Likewise.
55662         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55664 2011-10-17  Andreas Schwab  <schwab@redhat.com>
55666         * misc/sys/cdefs.h: Fix last change.
55668         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55669         database lookup.
55671 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
55673         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55675         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55676         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55677         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55678         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55679         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55680         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55681         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55682         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55683         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55684         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55685         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55686         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55687         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55688         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55689         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55690         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55691         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55692         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55693         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55694         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55695         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55696         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55698         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55699         ceil, ceilf, floor, floorf.
55701         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55702         Perform IRELATIVE relocations last.
55704         * elf/do-rel.h: Add another parameter nrelative, replacing the
55705         local variable with the same name.  Change name of the function
55706         to end in Rel or Rela (uppercase).
55707         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55708         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
55709         elf_dynamic_do_##reloc function.
55711 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55713         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55714         is sufficient, at least on modern CPUs.
55716         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55718         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55719         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55721         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55722         __expl_finite.
55723         * math/bits/math-finite.h: Add entries for exp.
55724         * math/e_expl.c: Add __*_finite alias.
55725         * sysdeps/i386/fpu/e_exp.S: Likewise.
55726         * sysdeps/i386/fpu/e_expf.S: Likewise.
55727         * sysdeps/i386/fpu/e_expl.c: Likewise.
55728         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55729         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55730         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55731         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55732         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55733         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55734         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55736         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55737         is sufficient, at least on modern CPUs.
55739         * ctype/ctype-info.c (__ctype_init): Define.
55740         * include/ctype.h (__ctype_init): Declare.
55741         (__ctype_b_loc): The variable is always initialized.
55742         (__ctype_toupper_loc): Likewise.
55743         (__ctype_tolower_loc): Likewise.
55744         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55745         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55747 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
55749         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55751         * configure.in: Also look in $cxxmachine/include for C++ system
55752         headers.
55754 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55756         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55757         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55758         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55759         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
55760         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55761         (USE_AS_WMEMCMP): New macro.
55762         Fixing indents.
55763         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55764         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55765         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55766         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55768         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55769         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55770         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55771         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55772         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55773         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55774         (USE_AS_WMEMCMP): New macro.
55775         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55776         * sysdeps/string/test-memcmp.c: Update.
55777         Fix simple_wmemcmp.
55778         Add new tests.
55779         * wcsmbs/wmemcmp.c: Update.
55780         (WMEMCMP): New macro.
55781         Fix overflow bug.
55783 2011-10-12  Andreas Jaeger  <aj@suse.de>
55785         [BZ #13268]
55786         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55788 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55790         * libio/iofwide.c (do_length): Avoid warning.
55792         * ctype/ctype.h (__isctype_f): Add missing __THROW.
55794 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
55796         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55798         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55799         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55800         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55801         * sysdeps/i386/i686/fpu/e_log.S: New file.
55802         * sysdeps/i386/i686/fpu/e_logf.S: New file.
55803         * sysdeps/i386/i686/fpu/e_logl.S: New file.
55805         * ctype/ctype.h: Add support for inlined isXXX functions when
55806         compiling C++ code.
55808 2011-10-14  Andreas Schwab  <schwab@redhat.com>
55810         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55812         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55814 2011-10-13  Roland McGrath  <roland@hack.frob.com>
55816         [BZ #13291]
55817         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55819 2011-10-13  Andreas Schwab  <schwab@redhat.com>
55821         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55822         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55823         feraiseexcept.
55825         * sysdeps/x86_64/memrchr.S: Check for zero size.
55827         * string/stratcliff.c: Add memrchr tests.
55829 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55831         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55832         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55833         rawmemchr-sse2 rawmemchr-sse2-bsf.
55834         * sysdeps/i386/i686/multiarch/memchr.S: New file.
55835         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55836         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55837         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55838         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55839         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55840         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55841         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55842         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55843         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55844         * string/memrchr.c (MEMRCHR): New macro.
55846 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
55848         Add integration with gcc's -ffinite-math-only and optimize wrapper
55849         functions in libm.
55850         * Versions.def: Define GLIBC_2.15 version for libm.
55851         * math/Makefile (headers): Add bits/math-finite.h.
55852         * math/bits/math-finite.h: New file.
55853         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55854         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55855         * math/e_acoshl.c: Add __*_finite alias.
55856         * math/e_acosl.c: Likewise.
55857         * math/e_asinl.c: Likewise.
55858         * math/e_atan2l.c: Likewise.
55859         * math/e_atanhl.c: Likewise.
55860         * math/e_coshl.c: Likewise.
55861         * math/e_exp10.c: Likewise.
55862         * math/e_exp10f.c: Likewise.
55863         * math/e_exp10l.c: Likewise.
55864         * math/e_exp2l.c: Likewise.
55865         * math/e_fmodl.c: Likewise.
55866         * math/e_gammal_r.c: Likewise.
55867         * math/e_hypotl.c: Likewise.
55868         * math/e_j0l.c: Likewise.
55869         * math/e_j1l.c: Likewise.
55870         * math/e_jnl.c: Likewise.
55871         * math/e_lgammal_r.c: Likewise.
55872         * math/e_log10l.c: Likewise.
55873         * math/e_log2l.c: Likewise.
55874         * math/e_logl.c: Likewise.
55875         * math/e_powl.c: Likewise.
55876         * math/e_sinhl.c: Likewise.
55877         * math/e_sqrtl.c: Likewise.
55878         * math/e_scalb.c: Completely rewritten and optimized.
55879         * math/e_scalbf.c: Likewise.
55880         * math/e_scalbl.c: Likewise.
55881         * math/w_acos.c: Likewise.
55882         * math/w_acosf.c: Likewise.
55883         * math/w_acosl.c: Likewise.
55884         * math/w_acosh.c: Likewise.
55885         * math/w_acoshf.c: Likewise.
55886         * math/w_acoshl.c: Likewise.
55887         * math/w_asin.c: Likewise.
55888         * math/w_asinf.c: Likewise.
55889         * math/w_asinl.c: Likewise.
55890         * math/w_atan2.c: Likewise.
55891         * math/w_atan2f.c: Likewise.
55892         * math/w_atan2l.c: Likewise.
55893         * math/w_atanh.c: Likewise.
55894         * math/w_atanhf.c: Likewise.
55895         * math/w_atanhl.c: Likewise.
55896         * math/w_exp10.c: Likewise.
55897         * math/w_exp10f.c: Likewise.
55898         * math/w_exp10l.c: Likewise.
55899         * math/w_fmod.c: Likewise.
55900         * math/w_fmodf.c: Likewise.
55901         * math/w_fmodl.c: Likewise.
55902         * math/w_j0.c: Likewise.
55903         * math/w_j0f.c: Likewise.
55904         * math/w_j0l.c: Likewise.
55905         * math/w_j1.c: Likewise.
55906         * math/w_j1f.c: Likewise.
55907         * math/w_j1l.c: Likewise.
55908         * math/w_jn.c: Likewise.
55909         * math/w_jnf.c: Likewise.
55910         * math/w_log.c: Likewise.
55911         * math/w_logf.c: Likewise.
55912         * math/w_logl.c: Likewise.
55913         * math/w_log10.c: Likewise.
55914         * math/w_log10f.c: Likewise.
55915         * math/w_log10l.c: Likewise.
55916         * math/w_log2.c: Likewise.
55917         * math/w_log2f.c: Likewise.
55918         * math/w_log2l.c: Likewise.
55919         * math/w_pow.c: Likewise.
55920         * math/w_powf.c: Likewise.
55921         * math/w_powl.c: Likewise.
55922         * math/w_remainder.c: Likewise.
55923         * math/w_remainderf.c: Likewise.
55924         * math/w_remainderl.c: Likewise.
55925         * math/w_scalb.c: Likewise.
55926         * math/w_scalbf.c: Likewise.
55927         * math/w_scalbl.c: Likewise.
55928         * math/w_sqrt.c: Likewise.
55929         * math/w_sqrtf.c: Likewise.
55930         * math/w_sqrtl.c: Likewise.
55931         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55932         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
55933         used.
55934         * math/math_private.h: Declare __kernel_standard_f.
55935         * math/w_cosh.c: Remove cruft and optimize a bit.
55936         * math/w_coshf.c: Likewise.
55937         * math/w_coshl.c: Likewise.
55938         * math/w_exp2.c: Likewise.
55939         * math/w_exp2f.c: Likewise.
55940         * math/w_exp2l.c: Likewise.
55941         * math/w_hypot.c: Likewise.
55942         * math/w_hypotf.c: Likewise.
55943         * math/w_hypotl.c: Likewise.
55944         * math/w_lgamma.c: Likewise.
55945         * math/w_lgamma_r.c: Likewise.
55946         * math/w_lgammaf.c: Likewise.
55947         * math/w_lgammaf_r.c: Likewise.
55948         * math/w_lgammal.c: Likewise.
55949         * math/w_lgammal_r.c: Likewise.
55950         * math/w_sinh.c: Likewise.
55951         * math/w_sinhf.c: Likewise.
55952         * math/w_sinhl.c: Likewise.
55953         * math/w_tgamma.c: Likewise.
55954         * math/w_tgammaf.c: Likewise.
55955         * math/w_tgammal.c: Likewise.
55956         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55957         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55958         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55959         Minor optimizations.  Pretty printing.  Remove cruft.
55960         * sysdeps/i386/fpu/e_acosf.S: Likewise.
55961         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55962         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55963         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55964         * sysdeps/i386/fpu/e_acosl.c: Likewise.
55965         * sysdeps/i386/fpu/e_asin.S: Likewise.
55966         * sysdeps/i386/fpu/e_asinf.S: Likewise.
55967         * sysdeps/i386/fpu/e_atan2.S: Likewise.
55968         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55969         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55970         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55971         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55972         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55973         * sysdeps/i386/fpu/e_exp10.S: Likewise.
55974         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55975         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55976         * sysdeps/i386/fpu/e_exp2.S: Likewise.
55977         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55978         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55979         * sysdeps/i386/fpu/e_fmod.S: Likewise.
55980         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55981         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55982         * sysdeps/i386/fpu/e_hypot.S: Likewise.
55983         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55984         * sysdeps/i386/fpu/e_log.S: Likewise.
55985         * sysdeps/i386/fpu/e_log10.S: Likewise.
55986         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55987         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55988         * sysdeps/i386/fpu/e_log2.S: Likewise.
55989         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55990         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55991         * sysdeps/i386/fpu/e_logf.S: Likewise.
55992         * sysdeps/i386/fpu/e_logl.S: Likewise.
55993         * sysdeps/i386/fpu/e_pow.S: Likewise.
55994         * sysdeps/i386/fpu/e_powf.S: Likewise.
55995         * sysdeps/i386/fpu/e_powl.S: Likewise.
55996         * sysdeps/i386/fpu/e_remainder.S: Likewise.
55997         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55998         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55999         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56000         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56001         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56002         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56003         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56004         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56005         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56006         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56007         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56008         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56009         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56010         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56011         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56012         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56013         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56014         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56015         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56016         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56017         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56018         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56019         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56020         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56021         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56022         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56023         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56024         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56025         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56026         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56027         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56028         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56029         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56030         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56031         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56032         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56033         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56034         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56035         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56036         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56037         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56038         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56039         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56040         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56041         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56042         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56043         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56044         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56045         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56046         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56047         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56048         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56049         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56050         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56051         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56052         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56053         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56054         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56055         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56056         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56057         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56058         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56059         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56060         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56061         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56062         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56063         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56064         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56065         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56066         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56067         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56068         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56069         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56070         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56071         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56072         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56073         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56074         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56075         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56076         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56077         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56078         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56079         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56080         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56081         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56082         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56083         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56084         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56085         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56086         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56087         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56088         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56089         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56090         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56091         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56092         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56093         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56094         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56095         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56096         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56097         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56098         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56099         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56100         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56101         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56102         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56103         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56104         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56105         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56106         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56107         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56108         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56109         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56110         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56111         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56112         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56113         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56114         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56115         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
56116         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56117         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56118         (__isnanf): Likewise.
56119         (__isinf_ns): Likewise.
56120         (__isinf_nsf): Likewise.
56121         (__finite): Likewise.
56122         (__finitef): Likewise.
56123         (__ieee754_sqrt): Define as macro.
56124         (__ieee754_sqrtf): Define as macro.
56125         (__ieee754_sqrtl): Define as macro.
56126         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56127         inlined copy.
56128         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56129         __FINITE_MATH_ONLY__ consistent.
56130         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56132 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
56134         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56135         of rawmemchr.
56137         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56139 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
56141         * po/ja.po: Update from translation team.
56143 2011-10-08  Roland McGrath  <roland@hack.frob.com>
56145         * locale/programs/locarchive.c (prepare_address_space): New function.
56146         (create_archive, enlarge_archive, open_archive): Use it.
56148         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56149         inside [SHARED], where it is used.
56151         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56153         * nss/getent.c (netgroup_keys): Remove unused variable.
56154         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56156 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
56158         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56159         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56160         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56161         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56162         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56163         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56164         * math/Makefile (libm-calls): Add s_isinf_ns.
56165         * math/divtc3.c: Use __isinf_nsl instead of isinf.
56166         * math/multc3.c: Likewise.
56167         * math/s_casin.c: Likewise.
56168         * math/s_casinf.c: Likewise.
56169         * math/s_casinl.c: Likewise.
56170         * math/s_ccos.c: Likewise.
56171         * math/s_ccosf.c: Likewise.
56172         * math/s_ccosl.c: Likewise.
56173         * math/s_ctan.c: Likewise.
56174         * math/s_ctanf.c: Likewise.
56175         * math/s_ctanh.c: Likewise.
56176         * math/s_ctanhf.c: Likewise.
56177         * math/s_ctanhl.c: Likewise.
56178         * math/s_ctanl.c: Likewise.
56179         * math/w_fmod.c: Likewise.
56180         * math/w_fmodf.c: Likewise.
56181         * math/w_fmodl.c: Likewise.
56182         * math/w_remainder.c: Likewise.
56183         * math/w_remainderf.c: Likewise.
56184         * math/w_remainderl.c: Likewise.
56185         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56186         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56187         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56188         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56189         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56190         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56191         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56192         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56194         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56195         of the number.
56196         * stdio-common/printf_fphex.c: Likewise.
56197         * stdio-common/printf_size.c: Likewise.
56199         * math/e_exp10.c: Include math_private.h using <...> not "...".
56200         * math/e_exp10f.c: Likewise.
56201         * math/e_exp10l.c: Likewise.
56202         * math/e_exp2l.c: Likewise.
56203         * math/e_j0l.c: Likewise.
56204         * math/e_j1l.c: Likewise.
56205         * math/e_jnl.c: Likewise.
56206         * math/e_lgammal_r.c: Likewise.
56207         * math/e_rem_pio2l.c: Likewise.
56208         * math/e_scalb.c: Likewise.
56209         * math/e_scalbf.c: Likewise.
56210         * math/e_scalbl.c: Likewise.
56211         * math/k_cosl.c: Likewise.
56212         * math/k_sinl.c: Likewise.
56213         * math/k_tanl.c: Likewise.
56214         * math/s_cacoshf.c: Likewise.
56215         * math/s_catan.c: Likewise.
56216         * math/s_catanf.c: Likewise.
56217         * math/s_catanh.c: Likewise.
56218         * math/s_catanhf.c: Likewise.
56219         * math/s_catanhl.c: Likewise.
56220         * math/s_catanl.c: Likewise.
56221         * math/s_ccosh.c: Likewise.
56222         * math/s_ccoshf.c: Likewise.
56223         * math/s_ccoshl.c: Likewise.
56224         * math/s_cexp.c: Likewise.
56225         * math/s_cexpf.c: Likewise.
56226         * math/s_cexpl.c: Likewise.
56227         * math/s_clog.c: Likewise.
56228         * math/s_clog10.c: Likewise.
56229         * math/s_clog10f.c: Likewise.
56230         * math/s_clog10l.c: Likewise.
56231         * math/s_clogf.c: Likewise.
56232         * math/s_clogl.c: Likewise.
56233         * math/s_csin.c: Likewise.
56234         * math/s_csinf.c: Likewise.
56235         * math/s_csinh.c: Likewise.
56236         * math/s_csinhf.c: Likewise.
56237         * math/s_csinhl.c: Likewise.
56238         * math/s_csinl.c: Likewise.
56239         * math/s_csqrt.c: Likewise.
56240         * math/s_csqrtf.c: Likewise.
56241         * math/s_csqrtl.c: Likewise.
56242         * math/s_ctan.c: Likewise.
56243         * math/s_ctanf.c: Likewise.
56244         * math/s_ctanh.c: Likewise.
56245         * math/s_ctanhf.c: Likewise.
56246         * math/s_ctanhl.c: Likewise.
56247         * math/s_ctanl.c: Likewise.
56248         * math/s_ldexp.c: Likewise.
56249         * math/s_ldexpf.c: Likewise.
56250         * math/s_ldexpl.c: Likewise.
56251         * math/s_significand.c: Likewise.
56252         * math/s_significandf.c: Likewise.
56253         * math/s_significandl.c: Likewise.
56254         * math/w_acos.c: Likewise.
56255         * math/w_acosf.c: Likewise.
56256         * math/w_acosh.c: Likewise.
56257         * math/w_acoshf.c: Likewise.
56258         * math/w_acoshl.c: Likewise.
56259         * math/w_acosl.c: Likewise.
56260         * math/w_asin.c: Likewise.
56261         * math/w_asinf.c: Likewise.
56262         * math/w_asinl.c: Likewise.
56263         * math/w_atan2.c: Likewise.
56264         * math/w_atan2f.c: Likewise.
56265         * math/w_atan2l.c: Likewise.
56266         * math/w_atanh.c: Likewise.
56267         * math/w_atanhf.c: Likewise.
56268         * math/w_atanhl.c: Likewise.
56269         * math/w_cosh.c: Likewise.
56270         * math/w_coshf.c: Likewise.
56271         * math/w_coshl.c: Likewise.
56272         * math/w_dremf.c: Likewise.
56273         * math/w_exp10.c: Likewise.
56274         * math/w_exp10f.c: Likewise.
56275         * math/w_exp10l.c: Likewise.
56276         * math/w_exp2.c: Likewise.
56277         * math/w_exp2f.c: Likewise.
56278         * math/w_fmod.c: Likewise.
56279         * math/w_fmodf.c: Likewise.
56280         * math/w_fmodl.c: Likewise.
56281         * math/w_hypot.c: Likewise.
56282         * math/w_hypotf.c: Likewise.
56283         * math/w_hypotl.c: Likewise.
56284         * math/w_j0.c: Likewise.
56285         * math/w_j0f.c: Likewise.
56286         * math/w_j0l.c: Likewise.
56287         * math/w_j1.c: Likewise.
56288         * math/w_j1f.c: Likewise.
56289         * math/w_j1l.c: Likewise.
56290         * math/w_jn.c: Likewise.
56291         * math/w_jnf.c: Likewise.
56292         * math/w_jnl.c: Likewise.
56293         * math/w_lgamma.c: Likewise.
56294         * math/w_lgamma_r.c: Likewise.
56295         * math/w_lgammaf.c: Likewise.
56296         * math/w_lgammaf_r.c: Likewise.
56297         * math/w_lgammal.c: Likewise.
56298         * math/w_lgammal_r.c: Likewise.
56299         * math/w_log.c: Likewise.
56300         * math/w_log10.c: Likewise.
56301         * math/w_log10f.c: Likewise.
56302         * math/w_log10l.c: Likewise.
56303         * math/w_log2.c: Likewise.
56304         * math/w_log2f.c: Likewise.
56305         * math/w_log2l.c: Likewise.
56306         * math/w_logf.c: Likewise.
56307         * math/w_logl.c: Likewise.
56308         * math/w_pow.c: Likewise.
56309         * math/w_powf.c: Likewise.
56310         * math/w_powl.c: Likewise.
56311         * math/w_remainder.c: Likewise.
56312         * math/w_remainderf.c: Likewise.
56313         * math/w_remainderl.c: Likewise.
56314         * math/w_scalb.c: Likewise.
56315         * math/w_scalbf.c: Likewise.
56316         * math/w_scalbl.c: Likewise.
56317         * math/w_sinh.c: Likewise.
56318         * math/w_sinhf.c: Likewise.
56319         * math/w_sinhl.c: Likewise.
56320         * math/w_sqrt.c: Likewise.
56321         * math/w_sqrtf.c: Likewise.
56322         * math/w_sqrtl.c: Likewise.
56323         * math/w_tgamma.c: Likewise.
56324         * math/w_tgammaf.c: Likewise.
56325         * math/w_tgammal.c: Likewise.
56327         * po/ja.po: Update from translation team.
56329 2011-09-29  Andreas Jaeger  <aj@suse.de>
56331         [BZ #13179]
56332         * sunrpc/netname.c (netname2host): Fix logic.
56334         [BZ #6779]
56335         [BZ #6783]
56336         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56337         correctly.
56338         * math/w_remainder.c (__remainder): Likewise.
56339         * math/w_remainderf.c (__remainderf): Likewise.
56340         * math/libm-test.inc (remainder_test): Add test cases.
56342 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56344         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
56345         sdiv_qrnnd.
56347 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56349         * string/test-memcmp.c: Avoid unncessary #defines.
56350         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56352 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56354         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56355         Use new sse2 version for core i3 - i7 as it's faster
56356         than sse42 version.
56357         (bit_Prefer_PMINUB_for_stringop): New.
56358         * sysdeps/x86_64/rawmemchr.S: Update.
56359         Replace with faster SSE2 version.
56360         * sysdeps/x86_64/memrchr.S: New file.
56361         * sysdeps/x86_64/memchr.S: Update.
56362         Replace with faster SSE2 version.
56364 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
56366         * elf/dl-load.c (lose): Add cast to avoid warning.
56368 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56370         * po/ca.po: Update from translation team.
56372         * inet/getnetgrent_r.c: Hook up nscd.
56373         * nscd/Makefile (routines): Add nscd_netgroup.
56374         (nscd-modules): Add netgroupcache.
56375         (CFLAGS-netgroupcache.c): Define.
56376         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56377         (cache_search): Add const to second parameter.
56378         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56379         INNETGR.
56380         (dbs): Add netgrdb entry.
56381         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56382         (verify_persistent_db): Handle netgrdb.
56383         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56384         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56385         GETFDNETGR.
56386         (netgroup_response_header): Define.
56387         (innetgroup_response_header): Define.
56388         (datahead): Add netgroup_response_header and innetgroup_response_header
56389         elements.
56390         * nscd/nscd.conf: Add entries for netgroup cache.
56391         * nscd/nscd.h (dbtype): Add netgrdb.
56392         (_PATH_NSCD_NETGROUP_DB): Define.
56393         (netgroup_iov_disabled): Declare.
56394         (xmalloc, xcalloc, xrealloc): Move declarations here.
56395         (cache_search): Adjust prototype.
56396         Add netgroup-related prototypes.
56397         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56398         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56399         (__nscd_innetgr): Declare.
56400         * nscd/selinux.c (perms): Use access_vector_t as element type and
56401         add netgroup-related initializers.
56402         * nscd/netgroupcache.c: New file.
56403         * nscd/nscd_netgroup.c: New file.
56404         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56405         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56406         For four parameters use innetgr.
56407         * nss/nss_files/files-init.c: Add definition and callback for netgr.
56408         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56409         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56410         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56412         * nscd/connections.c (register_traced_file): Don't register file
56413         for disabled databases.
56415 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
56417         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56419         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56420         from tree and freeing node.
56422 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
56424         * nss/nsswitch.c (__nss_database_lookup): Handle
56425         nss_parse_service_list out of memory case.
56427 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
56429         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56430         out of memory case.
56432 2011-10-04  Andreas Schwab  <schwab@redhat.com>
56434         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56435         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56436         pass it down.
56437         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56438         elf_machine_rela, elf_machine_lazy_rel.
56439         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56440         (ELF_DYNAMIC_DO_REL): Likewise.
56441         (ELF_DYNAMIC_DO_RELA): Likewise.
56442         (ELF_DYNAMIC_RELOCATE): Likewise.
56443         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56444         to ELF_DYNAMIC_DO_REL.
56445         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56446         (dl_main): In trace mode always set __RTLD_NOIFUNC.
56447         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56448         elf_machine_rela.
56449         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56450         skip_ifunc, don't call ifunc function if non-zero.
56451         (elf_machine_rela): Likewise.
56452         (elf_machine_lazy_rel): Likewise.
56453         (elf_machine_lazy_rela): Likewise.
56454         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56455         (elf_machine_lazy_rel): Likewise.
56456         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56457         Likewise.
56458         (elf_machine_lazy_rel): Likewise.
56459         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56460         Likewise.
56461         (elf_machine_lazy_rel): Likewise.
56462         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56463         (elf_machine_lazy_rel): Likewise.
56464         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56465         (elf_machine_lazy_rel): Likewise.
56466         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56467         (elf_machine_lazy_rel): Likewise.
56468         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56469         (elf_machine_lazy_rel): Likewise.
56470         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56471         (elf_machine_lazy_rel): Likewise.
56472         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56473         (elf_machine_lazy_rel): Likewise.
56475 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
56477         * nss/nss_files/files-init.c (_nss_files_init): Use static
56478         initialization for all the *_traced_file variables.
56480 2011-09-28  Andreas Schwab  <schwab@redhat.com>
56482         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56484 2011-09-27  Roland McGrath  <roland@hack.frob.com>
56486         [BZ #13226]
56487         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56489 2011-09-27  Andreas Schwab  <schwab@redhat.com>
56491         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56492         Reread the line before reparsing it.
56494 2011-09-26  Andreas Schwab  <schwab@redhat.com>
56496         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56498 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
56499             Maxim Kuvyrkov  <maxim@codesourcery.com>
56500             Joseph Myers  <joseph@codesourcery.com>
56502         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56503         if needed for __stack_chk_guard.
56505 2011-09-19  Roland McGrath  <roland@hack.frob.com>
56507         * sysdeps/posix/spawni.c (script_execute): Always define it.
56508         It will be optimized away if unused.
56509         (maybe_script_execute): New function.
56510         (__spawni): Call it.
56512         * Makerules: Don't include tls.make.
56513         (config-tls): Always set to thread.
56514         * tls.make.c: File removed.
56516 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
56518         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56519         * config.make.in (CPPFLAGS-config): New substituted variable.
56521 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56523         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56525         [BZ #13192]
56526         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56527         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56529 2011-09-15  Roland McGrath  <roland@hack.frob.com>
56531         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56532         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56533         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56534         (CALL_FAIL): Likewise.
56535         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56536         (CALL_FAIL): Macro removed.
56537         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56539 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56541         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56542         for __FINITE_MATH_ONLY__ == 1.
56544 2011-09-15  Andreas Schwab  <schwab@redhat.com>
56546         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56547         __ieee754_sqrt instead of sqrt.
56548         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56549         __ieee754_sqrtf instead of sqrtf.
56550         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56551         __floorf instead of floorf.
56552         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56553         __floorf, __truncf instead of floorf, truncf.
56555 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
56557         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56559         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56560         __extern_always_inline.
56561         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56562         32-bit.
56564 2011-09-14  Andreas Schwab  <schwab@redhat.com>
56566         * elf/rtld.c (dl_main): Also relocate in dependency order when
56567         doing symbol dependency testing.
56569 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
56571         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56572         Always define `refsym'.
56574 2011-09-13  Andreas Schwab  <schwab@redhat.com>
56576         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56577         (__FD_ELT): Renamed from __FDELT.
56578         * misc/bits/select2.h (__FD_ELT): Likewise.
56579         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56580         __FD_MASK instead of __FDELT, __FDMASK.
56581         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56582         Likewise.
56583         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56584         Likewise.
56586         * elf/Makefile (gen-ldd): Fix pattern.
56588         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56589         (init_tls): Likewise.
56591 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
56593         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56595 2011-09-12  Andreas Schwab  <schwab@redhat.com>
56597         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56598         `struct cmsghdr *' instead of `void *'.
56599         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56600         Likewise.
56602 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
56604         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56605         if non-absolute.
56606         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56607         ldd_rewrite_script.
56609 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
56611         * configure.in: Remove --with-tls option.
56612         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56613         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56614         out in case it is missing.
56615         * sysdeps/ia64/elf/configure.in: Likewise.
56616         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56617         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56618         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56619         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56620         * sysdeps/sh/elf/configure.in: Likewise.
56621         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56622         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56623         * sysdeps/x86_64/elf/configure.in: Likewise.
56624         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56625         * sysdeps/mach/hurd/tls.h: Likewise.
56627         [BZ #13067]
56628         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56630         [BZ #13090]
56631         * configure.in: Fix use of AC_INIT.
56633         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56635 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
56637         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56638         __set_errno.
56639         * malloc/hooks.c: Likewise.
56641         [BZ #11929]
56642         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
56643         variables statically.
56644         (narenas): Initialize.
56645         (list_lock): Initialize.
56646         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
56647         initializtion of main_arena and list_lock.  Small cleanups.
56648         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56649         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
56650         Add initializers to main_arena and mp_.
56651         (malloc_state): Remove pagesize member.  Change all users to use
56652         GLRO(dl_pagesize).
56654         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56655         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
56656         is always initialized.
56658         * malloc/malloc.c: Removed unused configurations and dead code.
56659         * malloc/arena.c: Likewise.
56660         * malloc/hooks.c: Likewise.
56661         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56663         * include/tls.h: Removed.  USE___THREAD must always be defined.
56664         * bits/libc-tsd.h: Don't handle !USE___THREAD.
56665         * elf/dl-libc.c: Likewise.
56666         * elf/dl-tsd.c: Likewise.
56667         * include/errno.h: Likewise.
56668         * include/netdb.h: Likewise.
56669         * include/resolv.h: Likewise.
56670         * inet/herrno-loc.c: Likewise.
56671         * inet/herrno.c: Likewise.
56672         * malloc/arena.c: Likewise.
56673         * malloc/hooks.c: Likewise.
56674         * malloc/malloc.c: Likewise.
56675         * resolv/res-state.c: Likewise.
56676         * resolv/res_libc.c: Likewise.
56677         * sysdeps/i386/dl-machine.h: Likewise.
56678         * sysdeps/ia64/dl-machine.h: Likewise.
56679         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56680         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56681         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56682         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56683         * sysdeps/sh/dl-machine.h: Likewise.
56684         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56685         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56686         * sysdeps/unix/i386/sysdep.S: Likewise.
56687         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56688         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56689         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56691         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56692         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56693         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56694         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56695         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56696         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56697         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56698         * sysdeps/x86_64/dl-machine.h: Likewise.
56699         * tls.make.c: Likewise.
56701         * configure.in: Remove --with-__thread option.  Make tests for
56702         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56703         tls_model attribute fail if no support is available.  Remove
56704         USE_IN_LIBIO.
56705         * Makeconfig: Adjust for dropped configure option.  All features are
56706         now mandatory.
56707         * Makerules: Likewise.
56708         * Versions.def: Likewise.
56709         * argp/argp-fmtstream.c: Likewise.
56710         * argp/argp-fmtstream.h: Likewise.
56711         * argp/argp-help.c: Likewise.
56712         * assert/assert.c: Likewise.
56713         * config.h.in: Likewise.
56714         * config.make.in: Likewise.
56715         * configure: Likewise.
56716         * configure.in: Likewise.
56717         * csu/Versions: Likewise.
56718         * csu/init.c: Likewise.
56719         * elf/tst-audit2.c: Likewise.
56720         * elf/tst-tls10.c: Likewise.
56721         * elf/tst-tls10.h: Likewise.
56722         * elf/tst-tls11.c: Likewise.
56723         * elf/tst-tls12.c: Likewise.
56724         * elf/tst-tls14.c: Likewise.
56725         * elf/tst-tlsmod11.c: Likewise.
56726         * elf/tst-tlsmod12.c: Likewise.
56727         * elf/tst-tlsmod13.c: Likewise.
56728         * elf/tst-tlsmod13a.c: Likewise.
56729         * elf/tst-tlsmod14a.c: Likewise.
56730         * elf/tst-tlsmod15b.c: Likewise.
56731         * elf/tst-tlsmod16a.c: Likewise.
56732         * elf/tst-tlsmod16b.c: Likewise.
56733         * elf/tst-tlsmod7.c: Likewise.
56734         * elf/tst-tlsmod8.c: Likewise.
56735         * elf/tst-tlsmod9.c: Likewise.
56736         * gmon/gmon.c: Likewise.
56737         * grp/fgetgrent_r.c: Likewise.
56738         * grp/putgrent.c: Likewise.
56739         * hurd/fopenport.c: Likewise.
56740         * include/libc-symbols.h: Likewise.
56741         * include/tls.h: Likewise.
56742         * intl/gettextP.h: Likewise.
56743         * intl/loadinfo.h: Likewise.
56744         * locale/global-locale.c: Likewise.
56745         * locale/localeinfo.h: Likewise.
56746         * mach/devstream.c: Likewise.
56747         * malloc/arena.c: Likewise.
56748         * malloc/set-freeres.c: Likewise.
56749         * misc/err.c: Likewise.
56750         * misc/getttyent.c: Likewise.
56751         * misc/mntent_r.c: Likewise.
56752         * posix/getopt.c: Likewise.
56753         * posix/wordexp.c: Likewise.
56754         * pwd/fgetpwent_r.c: Likewise.
56755         * resolv/Versions: Likewise.
56756         * resolv/res_hconf.c: Likewise.
56757         * shadow/fgetspent_r.c: Likewise.
56758         * shadow/putspent.c: Likewise.
56759         * stdio-common/printf_fphex.c: Likewise.
56760         * stdio-common/tmpfile.c: Likewise.
56761         * stdlib/abort.c: Likewise.
56762         * stdlib/fmtmsg.c: Likewise.
56763         * sunrpc/auth_unix.c: Likewise.
56764         * sunrpc/clnt_perr.c: Likewise.
56765         * sunrpc/clnt_tcp.c: Likewise.
56766         * sunrpc/clnt_udp.c: Likewise.
56767         * sunrpc/clnt_unix.c: Likewise.
56768         * sunrpc/openchild.c: Likewise.
56769         * sunrpc/svc_simple.c: Likewise.
56770         * sunrpc/svc_tcp.c: Likewise.
56771         * sunrpc/svc_udp.c: Likewise.
56772         * sunrpc/svc_unix.c: Likewise.
56773         * sunrpc/xdr.c: Likewise.
56774         * sunrpc/xdr_array.c: Likewise.
56775         * sunrpc/xdr_rec.c: Likewise.
56776         * sunrpc/xdr_ref.c: Likewise.
56777         * sunrpc/xdr_stdio.c: Likewise.
56779 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56781         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56783 2011-07-03  Andreas Jaeger  <aj@suse.de>
56785         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56786         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56787         regenerate with gen-libm-tests.pl.
56789 2010-05-12  Petr Baudis  <pasky@suse.cz>
56791         [BZ #11589]
56792         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56793         around j0() zero points by switching to j1().
56794         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56795         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56796         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56797         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56799 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56801         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56802         instead of 0.
56803         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56804         instead of 0.
56805         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56806         Patch in part by Pavel Roskin <proski@gnu.org>.
56808         [BZ #13138]
56809         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56810         realloc.
56811         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
56812         Free memory block if necessary.
56814         [BZ #12847]
56815         * libio/genops.c (INTDEF): For string streams the _lock pointer can
56816         be NULL.  Don't lock in this case.
56818 2011-09-09  Roland McGrath  <roland@hack.frob.com>
56820         * elf/elf.h (ELFOSABI_GNU): New macro.
56821         (ELFOSABI_LINUX): Define to that.
56823 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
56825         * string/strncat.c (strncat): Undef the symbol in case it has been
56826         defined in bits/string.h.
56828 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56830         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56832         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56833         link map.
56835 2011-08-17  Andreas Jaeger  <aj@suse.de>
56837         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56839 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56840             Ian Lance Taylor  <iant@google.com>
56842         * math/libm-test.inc (lround_test): New testcase.
56843         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56845 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
56847         * Makefile: Remove support for automatic cvs check-ins.
56848         * Makerules: Likewise.
56849         * config.make.in: Likewise.
56850         * configure.in: Likewise.
56851         * intl/Makefile: Likewise.
56852         * locale/Makefile: Likewise.
56853         * po/Makefile: Likewise.
56854         * posix/Makefile: Likewise.
56855         * sysdeps/gnu/Makefile: Likewise.
56856         * sysdeps/mach/hurd/Makefile: Likewise.
56857         * sysdeps/sparc/sparc32/Makefile: Likewise.
56859         [BZ #13118]
56860         * posix/Makefile (bug-regex32-ENV): Define.
56861         Patch by John Stanley <jpsinthemix@verizon.net>.
56863         * misc/Makefile (headers): Add bits/select2.h.
56864         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56865         * misc/bits/select2.h: New file.
56866         * include/bits/select2.h: New file.
56867         * debug/Makefile (routines): Add fdelt_chk.
56868         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56869         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56870         FD_ISSET.
56871         * debug/fdelt_chk.c: New file.
56873         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
56874         * wcsmbs/test-wmemcmp.c: Likewise.
56875         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56876         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56878 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56880         * string/Makefile (strop-tests): Add memcmp.
56881         * string/test-wmemcmp.c: New file.
56882         * string/test-memcmp.c: Add wmemcmp support.
56884 2011-09-08  Roland McGrath  <roland@hack.frob.com>
56886         [BZ #13153]
56887         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56888         2011-07-19 change.
56890         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56891         garbage value in a __mach_port_mod_refs call in the cases of the
56892         task-self and thread-self ports.
56894 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56896         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56898 2011-09-08  Andreas Schwab  <schwab@redhat.com>
56900         * elf/dl-load.c (lose): Check for non-null L.
56902 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56904         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56906         * elf/dl-libc.c (dlerror_run): Pass back error code from
56907         dl_catch_error.
56909         [BZ #13123]
56910         * elf/dl-load.c (lose): Free l_origin if it is valid.
56912         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56913         names.
56914         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56915         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56916         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56917         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56918         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56919         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56921 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56923         * sysdeps/powerpc/fpu/e_hypot.c: New file.
56924         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56925         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56926         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56927         * sysdeps/powerpc/fpu/k_cosf.c: New file.
56928         * sysdeps/powerpc/fpu/k_sinf.c: New file.
56929         * sysdeps/powerpc/fpu/s_cosf.c: New file.
56930         * sysdeps/powerpc/fpu/s_sinf.c: New file.
56931         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56932         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56934 2011-08-15  Alan Modra  <amodra@gmail.com>
56936         [BZ #13092]
56937         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56938         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56939         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
56940         ppc_mcount to static-only-routines.
56941         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56942         __mcount_internal.
56943         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56944         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
56946 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
56948         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56949         for finite and infinity parameters.
56951 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56953         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56954         and add nop instructions for throughput optimization.
56955         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56957 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
56959         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56960         aligned copy for power7 with vector-scalar instructions.
56961         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56963 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
56965         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56966         AVX check.
56968 2011-09-07  Andreas Schwab  <schwab@redhat.com>
56970         [BZ #13144]
56971         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56972         last change.
56974 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56976         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56977         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56978         syscall wrapper around clock_gettime in __vdso_clock_gettime.
56979         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56980         clock_gettime.
56982 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56984         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56985         Forgot to demangle the pointer.
56987         * sysdeps/i386/sysdep.h: Define atom_text_section.
56988         * sysdeps/x86_64/sysdep.h: Likewise.
56989         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56990         section with atom_text_section.
56991         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56992         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56993         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56994         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56995         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56997         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56998         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56999         already be defined.  Change to take two parameters and don't assign
57000         result to variable.  Adjust all users.
57001         Define INTERNAL_GETTIME if not already defined.
57002         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57003         call.
57004         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57005         HAVE_CLOCK_GETTIME_VSYSCALL.
57006         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57008         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57009         gettimeofday vsyscall, just use time.
57011 2011-09-06  Andreas Schwab  <schwab@redhat.com>
57013         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57014         <errno.h>.
57016 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57018         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57019         syscall on x86-64.
57020         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57021         syscall.
57022         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57023         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57024         syscall if possible.
57026 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57028         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57029         e_ident.  Don't pass to find_mapsXX.
57030         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57032 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57034         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57035         strchr-sse2-no-bsf strrchr-sse2-no-bsf
57036         * sysdeps/x86_64/multiarch/strchr.S: Update.
57037         Check bit_slow_BSF bit.
57038         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57039         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57040         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57042 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57044         [BZ #13134]
57045         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57046         before glibc 2.15.
57047         (tryshell): Define.
57048         (__spawni): Change last parameter to be flag.  Test
57049         SPAWN_XFLAGS_USE_PATH flag to use path or not.
57050         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57051         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57052         * posix/spawni.c: Likewise.
57053         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57054         * posix/spawnp.c: Likewise.  Change normal version to use
57055         SPAWN_XFLAGS_USE_PATH.
57056         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57057         SPAWN_XFLAGS_TRY_SHELL.
57059         [BZ #13150]
57060         * posix/glob.h: Remove gcc 1.x support.
57062         [BZ #13068]
57063         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57065 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57067         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57068         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57069         strrchr-sse2-bsf
57070         * sysdeps/i386/i686/multiarch/strchr.S: New file.
57071         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57072         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57073         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57074         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57075         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57077 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57079         * sysdeps/x86_64/wcscmp.S: New file.
57081         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57082         wcscmp-c wcscmp-sse2
57083         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57084         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57085         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57086         * wcsmbs/wcscmp.c: Allow renaming.
57088 2011-09-05  David S. Miller  <davem@davemloft.net>
57090         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57091         stack slot, rather than the struct return pointer slot.
57092         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57093         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57095         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57097 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57099         * po/ja.po: Update from translation team.
57101         [BZ #13144]
57102         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57103         kernel in 64-bit binaries.
57105 2011-09-01  David S. Miller  <davem@davemloft.net>
57107         * elf/elf.h (HWCAP_SPARC_*): Move to..
57108         * sysdeps/sparc/sysdep.h: this new file and add new values.
57109         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57110         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57111         _DL_HWCAP_COUNT to 24.
57112         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57113         entries.
57114         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57115         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57116         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57117         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57118         instead of magic constants.
57119         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57121 2011-08-31  David S. Miller  <davem@davemloft.net>
57123         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57124         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57125         Reimplement to do errno handling inline.
57126         (SYSCALL_ERROR_HANDLER): New macro.
57127         (__SYSCALL_STRING): Do not do errno handling in asm.
57128         (__CLONE_SYSCALL_STRING): Delete.
57129         (__INTERNAL_SYSCALL_STRING): Delete.
57130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57131         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57132         (PSEUDO): Reimplement to do errno handling inline.
57133         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57134         (SYSCALL_ERROR_HANDLER): New macro.
57135         (__SYSCALL_STRING): Do not do errno handling in asm.
57136         (__CLONE_SYSCALL_STRING): Delete.
57137         (__INTERNAL_SYSCALL_STRING): Delete.
57138         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57139         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57140         i386.
57141         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57142         (inline_syscall*): Add 'err' argument.
57143         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57144         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57145         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57146         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57148         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57149         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57151 2011-08-30  Andreas Schwab  <schwab@redhat.com>
57153         * elf/rtld.c (dl_main): Relocate objects in dependency order.
57155 2011-08-29  Jiri Olsa <jolsa@redhat.com>
57157         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57158         directive.
57160 2011-08-24  David S. Miller  <davem@davemloft.net>
57162         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57164 2011-08-24  Andreas Schwab  <schwab@redhat.com>
57166         * elf/Makefile: Add rules to build and run unload8 test.
57167         * elf/unload8.c: New file.
57168         * elf/unload8mod1.c: New file.
57169         * elf/unload8mod1x.c: New file.
57170         * elf/unload8mod2.c: New file.
57171         * elf/unload8mod3.c: New file.
57173         * elf/dl-close.c (_dl_close_worker): Reset private search list if
57174         it wasn't used.
57176 2011-08-23  David S. Miller  <davem@davemloft.net>
57178         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57179         subtract stack bias.
57180         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57181         %sp not %fp in calculations.
57182         (_JMPBUF_UNWINDS_ADJ): Likewise.
57184         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57185         (aio_suspend): Call it to force an exception region around the
57186         AIO_MISC_WAIT() invocation.
57188 2011-08-23  Andreas Schwab  <schwab@redhat.com>
57190         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57191         backslash.
57193 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
57195         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57196         protection macro.
57197         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57198         and <dl-machine.h>.
57199         (Elf64_FuncDesc): Remove.
57201 2011-08-22  David S. Miller  <davem@davemloft.net>
57203         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57204         sigaltstack check, add missing cfi directives.
57205         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57206         missing cfi directives, and sigaltstack handling.
57208 2011-08-16  Andreas Schwab  <schwab@redhat.com>
57210         [BZ #11724]
57211         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57212         object is seen twice.
57213         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57215         * elf/Makefile (distribute): Add tst-initorder2.c.
57216         (tests): Add tst-initorder2.
57217         (modules-names): Add tst-initorder2a tst-initorder2b
57218         tst-initorder2c tst-initorder2d.  Add rules to build them.
57219         ($(objpfx)tst-initorder2.out): New rule.
57220         * elf/tst-initorder2.c: New file.
57221         * elf/tst-initorder2.exp: New file.
57223 2011-08-22  Andreas Schwab  <schwab@redhat.com>
57225         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57227         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57228         dependencies back to end of function.
57230         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57231         $(elfobjdir)/ld.so.
57233 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
57235         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57236         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57237         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57238         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57239         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57240         of __vdso_gettimeofday.
57241         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57242         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
57243         attribute_hidden.
57244         (_libc_vdso_platform_setup): Remove initialization of
57245         __vdso_gettimeofday and __vdso_time.
57247 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57249         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57250         and fgetc_unlocked.
57251         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57252         getc_unlocked.
57254         * elf/dl-open.c (add_to_global): Report additions to the global scope
57255         for LD_DEBUG=scopes.
57256         (dl_open_worker): Also print scope of newly loaded dependencies.
57257         (_dl_show_scope): Indicate if there is no scope.
57259         [BZ #13114]
57260         * stdio-common/Makefile (tests): Add bug24.
57261         * stdio-common/bug24.c: New file.
57263 2011-08-19  Andreas Jaeger  <aj@suse.de>
57265         [BZ #13114]
57266         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57267         non-existant file when using close-on-exec mode.
57269 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57271         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57272         the very first instruction.
57274         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57275         the CFI state in the end.
57276         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57277         inclusion of dl-trampoline.h.
57278         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57280 2011-08-19  Andreas Schwab  <schwab@redhat.com>
57282         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57283         expectations for long double.
57285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57286         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57288 2011-08-14  David S. Miller  <davem@davemloft.net>
57290         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57291         artificual limit depends upon the system page size.
57293 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57295         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57296         * resolv/Makefile: Define CFLAGS-libresolv.
57298 2011-08-17  Andreas Schwab  <schwab@redhat.com>
57300         * nss/makedb.c (compute_tables): Make variables used in nested
57301         function static.
57303 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57305         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57306         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57307         if buffer was too small.
57309         * elf/pldd.c (main): Attach to all threads in the process.
57310         Rewrite /proc handling to use *at functions.
57312 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
57314         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57315         specifies first scope to show.
57316         (dl_open_worker): Update callers.  Move printing scope of new
57317         object to before the relocation.
57318         * elf/rtld.c (dl_main): Update _dl_show_scope call.
57319         * sysdeps/generic/ldsodefs.h: Update declaration.
57321         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57322         string for the scope number.
57324 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
57326         * nscd/servicescache.c (cache_addserv): Make sure written is always
57327         initialized.
57329 2011-08-14  Roland McGrath  <roland@hack.frob.com>
57331         * sysdeps/i386/i486/bits/atomic.h
57332         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57333         statement expression, so as to suppress "set but not used" warning.
57334         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57336         * string/strncat.c (STRNCAT): Use prototype definition.
57338         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57339         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57340         -Iprograms here.
57341         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57342         (localedef-modules): Add localedef.
57343         (locale-modules): Add locale.
57345         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57346         * elf/rtld.c (dl_main): Invert order of assignment in last change,
57347         to avoid a warning.
57349 2011-08-14  David S. Miller  <davem@davemloft.net>
57351         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57352         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57354 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
57356         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57357         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57358         * elf/rtld.c (dl_main): Set l_name of vDSO.
57359         Call _dl_show_scope when DL_DEBUG_SCOPES.
57360         (process_dl_debug): Recognize scopes flag and also set it for all.
57361         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57362         Declare _dl_show_scope.
57364         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57365         (do_dlopen): Pass caller_dlopen to dl_open.
57366         (__libc_dlopen_mode): Initialize caller_dlopen.
57368         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57369         of libc.  Make tolower call locale-independent.  Optimize a bit by
57370         using isdigit instead of isalnum.
57371         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57373 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
57375         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57376         was a dependency or dynamically loaded.
57378 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
57380         * intl/l10nflist.c: Allow architecture-specific pop function.
57381         * sysdeps/x86_64/l10nflist.c: New file.
57383         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57384         classification.
57386 2011-08-10  Andreas Schwab  <schwab@redhat.com>
57388         * include/dirent.h: Add libc_hidden_proto for scandirat and
57389         scandirat64.  Don't declare __scandirat64.
57390         * dirent/scandirat.c: Add libc_hidden_def.
57391         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57392         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57394 2011-08-10  David S. Miller  <davem@davemloft.net>
57396         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57397         enum.
57398         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57399         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57400         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57402 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
57404         * Versions.def [libc]: Add GLIBC_2.15.
57405         * dirent/Makefile (routines): Add scandirat and scandirat64.
57406         * dirent/Versions [libc]: Export scandirat and scandirat64 for
57407         GLIBC_2.15.
57408         * dirent/dirent.h: Declare scandirat and scandirat64.
57409         * dirent/scandirat.c: New file.
57410         * dirent/scandirat64.c: New file.
57411         * sysdeps/wordsize-64/scandirat.c: New file.
57412         * sysdeps/wordsize-64/scandirat64.c: New file.
57413         * dirent/opendir.c: Define opendirat.
57414         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
57415         using scandirat.
57416         * dirent/scandir64.c: Adjust for scandir.c change.
57417         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
57418         __scandirat64, and __scandir_cancel_handler.
57419         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
57420         additional parameter and use openat instead of open (outside of ld.so).
57421         Add new __opendir as wrapper around __opendirat.
57422         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57423         here without requiring old scandirat implementation.
57425 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
57427         * dirent/scandir.c (cancel_handler): Renamed to
57428         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
57429         defined.  Adjust users.
57430         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57431         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57433 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
57435         * string/test-string.h (IMPL): Use __STRING to expand name and then
57436         stringify it.
57438         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
57439         of cleanups.
57441 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57443         * string/Makefile: Update.
57444         (strop-tests): Append strncat.
57445         * string/test-wcscmp.c: New file.
57446         New comprehensive test for wcscmp.
57447         * string/test-strcmp.c: Update.
57448         (WIDE): New define.
57450 2011-07-22  Andreas Schwab  <schwab@redhat.com>
57452         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57453         line.
57455 2011-07-26  Andreas Schwab  <schwab@redhat.com>
57457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57458         encoding to ACE if AI_IDN.
57460 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
57462         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57463         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57465 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57467         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57468         Fix overflow bug in strncat.
57469         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57471         * string/test-strncat.c: Update.
57472         Add new tests for checking overflow bugs.
57474 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57476         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57477         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57478         * sysdeps/i386/i686/multiarch/strcat.S: New file.
57479         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57480         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57481         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57482         * sysdeps/i386/i686/multiarch/strncat.S: New file.
57483         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57484         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57486         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57487         (USE_AS_STRCAT): Define.
57488         Add strcat and strncat support.
57489         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57491 2011-07-25  Andreas Schwab  <schwab@redhat.com>
57493         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57494         __n bigger than INT_MAX+1.
57495         (__strncmp_g): Likewise.
57497 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
57499         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57500         * libio/stido.h: Likewise.
57502         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57503         (AF_NFC): Define.
57504         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57505         (AF_NFC): Define.
57507         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57508         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57509         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57510         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57511         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57513         [BZ #13021]
57514         * scripts/test-installation.pl: Don't expect libnss_test1 to be
57515         installed.
57517         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57518         typo.
57519         (_dl_x86_64_save_sse): Likewise.
57521 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
57523         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57524         OSXSAVE.
57525         (_dl_x86_64_save_sse): Likewise.
57527         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57529         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57531 2011-07-21  Andreas Schwab  <schwab@redhat.com>
57533         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57534         change.
57535         (_dl_x86_64_save_sse): Use correct AVX check.
57537 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57539         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57540         bug in strncpy/strncat.
57541         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57543 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
57545         * string/tester.c (test_strcat): Add tests for different alignments
57546         of source and destination.
57547         (test_strncat): Likewise.
57549 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57551         [BZ #12852]
57552         * posix/glob.c (glob): Check passed in values before using them in
57553         expressions to avoid some overflows.
57554         (glob_in_dir): Likewise.
57556         [BZ #13007]
57557         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57558         check for AVX enablement so that we don't crash with old kernels and
57559         new hardware.
57560         * elf/tst-audit4.c: Add same checks here.
57561         * elf/tst-audit6.c: Likewise.
57563         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57565 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
57567         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57569 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57571         * po/cs.po: Update from translation team.
57572         * po/bg.po: Likewise.
57574 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
57576         * misc/sys/cdefs.h: Add support for const attribute.
57577         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57578         to gnu_dev_{major,minor,makedev} functions.
57580 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
57582         * intl/dcigettext.c (get_output_charset): Add missing bracket.
57584 2011-07-20  Andreas Schwab  <schwab@redhat.com>
57586         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57587         strlen results.
57589 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57591         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57592         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57593         register in order to avoid conflicts with the soft frame pointer
57594         being held in r11 when necessary.
57595         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57596         (INTERNAL_VSYSCALL_NCS): Likewise.
57598 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
57600         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57601         * elf/dl-fini.c (_dl_fini): Adjust caller.
57602         * elf/dl-close.c (_dl_close_worker): Likewise.
57603         * sysdeps/generic/ldsodefs.h: Adjust declaration.
57605 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57607         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57608         "aux_cache->nlibs < 0".
57610         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57611         in the reload-count case.
57613 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57616         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57617         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57618         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57619         * sysdeps/x86_64/multiarch/strcat.S: New file.
57620         * sysdeps/x86_64/multiarch/strncat.S: New file.
57621         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57622         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57623         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57624         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57625         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57626         (USE_AS_STRCAT): Define.
57627         Add strcat and strncat support.
57628         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57629         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57630         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57631         * string/strncat.c: Update.
57632         (USE_AS_STRNCAT): Define.
57633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57634         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57635         and i7.
57636         * sysdeps/x86_64/multiarch/init-arch.h
57637         (bit_Prefer_PMINUB_for_stringop): New.
57638         (index_Prefer_PMINUB_for_stringop): Likewise.
57639         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57640         bit_Prefer_PMINUB_for_stringop.
57642 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57644         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57645         buffer64.
57646         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57647         of casting of buffer.
57648         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57649         buffer32 and buffer64.
57650         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57651         writes instead of casting of buffer.
57652         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57653         buffer32.
57654         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57655         casting of buffer.
57657 2011-07-19  Andreas Schwab  <schwab@redhat.com>
57659         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57661 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57663         * nscd/nscd.c (termination_handler): Don't do anything for a database
57664         if it has not yet been initialized.
57666 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57668         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57670 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57672         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57674 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57676         * po/nl.po: Update from translation team.
57677         * po/sv.po: Likewise.
57679 2011-07-16  Roland McGrath  <roland@hack.frob.com>
57681         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57682         now disallowed by GCC.
57684         * configure.in (use-default-link): Default to yes if a test -shared
57685         link meets our qualifications.
57686         * configure: Regenerated.
57688         * config.make.in (output-format): New variable.
57689         * configure.in: Check for ld --print-output-format support.
57690         * configure: Regenerated.
57691         * Makerules ($(common-objpfx)format.lds)
57692         [$(output-format) != unknown]: Just use $(output-format),
57693         instead of the linker-script munging.
57695 2011-07-14  Roland McGrath  <roland@hack.frob.com>
57697         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57698         of $(common-objpfx)shlib.lds.
57699         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57701         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57702         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57704         * configure.in (-z relro check): Adjust test code to add a large
57705         writable data section after it.
57706         * configure: Regenerated.
57708 2011-07-11  Roland McGrath  <roland@hack.frob.com>
57710         * configure.in (-z relro check): Fix test code to make the variable
57711         truly const.
57712         * configure: Regenerated.
57714 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
57716         * nscd/nscd.h (struct traced_file): Define.
57717         (struct database_dyn): Remove inotify_descr, reset_res, and filename
57718         elements.  Add traced_files.
57719         (inotify_fd): Declare.
57720         (register_traced_file): Declare.
57721         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57722         (inotify_fd): Export.
57723         (resolv_conf_descr): Remove.
57724         (nscd_init): Move inotify descriptor creation to main.
57725         Don't register files for notification here.
57726         (register_traced_file): New function.
57727         (invalidate_cache): Don't use reset_res to determine whether to call
57728         res_init, go through the list of registered files.
57729         (main_loop_poll): The inotify descriptors are now stored in the
57730         structures for the traced files.
57731         (main_loop_epoll): Likewise
57732         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
57733         to __nss_disable_nscd.
57734         * nscd/cache.c (prune_cache): There is no single inotify descriptor
57735         for a database anymore.  Check the records for all the registered
57736         files instead.
57737         * nss/Makefile (libnss_files-routines): Add files-init.
57738         (libnss_db-routines): Add db-init.
57739         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57740         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57741         * nss/nss_db/db-init.c: New file.
57742         * nss/nss_files/files-init.c: New file.
57743         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
57744         __nss_lookup_function.
57745         (__nss_lookup_function): Call nss_load_library.
57746         (nss_load_all_libraries): New function.
57747         (__nss_disable_nscd): Take parameter with callback function for files
57748         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
57749         used for the cached services.
57750         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57751         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57752         options for features to all the files in nscd.
57754         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57756 2011-07-10  Roland McGrath  <roland@hack.frob.com>
57758         * csu/elf-init.c (__libc_csu_init): Comment typo.
57760 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
57762         * po/pl.po: Update from translation team.
57763         * po/ja.po: Likewise.
57764         * po/ru.po: Likewise.
57765         * po/ko.po: Likewise.
57766         * po/fr.po: Likewise.
57768 2011-07-09  Roland McGrath  <roland@hack.frob.com>
57770         * configure.in (.ctors/.dtors header and trailer check):
57771         Use an empirical test on a built program.
57772         * configure: Regenerated.
57774         * configure.in (-z relro check): Use an empirical test on a built DSO.
57775         Detect, but do not require, on ia64.
57776         * configure: Regenerated.
57778         * configure.in (READELF): Find it with AC_CHECK_TOOL.
57779         Update tests that use readelf to use $READELF instead.
57780         * configure: Regenerated.
57782 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
57784         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57785         if the result is not used.
57787 2011-07-05  Andreas Jaeger  <aj@suse.de>
57789         [BZ#9696]
57790         * stdlib/tst-strtod.c: Add testcase.
57792 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
57794         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57795         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57796         The latter has a higher limit.  Take additional parameter to pass to
57797         the new function.
57798         (__pathconf): Pass file to __statfs_link_max.
57799         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57800         __statfs_link_max.
57801         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57802         __statfs_link_max.
57804         [BZ #12868]
57805         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57806         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57807         Handle Lustre.
57808         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57809         (__statfs_filesize_max): Likewise.
57810         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57812 2011-07-05  Andreas Jaeger  <aj@suse.de>
57814         * resolv/res_comp.c (dn_skipname): Remove unused variable.
57816 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
57818         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57819         `status' variable.
57820         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57821         Likewise.
57823 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
57825         * Makefile (strop-tests): Add strncat.
57826         * string/test-strncat.c: New file.
57828 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
57830         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57832 2011-06-21  Andreas Jaeger  <aj@suse.de>
57834         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57835         Copy rule from iconvdata/Makefile.
57837 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57839         [BZ #12922]
57840         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57841         but no long options are defined, just return 'W'.
57843 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
57845         [BZ #9696]
57846         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57848 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57850         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57851         netgroups to read.
57852         (innetgr): Likewise.
57854 2011-07-05  Roland McGrath  <roland@hack.frob.com>
57856         * config.make.in (install_root): Default to $(DESTDIR).
57858 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
57860         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57862 2011-07-02  Roland McGrath  <roland@hack.frob.com>
57864         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57866         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57867         containing directory rather than embedding absolute directory names.
57869         * scripts/check-local-headers.sh: Rewritten using awk.
57870         Match by word, not by line.  Print error messages for matches.
57871         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57873         * Makerules [shlib-lds-flags empty]:
57874         ($(common-objpfx)libc_pic.opts): New target.
57875         ($(common-objpfx)libc_pic.os.clean): New target.
57876         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57878         * config.make.in (OBJCOPY): New variable.
57879         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57880         * configure: Regenerated.
57882         * config.make.in (use-default-link): New variable.
57883         * configure.in (use_default_link): Grok --with-default-link to set it.
57884         * configure: Regenerated.
57885         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57886         (shlib-lds, shlib-lds-flags): Define to empty.
57888         * Makerules (shlib-lds): New variable.
57889         (shlib-lds-flags): New variable.
57890         (build-shlib, build-moduile, build-module-asneeded): Use it.
57891         ($(common-objpfx)libc.so): Use $(shlib-lds).
57892         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57893         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57895         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57896         DT_FLAGS/DT_FLAGS_1 with zero flags.
57898         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57899         linker script munging.
57901 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
57903         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57904         as 128-bit value.
57905         * crypt/sha512.c (sha512_process_block): Perform total addition using
57906         128-bit if possible.
57907         (__sha512_finish_ctx): Likewise.
57908         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57909         as 64-bit value.
57910         * crypt/sha256.c (SWAP64): Define.
57911         (sha256_process_block): Perform total addition using 64-bit if
57912         possible.
57913         (__sha256_finish_ctx): Likewise.
57915 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
57917         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
57918         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57919         * nscd/hstcache.c (cache_addhst): Likewise.
57920         * nscd/grpcache.c (cache_addgr): Likewise.
57921         * nscd/aicache.c (addhstaiX): Likewise
57922         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57924 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
57926         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57927         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57928         * nscd/hstcache.c (cache_addhst): Likewise.
57929         * nscd/grpcache.c (cache_addgr): Likewise.
57930         * nscd/aicache.c (addhstaiX): Likewise
57932 2011-07-01  Andreas Schwab  <schwab@redhat.com>
57934         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57935         domain only when needed.
57937 2011-06-30  Andreas Schwab  <schwab@redhat.com>
57939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57940         is always restored.
57942 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
57944         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57945         are re-adding the entry.
57946         * nscd/servicescache.c (cache_addserv): Likewise.
57948 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
57950         * sysdeps/generic/dl-irel.h: fix protection against multiple
57951         inclusions.
57952         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57954 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
57956         [BZ #12935]
57957         * malloc/memusage.sh: Fix quoting in message.
57958         * debug/xtrace.sh: Likewise.
57960         * configure.in: Remove support for --experimental-malloc option, make
57961         it the default.
57962         * config.make.in: Likewise.
57963         * malloc/Makefile: Likewise.
57965 2011-06-27  Andreas Schwab  <schwab@redhat.com>
57967         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57968         two-byte characters.
57970 2011-06-27  Roland McGrath  <roland@hack.frob.com>
57972         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57973         AC_CACHE_CHECK invocation.
57974         * configure: Regenerated.
57976         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57978 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
57980         [BZ #12350]
57981         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
57982         bit from old_res_options.
57984         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57986         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57987         value type for setfct.
57989 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
57991         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57992         __gettimeofday instead of gettimeofday.
57994 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
57996         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57998 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
58000         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58002         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58003         info.
58005 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58007         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58008         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58009         strcpy-sse2-unaligned strncpy-sse2-unaligned
58010         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58011         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58012         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58013         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58014         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58015         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58016         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58017         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58018         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58019         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58020         (STRCPY): Support SSE2 and SSSE3 versions.
58022 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
58024         [BZ #12874]
58025         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58026         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58027         kernels which artificially limit size of requests.
58029 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58031         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58032         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58033         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58034         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58035         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58036         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58037         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58038         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58039         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58040         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58041         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58042         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58043         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58044         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58045         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58046         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58047         Enable unaligned load optimization for Intel Core i3, i5 and i7
58048         processors.
58049         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58050         Define.
58051         (index_Fast_Unaligned_Load): Define.
58052         (HAS_FAST_UNALIGNED_LOAD): Define.
58054 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
58056         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58058 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58060         [BZ #12907]
58061         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58062         until it is clear that the information is realy needed.
58063         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58065 2011-06-22  Andreas Schwab  <schwab@redhat.com>
58067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58069 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58071         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58072         /sys/devices/system/cpu/online if it is usable.
58074         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58075         reading the information from the /proc filesystem to once a second.
58077 2011-06-21  Andreas Jaeger  <aj@suse.de>
58079         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58080         NULL after inclusion of kernel headers.
58082 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
58084         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58085         calls to internal_setent.
58087         [BZ #12885]
58088         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58089         addresses using gethostbyname4_r ignore IPv4 addresses.
58091         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58092         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
58094         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58096 2011-06-20  David S. Miller  <davem@davemloft.net>
58098         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58099         inclusions.
58100         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58102         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58103         (elf_irel): Use it.
58104         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58105         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58106         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58107         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58108         * sysdeps/x86_64/dl-irel.h: Likewise.
58110         * elf/dl-runtime.c: Use elf_ifunc_invoke.
58111         * elf/dl-sym.c: Likewise.
58113 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58115         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
58116         need to dereference resplen2.
58118 2011-06-14  Andreas Schwab  <schwab@redhat.com>
58120         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58122 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58124         * Makeconfig: Define vardbdir and inst_vardbdir.
58125         * nss/Makefile: Add rules to install db-Makefile.
58127         * nss/nss_db/db-XXX.c: Cleanup.
58129         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58130         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58131         GLIBC_PRIVATE.
58132         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58133         * nss/makedb.c: Implement -g option to specify that value strings
58134         are generated and should not be added to table iterated over for
58135         get*ent calls.
58136         * nss/nss_db/db-initgroups.c: New file.
58138         * nss/getent.c: Add support for initgroups lookups through getgrouplist
58139         interface.
58141         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58142         (internal_getgrouplist): Adjust to name change.
58143         Update use_initgroups_entry if this is not the first call.
58144         * nss/databases.def: Add initgroups entry.
58146         * nss/makedb.c (compute_tables): Check result of multiple hash table
58147         sizes to minimize maximum chain length.
58149 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
58151         * Versions.def: Add entry for libnss_db.
58152         * shlib-versions: Likewise.
58153         * nss/Makefile: Add rules to build libnss_db.
58154         * nss/Versions: Add libnss_db information.  Organize libnss_files
58155         entries better.
58156         * nss/db-Makefile: Add gshadow support.  Change rules for the new
58157         makedb progra.  Some minor improvements to generate smaller files.
58158         * nss/nss_db/nss_db.h: Move NSS database header data structures to
58159         here from...
58160         * nss/makedb.c: ...here.
58161         Improve database format to be smaller and require less memory at
58162         runtime.
58163         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
58164         db anymore.
58165         * nss/nss_db/db-netgrp.c: Likewise.
58166         * nss/nss_db/db-open.c: Likewise.
58167         * nss/nss_files/flies-XXX.x: Adjust comments.
58168         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58169         * nss/nss_files/files-grp.c: Likewise.
58170         * nss/nss_files/files-hosts.c: Likewise.
58171         * nss/nss_files/files-network.c: Likewise.
58172         * nss/nss_files/files-proto.c: Likewise.
58173         * nss/nss_files/files-pwd.c: Likewise.
58174         * nss/nss_files/files-rpc.c: Likewise.
58175         * nss/nss_files/files-service.c: Likewise.
58176         * nss/nss_files/files-sgrp.c: Likewise.
58177         * nss/nss_files/files-spwd.c: Likewise.
58178         * nss/nss_db/db-alias.c: Removed.
58179         * nss/nss_db/dummy-db.h: Removed.
58181 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
58183         * nss/makedb.c: Rewritten to not use database library.
58184         * nss/Makefile: Update to build new makedb program.
58186 2011-06-14  Andreas Jaeger  <aj@suse.de>
58188         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58189         memset declaration.
58191 2011-06-10  Andreas Schwab  <schwab@redhat.com>
58193         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58194         tmpbuf.
58196 2011-06-10  Roland McGrath  <roland@hack.frob.com>
58198         * Makerules (shlib.lds): Fail if the linker script comes out empty.
58199         * elf/Makefile ($(objpfx)ld.so): Likewise.
58201         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58202         Don't list ld.so twice in dependencies.
58204         * posix/bug-regex31.c: Include <stdlib.h>.
58206         * nscd/hstcache.c (cache_addhst): Remove unused variable.
58208         * nis/nss_compat/compat-spwd.c
58209         (getspent_next_nss_netgr): Remove unused variable.
58210         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58212         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58213         nonmembers" output to use the right array.
58215         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58217         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58219         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58220         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58221         * catgets/gencat.c (read_input_file): Likewise.
58222         * locale/programs/locarchive.c (enlarge_archive): Likewise.
58224         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58225         variable definition inside #if's controlling its use.
58227         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58229         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58231         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58233         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58234         unreachable code.
58236         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58238         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58239         * configure: Regenerated.
58241         * Makerules: Revert last change.
58242         * elf/Makefile: Likewise.
58244 2011-06-09  Roland McGrath  <roland@hack.frob.com>
58246         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58247         * elf/Makefile ($(objpfx)librtld.os): Likewise.
58248         (reloc-link): Likewise.
58250 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
58252         * elf/Makefile: Add rules to build pldd.
58253         * elf/pldd.c: New file.
58254         * elf/pldd-xx.c: New file.
58256 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
58258         * version.h: Update for 2.15 development version.
58260 2011-06-07  David S. Miller  <davem@davemloft.net>
58262         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58263         ifuncs.
58264         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58265         elf_machine_lazy_rel): Likewise.
58266         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58267         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58268         elf_machine_lazy_rel): Likewise.
58269         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58270         dl_hwcap via passed in argument.
58271         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58272         Likewise.
58274 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58276         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
58278 2011-06-06  Roland McGrath  <roland@hack.frob.com>
58280         [BZ #12849]
58281         * manual/fdl-1.1.texi: New file, verbatim from:
58282         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58283         * manual/lgpl-2.1.texi: New file, verbatim from:
58284         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58285         * manual/Makefile (licenses): New variable, list those new file names.
58286         (texis): Use it.
58287         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58289         * manual/fdl.texi: File removed.
58290         * manual/lesser.texi: File removed.
58291         * manual/libc.texinfo (Copying, Documentation License):
58292         Use new @include file names, put @appendix directive before @include.
58294 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
58296         [BZ #12841]
58297         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58298         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58299         (mq_open): Add __NTH.
58301 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
58303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58304         Assume Intel Core i3/i5/i7 processor if AVX is available.
58306 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58308         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58309         typo.
58311 2011-05-31  Andreas Schwab  <schwab@redhat.com>
58313         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58314         memory.  Use alloca_account.  Fix memory leak when retrying.
58316 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58318         * version.h (RELEASE): Bump for 2.14 release.
58319         * include/features.h (__GLIBC_MINOR__): Bump to 14.
58321         * config.make.in (RANLIB): Remove entry.
58323 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
58325         * po/Makefile (po-sed-cmd): Add ksh to extensions.
58326         (libc.pot): Work around missing support for .ksh extension in xgettext.
58328         [BZ #12684]
58329         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58330         if both request failed.
58331         (send_dg): In case of server errors clear resplen or *resplen2.
58333         [BZ #12454]
58334         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58335         when there are multiple maps.
58336         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58337         (_dl_fini): Remove test here.
58339         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58341 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
58343         [BZ #12350]
58344         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58345         bit from old_res_options.
58346         (gaih_inet): Likewise.
58348         [BZ #11099]
58349         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58350         as signed.
58352         * resolv/res_init.c (res_setoptions): Make the code more compact.
58354         [BZ #11558]
58355         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58356         set RES_USEVC.
58358         [BZ #11634]
58359         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58361         * malloc/malloc.h: Mark malloc hook variables as deprecated.
58363         [BZ #11781]
58364         * malloc/malloc.h: Declare malloc hook variables as volatile.
58366         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58367         in last patch.
58369         [BZ #11799]
58370         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58371         raise in the comment.
58372         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58373         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58374         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58376 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
58378         [BZ #12811]
58379         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58380         grow the buffers more if it already has to be sufficient.
58381         (build_wcs_upper_buffer): Likewise.
58382         * posix/regexec.c (check_matching): Likewise.
58383         (clean_state_log_if_needed): Likewise.
58384         (extend_buffers): Don't enlarge buffers beyond size of the input
58385         buffer.
58386         Patches mostly by Emil Wojak <emil@wojak.eu>.
58387         * posix/bug-regex32.c: New file.
58388         * posix/Makefile (tests): Add bug-regex32.
58390         * locale/findlocale.c (_nl_find_locale): Return right away if
58391         _nl_explode_name failed.
58392         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58394         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58396         * debug/xtrace.sh: Unify messages.
58397         * malloc/memusage.sh: Likewise.
58399         [BZ #12813]
58400         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58401         time symbol from vDSO.  Substitute with vsyscall if not available.
58402         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58403         __vdso_time.
58405         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58406         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58407         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58408         Add sendmmsg and internal_sendmmsg.
58409         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58410         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58411         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58413         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58414         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58415         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58417 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
58419         [BZ #12813]
58420         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58421         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
58422         available.
58423         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58424         __vdso_getcpu.
58426         [BZ #12814]
58427         * iconvdata/Makefile (tests): Add bug-iconv9.
58428         * iconvdata/bug-iconv9.c: New file.
58430 2011-05-27  Andreas Schwab  <schwab@redhat.com>
58432         [BZ #12814]
58433         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58435 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
58437         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58438         (struct user_regs_struct): Change intcs field back to cs.
58440 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
58442         * po/ja.po: Update from translation team.
58444 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
58446         [BZ #12795]
58447         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58448         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58450 2011-05-20  Andreas Schwab  <schwab@redhat.com>
58452         * stdlib/longlong.h: Update from GCC.
58454 2011-05-23  Andreas Schwab  <schwab@redhat.com>
58456         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58457         parameter name.
58458         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58459         Add parameter name.
58460         (__sysconf): Pass it down.
58462 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
58464         [BZ #12671]
58465         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58466         some situations.
58467         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58468         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58469         add in in __libc_use_alloca calls.  Adjust callers.
58470         (glob): Use malloc in some situations.
58472         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58473         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58474         pltexit.
58476 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
58478         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58479         and CLOCK_BOOTTIME_ALARM.
58481         [BZ #12782]
58482         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58483         is returned.
58485         * string/_strerror.c (__strerror_r): Print negative errors as signed
58486         numbers.
58488         [BZ #12777]
58489         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58490         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58491         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58493         * configure.in: Fix typo in redirection and correct removal of test
58494         files in two cases.
58496         [BZ #12788]
58497         * locale/setlocale.c (new_composite_name): Fix test to check for
58498         identical name of all categories.
58500         [BZ #12792]
58501         * libio/filedoalloc.c (local_isatty): New function.
58502         (_IO_file_doallocate): Use local_isatty.
58503         * stdio-common/perror.c (perror): In case a new stream is used
58504         forward the stream error.
58505         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58506         error flag.
58508 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
58510         [BZ #11869]
58511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58512         alloca.
58513         * include/alloca.h (extend_alloca_account): Define.
58515         [BZ #11857]
58516         * posix/regex.h: Fix comments with documentation of user-accessible
58517         fields after compilation and describe correct free'ing of pattern
58518         after re_compile_pattern.
58519         Patch by Reuben Thomas <rrt@sc3d.org>.
58521 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
58523         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58524         and -mno-altivec to prevent the compiler from using Altivec and/or
58525         VSX instructions when the corresponding registers are not available.
58527 2011-05-19  Andreas Schwab  <schwab@redhat.com>
58529         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58531 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
58533         * libio/freopen.c (freopen): Use __dup2, not dup2.
58534         * libio/freopen64.c (freopen64): Likewise.
58536 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58538         [BZ #12775]
58539         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58540         * math/Makefile (tests): Add test-powl.
58541         (CFLAGS-test-powl.c): Define.
58542         * math/test-powl.c: New file.
58544 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58546         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58548 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
58550         [BZ #11837]
58551         * iconvdata/gb18030.c: Update to GB18020-2005.
58553 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
58555         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58556         RE_SYNTAX_POSIX_AWK): Update to match recent development.
58557         Patch by Aharon Robbins <arnold@skeeve.com>.
58559         [BZ #11892]
58560         * stdlib/putenv.c (putenv): Don't always create copy of the variable
58561         on the stack.
58563         [BZ #11895]
58564         * misc/pselect.c (__pselect): Handle timeout value errors hidden
58565         through underflows.
58567         [BZ #12766]
58568         * misc/error.c (error_at_line): Ensure file_name and old_file_name
58569         point to strings before performing equality test for error_one_per_line
58570         mode.
58572         [BZ #11697]
58573         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58575         [BZ #11820]
58576         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58577         (struct user_fpregs_struct): Avoid __uint*_t types.
58579         [BZ #6420]
58580         * malloc/mtrace.c (tr_where): Add additional parameter to point to
58581         symbol info.  Use it instead of calling _dl_addr locally.
58582         (lock_and_info): New function.
58583         (tr_freehook): Call lock_and_info and pass symbol info as additional
58584         parameter to tr_where.
58585         (tr_mallochook): Likewise.
58586         (tr_reallochook): Likewise.
58587         (tr_memalignhook): Likewise.
58589         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
58590         used and couldn't be at all thread-safe.
58592 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
58594         * libio/freopen.c (freopen): Don't close old file descriptor
58595         before the new one is opened.  Instead dup the new file descriptor
58596         to the old one after the new stream is created.
58597         * libio/freopen64.c (freopen64): Likewise.
58598         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58599         * libio/fileops.c (_IO_new_file_close_it): Handle new
58600         _IO_FLAGS2_NOCLOSE flag.
58601         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58602         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58603         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58604         _IO_FLAGS2_NOCLOSE flag.
58605         * include/unistd.h: Add hidden_proto for dup3.
58606         Define __have_dup3.
58607         * io/dup3.c: Define hidden symbol.
58608         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58610         [BZ #7101]
58611         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58612         when an incomplete long option is used.
58613         * posix/tst-getopt_long1.c: New file.
58614         * posix/Makefile (tests): Add tst-getopt_long1.
58616         [BZ #10138]
58617         * scripts/config.guess: Update from autoconf-2.68.
58618         * scripts/config.sub: Likewise.
58620         [BZ #10157]
58621         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58622         tests into ...
58623         (has_cpuclock): ...this.  New function.
58624         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58625         macro here based on has_cpuclock code.
58627         [BZ #10149]
58628         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58629         First byte (not low byte) is now always NUL.
58630         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58632         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58633         Use non-cancelable interfaces.
58635         [BZ #9809]
58636         * locale/iso-639.def: Add entry for Sorani.
58638         [BZ #11901]
58639         * include/stdlib.h: Move include protection to the right place.
58640         Define abort_msg_s.  Declare __abort_msg with it.
58641         * stdlib/abort.c (__abort_msg): Adjust type.
58642         * assert/assert.c (__assert_fail_base): New function.  Majority
58643         of code from __assert_fail.  Allocate memory for __abort_msg with
58644         mmap.
58645         (__assert_fail): Now call __assert_fail_base.
58646         * assert/assert-perr.c: Remove bulk of implementation.  Use
58647         __assert_fail_base.
58648         * include/assert.hL Declare __assert_fail_base.
58649         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58650         mmap.
58651         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58653 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
58655         [BZ #11952]
58656         [BZ #12453]
58657         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58658         until all modules are registered in the DTV.
58659         * elf/Makefile: Add rules to build and run tst-tls19.
58660         * elf/tst-tls19.c: New file.
58661         * elf/tst-tls19mod1.c: New file.
58662         * elf/tst-tls19mod2.c: New file.
58663         * elf/tst-tls19mod3.c: New file.
58664         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58666         [BZ #12083]
58667         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58668         correctly.
58670         [BZ #12601]
58671         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58672         two-byte sequence errors.
58673         * iconvdata/Makefile (tests): Add bug-iconv8.
58674         * iconvdata/bug-iconv8.c: New file.
58676         [BZ #12626]
58677         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58678         buf2 definition.
58680         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58682         [BZ #12432]
58683         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58684         (dummy_getcfa): New function.
58685         (init): Get _Unwind_GetCFA address, use dummy if not found.
58686         (backtrace_helper): In recursion check, also check whether CFA changes.
58687         (__backtrace): Completely initialize arg.
58689         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58690         storing incomplete byte sequence in state object.  Avoid testing for
58691         guaranteed too small input if we know there is enough data available.
58693 2011-05-11  Andreas Schwab  <schwab@redhat.com>
58695         * Makeconfig (+link-pie): Indent.
58696         * Rules (binaries-pie): Define if $(have-fpie) and
58697         $(build-shared).
58698         (binaries-shared): Also filter out $(binaries-pie).
58699         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58700         * nscd/Makefile (others-pie): Add nscd.
58701         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58702         ($(objpfx)nscd): Remove command override.
58703         * login/Makefile (others-pie): Add pt_chown.
58704         ($(objpfx)pt_chown): Remove command override.
58705         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58706         remove command overrides.
58708 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
58710         * libio/tst_putwc.c: Fix error messages.
58712         [BZ #12724]
58713         * libio/fileops.c (_IO_new_file_close_it): Always flush when
58714         currently writing and seek to current position when not.
58715         * libio/Makefile (tests): Add bug-fclose1.
58716         * libio/bug-fclose1.c: New file.
58718 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
58720         [BZ #12511]
58721         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58722         don't set DF_1_NODELETE here.
58723         (do_lookup_x): When entering new entry test for copy relocation
58724         and if necessary set DF_1_NODELETE flag.
58725         * elf/tst-unique4.cc: New file.
58726         * elf/tst-unique4.h: New file.
58727         * elf/tst-unique4lib.cc: New file.
58728         * elf/Makefile: Add rules to build and run tst-unique4.
58729         Patch by Piotr Bury <pbury@goahead.com>.
58731 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
58733         [BZ #12052]
58734         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58736         [BZ #12625]
58737         * misc/mntent_r.c (addmntent): Flush the stream after the output
58739         [BZ #12393]
58740         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58741         (is_trusted_path_normalize): Skip initial colon.  Append slash
58742         to empty buffer.  Duplicate is_trusted_path code but allow
58743         constructed patch to be prefix.
58744         (is_dst): Allow $ORIGIN followed by /.
58745         (_dl_dst_substitute): Correct clearing of check_for_trusted.
58746         Correct testing of result of is_trusted_path_normalize
58747         (decompose_rpath): Fix warning.
58749 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
58751         [BZ #11257]
58752         * grp/initgroups.c (internal_getgrouplist): When we found the service
58753         list through the initgroups entry in nsswitch.conf do not always
58754         continue on a successful lookup.  Don't always use the
58755         __nss_group_database value if it is set.
58756         * nss/nsswitch.conf (initgroups): Change action for successful db
58757         lookup to continue for compatibility.
58759 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
58761         [BZ #11532]
58762         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58763         and CP774 modules.
58764         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58765         and CP774 modules.
58766         * iconvdata/tst-tables.sh: Likewise.
58767         * iconvdata/cp770.c: New file.
58768         * iconvdata/cp771.c: New file.
58769         * iconvdata/cp772.c: New file.
58770         * iconvdata/cp773.c: New file.
58771         * iconvdata/cp774.c: New file.
58772         * iconvdata/testdata/CP770: New file.
58773         * iconvdata/testdata/CP770..UTF8: New file.
58774         * iconvdata/testdata/CP771: New file.
58775         * iconvdata/testdata/CP771..UTF8: New file.
58776         * iconvdata/testdata/CP772: New file.
58777         * iconvdata/testdata/CP772..UTF8: New file.
58778         * iconvdata/testdata/CP773: New file.
58779         * iconvdata/testdata/CP773..UTF8: New file.
58780         * iconvdata/testdata/CP774: New file.
58781         * iconvdata/testdata/CP774..UTF8: New file.
58783         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58784         END CHARMAP line.
58785         * iconvdata/gen-8bit-gap.sh: Likewise.
58786         * iconvdata/gen-8bit.sh: Likewise.
58788         * locale/iso-639.def: Add ary entry.
58790         [BZ #11258]
58791         * locale/C-translit.h.in: Add U20A1 transliteration.
58793         [BZ #12178]
58794         * locale/iso-639.def: Add wae entry.
58795         Patch by Kevin Bortis <bortis@translate-wae.ch>.
58797         [BZ #12545]
58798         * locale/programs/localedef.c (construct_output_path): Use ssize_t
58799         for n.
58801         [BZ #12711]
58802         * locale/C-translit.h.in: Add entry for U20B9.
58803         Patch by pravin.d.s@gmail.com.
58805 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
58807         [BZ #12713]
58808         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58809         ENAMETOOLONG use generic getcwd.
58810         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
58811         in rtld.  Use *stat64.
58812         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58813         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58814         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58815         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58816         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58817         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58818         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58819         __fstatat64 macros.
58820         * include/dirent.h: Add libc_hidden_proto for rewinddir.
58821         * dirent/rewinddir.c: Add libc_hidden_def.
58822         * sysdeps/mach/hurd/rewinddir.c: Likewise.
58823         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
58825         * include/dirent.h (__alloc_dir): Add flags parameter.
58826         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58827         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58828         __alloc_dir.
58829         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
58830         from fdopendir if O_CLOEXEC is already set.
58832 2011-03-15  Alan Modra  <amodra@gmail.com>
58834         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58835         l_tls_firstbyte_offset non-zero.  Save padding offset in
58836         l_tls_firstbyte_offset for later use.
58837         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58838         freeing static tls block.
58840 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
58842         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58843         where #ifdef was intended.  The intent is to prevent ARG_MAX from
58844         being defined by the kernel headers.
58846 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
58848         [BZ #12734]
58849         * resolv/resolv.h: Define RES_NOTLDQUERY.
58850         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58851         no-tld-query and set RES_NOTLDQUERY.
58852         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58853         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58854         modern BIND to search name as TLD unless forbidden.
58856 2011-05-07  Petr Baudis  <pasky@suse.cz>
58857             Ulrich Drepper  <drepper@gmail.com>
58859         [BZ #12393]
58860         * elf/dl-load.c (fillin_rpath): Move trusted path check...
58861         (is_trusted_path): ...to here.
58862         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58863         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58864         using is_trusted_path_normalize() in setuid scripts.
58866 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58868         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58869         __BEGIN/__END_DECLS.
58871 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
58873         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58874         NSS_STATUS_NOTFOUND if no record was found.
58876 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58878         * sunrpc/Makefile (headers): Add rpc/netdb.h.
58879         (headers-not-in-tirpc): Remove rpc/netdb.h
58880         * resolv/netdb.h: Revert last change.
58882 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58884         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58885         circular dependency between libgcc.a and libc.a.
58887 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58889         * resolv/netdb.h: Don't include <rpc/netdb.h>.
58890         * nis/Makefile: Don't install rpcsvc/*.
58891         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58892         instead of <rpc/types.h>.
58893         (MAXHOSTNAMELEN): Define.
58895 2011-05-03  Andreas Schwab  <schwab@redhat.com>
58897         * elf/ldconfig.c (add_dir): Don't crash on empty path.
58899 2011-04-28  Maciej Babinski  <mbabinski@google.com>
58901         [BZ #12714]
58902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58903         gethostbyname4_r when IPv6 results are possible.
58905 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
58907         [BZ #12723]
58908         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58909         _PC_PIPE_BUF handling.
58911 2011-04-30  Bruno Haible  <bruno@clisp.org>
58913         [BZ #12717]
58914         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58915         * resolv/netdb.h (getnameinfo): Change type of flags parameter
58916         to 'int'.
58917         * inet/getnameinfo.c (getnameinfo): Likewise.
58919 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
58921         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58922         to groups setting in database lookup.
58923         * nss/nsswitch.conf: Add initgroups entry.
58925 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
58927         [BZ #12685]
58928         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58929         mode string.
58930         Patch by Eric Blake <eblake@redhat.com>.
58932 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
58934         * sunrpc/Makefile (need-export-routines): Add svc_run.
58935         (routines): Remove svc_run.
58936         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58937         * sunrpc/clnt_perr.c (clnt_perrno): Export.
58938         * sunrpc/svc_run.c (svc_run): Likewise.
58939         * sunrpc/svc_udp.c (svcudp_create): Likewise.
58941 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
58943         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58944         problem in reallocation in last patch.
58946 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
58948         * sunrpc/Makefile: Move inclusion of Rules.
58950 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58952         * nss/nss_files/files-initgroups.c: New file.
58953         * nss/Makefile (libnss_files-routines): Add files-initgroups.
58954         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58955         _nss_files_initgroups_dyn.
58957 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
58959         * elf/elf.h (R_ARM_IRELATIVE): Define.
58961 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58963         * po/ru.po: Update from translation team.
58965 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58967         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58968         dependencies.
58970 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
58972         [BZ #12653]
58973         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58974         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58975         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58976         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58977         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58979 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
58981         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58982         differing bytes.
58983         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58984         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58985         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58987 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58989         [BZ #12420]
58990         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58991         storing it.
58992         * stdlib/bug-getcontext.c: New file.
58993         * stdlib/Makefile: Add rules to build and run bug-getcontext.
58995 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58997         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58998         instructions into .machine "z9-109".
58999         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59000         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59002 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59004         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59005         between environment variables and auxiliary vector.
59007 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
59009         * Makefile: Add rules to build linkobj/libc.so.
59010         * include/libc-symbols.h: Define libc_hidden_nolink.
59011         * include/rpc/auth.h: Mark functions which are to be hidden.
59012         * include/rpc/auth_des.h: Likewise.
59013         * include/rpc/auth_unix.h: Likewise.
59014         * include/rpc/clnt.h: Likewise.
59015         * include/rpc/des_crypt.h: Likewise.
59016         * include/rpc/key_prot.h: Likewise.
59017         * include/rpc/pmap_clnt.h: Likewise.
59018         * include/rpc/pmap_prot.h: Likewise.
59019         * include/rpc/pmap_rmt.h: Likewise.
59020         * include/rpc/rpc_msg.h: Likewise.
59021         * include/rpc/svc.h: Likewise.
59022         * include/rpc/svc_auth.h: Likewise.
59023         * include/rpc/xdr.h: Likewise.
59024         * nis/Makefile: Link all DSOs against linkobj/libc.so.
59025         * nss/Makefile: Likewise.
59026         * sunrpc/Makefile: Don't install headers.  Build library with normal
59027         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
59028         * sunrpc/auth_des.c: Hide exported symbols by default, export some
59029         for the compat linking library.  Remove use of INTDEF/INTUSE.
59030         * sunrpc/auth_none.c: Likewise.
59031         * sunrpc/auth_unix.c: Likewise.
59032         * sunrpc/authdes_prot.c: Likewise.
59033         * sunrpc/authuxprot.c: Likewise.
59034         * sunrpc/clnt_gen.c: Likewise.
59035         * sunrpc/clnt_perr.c: Likewise.
59036         * sunrpc/clnt_raw.c: Likewise.
59037         * sunrpc/clnt_simp.c: Likewise.
59038         * sunrpc/clnt_tcp.c: Likewise.
59039         * sunrpc/clnt_udp.c: Likewise.
59040         * sunrpc/clnt_unix.c: Likewise.
59041         * sunrpc/des_crypt.c: Likewise.
59042         * sunrpc/des_soft.c: Likewise.
59043         * sunrpc/get_myaddr.c: Likewise.
59044         * sunrpc/key_call.c: Likewise.
59045         * sunrpc/key_prot.c: Likewise.
59046         * sunrpc/netname.c: Likewise.
59047         * sunrpc/pm_getmaps.c: Likewise.
59048         * sunrpc/pm_getport.c: Likewise.
59049         * sunrpc/pmap_clnt.c: Likewise.
59050         * sunrpc/pmap_prot.c: Likewise.
59051         * sunrpc/pmap_prot2.c: Likewise.
59052         * sunrpc/pmap_rmt.c: Likewise.
59053         * sunrpc/publickey.c: Likewise.
59054         * sunrpc/rpc_cmsg.c: Likewise.
59055         * sunrpc/rpc_common.c: Likewise.
59056         * sunrpc/rpc_dtable.c: Likewise.
59057         * sunrpc/rpc_prot.c: Likewise.
59058         * sunrpc/rpc_thread.c: Likewise.
59059         * sunrpc/rtime.c: Likewise.
59060         * sunrpc/svc.c: Likewise.
59061         * sunrpc/svc_auth.c: Likewise.
59062         * sunrpc/svc_authux.c: Likewise.
59063         * sunrpc/svc_raw.c: Likewise.
59064         * sunrpc/svc_run.c: Likewise.
59065         * sunrpc/svc_simple.c: Likewise.
59066         * sunrpc/svc_tcp.c: Likewise.
59067         * sunrpc/svc_udp.c: Likewise.
59068         * sunrpc/svc_unix.c: Likewise.
59069         * sunrpc/svcauth_des.c: Likewise.
59070         * sunrpc/xcrypt.c: Likewise.
59071         * sunrpc/xdr.c: Likewise.
59072         * sunrpc/xdr_array.c: Likewise.
59073         * sunrpc/xdr_float.c: Likewise.
59074         * sunrpc/xdr_intXX_t.c: Likewise.
59075         * sunrpc/xdr_mem.c: Likewise.
59076         * sunrpc/xdr_rec.c: Likewise.
59077         * sunrpc/xdr_ref.c: Likewise.
59078         * sunrpc/xdr_sizeof.c: Likewise.
59079         * sunrpc/xdr_stdio.c: Likewise.
59081 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
59083         [BZ #12650]
59084         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59085         * sysdeps/ia64/dl-tls.h: Likewise.
59086         * sysdeps/powerpc/dl-tls.h: Likewise.
59087         * sysdeps/s390/dl-tls.h: Likewise.
59088         * sysdeps/sh/dl-tls.h: Likewise.
59089         * sysdeps/sparc/dl-tls.h: Likewise.
59090         * sysdeps/x86_64/dl-tls.h: Likewise.
59091         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59093 2011-03-14  Andreas Schwab  <schwab@redhat.com>
59095         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59096         rpath element also skip the following colon.
59097         (expand_dynamic_string_token): Add is_path parameter and pass
59098         down to DL_DST_REQUIRED and _dl_dst_substitute.
59099         (decompose_rpath): Call expand_dynamic_string_token with
59100         non-zero is_path.  Ignore empty rpaths.
59101         (_dl_map_object_from_fd): Call expand_dynamic_string_token
59102         with zero is_path.
59104 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
59106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59107         Make cancelable.
59109 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
59111         [BZ #12655]
59112         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59113         Patch by Filipe David Manana <fdmanana@apache.org>.
59115 2011-04-07  Andreas Schwab  <schwab@redhat.com>
59117         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59118         Maintain aligned stack.
59119         (CHECK_RSP): Remove unused macro.
59121 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
59123         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59124         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59126 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
59128         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59130         * include/features.h: Mention __USE_XOPEN2K8 in comment.
59132 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
59134         [BZ #12518]
59135         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59136         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59137         * sysdeps/x86_64/memmove.c: New file.
59138         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59139         (memcpy): Renamed to ...
59140         (__new_memcpy): This.
59141         (memcpy): Provide GLIBC_2_14 memcpy.
59142         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59143         (memcpy): Provide GLIBC_2_2_5 memcpy.
59145 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59147         [BZ #12631]
59148         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59150 2011-03-30  Andreas Schwab  <schwab@redhat.com>
59152         * misc/syncfs.c: New file.
59153         * misc/Makefile (routines): Add syncfs.
59154         * posix/unistd.h: Declare syncfs.
59155         * sysdeps/unix/syscalls.list: Add syncfs.
59157 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59159         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59160         open_by_handle_at.
59161         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59162         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59163         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59164         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59166         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59167         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59169 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59171         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59172         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59173         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59174         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59175         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59176         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59177         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59179         * io/Makefile: Compile fallocate.c, fallocate64.c, and
59180         sync_file_range.c with -fexceptions.
59181         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59182         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59183         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59184         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59185         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59186         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59187         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59188         sync_file_range as cancellation point
59189         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
59190         now a wrapper around __call_sync_file_range with cancellation handling.
59191         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59192         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
59193         function name to __call_sync_file_range.
59194         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59195         Add call_sync_file_range.
59197 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59200         bits/timex.h.
59202 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59204         * iconv/iconv.h: Fix typo in comment.
59205         * io/fcntl.h: Likewise.
59206         * libio/stdio.h: Likewise.
59207         * posix/spawn.h: Likewise.
59208         * posix/unistd.h: Likewise.
59209         * stdlib/stdlib.h: Likewise.
59210         * time/time.h: Likewise.
59211         * wcsmbs/wchar.h: Likewise.
59213         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59214         open_by_handle): Add.
59215         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59216         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
59217         Augment a few comments.
59218         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59219         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59220         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59221         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59222         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59223         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59224         open_by_handle.
59226         * io/fcntl.h (AT_EMPTY_PATH): Define.
59228 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
59230         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59231         * sysdeps/unix/sysv/linux/bits/time.h: New file.
59232         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59233         to...
59234         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
59235         * Versions.def: Add GLIBC_2.14.
59236         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59237         Export.
59239 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
59241         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59242         round counter.
59243         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59245 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59247         [BZ #12597]
59248         * string/test-strncmp.c (do_page_test): New function.
59249         (check2): Likewise.
59250         (test_main): Call check2.
59251         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59253 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
59255         [BZ #12587]
59256         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59257         Handle cache information in CPU leaf 4.
59258         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59260 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
59262         [BZ #12583]
59263         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59264         character representation.
59265         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59267 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
59269         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59270         END(__isnan) to END(__isnanf) to match function entry point/label
59271         EALIGN(__isnanf,...).
59273 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
59275         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59277 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
59279         [BZ #12510]
59280         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59281         copy from the symbol referenced in the relocation to initialize the
59282         used variable.
59283         Patch by Piotr Bury <pbury@goahead.com>.
59284         * elf/Makefile: Add rules to build and tst-unique3.
59285         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59286         * elf/tst-unique3.cc: New file.
59287         * elf/tst-unique3.h: New file.
59288         * elf/tst-unique3lib.cc: New file.
59289         * elf/tst-unique3lib2.cc: New file.
59291         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59293 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
59295         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59296         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
59297         to _start.
59299 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
59301         * elf/dl-load.c (_dl_map_object): If we are looking for the first
59302         to-be-loaded object along a path to loader is ld.so.
59304 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59305             Ulrich Drepper  <drepper@gmail.com>
59307         * sysdeps/x86_64/memset.S: After aligning destination, code
59308         branches to different locations depending on the value of
59309         misalignment, when multiarch is enabled. Fix this.
59311 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59313         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59314         Set _x86_64_preferred_memory_instruction for AMD processsors.
59315         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59316         Set bit_Prefer_SSE_for_memop for AMD processors.
59318 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
59320         * libio/fmemopen.c (fmemopen): Optimize a bit.
59322 2011-03-03  Andreas Schwab  <schwab@redhat.com>
59324         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59326 2011-03-03  Roland McGrath  <roland@redhat.com>
59328         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59330 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
59332         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59333         __bzero_ultra1 instead of __memset_ultra1.
59335 2011-02-23  Andreas Schwab  <schwab@redhat.com>
59336             Ulrich Drepper  <drepper@gmail.com>
59338         [BZ #12509]
59339         * include/link.h (struct link_map): Add l_orig_initfini.
59340         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59341         returning unsuccessfully.
59342         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59343         close of a file loaded at startup, restore the original l_initfini
59344         list.
59345         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59346         list, store the pointer.
59347         * elf/Makefile ($(objpfx)noload-mem): New rule.
59348         (noload-ENV): Define.
59349         (tests): Add $(objpfx)noload-mem.
59350         * elf/noload.c: Include <memcheck.h>.
59351         (main): Call mtrace.  Close all opened handles.
59353 2011-02-17  Andreas Schwab  <schwab@redhat.com>
59355         [BZ #12454]
59356         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59357         dependencies are missing.
59359 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59361         Fix __if_freereq crash: Unlike the generic version which uses free,
59362         Hurd needs munmap.
59363         * sysdeps/mach/hurd/ifreq.h: New file.
59365 2011-01-27  Petr Baudis  <pasky@suse.cz>
59366             Ulrich Drepper  <drepper@gmail.com>
59368         [BZ 12445]#
59369         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59370         to extend_alloca().
59371         * stdio-common/bug23.c: New file.
59372         * stdio-common/Makefile (tests): Add bug23.
59374 2010-09-28  Andreas Schwab  <schwab@redhat.com>
59375             Ulrich Drepper  <drepper@gmail.com>
59377         [BZ #12489]
59378         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59379         before performing relro protection.  At old place add assertion
59380         to make sure nothing changed.
59382 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
59383             Glauber de Oliveira Costa  <glommer@gmail.com>
59385         * elf/elf.h: Add new ARM TLS relocs.
59387 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
59389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59390         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59391         cast from r3.
59392         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
59393         'tests' variable.
59394         * sysdeps/wordsize-64/tst-writev.c: New file.
59396 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
59398         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59399         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59400         insns in _dl_start to prevent a TOC reference before relocs are
59401         resolved.
59403 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
59405         [BZ #12469]
59406         * Makeconfig: Remove RANLIB definition.
59407         * Makerules: Don't use RANLIB.
59408         * aclocal.m4: Remove ranlib test.
59409         * configure.in: No need to check for ranlib.
59410         * elf/rtld-Rules: Don't use RANLIB.
59412 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59414         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59415         protection macro.
59416         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59417         inclusion protection macro.
59419         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59420         SIGRTMIN and SIGRTMAX and print information in that case only when
59421         SIGRTMIN is defined.
59423 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
59425         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59426         arginfo fn returning -1.
59428         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59429         and thousands string is zero terminated.
59431 2011-02-03  Andreas Schwab  <schwab@redhat.com>
59433         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59434         sysdeps/unix/sysv/linux/bits/socket.h.
59436 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59438         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59439         (__CPU_COUNT): Remove old macros.
59440         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59441         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59442         (__CPU_ALLOC, __CPU_FREE): Add macros.
59443         (__sched_cpualloc, __sched_cpufree): Add declarations.
59445 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
59447         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59448         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59449         * nscd/aicache.c (addhstaiX): Return timeout of added value.
59450         (readdhstai): Return value of addhstaiX call.
59451         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59452         (addgrbyX): Return value returned by cache_addgr.
59453         (readdgrbyname): Return value returned by addgrbyX.
59454         (readdgrbygid): Likewise.
59455         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59456         (addpwbyX): Return value returned by cache_addpw.
59457         (readdpwbyname): Return value returned by addhstbyX.
59458         (readdpwbyuid): Likewise.
59459         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59460         (addservbyX): Return value returned by cache_addserv.
59461         (readdservbyname): Return value returned by addservbyX:
59462         (readdservbyport): Likewise.
59463         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59464         (addhstbyX): Return value returned by cache_addhst.
59465         (readdhstbyname): Return value returned by addhstbyX.
59466         (readdhstbyaddr): Likewise.
59467         (readdhstbynamev6): Likewise.
59468         (readdhstbyaddrv6): Likewise.
59469         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59470         (readdinitgroups): Return value returned by addinitgroupsX.
59471         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59472         (prune_cache): Keep track of timeout value of re-added entries.
59473         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59474         * nscd/nscd.h: Adjust prototypes of readd* functions.
59476 2011-02-04  Roland McGrath  <roland@redhat.com>
59478         * nis/nis_server.c (nis_servstate): Use the right name for 0.
59479         (nis_stats): Likewise.
59480         * nis/nis_modify.c (nis_modify): Likewise.
59481         * nis/nis_remove.c (nis_remove): Likewise.
59482         * nis/nis_add.c (nis_add): Likewise.
59484         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59486         * posix/fnmatch_loop.c: Add some consts.
59488         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59490 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
59492         [BZ #12460]
59493         * config.make.in (config-cflags-novzeroupper): Define.
59494         * configure.in: Substitute libc_cv_cc_novzeroupper.
59495         * elf/Makefile (AVX-CFLAGS): Define.
59496         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59497         (CFLAGS-tst-auditmod4a.c): Likewise.
59498         (CFLAGS-tst-auditmod4b.c): Likewise.
59499         (CFLAGS-tst-auditmod6b.c): Likewise.
59500         (CFLAGS-tst-auditmod6c.c): Likewise.
59501         (CFLAGS-tst-auditmod7b.c): Likewise.
59502         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59504 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
59506         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59507         function to the callback.
59508         Patch partly by Jiri Olsa <jolsa@redhat.com>.
59510 2011-02-02  Andreas Schwab  <schwab@redhat.com>
59512         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59513         of errno.
59515 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
59517         [BZ #11724]
59518         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59519         of constructors.
59520         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59521         of destructors.
59522         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59524         [BZ #11724]
59525         * elf/Makefile: Add rules to build and run new test.
59526         * elf/tst-initorder.c: New file.
59527         * elf/tst-initorder.exp: New file.
59528         * elf/tst-initordera1.c: New file.
59529         * elf/tst-initordera2.c: New file.
59530         * elf/tst-initordera3.c: New file.
59531         * elf/tst-initordera4.c: New file.
59532         * elf/tst-initorderb1.c: New file.
59533         * elf/tst-initorderb2.c: New file.
59534         * elf/tst-order-a1.c: New file.
59535         * elf/tst-order-a2.c: New file.
59536         * elf/tst-order-a3.c: New file.
59537         * elf/tst-order-a4.c: New file.
59538         * elf/tst-order-b1.c: New file.
59539         * elf/tst-order-b2.c: New file.
59540         * elf/tst-order-main.c: New file.
59541         New test case by George Gensure <werkt0@gmail.com>.
59543 2010-10-01  Andreas Schwab  <schwab@redhat.com>
59545         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59546         decoding ACE if AI_CANONIDN.
59548 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
59550         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59552 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
59554         * version.h (RELEASE): Bump for 2.13 release.
59555         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59557         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59559         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59560         MADV_NOHUGEPAGE.
59561         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59562         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59563         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59564         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59565         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59566         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59568         * posix/getconf.c: Update copyright year.
59569         * catgets/gencat.c: Likewise.
59570         * csu/version.c: Likewise.
59571         * debug/catchsegv.sh: Likewise.
59572         * debug/xtrace.sh: Likewise.
59573         * elf/ldconfig.c: Likewise.
59574         * elf/ldd.bash.in: Likewise.
59575         * elf/sprof.c (print_version): Likewise.
59576         * iconv/iconv_prog.c: Likewise.
59577         * iconv/iconvconfig.c: Likewise.
59578         * locale/programs/locale.c: Likewise.
59579         * locale/programs/localedef.c: Likewise.
59580         * malloc/memusage.sh: Likewise.
59581         * malloc/mtrace.pl: Likewise.
59582         * nscd/nscd.c (print_version): Likewise.
59583         * nss/getent.c: Likewise.
59585         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59586         PF_CAIF, and PF_ALG.
59587         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59589 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
59591         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59592         (modules-names): Use them.
59593         (ifunc-test-modules, ifunc-pie-tests): Define.
59594         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59595         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59596         (test-extras): Likewise.
59597         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59598         $(compile-command.c).
59599         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59600         (all-built-dso): Define.
59601         (check-textrel.out, check-execstack.out): Depend on it.
59603         * configure.in: Don't override --enable-multi-arch.
59605 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
59607         [BZ #6812]
59608         * nscd/hstcache.c (tryagain): Define.
59609         (cache_addhst): Return tryagain not notfound for temporary errors.
59610         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59611         failed.
59613 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
59615         [BZ #10563]
59616         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59617         to make the syscall.
59618         * sysdeps/unix/sysv/linux/setgroups.c: New file.
59620         [BZ #12378]
59621         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59622         and fall back to matching as normal character if the string ends before
59623         the matching ']' is found.  This is what POSIX requires.
59624         * posix/testfnm.c: Adjust test result.
59625         * posix/globtest.sh: Adjust test result.  Add new test.
59626         * posix/tst-fnmatch.input: Likewise.
59627         * posix/tst-fnmatch2.c: Add new test.
59629 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
59631         * elf/Makefile (check-execstack): Revert last change.  Depend on
59632         check-execstack.h.
59633         (check-execstack.h): New target.
59634         (generated): Add check-execstack.h.
59635         * elf/check-execstack.c: Include "check-execstack.h".
59636         (main): Revert last change.
59637         (handle_file): Return zero if GNU_STACK is absent and
59638         DEFAULT_STACK_PERMS doesn't include PF_X.
59640 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
59642         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59643         in child fails because the descriptor is already closed.
59644         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59645         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59646         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59648         [BZ #12397]
59649         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59650         syscall.
59652         [BZ #10484]
59653         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59654         temporary buffer used to handle multi lookups locally.
59655         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59657 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59659         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59660         loader is ld.so.
59662 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
59664         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59665         alignment for SSE2.
59667 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59669         [BZ #12394]
59670         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59671         characters.  When rounding increased number of integer digits recompute
59672         number of groups.
59673         * stdio-common/tst-grouping.c: New file.
59674         * stdio-common/Makefile: Add rules to build and run tst-grouping.
59676 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
59678         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59679         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
59681         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59682         void.
59683         * bits/select.h: Likewise.
59685 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
59687         * po/ja.po: Update from translation team.
59689 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
59691         [BZ #11155]
59692         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59693         implementation just like for lxstat, fxstatat, et al.
59695 2010-12-27  Jim Meyering  <meyering@redhat.com>
59697         [BZ #12348]
59698         * posix/regexec.c (build_trtable): Return failure indication upon
59699         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
59701 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
59703         [BZ #12201]
59704         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59705         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59706         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59707         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59709         [BZ #12207]
59710         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59712         [BZ #12204]
59713         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59714         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59716 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
59718         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59719         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59720         script has SORT_BY_INIT_PRIORITY.
59721         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59722         NO_CTORS_DTORS_SECTIONS is defined.
59723         * elf/soinit.c: Likewise.
59724         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59725         NO_CTORS_DTORS_SECTIONS is defined.
59726         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59727         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59728         * sysdeps/sh/init-first.c: Likewise.
59729         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59731 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
59733         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59734         always use the slow path.
59736 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
59738         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59739         similar rule which adds the sysdep directories to the header search in
59740         order to pick up the correct platform stackinfo.h.
59741         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59742         perform test if it is, otherwise return successfully without testing.
59743         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59744         DEFAULT_STACK_PERMS define in stackinfo.h.
59745         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59746         defined in stackinfo.h.
59747         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59748         DEFAULT_STACK_PERMS defined in stackinfo.h.
59749         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59750         * sysdeps/ia64/stackinfo.h: Likewise.
59751         * sysdeps/s390/stackinfo.h: Likewise.
59752         * sysdeps/sh/stackinfo.h: Likewise.
59753         * sysdeps/sparc/stackinfo.h: Likewise.
59754         * sysdeps/x86_64/stackinfo.h: Likewise.
59755         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59756         PF_X for powerpc64.  Retain PF_X for powerpc32.
59758 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
59760         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59761         accurately.
59762         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59763         GETDENTS_64BIT_ALIGNED.
59765 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
59767         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59769 2010-12-10  Andreas Schwab  <schwab@redhat.com>
59771         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59772         _GNU_SOURCE.
59774         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59775         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59776         Remove __restrict.
59777         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59778         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59780 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
59782         [BZ #11655]
59783         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59784         are initialized.
59786 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
59788         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59790 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
59792         * po/it.po: Update from translation team.
59794 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
59796         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59797         unused codes.
59799 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
59801         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59803 2010-11-24  Andreas Schwab  <schwab@redhat.com>
59805         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59806         specially.
59807         (gaih_getanswer_slice): Likewise.
59809 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
59811         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59813 2010-05-31  Petr Baudis  <pasky@suse.cz>
59815         [BZ #11149]
59816         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59817         silently even in the chroot mode.
59819 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
59821         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59822         last patch a bit.  Pretty printing
59824 2010-05-31  Petr Baudis <pasky@suse.cz>
59826         [BZ #10085]
59827         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59828         initialization of skip_initgroups_dyn.
59830 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
59832         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59833         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59835 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
59837         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59839 2010-11-11  Andreas Schwab  <schwab@redhat.com>
59841         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59842         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59843         (tst-fnmatch-ENV): Set MALLOC_TRACE.
59844         ($(objpfx)tst-fnmatch-mem): New rule.
59845         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59846         * posix/tst-fnmatch.c (main): Call mtrace.
59848 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
59850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59851         Support Intel processor model 6 and model 0x2c.
59853 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
59855         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59856           signed comparison.
59858 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
59860         [BZ #12205]
59861         * string/test-strncasecmp.c (check_result): New function.
59862         (do_one_test): Use it.
59863         (check1): New function.
59864         (test_main): Use it.
59865         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59866         Support strcasecmp and strncasecmp.
59868 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
59870         [BZ #12194]
59871         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59872         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59874 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59876         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59877         IFUNC support.
59878         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59879         memset-x86-64.
59880         * sysdeps/x86_64/multiarch/bzero.S: New file.
59881         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59882         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59883         * sysdeps/x86_64/multiarch/memset.S: New file.
59884         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59885         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59886         Set bit_Prefer_SSE_for_memop for Intel processors.
59887         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59888         Define.
59889         (index_Prefer_SSE_for_memop): Define.
59890         (HAS_PREFER_SSE_FOR_MEMOP): Define.
59892 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
59894         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59895         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59897 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
59899         [BZ #12191]
59900         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59901         (__x86_64_raw_data_cache_size_half): Likewise.
59902         (__x86_64_raw_shared_cache_size): Likewise.
59903         (__x86_64_raw_shared_cache_size_half): Likewise.
59905         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59906         (__x86_64_raw_data_cache_size_half): Likewise.
59907         (__x86_64_raw_shared_cache_size): Likewise.
59908         (__x86_64_raw_shared_cache_size_half): Likewise.
59909         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59910         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59911         and __x86_64_raw_shared_cache_size_half.  Round
59912         __x86_64_data_cache_size_half, __x86_64_data_cache_size
59913         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59914         to multiple of 256 bytes.
59916 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
59918         [BZ #12167]
59919         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59920         of inacessible symlinks.  Verify result of symlink before returning it.
59921         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59922         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59924 2010-10-28  Erich Ritz  <erichritz@gmail.com>
59926         * math/math.h (isinf): Fix typo in comment.
59928 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
59930         * po/da.po: Update from translation team.
59932 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
59934         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59935         is added to the list.
59937 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59938             Ulrich Drepper  <drepper@gmail.com>
59940         * elf/dl-object.c (_dl_new_object): Don't append the new object to
59941         the global list here.  Move code to...
59942         (_dl_add_to_namespace_list): ...here.  New function.
59943         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59944         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59945         * elf/dl-load.c (lose): Don't remove the element from the list.
59946         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59947         (_dl_map_object): Likewise.
59949 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
59951         [BZ #12159]
59952         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59953         into all bytes of SSE register.
59954         Patch by Richard Li <richardpku@gmail.com>.
59956 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
59958         [BZ #12140]
59959         * malloc/malloc.c (_int_free): Fill correct number of bytes when
59960         perturbing.
59962 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
59964         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59965         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59966         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59967         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59969         submachine.
59970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59972 2010-10-22  Andreas Schwab  <schwab@redhat.com>
59974         * include/dlfcn.h (__RTLD_SECURE): Define.
59975         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
59976         mode & __RTLD_SECURE instead.
59977         (open_path): Rename preloaded parameter to secure.
59978         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59979         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59980         * elf/dl-deps.c (openaux): Likewise.
59981         * elf/rtld.c (struct map_args): Remove is_preloaded.
59982         (map_doit): Don't use it.
59983         (dl_main): Likewise.
59984         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59985         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59987 2010-09-09  Andreas Schwab  <schwab@redhat.com>
59989         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59990         (sysd-rules-targets): Remove duplicates.
59991         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59992         rtld-%.$o dependency.
59994 2010-10-18  Andreas Schwab  <schwab@redhat.com>
59996         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59997         _dl_map_object do it.
59999 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
60001         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60002         fast fma builtins, define the macros in the C99 standard.
60003         (FP_FAST_FMAF): Likewise.
60004         (FP_FAST_FMAL): Likewise.
60005         * sysdeps/x86_64/bits/mathdef.h: Likewise.
60007         * bits/mathdef.h: Update copyright year.
60008         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60010 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
60012         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60013         builtins, define the macros in the C99 standard.
60014         (FP_FAST_FMAF): Likewise.
60015         (FP_FAST_FMAL): Likewise.
60016         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60017         multiply/add.
60018         (FP_FAST_FMAF): Likewise.
60020 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
60022         [BZ #3268]
60023         * math/libm-test.inc (fma_test): Some new testcases.
60024         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60025         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60026         y and infinite z.  Do multiplication by C already in long double.
60027         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60029         y and infinite z.  Do bitwise or of inexact bit into u.d.
60030         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60031         * sysdeps/i386/fpu/s_fmaf.S: Removed.
60032         * sysdeps/i386/fpu/s_fma.S: Removed.
60033         * sysdeps/i386/fpu/s_fmal.S: Removed.
60035 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
60037         [BZ #3268]
60038         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60039         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60040         computation is not scheduled after fetestexcept.  Fix value
60041         of minimum denormal long double.
60043 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
60045         [BZ #3268]
60046         * math/libm-test.inc (fma_test): Add some more tests.
60047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60048         correctly.
60050 2010-10-15  Andreas Schwab  <schwab@redhat.com>
60052         * scripts/data/localplt-s390-linux-gnu.data: New file.
60053         * scripts/data/localplt-s390x-linux-gnu.data: New file.
60055 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
60057         [BZ #3268]
60058         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60059         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60060         instead of dbl-64.
60061         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60062         inlines.
60063         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60064         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60065         if one of x and y is very large and the other is subnormal.
60066         * sysdeps/s390/fpu/s_fmaf.c: New file.
60067         * sysdeps/s390/fpu/s_fma.c: New file.
60068         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60069         * sysdeps/powerpc/fpu/s_fma.S: New file.
60070         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60071         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60072         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60074 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
60076         [BZ #3268]
60077         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60078         fma tests.
60079         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60080         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60081         * sysdeps/i386/i686/multiarch/s_fma.c: Include
60082         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60083         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60084         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60085         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60087 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
60089         [BZ #12078]
60090         * posix/regcomp.c (parse_branch): One more memory leak plugged.
60091         * posix/bug-regex31.input: Add test case.
60093 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60095         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60096         * posix/bug-regex31.input: New file.
60098         [BZ #12078]
60099         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60100         (parse_sub_exp): Fix last change, use postorder.
60102         * posix/bug-regex31.c: New file.
60103         * posix/Makefile: Add rules to build and run bug-regex31.
60105         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60107         [BZ #12078]
60108         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60110         [BZ #12108]
60111         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60112         to have entries in sys_siglist.
60114         [BZ #12093]
60115         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60116         be NULL.
60118 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
60120         [BZ #3268]
60121         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60122         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60123         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60124         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60125         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60126         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60127         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60128         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60129         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60130         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60131         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60132         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60133         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60134         * math/ftestexcept.c (fetestexcept): Likewise.
60135         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60136         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60137         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60138         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60139         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60140         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60141         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60143 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60145         [BZ #12107]
60146         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60147         newline.
60149 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
60151         * string/bug-strstr1.c: New file.
60152         * string/Makefile: Add rules to build and run bug-strstr1.
60154 2010-10-05  Eric Blake  <eblake@redhat.com>
60156         [BZ #12092]
60157         * string/str-two-way.h (two_way_long_needle): Always clear memory
60158         when skipping input due to the shift table.
60160 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
60162         [BZ #12005]
60163         * malloc/mcheck.c: Handle large requests.
60165         [BZ #12077]
60166         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60167         for strncmp and strncasecmp.
60168         * string/stratcliff.c: Add tests for strcmp and strncmp.
60169         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60171 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60173         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60174         __set_fpscr.
60176 2010-09-30  Andreas Jaeger  <aj@suse.de>
60178         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60179         (CGROUP_SUPER_MAGIC): Define.
60180         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60181         Handle btrfs and cgroup file systems.
60182         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60183         Likewise.
60185 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
60187         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60188         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60190 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60192         [BZ #12067]
60193         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60194         trying to locate the ELF header.
60196 2010-09-27  Andreas Schwab  <schwab@redhat.com>
60198         [BZ #11611]
60199         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60200         Mask out sign-bit copies when constructing f_fsid.
60202 2010-09-24  Petr Baudis <pasky@suse.cz>
60204         * debug/stack_chk_fail_local.c: Add missing licence exception.
60205         * debug/warning-nop.c: Likewise.
60207 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
60209         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60210         implementing getdents64 using getdents syscall, set d_type if
60211         __ASSUME_GETDENTS32_D_TYPE.
60213 2010-09-16  Andreas Schwab  <schwab@redhat.com>
60215         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60216         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60218 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
60220         [BZ #12037]
60221         * posix/unistd.h: Undo change of feature selection for ftruncate from
60222         2010-01-11.
60224 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
60226         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60227         detection.
60229 2010-09-20  Andreas Schwab  <schwab@redhat.com>
60231         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60232         fanotify_mark.
60233         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60235 2010-09-14  Andreas Schwab  <schwab@redhat.com>
60237         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60238         variables after CHECK_SP call.
60239         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60241 2010-09-13  Andreas Schwab  <schwab@redhat.com>
60242             Ulrich Drepper  <drepper@redhat.com>
60244         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60245         re-relocationg ld.so.
60246         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60247         _dl_init_paths call.
60248         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
60249         here anymore.
60251 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
60253         * resolv/res_init.c (__res_vinit): Count the default server we added.
60255 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
60256             Ulrich Drepper  <drepper@redhat.com>
60258         [BZ #11968]
60259         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60260         (____longjmp_chk): Use %ebx for saving value across system call.
60261         Add unwind info.
60263 2010-09-06  Andreas Schwab  <schwab@redhat.com>
60265         * manual/Makefile: Don't mix pattern rules with normal rules.
60267 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60269         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60270         operation.
60271         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60272         * libio/iofopncook.c (_IO_cookie_init): Likewise.
60273         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60274         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60275         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60276         Likewise.
60278 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
60280         [BZ #11979]
60281         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60282         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60284 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
60286         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60287         * sysdeps/x86_64/addmul_1.S: Likewise.
60288         * sysdeps/x86_64/lshift.S: Likewise.
60289         * sysdeps/x86_64/mul_1.S: Likewise.
60290         * sysdeps/x86_64/rshift.S: Likewise.
60291         * sysdeps/x86_64/sub_n.S: Likewise.
60292         * sysdeps/x86_64/submul_1.S: Likewise.
60294 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60296         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60297         Define __sched_param instead of SCHED_* and sched_param when
60298         <bits/sched.h> is included with __need_schedparam defined.
60299         * bits/sched.h [__need_schedparam]
60300         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60301         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60302         (__defined_schedparam): Define to 1.
60303         (__sched_param): New structure, identical to sched_param.
60304         (__need_schedparam): Undefine.
60306 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
60308         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60309         (epoll_create1): Declare.
60311         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60313 2010-08-31  Andreas Schwab  <schwab@redhat.com>
60315         [BZ #7066]
60316         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60317         shifting retval into place.
60319 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
60321         * nis/rpcsvc/nis.h: Update copyright notice.
60322         * nis/rpcsvc/nis.x: Likewise.
60323         * nis/rpcsvc/nis_callback.h: Likewise.
60324         * nis/rpcsvc/nis_callback.x: Likewise.
60325         * nis/rpcsvc/nis_object.x: Likewise.
60326         * nis/rpcsvc/nis_tags.h: Likewise.
60327         * nis/rpcsvc/yp.h: Likewise.
60328         * nis/rpcsvc/yp.x: Likewise.
60329         * nis/rpcsvc/ypupd.h: Likewise.
60330         * nis/yp_xdr.c: Likewise.
60331         * nis/ypupdate_xdr.c: Likewise.
60333         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
60334         mainly the body of pmap_getport.  Add parameters to specify timeouts.
60335         (pmap_getport): Use __libc_rpc_getport.
60336         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60337         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60338         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60340 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
60342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60343         fanotify_mark.
60345 2010-08-27  Roland McGrath  <roland@redhat.com>
60347         * sysdeps/i386/i686/multiarch/Makefile
60348         (CFLAGS-varshift.c): New variable.
60350 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
60352         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60353         * sysdeps/i386/i686/multiarch/varshift.c: New file.
60355         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60357         * sysdeps/x86_64/strlen.S: Minimal code improvement.
60359 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
60361         * sysdeps/x86_64/strlen.S: Unroll the loop.
60362         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60363         strlen-sse2 strlen-sse2-bsf.
60364         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60365         __strlen_no_bsf if bit_Slow_BSF is set.
60366         (__strlen_sse42): Removed.
60367         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60368         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60370 2010-08-25  Roland McGrath  <roland@redhat.com>
60372         * sysdeps/x86_64/multiarch/varshift.S: File removed.
60373         * sysdeps/x86_64/multiarch/varshift.c: New file.
60374         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60375         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60376         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60377         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60379 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
60381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60382         strlen-sse2 strlen-sse2-bsf.
60383         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60384         __strlen_sse2_bsf if bit_Slow_BSF is unset.
60385         (__strlen_sse2): Removed.
60386         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60387         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60388         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60389         bit_Slow_BSF for Atom.
60390         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60391         (index_Slow_BSF): Define.
60392         (HAS_SLOW_BSF): Define.
60394 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
60396         [BZ #10851]
60397         * resolv/res_init.c (__res_vinit): When no server address at all
60398         is given default to loopback.
60400 2010-08-24  Roland McGrath  <roland@redhat.com>
60402         * configure.in: Remove config-name.h generation.
60403         * configure: Regenerated.
60404         * config-name.in: File removed.
60405         * scripts/config-uname.sh: New file.
60406         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60407         ($(objdir)config-name.h): New target.
60409         * sunrpc/rpc_parse.h: Avoid nested comment.
60411 2010-08-24  Richard Henderson  <rth@redhat.com>
60412             Ulrich Drepper  <drepper@redhat.com>
60413             H.J. Lu  <hongjiu.lu@intel.com>
60415         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60416         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60417         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60418         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
60419         _mm_alignr_epi8 with _mm_loadu_si128.
60420         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60421         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60422         (__m128i_shift_right): Removed.
60423         * sysdeps/i386/i686/multiarch/varshift.h: New file.
60424         * sysdeps/i386/i686/multiarch/varshift.S: New file.
60425         * sysdeps/x86_64/multiarch/varshift.h: New file.
60426         * sysdeps/x86_64/multiarch/varshift.S: New file.
60428 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
60430         * configure.in: Move assembler checks to before sysdep dir checking.
60432 2010-08-20  Petr Baudis  <pasky@suse.cz>
60434         * LICENSES: Sync the sunrpc license.
60436 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
60438         * sunrpc/auth_des.c: Update copyright notice once again.
60439         * sunrpc/auth_none.c: Likewise.
60440         * sunrpc/auth_unix.c: Likewise.
60441         * sunrpc/authdes_prot.c: Likewise.
60442         * sunrpc/authuxprot.c: Likewise.
60443         * sunrpc/bindrsvprt.c: Likewise.
60444         * sunrpc/clnt_gen.c: Likewise.
60445         * sunrpc/clnt_perr.c: Likewise.
60446         * sunrpc/clnt_raw.c: Likewise.
60447         * sunrpc/clnt_simp.c: Likewise.
60448         * sunrpc/clnt_tcp.c: Likewise.
60449         * sunrpc/clnt_udp.c: Likewise.
60450         * sunrpc/clnt_unix.c: Likewise.
60451         * sunrpc/des_crypt.c: Likewise.
60452         * sunrpc/des_soft.c: Likewise.
60453         * sunrpc/get_myaddr.c: Likewise.
60454         * sunrpc/getrpcport.c: Likewise.
60455         * sunrpc/key_call.c: Likewise.
60456         * sunrpc/key_prot.c: Likewise.
60457         * sunrpc/openchild.c: Likewise.
60458         * sunrpc/pm_getmaps.c: Likewise.
60459         * sunrpc/pm_getport.c: Likewise.
60460         * sunrpc/pmap_clnt.c: Likewise.
60461         * sunrpc/pmap_prot.c: Likewise.
60462         * sunrpc/pmap_prot2.c: Likewise.
60463         * sunrpc/pmap_rmt.c: Likewise.
60464         * sunrpc/rpc/auth.h: Likewise.
60465         * sunrpc/rpc/auth_unix.h: Likewise.
60466         * sunrpc/rpc/clnt.h: Likewise.
60467         * sunrpc/rpc/des_crypt.h: Likewise.
60468         * sunrpc/rpc/key_prot.h: Likewise.
60469         * sunrpc/rpc/netdb.h: Likewise.
60470         * sunrpc/rpc/pmap_clnt.h: Likewise.
60471         * sunrpc/rpc/pmap_prot.h: Likewise.
60472         * sunrpc/rpc/pmap_rmt.h: Likewise.
60473         * sunrpc/rpc/rpc.h: Likewise.
60474         * sunrpc/rpc/rpc_des.h: Likewise.
60475         * sunrpc/rpc/rpc_msg.h: Likewise.
60476         * sunrpc/rpc/svc.h: Likewise.
60477         * sunrpc/rpc/svc_auth.h: Likewise.
60478         * sunrpc/rpc/types.h: Likewise.
60479         * sunrpc/rpc/xdr.h: Likewise.
60480         * sunrpc/rpc_clntout.c: Likewise.
60481         * sunrpc/rpc_cmsg.c: Likewise.
60482         * sunrpc/rpc_common.c: Likewise.
60483         * sunrpc/rpc_cout.c: Likewise.
60484         * sunrpc/rpc_dtable.c: Likewise.
60485         * sunrpc/rpc_hout.c: Likewise.
60486         * sunrpc/rpc_main.c: Likewise.
60487         * sunrpc/rpc_parse.c: Likewise.
60488         * sunrpc/rpc_parse.h: Likewise.
60489         * sunrpc/rpc_prot.c: Likewise.
60490         * sunrpc/rpc_sample.c: Likewise.
60491         * sunrpc/rpc_scan.c: Likewise.
60492         * sunrpc/rpc_scan.h: Likewise.
60493         * sunrpc/rpc_svcout.c: Likewise.
60494         * sunrpc/rpc_tblout.c: Likewise.
60495         * sunrpc/rpc_util.c: Likewise.
60496         * sunrpc/rpc_util.h: Likewise.
60497         * sunrpc/rpcinfo.c: Likewise.
60498         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60499         * sunrpc/rpcsvc/key_prot.x: Likewise.
60500         * sunrpc/rpcsvc/klm_prot.x: Likewise.
60501         * sunrpc/rpcsvc/mount.x: Likewise.
60502         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60503         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60504         * sunrpc/rpcsvc/rex.x: Likewise.
60505         * sunrpc/rpcsvc/rstat.x: Likewise.
60506         * sunrpc/rpcsvc/rusers.x: Likewise.
60507         * sunrpc/rpcsvc/sm_inter.x: Likewise.
60508         * sunrpc/rpcsvc/spray.x: Likewise.
60509         * sunrpc/rpcsvc/yppasswd.x: Likewise.
60510         * sunrpc/rtime.c: Likewise.
60511         * sunrpc/svc.c: Likewise.
60512         * sunrpc/svc_auth.c: Likewise.
60513         * sunrpc/svc_authux.c: Likewise.
60514         * sunrpc/svc_raw.c: Likewise.
60515         * sunrpc/svc_run.c: Likewise.
60516         * sunrpc/svc_simple.c: Likewise.
60517         * sunrpc/svc_tcp.c: Likewise.
60518         * sunrpc/svc_udp.c: Likewise.
60519         * sunrpc/svc_unix.c: Likewise.
60520         * sunrpc/svcauth_des.c: Likewise.
60521         * sunrpc/xcrypt.c: Likewise.
60522         * sunrpc/xdr.c: Likewise.
60523         * sunrpc/xdr_array.c: Likewise.
60524         * sunrpc/xdr_float.c: Likewise.
60525         * sunrpc/xdr_mem.c: Likewise.
60526         * sunrpc/xdr_rec.c: Likewise.
60527         * sunrpc/xdr_ref.c: Likewise.
60528         * sunrpc/xdr_sizeof.c: Likewise.
60529         * sunrpc/xdr_stdio.c: Likewise.
60531         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60532         handling.
60534 2010-08-19  Andreas Schwab  <schwab@redhat.com>
60536         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60538 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
60540         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60541         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60542         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60543         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60544         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60545         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60546         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60547         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60548         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60549         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60550         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60551         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60552         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60553         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60555 2010-07-26  Anton Blanchard  <anton@samba.org>
60557         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60558         * malloc/arena.c (heap_trim): Likewise.
60560 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
60562         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60563         here.  Not...
60564         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60565         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60567 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
60569         * sysdeps/i386/elf/Makefile: New file.
60571 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60573         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60574         from fanotify_init.
60575         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60576         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60578 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
60580         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60581         of strncasecmp_l.
60582         * sysdeps/multiarch/strcmp.S: Likewise.
60584 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
60586         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60587         strncase_l-nonascii.
60588         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60589         Add strncase_l-ssse3.
60590         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60591         * sysdeps/x86_64/strcmp.S: Likewise.
60592         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60593         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60594         * sysdeps/x86_64/strncase.S: New file.
60595         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60596         * sysdeps/x86_64/strncase_l.S: New file.
60597         * string/Makefile (strop-tests): Add strncasecmp.
60598         * string/test-strncasecmp.c: New file.
60600         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60601         warning.
60603         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60604         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60606 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60608         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60610 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
60612         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60613         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60614         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60616 2010-05-01  Alan Modra  <amodra@gmail.com>
60618         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60619         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60620         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60621         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60622         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60623         tidying.  Don't tail-call __sigjmp_save for static lib.
60624         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60625         save location.
60626         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60627         (CALL_MCOUNT): Add eh info, and nop after bl.
60628         (TAIL_CALL_SYSCALL_ERROR): New macro.
60629         (PSEUDO_RET): Use it.
60630         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60631         Correct save location of integer regs and cr.
60632         (_dl_profile_resolve): Correct cr save location.  Delete nops
60633         after bl when SHARED.  Reduce cfi size a little by better
60634         placement of cfi directives.
60635         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60636         make a stack frame.  Instead use parm save area as a temp.
60637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60638         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
60639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60640         Don't make a stack frame for parent, use parm save area.
60641         Increase child stack frame to 112 bytes.  Don't save unused reg,
60642         and adjust reg usage.  Set up cfi on error recovery and
60643         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60645         (__makecontext): Add dummy nop after jump to exit.
60646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60647         Use correct parm save area and cr save, reduce stack frame.
60648         Correct cfi for possible PSEUDO_RET frame setup.
60649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60650         Branch to local label emitted by PSEUDO_RET rather than
60651         __syscall_error.
60653 2010-08-12  Andreas Schwab  <schwab@redhat.com>
60655         [BZ #11904]
60656         * locale/programs/locale.c (print_assignment): New function.
60657         (show_locale_vars): Use it.
60659 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
60661         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60662         field.
60663         (struct statfs64): Likewise.
60664         (_STATFS_F_FLAGS): Define.
60665         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60666         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60667         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60668         (ST_VALID): Define locally.
60669         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60670         __statvfs_getflags, use the provided value.
60671         * sysdeps/unix/sysv/linux/kernel-features.h: Define
60672         __ASSUME_STATFS_F_FLAGS.
60674         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60676         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60677         Add sys/fanotify.h.
60678         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60679         fanotify_mask for GLIBC_2.13.
60680         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60681         fanotify_init and fanotify_mark.
60682         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60683         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60685         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60686         Add prlimit.
60687         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60688         prlimit64 for GLIBC_2.13.
60689         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60690         prlimit64.
60691         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60692         syscall.
60693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60694         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60695         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60696         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60697         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
60698         add prlimit alias.
60699         * sysdeps/unix/sysv/linux/prlimit.c: New file.
60701         [BZ #11903]
60702         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60703         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60705         * nss/Makefile: Add rules to build and run tst-nss-test1.
60706         * shlib-versions: Add entry for libnss_test1.
60707         * nss/nss_test1.c: New file.
60708         * nss/tst-nss-test1.c: New file.
60710         * nss/nsswitch.c (__nss_database_custom): Define new variable.
60711         (__nss_configure_lookup): Set appropriate entry in
60712         __nss_configure_lookup to true.
60713         * nss/nsswitch.h: Define enum with indeces of databases in
60714         databases and __nss_database_custom arrays.  Declare
60715         __nss_database_custom.
60716         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60717         to avoid using nscd when custom rules are installed.
60718         * nss/getXXbyYY_r.c: Likewise.
60719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60721         * nss/nss_files/files-parse.c: Whitespace fixes.
60723 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
60725         [BZ #11883]
60726         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60727         * posix/fnmatch_loop.c: Likewise.
60729 2010-07-17  Andi Kleen  <ak@linux.intel.com>
60731         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60732         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60733         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60734         * Versions.def [GLIBC_2.13]: Add.
60736 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
60738         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60739         Also fail if tpwd after pwuid call is NULL.
60741 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60743         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60744         when converting to ms.
60746 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60748         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60749         EOPNOTSUPP errors with ENOTTY.
60750         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60751         EOPNOTSUPP errors with ENOTTY.
60753 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
60755         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60756         Add strcasecmp_l-ssse3.
60757         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60758         strcasecmp.
60759         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60760         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60761         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60763 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
60765         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60767         * string/Makefile (strop-tests): Add strcasecmp.
60768         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60769         strcasecmp_l-nonascii.
60770         (gen-as-const-headers): Add locale-defines.sym.
60771         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60772         * sysdeps/x86_64/strcasecmp.S: New file.
60773         * sysdeps/x86_64/strcasecmp_l.S: New file.
60774         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60775         * sysdeps/x86_64/locale-defines.sym: New file.
60776         * string/test-strcasecmp.c: New file.
60778         * string/test-strcasestr.c: Test both ends of the range of characters.
60779         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60781 2010-07-29  Roland McGrath  <roland@redhat.com>
60783         [BZ #11856]
60784         * manual/locale.texi (Yes-or-No Questions): Fix example code.
60786 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
60788         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60789         for ld.so.
60791 2010-07-27  Andreas Schwab  <schwab@redhat.com>
60793         * manual/memory.texi (Malloc Tunable Parameters): Document
60794         M_PERTURB.
60796 2010-07-26  Roland McGrath  <roland@redhat.com>
60798         [BZ #11840]
60799         * configure.in (-fgnu89-inline check): Set and substitute
60800         gnu89_inline, not libc_cv_gnu89_inline.
60801         * configure: Regenerated.
60802         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60804 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
60806         * string/test-strnlen.c: New file.
60807         * string/Makefile (strop-tests): Add strnlen.
60808         * string/tester.c (test_strnlen): Add a few more test cases.
60809         * string/tst-strlen.c: Better error reporting.
60811         * sysdeps/x86_64/strnlen.S: New file.
60813 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
60815         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60816         lower-latency instructions.
60818 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
60820         * string/test-strcasestr.c: New file.
60821         * string/test-strstr.c: New file.
60822         * string/Makefile (strop-tests): Add strstr and strcasestr.
60823         * string/str-two-way.h: Don't undefine MAX.
60824         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60826 2010-07-21  Andreas Schwab  <schwab@redhat.com>
60828         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60829         strcasestr-nonascii.
60830         (CFLAGS-strcasestr-nonascii.c): Define.
60831         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60832         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60833         Remove unused attribute.
60835 2010-07-20  Roland McGrath  <roland@redhat.com>
60837         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60838         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
60839         ld.so.cache was broken.  With it, there is no way to disable dsocaps
60840         like LD_HWCAP_MASK can disable hwcaps.
60842 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60844         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60846 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
60848         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60849         call in strcasestr.
60850         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60851         __strcasestr_sse42_nonascii.
60852         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60853         strcasestr-nonascii.c.
60854         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60856 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
60858         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60859         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60860         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60861         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60863 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
60865         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60866         fcntl.
60868 2010-07-06  Andreas Schwab  <schwab@redhat.com>
60870         [BZ #11577]
60871         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60872         dl_signal_cerror.
60874 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
60876         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60877         _PC_PIPE_BUF using F_GETPIPE_SZ.
60879 2010-07-05  Roland McGrath  <roland@redhat.com>
60881         * manual/arith.texi (Rounding Functions): Fix rint description
60882         implicit in round description.
60884 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
60886         * elf/Makefile: Fix linking for a few tests to make recent linker
60887         happy.
60889 2010-06-30  Andreas Schwab  <schwab@redhat.com>
60891         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60892         $(common-objpfx)libc_nonshared.a.
60894 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
60896         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60897         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60898         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60899         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60900         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60901         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60902         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60903         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60918         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60919         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60920         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60921         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60922         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60923         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60924         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60925         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60926         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60927         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60928         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60929         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60945 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
60947         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60948         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
60949         * string/memmove.c (memmove): Renamed to ...
60950         (MEMMOVE): ...this.  Default to memmove.
60951         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60952         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60953         (END_CHK): Define.
60954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60955         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60956         mempcpy-ssse3-back memmove-ssse3-back.
60957         * sysdeps/x86_64/multiarch/bcopy.S: New file .
60958         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60959         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60960         * sysdeps/x86_64/multiarch/memcpy.S: New file.
60961         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60962         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60963         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60964         * sysdeps/x86_64/multiarch/memmove.c: New file.
60965         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60966         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60967         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60968         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60969         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60970         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60971         Define.
60972         (index_Fast_Copy_Backward): Define.
60973         (HAS_ARCH_FEATURE): Define.
60974         (HAS_FAST_REP_STRING): Define.
60975         (HAS_FAST_COPY_BACKWARD): Define.
60977 2010-06-21  Andreas Schwab  <schwab@redhat.com>
60979         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60980         Restore proper fallback handling.
60982 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
60984         [BZ #11701]
60985         * posix/group_member.c (__group_member): Correct checking loop.
60987         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60988         OOM in getpwuid_r correctly.  Return error number when the caller
60989         should return, otherwise -1.
60990         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60991         call returning > 0 value.
60992         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60994 2010-06-07  Andreas Schwab  <schwab@redhat.com>
60996         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60997         libc_nonshared.a from targets in modules-names.
60999 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
61001         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61002         requires it.
61004 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
61006         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61007         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61008         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61009         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61011 2010-06-02  Andreas Schwab  <schwab@redhat.com>
61013         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61015 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
61017         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61018         and F_GETPIPE_SZ.
61019         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61020         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61021         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61022         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61023         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61024         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61026 2010-06-14  Roland McGrath  <roland@redhat.com>
61028         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61030 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
61032         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61033         __REDIRECT followed by __THROW.
61034         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61035         * posix/getopt.h (getopt): Likewise.
61037 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61039         * hurd/lookup-at.c (__file_name_lookup_at): Accept
61040         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
61041         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61042         in AT_FLAGS.
61043         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61044         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61046 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
61048         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61050 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
61052         [BZ #11640]
61053         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61054         Properly check family and model.
61056 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
61058         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61060 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
61062         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61064 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
61066         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61067         symbol reference.
61069 2010-05-19  Andreas Schwab  <schwab@redhat.com>
61071         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61072         symbol reference.
61074 2010-05-21  Andreas Schwab  <schwab@redhat.com>
61076         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61077         and internal_recvmmsg.
61078         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61079         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61080         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61081         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61083         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61084         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61085         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61087 2010-05-20  Andreas Schwab  <schwab@redhat.com>
61089         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61091 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
61093         POWER7 optimizations.
61094         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61095         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61097 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
61099         * version.h: Update for 2.13 development version.
61101 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
61103         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61104         exceptions.  Return 0.
61106 2010-05-07  Roland McGrath  <roland@redhat.com>
61108         * elf/ldconfig.c (main): Add a const.
61110 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
61112         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61113         (args_options): Add no-idn option.
61114         (ahosts_keys_int): Add idn_flags to ai_flags.
61115         (parse_option): Handle 'i' option to clear idn_flags.
61117         * malloc/malloc.c (_int_free): Possible race in the most recently
61118         added check.  Only act on the data if no current modification
61119         happened.
61121 See ChangeLog.17 for earlier changes.