remove now unused idxnow in strcoll
[glibc.git] / ChangeLog
blob7b9ab6a6434c3d8487ac396cbb97c6b0aa5dfc0e
1 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3         * string/strcoll_l.c: Remove unused struct element idxnow.
5 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
7         [BZ #18569]
8         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
9         underflow and return argument in case of subnormal argument.
10         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11         Likewise.
12         * math/auto-libm-test-in: Add more tests of expm1.
13         * math/auto-libm-test-out: Regenerated.
15         [BZ #16361]
16         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18         tiny results.
19         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21         tiny results.
22         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
23         mark underflow exceptions as possibly missing for bug 16361.
24         * math/auto-libm-test-out: Regenerated.
26 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
28         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
30         Remove variable.
31         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32         (test-xfail-XOPEN2K8/utmpx.h/conform).
34         * conform/conformtest.pl ($xerrors): New variable.
35         (note_error): New function.
36         (compiletest): New argument $xfail.  Use not_error.
37         (runtest): Likewise.
38         (top level): Handle xfail- lines.  Update calls to compiletest and
39         runtest.  Handle xfail- and optional- in headers listed with
40         allow-header.
41         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
42         (O_EXEC): Likewise.
43         (O_SEARCH): Likewise.
44         * conform/data/stropts.h-data (ioctl): Likewise.
45         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
46         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
47         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
48         (msghdr.msg_controllen): Likewise.
49         (cmsghdr.cmsg_len): Likewise.
50         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
51         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
52         variable.
53         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
54         (test-xfail-XPG4/stropts.h/conform): Likewise.
55         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
56         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
57         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
58         (test-xfail-UNIX98/stropts.h/conform): Likewise.
59         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
60         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
61         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
62         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
63         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
64         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
65         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
66         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
67         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
68         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
69         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
70         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
71         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
72         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
73         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
75 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
77         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
78         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
79         definitions for proper unfolding of __MATHDECL_VEC.
81 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
83         * benchtests/bench-strcoll.c:
84         Include string.h.
85         (main): Remove unused variable res.
87 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
89         * timezone/Makefile (%/UTC %/Universal):
90         Generate test-result files for UTC and Universal.
92 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
94         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
96 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
98         [BZ #16350]
99         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
100         for arguments with small absolute value.
101         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
102         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
103         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
104         (__asinh): Force underflow exception for arguments with small
105         absolute value.
106         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
107         (__asinhf): Force underflow exception for arguments with small
108         absolute value.
109         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
110         (__asinhl): Force underflow exception for arguments with small
111         absolute value.
112         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
113         (__asinhl): Force underflow exception for arguments with small
114         absolute value.
115         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
116         (__asinhl): Force underflow exception for arguments with small
117         absolute value.
118         * math/auto-libm-test-in: Do not mark underflow exceptions as
119         possibly missing for bug 16350.
120         * math/auto-libm-test-out: Regenerated.
122         * include/bits/ipc.h: Remove file.
123         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
124         variable.
125         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
126         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
127         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
128         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
129         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
130         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
131         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
132         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
133         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
135         * math/auto-libm-test-in: Remove spurious underflow allowance for
136         tests of cexp.
137         * math/auto-libm-test-out: Regenerated.
139         [BZ #18558]
140         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
141         unconditional definition.
142         (MCAST_BLOCK_SOURCE): Likewise.
143         (MCAST_UNBLOCK_SOURCE): Likewise.
144         (MCAST_LEAVE_GROUP): Likewise.
145         (MCAST_JOIN_SOURCE_GROUP): Likewise.
146         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
147         (MCAST_MSFILTER): Likewise.
148         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
149         Remove variable.
150         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
151         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
152         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
153         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
154         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
156 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
158         * NEWS: Mention addition of x86_64 vector sincosf.
159         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
160         * math/test-float-vlen4.h: Likewise.
161         * math/test-float-vlen8.h: Likewise.
162         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
163         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
164         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
165         * sysdeps/x86_64/fpu/Versions: New versions added.
166         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
167         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
168         Added build of SSE, AVX2 and AVX512 IFUNC versions.
169         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
170         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
171         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
172         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
173         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
174         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
175         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
176         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
177         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
178         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
179         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
180         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
181         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
182         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
183         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
184         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
185         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
186         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
187         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
188         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
189         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
191         * NEWS: Mention addition of x86_64 vector sincos.
192         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
193         * math/math.h (__MATHDECL_VEC): New macro.
194         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
195         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
196         declaration under condition.
197         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
198         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
199         TEST_VEC_LOOP change.
200         * math/test-double-vlen4.h: Likewise.
201         * math/test-double-vlen8.h: Likewise.
202         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
203         * math/test-float-vlen4.h: Likewise.
204         * math/test-float-vlen8.h: Likewise.
205         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
206         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
207         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
208         * sysdeps/x86_64/fpu/Versions: New versions added.
209         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
210         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
211         Added build of SSE, AVX2 and AVX512 IFUNC versions.
212         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
213         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
214         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
215         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
216         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
217         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
218         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
219         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
220         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
221         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
222         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
223         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
224         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
225         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
226         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
227         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
228         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
229         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
230         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
231         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
232         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
234         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
235         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
236         redirections for powf.
237         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
238         * sysdeps/x86_64/fpu/Versions: New versions added.
239         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
240         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
241         Added build of SSE, AVX2 and AVX512 IFUNC versions.
242         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
243         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
244         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
245         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
246         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
247         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
248         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
249         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
250         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
251         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
252         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
253         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
254         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
255         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
256         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
257         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
258         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
259         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
260         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
261         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
262         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
263         * math/test-float-vlen16.h: Fixed 2 argument macro.
264         * math/test-float-vlen4.h: Likewise.
265         * math/test-float-vlen8.h: Likewise.
266         * NEWS: Mention addition of x86_64 vector powf.
268 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
270         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
271         and redefine.
272         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
273         and redefine.
274         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
275         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
276         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
278         [BZ #18553]
279         * resource/getpriority.c (getpriority): Rename to __getpriority
280         and define as weak alias of __getpriority.
281         * resource/setpriority.c (setpriority): Rename to __setpriority
282         and define as weak alias of __setpriority.
283         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
284         __getpriority and define as weak alias of __getpriority.
285         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
286         __setpriority and define as weak alias of __setpriority.
287         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
288         strong name.
289         (setpriority): Use __setpriority as strong name.
290         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
291         __getpriority and define as weak alias of __getpriority.
292         * include/sys/resource.h (__getpriority): Declare.  Use
293         libc_hidden_proto.
294         (__setpriority): Likewise.
295         (getpriority): Don't use libc_hidden_proto.
296         (setpriority): Likewise.
297         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
298         getpriority.  Call __setpriority instead of setpriority.
299         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
300         Remove variable.
302         [BZ #18547]
303         * misc/getttyent.c (getttynam): Rename to __getttynam and define
304         as weak alias of __getttynam.  Use prototype function definition.
305         Call __setttyent, __getttyent and __endttyent instead of
306         setttyent, getttyent and endttyent.
307         (getttyent): Rename to __getttyent and define as weak alias of
308         __getttyent.  Call __setttyent instead of setttyent.  Call
309         __fgets_unlocked instead of fgets_unlocked.
310         (setttyent): Rename to __setttyent and define as weak alias of
311         __setttyent.
312         (endttyent): Rename to __endttyent and define as weak alias of
313         __endttyent.
314         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
315         (__setttyent): Likewise.
316         (__endttyent): Likewise.
317         (getttyent): Don't use libc_hidden_proto.
318         (setttyent): Likewise.
319         (endttyent): Likewise.
320         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
321         __endttyent instead of setttyent, getttyent and endttyent.
322         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
323         Remove variable.
325         [BZ #18546]
326         * socket/recv.c (__recv): Use libc_hidden_def.
327         * socket/socket.c (__socket): Likewise.
328         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
329         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
330         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
331         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
332         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
333         libc_hidden_def.
334         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
335         libc_hidden_weak.
336         * include/sys/socket.h (__socket): Do not use attribute_hidden.
337         Use libc_hidden_proto.
338         (__recv): Likewise.
339         * socket/Versions (libc): Export __recv and __socket at version
340         GLIBC_PRIVATE.
341         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
342         instead of recv.
343         (init_mq_netlink): Call __socket instead of socket.
344         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
345         Remove variable.
347         [BZ #18545]
348         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
349         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
350         hidden_weak.
351         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
352         define as alias of __mq_timedsend.  Use hidden_weak.
353         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
354         __mq_timedsend as strong name.
355         (mq_timedreceive): Use __mq_timedreceive as strong name.
356         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
357         (__mq_timedreceive): Likewise.
358         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
359         __mq_timedreceive instead of mq_timedreceive.
360         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
361         instead of mq_timedsend.
362         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
363         Remove variable.
365         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
366         hidden_def and hidden_weak instead of libc_hidden_def and
367         libc_hidden_weak.
368         (top level): Refer to hidden_def in comment.
369         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
370         macro.  Use it instead of libc_hidden_def.
371         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
372         specify __GI_* name explicitly.
373         (mq_timedreceive): Likewise.
374         (mq_setattr): Likewise.
376         [BZ #18544]
377         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
378         __pthread_barrier_init and define as weak alias of
379         __pthread_barrier_init.
380         * sysdeps/sparc/nptl/pthread_barrier_init.c
381         (pthread_barrier_init): Likewise.
382         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
383         __pthread_barrier_wait and define as weak alias of
384         __pthread_barrier_wait.
385         * sysdeps/sparc/nptl/pthread_barrier_wait.c
386         (pthread_barrier_wait): Likewise.
387         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
388         (pthread_barrier_wait): Likewise.
389         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
390         (pthread_barrier_wait): Likewise.
391         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
392         (pthread_barrier_wait): Likewise.
393         * nptl/Versions (libpthread): Export __pthread_barrier_init and
394         __pthread_barrier_wait at version GLIBC_PRIVATE.
395         * include/pthread.h (__pthread_barrier_init): Declare.
396         (__pthread_barrier_wait): Likewise.
397         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
398         Call __pthread_barrier_wait instead of pthread_barrier_wait.
399         (helper_thread): Likewise.
400         (init_mq_netlink): Call __pthread_barrier_init instead of
401         pthread_barrier_init.
403         [BZ #18542]
404         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
405         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
406         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
407         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
408         vswscanf.
409         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
410         Remove variable.
412         [BZ #18540]
413         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
414         strong alias of _IO_fflush.  Use libc_hidden_def.
415         * libio/iofflush_u.c (fflush_unlocked): Rename to
416         __fflush_unlocked and define as weak alias of __fflush_unlocked.
417         Use libc_hidden_weak.
418         * include/stdio.h (__fflush_unlocked): Declare.  Use
419         libc_hidden_proto.
420         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
421         fflush_unlocked.
422         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
423         Remove variable.
425         [BZ #18539]
426         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
427         define as weak alias of __addseverity.
428         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
429         Remove variable.
430         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
431         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
432         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
434         [BZ #18536]
435         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
436         (__tfind): Likewise.
437         (__tdelete): Likewise.
438         (__twalk): Likewise.
439         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
440         __twalk to GLIBC_PRIVATE.
441         * include/search.h (__tsearch): Use libc_hidden_proto.
442         (__tfind): Likewise.
443         (__tdelete): Likewise.
444         (__twalk): Likewise.
445         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
446         Call __tdelete instead of tdelete.
447         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
448         tfind.  Call __tsearch instead of tsearch.
449         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
450         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
451         Remove variable.
452         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
454         [BZ #18534]
455         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
456         (dprintf): Define as a weak alias of __dprintf, not a strong
457         alias.
458         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
459         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
460         dprintf.
461         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
462         Remove variable.
463         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
464         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
466         [BZ #18533]
467         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
468         not a strong alias.
469         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
470         Remove variable.
472         [BZ #18532]
473         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
474         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
475         (in6addr_loopback): Rename to __in6addr_loopback and define as
476         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
477         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
478         libc_hidden_proto.
479         (__in6addr_any): Likewise.
480         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
481         in6addr_any.
482         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
483         variable.
484         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
486 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
488         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
489         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
490         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
491         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
492         redirections for pow.
493         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
494         * sysdeps/x86_64/fpu/Versions: New versions added.
495         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
496         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
497         build of SSE, AVX2 and AVX512 IFUNC versions.
498         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
499         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
500         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
501         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
502         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
503         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
504         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
505         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
506         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
507         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
508         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
509         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
510         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
511         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
512         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
513         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
514         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
515         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
516         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
517         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
518         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
519         * NEWS: Mention addition of x86_64 vector pow.
521         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
522         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
523         redirections for expf.
524         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
525         * sysdeps/x86_64/fpu/Versions: New versions added.
526         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
527         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
528         build of SSE, AVX2 and AVX512 IFUNC versions.
529         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
530         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
531         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
532         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
533         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
534         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
535         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
536         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
537         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
538         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
539         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
540         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
541         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
542         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
543         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
544         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
545         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
546         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
547         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
548         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
549         * NEWS: Mention addition of x86_64 vector expf.
551         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
552         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
553         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
554         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
555         redirections for exp.
556         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
557         * sysdeps/x86_64/fpu/Versions: New versions added.
558         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
559         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
560         build of SSE, AVX2 and AVX512 IFUNC versions.
561         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
562         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
563         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
564         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
565         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
566         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
567         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
568         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
569         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
570         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
571         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
572         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
573         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
574         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
575         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
576         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
577         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
578         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
579         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
580         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
581         * NEWS: Mention addition of x86_64 vector exp.
583         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
584         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
585         redirections for logf.
586         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
587         * sysdeps/x86_64/fpu/Versions: New versions added.
588         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
589         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
590         build of SSE, AVX2 and AVX512 IFUNC versions.
591         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
592         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
593         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
594         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
595         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
596         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
597         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
598         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
599         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
600         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
601         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
602         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
603         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
604         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
605         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
606         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
607         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
608         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
609         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
610         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
611         * NEWS: Mention addition of x86_64 vector logf.
613         * bits/libm-simd-decl-stubs.h: Added stubs for log.
614         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
615         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
616         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
617         redirections for log.
618         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
619         * sysdeps/x86_64/fpu/Versions: New versions added.
620         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
621         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
622         build of SSE, AVX2 and AVX512 IFUNC versions.
623         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
624         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
625         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
626         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
627         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
628         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
629         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
630         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
631         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
632         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
633         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
634         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
635         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
636         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
637         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
638         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
639         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
640         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
641         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
642         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
643         * NEWS: Mention addition of x86_64 vector log.
645 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
647         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
648         cfi_adjust_cfa_offset argument.
649         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
650         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
652         [BZ #18034]
653         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
654         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
655         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
656         ordering using ldar.
657         (_dl_tlsdesc_dynamic): Likewise.
658         (_dl_tlsdesc_return_lazy): Likewise.
659         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
660         relaxed atomics instead of volatile and synchronize with release store.
661         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
662         volatile.
663         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
665 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
667         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
668         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
669         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
670         * sysdeps/x86_64/fpu/Versions: New versions added.
671         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
672         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
673         build of SSE, AVX2 and AVX512 IFUNC versions.
674         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
675         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
676         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
677         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
678         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
679         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
680         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
681         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
682         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
683         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
684         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
685         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
686         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
687         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
688         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
689         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
690         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
691         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
692         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
693         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
694         * NEWS: Mention addition of x86_64 vector sinf.
696 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
698         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
699         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
700         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
701         Remove variable.
702         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
703         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
705 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
707         [BZ #18530]
708         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
709         strong alias of _IO_fputs.  Use libc_hidden_def.
710         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
711         and define as weak alias of __fputs_unlocked.  Use
712         libc_hidden_weak.
713         * include/stdio.h (__fputs_unlocked): Declare.  Use
714         libc_hidden_proto.
715         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
716         fputs_unlocked.
718         [BZ #18529]
719         * resolv/netdb.h [__USE_POSIX]: Change condition to
720         [__USE_XOPEN2K].
721         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
722         not expect.
723         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
724         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
725         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
726         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
727         [XPG4 || UNIX98] (AI_ALL): Likewise.
728         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
729         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
730         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
731         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
732         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
733         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
734         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
735         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
736         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
737         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
738         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
739         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
740         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
741         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
742         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
743         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
744         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
745         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
746         [XPG4 || UNIX98] (gai_strerror): Likewise.
747         [XPG4 || UNIX98] (getaddrinfo): Likewise.
748         [XPG4 || UNIX98] (getnameinfo): Likewise.
750         [BZ #18528]
751         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
752         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
753         __USE_XOPEN2K8].
754         (getgrent): Likewise.
755         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
756         expect.
757         [XPG3 || POSIX2008] (endgrent): Likewise.
758         [XPG3] (setgrent): Likewise.
759         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
760         variable.
761         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
763         [BZ #18527]
764         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
765         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
766         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
767         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
768         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
769         * include/unistd.h (__getlogin_r): Declare.  Use
770         libc_hidden_proto.
771         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
772         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
773         variable.
774         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
775         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
776         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
778 2015-06-12  Martin Sebor  <msebor@redhat.com>
780         [BZ #18512]
781         * Makerules (check-install-supported): New target.
782         (install): Add check-install-supported as a dependency.
783         * manual/install.texi (Installing the C Library): Document
784         that overriding prefix and exec_prefix is not supported.
785         Mention DESTDIR.
786         * INSTALL: Regenerate from the above.
788 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
790         [BZ #18519]
791         * posix/Versions (libc): Export __libc_pread at version
792         GLIBC_PRIVATE.
793         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
794         instead of pread.
795         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
796         variable.
798         [BZ #18522]
799         * misc/efgcvt_r.c
800         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
801         (cvt_symbol): Use weak_alias instead of strong_alias.
802         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
803         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
804         Remove variable.
805         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
806         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
808         [BZ #18520]
809         * inet/herrno.c (h_errno): Rename to __h_errno.
810         (__libc_h_errno): Define as alias of __h_errno not h_errno.
811         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
812         to __h_errno instead of h_errno.
813         * nptl/herrno.c (h_errno): Rename to __h_errno.
814         (__h_errno_location): Refer to __h_errno not h_errno.
815         * resolv/Versions (h_errno): Rename to __h_errno.
816         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
817         Remove variable.
818         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
820 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
822         * configure.ac: More strict check for AVX512 assembler support.
823         * configure: Regenerated.
825         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
826         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
827         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
828         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
829         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
830         * sysdeps/x86_64/fpu/Versions: New versions added.
831         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
832         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
833         build of SSE, AVX2 and AVX512 IFUNC versions.
834         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
835         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
836         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
837         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
838         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
839         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
840         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
841         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
842         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
843         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
844         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
845         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
846         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
847         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
848         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
849         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
850         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
851         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
852         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
853         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
854         * NEWS: Mention addition of x86_64 vector sin.
856 2015-06-11  Florian Weimer  <fweimer@redhat.com>
858         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
859         comment.
861 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
863         [BZ #18479]
864         * nptl/pt-interp.c: New file.
865         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
866         Add pt-interp.
867         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
868         $(common-objpfx)runtime-linker.h.
870 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
872         * Makeconfig (+interp): Remove unused variable.
873         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
874         only.  Depend on $(common-objpfx)runtime-linker.h instead of
875         $(elf-objpfx)runtime-linker.h.
876         ($(elf-objpfx)runtime-linker.h): Rename to
877         $(common-objpfx)runtime-linker.h and move ...
878         * Makerules [$(build-shared) = yes]: ... here.
879         * elf/interp.c: Include <runtime-linker.h> instead of
880         <elf/runtime-linker.h>.
882 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
884         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
885         (__gettimeofday_syscall): Remove vsyscall fallback.
886         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
887         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
888         Add syscall fallback function.
889         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
890         if vDSO is not present.
891         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
892         fallback function.
893         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
894         present.
895         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
896         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
898 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
900         [BZ #18497]
901         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
902         of wcscmp.
903         (wcscmp): Define as weak alias of WCSCMP.
904         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
905         wcscoll.
906         (USE_HIDDEN_DEF): Define.
907         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
908         __wcscoll.  Don't use libc_hidden_weak.
909         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
910         wcscmp.
911         * sysdeps/i386/i686/multiarch/wcscmp-c.c
912         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
913         __GI_wcscmp.
914         (weak_alias): Undefine and redefine.
915         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
916         __wcscmp and define as weak alias of __wcscmp.
917         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
918         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
919         (__wcscoll): Likewise.
920         (wcscmp): Don't use libc_hidden_proto.
921         (wcscoll): Likewise.
922         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
923         wcscoll.
924         * posix/regexec.c (check_node_accept_bytes): Likewise.
925         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
926         variable.
927         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
928         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
930         [BZ #18507]
931         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
932         __fstatvfs and define as weak alias of __fstatvfs.  Use
933         libc_hidden_weak.
934         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
935         and define as weak alias of __statvfs.  Use libc_hidden_weak.
936         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
937         Define as alias of __fstatvfs, not fstatvfs.
938         (fstatvfs64): Likewise.
939         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
940         Define as alias of __statvfs, not statvfs.
941         (statvfs64): Likewise.
942         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
943         Remove variable.
945 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
948         (HAVE_GETCPU_VSYSCALL): Define.
949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
950         (HAVE_GETCPU_VSYSCALL): Likewise.
951         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
952         * sysdeps/unix/sysv/linux/sched_getcpu.c
953         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
954         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
955         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
956         prototype.
957         * sysdeps/unix/sysv/linux/x86_64/init-first.c
958         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
959         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
960         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
961         Define.
962         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
963         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
964         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
965         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
967 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
969         * sysdeps/x86_64/fpu/Makefile: New file.
970         * sysdeps/x86_64/fpu/Versions: New file.
971         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
972         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
973         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
974         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
975         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
976         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
977         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
978         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
979         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
980         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
981         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
982         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
983         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
984         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
985         build of SSE, AVX2 and AVX512 IFUNC versions.
986         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
987         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
988         * sysdeps/x86_64/configure.ac: Options for libmvec build.
989         * sysdeps/x86_64/configure: Regenerated.
990         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
991         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
992         * manual/install.texi (Configuring and compiling): Document
993         --disable-mathvec.
994         * INSTALL: Regenerated.
995         * NEWS: Mention addition of libmvec and x86_64 vector cos.
997         * math/Makefile: Added rules for vector tests.
998         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
999         declaration under condition.
1000         * math/test-double-vlen2.h: New file.
1001         * math/test-double-vlen4.h: New file.
1002         * math/test-double-vlen8.h: New file.
1003         * math/test-vec-loop.h: Added initialization macro.
1004         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1005         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1006         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1007         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1008         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1009         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1010         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1011         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1012         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1013         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1014         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1016         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1017         * sysdeps/x86_64/fpu/Versions: New versions added.
1018         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1019         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1020         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1021         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1022         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1023         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1024         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1025         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1026         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1027         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1028         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1029         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1030         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1031         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1032         build of SSE, AVX2 and AVX512 IFUNC versions.
1033         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1034         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1035         * NEWS: Mention addition of x86_64 vector cosf.
1037         * math/Makefile: Added CFLAGS for new tests.
1038         * math/test-float-vlen16.h: New file.
1039         * math/test-float-vlen4.h: New file.
1040         * math/test-float-vlen8.h: New file.
1041         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1042         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1043         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1044         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1045         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1046         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1047         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1048         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1049         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1050         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1051         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1053 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
1055         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1056         * locale/programs/ld-ctype.c: Likewise.
1058 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1060         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1061         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1062         bit_ZMM16_31_state): New macro.
1063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1064         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1066 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
1068         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1070 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
1072         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1074 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
1076         [BZ #18498]
1077         * libio/memstream.c (open_memstream): Rename to __open_memstream
1078         and define as weak alias of __open_memstream.
1079         * include/stdio.h (__open_memstream): Declare.  Use
1080         libc_hidden_proto.
1081         (open_memstream): Don't use libc_hidden_proto.
1082         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1083         open_memstream.
1084         * posix/getopt.c (_getopt_internal_r): Likewise.
1085         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1086         variable.
1087         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1088         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1089         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1091         [BZ #18496]
1092         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1093         instead of wcrtomb.
1095         [BZ #18483]
1096         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1097         [__USE_XOPEN2K8].  Remove redundant #endif.
1098         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1099         Remove redundant #if.
1100         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1101         Remove variable.
1102         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1103         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1105         [BZ #18495]
1106         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1107         (__iswlower): Likewise.
1108         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
1109         (__iswlower): Likewise.
1110         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1111         instead of towlower.
1112         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1113         instead of iswlower.  Call __towupper instead of towupper.
1114         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1115         instead of iswalnum.
1117 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1119         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1120         errors to stderr.
1122 2015-06-05  Florian Weimer  <fweimer@redhat.com>
1124         [BZ #15661]
1125         [BZ #17322]
1126         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1127         Check for overflow properly.  Check for O_APPEND.  Ignore large
1128         file system block sizes.  Add comments about problems.
1129         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1130         * manual/filesys.texi (Storage Allocation): New node.
1132 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1134         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1135         cancellable syscalls.
1136         (SYS_ify): Add guard to no redefine it.
1137         (INLINE_SYSCALL): Likewise.
1138         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1139         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1140         SYSCALL_CANCEL instead.
1141         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1142         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1143         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1144         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1145         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1146         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1147         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1148         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1149         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1150         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1151         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1152         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1153         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1154         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1155         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1156         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1157         Likewise.
1158         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1159         (__libc_pread64): Likewise.
1160         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1161         (__libc_preadv): Likewise.
1162         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1163         (__libc_readv64): Likewise.
1164         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1165         (__libc_pwrite): Likewise.
1166         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1167         (__libc_pwrite64): Likewise.
1168         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1169         (__libc_pwritev): Likewise.
1170         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1171         (__libc_pwritev64): Likewise.
1172         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1173         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1174         (sync_file_range): Likewise.
1175         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1176         Likewise.
1177         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1178         Likewise.
1179         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1180         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1181         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1182         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1183         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1184         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1185         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1186         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1188         Likewise.
1189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1190         (__libc_read64): Likewise.
1191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1192         Likewise.
1193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1194         Likewise.
1195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1196         Likewise.
1197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1198         Likewise.
1199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1200         (__libc_pread64): Likewise.
1201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1202         Likewise.
1203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1204         (__libc_pwrite64): Likewise.
1205         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1206         (sync_file_range): Likewise.
1207         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1208         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1209         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1210         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1211         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1212         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1213         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1214         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1215         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1216         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1217         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1218         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1219         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1220         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1221         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1222         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1223         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1224         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1225         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1226         Likewise.
1227         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1228         Likewise.
1229         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1230         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1231         Likewise.
1232         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1233         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1234         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1235         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1236         Likewise.
1237         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1238         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1239         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1240         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1241         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1243 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
1245         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1246         Include dl-vdso.
1247         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1248         Use VDSO routines for gettimeofday, clock_gettime if
1249         available.
1250         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1251         Declare VDSO symbols.
1252         * sysdeps/unix/sysv/linux/arm/sysdep.h:
1253         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1254         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1255         * sysdeps/unix/sysv/linux/arm/Versions: Add
1256         __vdso_clock_gettime.
1258 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1260         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1261         be an inline implementation regardless of library is built within.
1262         (open_not_cancel_2): Likewise.
1263         (__read_nocancel): Likewise.
1264         (__write_nocancel): Likewise.
1265         (openat_not_cancel): Likewise.
1266         (openat_not_cancel_3): Likewise.
1267         (openat64_not_cancel): Likewise.
1268         (openat64_not_cancel_3): Likewise.
1269         (__close_nocancel): Likewise.
1270         (pause_not_cancel): Likewise.
1271         (nanosleep_not_cancel): Likewise.
1272         (sigsuspend_not_cancel): Likewise.
1274 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1276         [BZ #14958]
1277         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1278         wake-up.
1279         (__pthread_rwlock_rdlock_slow): Likewise.
1280         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1281         Likewise.
1282         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1283         Likewise.
1284         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1285         * nptl/tst-rwlock16.c: New file.
1286         * nptl/Makefile (tests): Add new test.
1288 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1290         [BZ #18324]
1291         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1292         missing wake-up of readers.
1293         * nptl/tst-rwlock15.c: New file.
1294         * nptl/Makefile (tests): Add new test.
1296 2015-06-03  Roland McGrath  <roland@hack.frob.com>
1298         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1299         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1300         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1301         and __nacl_supply_interface_rtld.
1302         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1303         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1304         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1305         Add __nacl_supply_interface_rtld.
1306         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1308 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1310         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1311         isfinite.
1312         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1313         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1315 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1317         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1318         __signbit* with standard C99 macros.
1319         * math/e_exp10l.c: Likewise.
1320         * math/e_exp2l.c: Likewise.
1321         * math/e_scalb.c: Likewise.
1322         * math/e_scalbf.c: Likewise.
1323         * math/e_scalbl.c: Likewise.
1324         * math/s_ldexp.c: Likewise.
1325         * math/s_ldexpf.c: Likewise.
1326         * math/s_ldexpl.c: Likewise.
1327         * math/w_atan2.c: Likewise.
1328         * math/w_atan2f.c: Likewise.
1329         * math/w_atan2l.c: Likewise.
1330         * math/w_cosh.c: Likewise.
1331         * math/w_coshf.c: Likewise.
1332         * math/w_coshl.c: Likewise.
1333         * math/w_exp10.c: Likewise.
1334         * math/w_exp10f.c: Likewise.
1335         * math/w_exp10l.c: Likewise.
1336         * math/w_exp2.c: Likewise.
1337         * math/w_exp2f.c: Likewise.
1338         * math/w_exp2l.c: Likewise.
1339         * math/w_fmod.c: Likewise.
1340         * math/w_fmodf.c: Likewise.
1341         * math/w_fmodl.c: Likewise.
1342         * math/w_hypot.c: Likewise.
1343         * math/w_hypotf.c: Likewise.
1344         * math/w_hypotl.c: Likewise.
1345         * math/w_jnl.c: Likewise.
1346         * math/w_lgamma.c: Likewise.
1347         * math/w_lgamma_r.c: Likewise.
1348         * math/w_lgammaf.c: Likewise.
1349         * math/w_lgammaf_r.c: Likewise.
1350         * math/w_lgammal.c: Likewise.
1351         * math/w_lgammal_r.c: Likewise.
1352         * math/w_pow.c: Likewise.
1353         * math/w_powf.c: Likewise.
1354         * math/w_powl.c: Likewise.
1355         * math/w_remainder.c: Likewise.
1356         * math/w_remainderf.c: Likewise.
1357         * math/w_remainderl.c: Likewise.
1358         * math/w_scalb.c: Likewise.
1359         * math/w_scalbf.c: Likewise.
1360         * math/w_scalbl.c: Likewise.
1361         * math/w_scalbln.c: Likewise.
1362         * math/w_scalblnf.c: Likewise.
1363         * math/w_scalblnl.c: Likewise.
1364         * math/w_sinh.c: Likewise.
1365         * math/w_sinhf.c: Likewise.
1366         * math/w_sinhl.c: Likewise.
1367         * math/w_tgamma.c: Likewise.
1368         * math/w_tgammaf.c: Likewise.
1369         * math/w_tgammal.c: Likewise.
1370         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1371         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1372         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1373         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1374         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1375         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1376         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1377         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1378         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1379         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1380         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1381         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1382         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1383         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1384         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1385         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1386         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1387         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1388         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1389         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1390         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1391         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1392         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1393         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1394         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1395         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1396         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1397         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1398         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1399         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1400         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1401         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1402         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1403         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1404         * stdio-common/printf_fp.c: Likewise.
1405         * stdio-common/printf_fphex.c: Likewise.
1406         * stdio-common/printf_size.c: Likewise.
1408 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
1410         [BZ #18470]
1411         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1412         strnlen.
1413         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1414         Remove variable.
1415         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1416         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1417         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1418         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1419         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1420         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1421         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1422         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1423         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1424         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1426         [BZ #18468]
1427         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1428         weak alias of __wmemchr.  Use libc_hidden_weak.
1429         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
1430         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1431         instead of wmemchr.
1433 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1435         [BZ #18383]
1436         * elf/tst-tlsalign-extern.c: New file.
1437         * elf/tst-tlsalign-extern-static.c: New file.
1438         * elf/tst-tlsalign-vars.c: New file.
1439         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1440         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1441         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1442         ($(objpfx)tst-tlsalign-extern-static): Likewise.
1443         (test-xfail-tst-tlsalign-extern-static): New variable.
1445 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
1447         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1448         Use variable name _sc_err instead of err.
1449         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1450         instead of ret.
1451         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1452         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1453         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1454         (INLINE_SYSCALL): Likewise.
1456         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1457         * include/string.h (__strnlen): Use libc_hidden_proto.
1458         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1459         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1460         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1461         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1462         (libc_hidden_def): Undefine and redefine.
1463         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1464         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1465         __GI_strnlen.
1466         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1467         libc_hidden_def.
1468         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1470         [BZ #18469]
1471         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1472         weak alias of __towlower.  Use libc_hidden_weak.
1473         (towupper): Rename to __towupper and define as weak alias of
1474         __towupper.  Use libc_hidden_weak.
1475         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
1476         (__towupper): Likewise.
1477         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1478         __towlower instead of towlower.
1480 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1482         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1483         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1485 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1487         * sysdeps/aarch64/libm-test-ulps: Update.
1489 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1491         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1492         Define.
1493         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1494         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1495         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1496         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1497         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1498         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1499         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1501 2015-06-01  Martin Sebor  <msebor@redhat.com>
1503         [BZ #18116]
1504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1505         (__setcontext): Use extended four-operand version of mtsf whenever
1506         possible.
1507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1508         (__novec_swapcontext): Likewise.
1510 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1512         * benchtests/scripts/compare_bench.py: New file.
1513         * benchtests/scripts/import_bench.py (mean): New function.
1514         (split_list): Likewise.
1515         (do_for_all_timings): Likewise.
1516         (compress_timings): Likewise.
1518         * benchtests/scripts/import_bench.py: New file.
1519         * benchtests/scripts/validate_benchout.py: Import import_bench
1520         instead of jsonschema.
1521         (validate_bench): Remove function.
1522         (main): Use import_bench.
1524 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
1526         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1527         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1529 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1533 2015-05-28  Roland McGrath  <roland@hack.frob.com>
1535         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1536         set THREAD_SELF->tid to a magic value and futex-wake it.
1537         Pass its address to the thread_exit system call.
1538         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1539         bit is clear.
1540         * sysdeps/nacl/lowlevellock.h: New file.
1541         * sysdeps/nacl/lll_timedwait_tid.c: New file.
1543         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1544         Add TIMEOUT to current time, don't subtract it.
1546 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
1548         [BZ #18422]
1549         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1550         ($(objpfx)tst-audit2.out): Also depend on
1551         $(objpfx)tst-auditmod9b.so.
1552         * elf/tst-audit2.c: Include <dlfcn.h>.
1553         (calloc_called): New.
1554         (calloc): Allow to be called more than once.
1555         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1557 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
1559         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1560         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1562 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
1564         * stdlib/monetary.h: Fix comment.
1566 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
1568         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1569         Avoid using variables in #defines that might cause shadowing.
1570         (INTERNAL_VSYSCALL_CALL): Likewise.
1572 2015-05-26  Roland McGrath  <roland@hack.frob.com>
1574         * sysdeps/nacl/lll_timedlock_wait.c: New file.
1576         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1577         * nptl/lll_timedlock_wait.c: ... to this new file.
1578         * nptl/Makefile (libpthread-routines): Add it.
1579         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1580         * nptl/lll_timedwait_tid.c: ... to this new file.
1581         * nptl/Makefile (libpthread-routines): Add it.
1582         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1583         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1584         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1585         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1586         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1587         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1588         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1589         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1590         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1591         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1593 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1595         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1596         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1597         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1598         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1599         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1600         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1601         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1602         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1603         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1604         * sysdeps/unix/sysv/linux/tile/sysdep.h
1605         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1606         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1607         using vDSO syscall macro.
1609 2015-05-26  Andriy Rysin  <arysin@gmail.com>
1611         [BZ #17293]
1612         * uk_UA: Fix sorting order for Ukrainian locale
1614 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
1616         * stdlib/monetary.h: Fix comment.
1618 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1620         [BZ #18234]
1621         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1622         st_mtim and st_ctim members.
1623         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1624         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1625         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1626         (struct stat64): Likewise.
1627         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1628         (struct stat64): Likewise.
1629         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1630         (struct stat64): Likewise.
1632 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1634         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1635         Define and include sysdep-vdso.h.
1636         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1637         Likewise.
1638         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1639         Likewise.
1640         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1641         Define with VDSO_SYMBOL and use PTR_MANGLE.
1642         (__vdso_clock_gettime): Likewise.
1643         (__vdso_clock_getres): Likewise.
1644         (_libc_vdso_platform_setup): Likewise.
1645         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1646         Likewise.
1647         (_libc_vdso_platform_setup): Likewise.
1648         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1649         Likewise.
1650         (__vdso_clock_gettime): Likewise.
1651         (__vdso_clock_getres): Likewise.
1652         (__vdso_get_tbfreq): Likewise.
1653         (__vdso_getcpu): Likewise.
1654         (__vdso_time): Likewise.
1655         (__vdso_sigtramp_rt64): Likewise.
1656         (__vdso_signtramp32): Likewise.
1657         (__vdso_sigtramp_rt32): Likewise.
1658         (_libc_vdso_platform_setup): Likewise.
1659         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1660         Likewise.
1661         (__vdso_clock_gettime): Likewise.
1662         (__vdso_clock_getres): Likewise.
1663         (_libc_vdso_platform_setup): Likewise.
1664         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1665         Likewise.
1666         (__vdso_clock_gettime): Likewise.
1667         (_libc_vdso_platform_setup): Likewise.
1668         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1669         Likewise.
1670         (__vdso_getcpu): Likewise.
1671         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1672         Use VDSO_SYMBOL macro to define.
1673         (__vdso_clock_gettime): Likewise.
1674         (__vdso_clock_getres): Likewise.
1675         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1676         Likewise.
1677         (__vdso_clock_gettime): Likewise.
1678         (__vdso_clock_getres): Likewise.
1679         (__vdso_get_tbfreq): Likewise.
1680         (__vdso_getcpu): Likewise.
1681         (__vdso_time): Likewise.
1682         (__vdso_sigtramp_rt64): Likewise.
1683         (__vdso_signtramp32): Likewise.
1684         (__vdso_sigtramp_rt32): Likewise.
1685         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1686         Likewise.
1687         (__vdso_clock_gettime): Likewise.
1688         (__vdso_clock_getres): Likewise.
1689         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1690         Likewise.
1691         (__vdso_clock_gettime): Likewise.
1692         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1693         Likewise.
1694         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
1695         macro.
1696         (INTERNAL_VSYSCALL): Likewise.
1697         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1698         Remove macro.
1699         (INTERNAL_VSYSCALL): Likewise.
1700         (INTERNAL_VSYSCALL_NCS): Likewise.
1701         (INTERNAL_VSYSCALL_CALL): New macro.
1702         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1703         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1704         Likewise.
1705         (INTERNAL_VSYSCALL): Likewise.
1706         (INTERNAL_VSYSCALL_NCS): Likewise.
1707         (INTERNAL_VSYSCALL_CALL): New macro.
1708         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1710         (INLINE_VSYSCALL): Remove macro.
1711         (INTERNAL_VSYSCALL): Remove macro.
1712         (INTERNAL_VSYSCALL_NCS): Remove macro.
1713         (INTERNAL_VSYSCALL_CALL): New macro.
1714         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1715         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1716         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1717         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1718         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1720         (INLINE_VSYSCALL): Remove macro.
1721         (INTERNAL_VSYSCALL): Likewise.
1722         (INTERNAL_VSYSCALL_NCS): Likewise.
1723         (INTERNAL_VSYSCALL_CALL): New macro.
1724         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1725         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1726         PTR_DEMANGLE on vDSO pointer.
1727         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1728         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1729         macro.
1730         (INTERNAL_SYSCALL): Likewise.
1731         (INTERNAL_VSYSCALL_NCS): Remove macro.
1732         (INTERNAL_VSYSCALL_CALL): New macro.
1733         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1734         Remove macro.
1735         (INTERNAL_VSYSCALL): Likewise.
1736         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1737         sysdep-vdso.h instead of libc-vdso.h.
1738         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1739         definition.
1740         (INLINE_VSYSCALL): Likewise.
1741         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1742         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1743         definition.
1744         (INLINE_VSYSCALL): Likewise.
1745         (INTERNAL_VSYSCALL): Likewise.
1746         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1747         * sysdeps/unix/sysv/linux/timespec_get.c
1748         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1749         (timespec_get): Use ANSI prototype.
1750         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1751         and definition for Linux.
1753 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1755         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1756         * include/libc-symbols.h: libmvec_hidden_* macro series added.
1758 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1760         [BZ #18410]
1761         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1762         for missing DT_PLTRELSZ.
1764 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1766         Remove obsolete aliases that broke 'locale -a'
1767         [BZ #18412]
1768         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1769         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1770         breaking some applications that use 'locale -a' output.
1771         Change the encoding of this file from Latin-1 to ASCII to avoid
1772         other potential problems with people grepping this file.
1774 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1776         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1777         -fasynchronous-unwind-tables.
1778         (CFLAGS-sendto.c): Likewise.
1779         (CFLAGS-sendmsg.c): Likewise.
1780         (CFLAGS-connect.c): Likewise.
1781         (CFLAGS-recvmsg.c): Likewise.
1782         (CFLAGS-recvfrom.c): Likewise.
1783         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1784         (SOCKETCALL): New macro: non-cancellable socketcall.
1785         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1786         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1787         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1788         * sysdeps/unix/sysv/linux/accept.c: New file.
1789         * sysdeps/unix/sysv/linux/bind.c: Likewise.
1790         * sysdeps/unix/sysv/linux/connect.c: Likewise.
1791         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1792         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1793         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1794         * sysdeps/unix/sysv/linux/listen.c: Likewise.
1795         * sysdeps/unix/sysv/linux/recv.c: Likewise.
1796         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1797         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1798         * sysdeps/unix/sysv/linux/send.c: Likewise.
1799         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1800         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1801         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1802         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1803         * sysdeps/unix/sysv/linux/socket.c: Likewise.
1804         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1805         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1806         prototype.
1807         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1808         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1809         instead of __internal_xxx function.
1810         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1811         prototype.
1812         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1813         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1814         instead of __internal_xxx function.
1815         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1816         prototype.
1817         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1818         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1819         instead of __internal_xxx function.
1820         * sysdeps/unix/sysv/linux/accept.S: Remove file.
1821         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1822         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1823         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1824         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1825         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1826         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1827         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1828         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1829         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1830         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1831         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1832         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1833         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1834         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1835         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1836         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1837         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1838         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1839         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1842         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1843         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1844         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1845         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1846         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1847         * sysdeps/unix/sysv/linux/send.S: Likewise.
1848         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1849         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1850         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1851         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1852         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1853         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1854         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1855         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1856         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1857         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1858         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1859         socketcall is implemented in GLIBC.
1861 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1863         * soft-fp/fmadf4.c: Include <libc-internal.h>.
1864         (__fma): Ignore uninitialized warnings around packing.
1865         * soft-fp/fmasf4.c: Include <libc-internal.h>.
1866         (__fmaf): Ignore uninitialized warnings around packing.
1867         * soft-fp/fmatf4.c: Include <libc-internal.h>.
1868         (__fmal): Ignore uninitialized warnings around packing.
1870         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1871         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1872         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1873         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1875         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1876         switch statement into default case.
1877         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1879         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1880         a conditional in forcing "inexact".
1881         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1882         Likewise.
1884 2015-05-22  Roland McGrath  <roland@hack.frob.com>
1886         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1887         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1888         for each INTERNAL_SYSCALL use.
1890 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1892         [BZ #438]
1893         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1894         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1895         variable.
1897         [BZ #18444]
1898         * string/basename.c (basename): Rename to __basename and define as
1899         weak alias of __basename.  Use libc_hidden_weak.
1900         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
1901         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1902         __basename instead of basename.
1903         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1904         Remove variable.
1905         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1907 2015-05-18  Florian Weimer  <fweimer@redhat.com>
1909         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1910         (_IO_JUMPS_FILE_plus): New.
1911         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1912         _IO_CAST_FIELD_ACCESS.
1913         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1914         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1915         * libio/freopen.c (freopen): Likewise.
1916         * libio/freopen64.c (freopen64): Likewise.
1917         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1918         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1919         * libio/iofwide.c (_IO_fwide): Likewise.
1920         * libio/memstream.c (open_memstream): Likewise.
1921         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1922         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1923         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1925 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
1927         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1928         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1929         NADJ.
1930         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1931         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1932         NADJ.
1933         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1934         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1935         NADJ.
1937         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1938         (p == 4) case.
1940         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1941         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1942         Remove variable.
1943         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1944         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1945         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1947 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1949         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1950         Adjust jump table label generation macros.
1952 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1954         * stdio-common/vfprintf.c (vfprintf): Move local variables
1955         args_malloced, specs, specs_malloced, and the code after
1956         do_positional to the printf_positional function.
1957         (printf_positional): New function.
1959 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1961         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1962         function.
1963         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1964         STEP4_TABLE, process_arg): Move macro definitions
1965         out of the vfprintf function.  (Cosmetic change only.)
1967 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
1969         * benchtests/Makefile (stdio-common-bench): Define.
1970         (benchset): Add stdio-common-bench.
1971         * sprintf-inputs: New file.
1972         * sprintf-source.c: New file.
1974 2015-05-21  Andreas Schwab  <schwab@suse.de>
1976         [BZ #13028]
1977         [BZ #17053]
1978         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1979         of struct __res_state.
1980         * resolv/res_send.c (__libc_res_nsend): Likewise.
1981         (get_nsaddr): New function.
1982         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1983         statp directly.
1985 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
1987         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1988         -D_POSIX_C_SOURCE=199506L.
1990         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1992         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1993         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1994         Do not mention otherwise.
1995         [POSIX] (_XOPEN_VERSION): Do not expect.
1996         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1997         [POSIX] (_POSIX2_C_BIND): Likewise.
1998         [POSIX] (_POSIX2_VERSION): Likewise.
1999         [POSIX] (_XOPEN_XPG2): Likewise.
2000         [POSIX] (_XOPEN_XPG3): Likewise.
2001         [POSIX] (_XOPEN_XPG4): Likewise.
2002         [POSIX] (_XOPEN_UNIX): Likewise.
2003         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2004         [POSIX] (_POSIX_BARRIERS): Likewise.
2005         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2006         [POSIX] (_POSIX_CPUTIME): Likewise.
2007         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2008         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2009         [POSIX] (_POSIX_SHELL): Likewise.
2010         [POSIX] (_POSIX_SPAWN): Likewise.
2011         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2012         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2013         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2014         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2015         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2016         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2017         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2018         [POSIX] (_XBS5_LP64_OFF64): Likewise.
2019         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2020         [POSIX] (_POSIX_TIMEOUTS): Likewise.
2021         [POSIX] (_POSIX2_PBS): Likewise.
2022         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2023         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2024         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2025         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2026         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2027         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2028         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2029         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2030         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2031         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2032         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2033         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2034         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2035         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2036         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2037         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2038         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2039         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2040         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2041         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2042         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2043         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2044         [POSIX] (_SC_2_C_BIND): Likewise.
2045         [POSIX] (_SC_2_C_VERSION): Likewise.
2046         [POSIX] (_SC_2_PBS): Likewise.
2047         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2048         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2049         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2050         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2051         [POSIX] (_SC_2_PBS_TRACK): Likewise.
2052         [POSIX] (_SC_ATEXIT_MAX): Likewise.
2053         [POSIX] (_SC_BARRIERS): Likewise.
2054         [POSIX] (_SC_BASE): Likewise.
2055         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2056         [POSIX] (_SC_DEVICE_IO): Likewise.
2057         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2058         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2059         [POSIX] (_SC_FD_MGMT): Likewise.
2060         [POSIX] (_SC_FIFO): Likewise.
2061         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2062         [POSIX] (_SC_FILE_LOCKING): Likewise.
2063         [POSIX] (_SC_FILE_SYSTEM): Likewise.
2064         [POSIX] (_SC_IOV_MAX): Likewise.
2065         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2066         [POSIX] (_SC_NETWORKING): Likewise.
2067         [POSIX] (_SC_PAGE_SIZE): Likewise.
2068         [POSIX] (_SC_PASS_MAX): Likewise.
2069         [POSIX] (_SC_PIPE): Likewise.
2070         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2071         [POSIX] (_SC_REGEXP): Likewise.
2072         [POSIX] (_SC_SHELL): Likewise.
2073         [POSIX] (_SC_SIGNALS): Likewise.
2074         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2075         [POSIX] (_SC_SPIN_LOCKS): Likewise.
2076         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2077         [POSIX] (_SC_USER_GROUPS): Likewise.
2078         [POSIX] (_SC_USER_GROUPS_R): Likewise.
2079         [POSIX] (_SC_STREAMS): Likewise.
2080         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2081         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2082         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2083         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2084         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2085         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2086         [POSIX] (_PC_FILESIZEBITS): Likewise.
2087         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2088         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2089         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2090         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2091         [POSIX] (uid_t): Likewise.
2092         [POSIX] (gid_t): Likewise.
2093         [POSIX] (off_t): Likewise.
2094         [POSIX] (pid_t): Likewise.
2095         [POSIX] (cuserid): Allow.
2096         (_SC_2_CHAR_TERM): Require constant.
2097         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2098         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2099         variable.
2101 2015-05-20  Roland McGrath  <roland@hack.frob.com>
2103         * sysdeps/nacl/pthread-pids.h: New file.
2104         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2105         (create_thread): Use __nacl_get_tid to initialize PD->tid.
2107         * nptl/pthread-pids.h: New file.
2108         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2109         * nptl/nptl-init.c: Include <pthread-pids.h>.
2110         (__pthread_initialize_minimal_internal):
2111         Call __pthread_initialize_pids instead of set_tid_address syscall.
2113         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2114         * sysdeps/posix/usleep.c: ... here.
2116 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2118         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2119         call_pselect6 object.
2120         [$(subdir) = io]: Remove call_sync_file_range object.
2121         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2122         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2123         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2124         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2126 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
2128         * math/s_cproj.c: Add include "math_private.h".
2129         * math/s_cprojf.c: Likewise.
2130         * math/s_cprojl.c: Likewise.
2132 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
2134         [BZ #18244]
2135         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2136         high mantissa bit when testing whether P is a NaN.
2137         * math/libm-test.inc (remainder_test_data): Add more tests.
2138         (remquo_test_data): Likewise.
2140         [BZ #18049]
2141         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2142         below -32, return the argument, with underflow if subnormal.
2143         * math/auto-libm-test-in: Add more tests of atanh.
2144         * math/auto-libm-test-out: Regenerated.
2146 2015-05-19  Roland McGrath  <roland@hack.frob.com>
2148         [BZ #18434]
2149         * nptl/tst-sem15.c: New file.
2150         * nptl/Makefile (tests): Add it.
2151         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2152         s/<</>>/ to fix typo in EOVERFLOW check.
2153         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2155 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2157         * manual/strings.texi (envz_remove): Fix typo in safety
2158         annotations.
2160 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2161             Steve Ellcey  <sellcey@imgtec.com>
2163         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2164         in order to avoid strict alias warnings.
2165         (iruserok_af): Ditto for ra.
2167 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
2169         [BZ #17581]
2170         * malloc/hooks.c
2171         (magicbyte): Convert to a function and avoid returning 0x01.
2172         (mem2mem_check): Avoid using a length byte equal to the magic byte.
2173         (mem2chunk_check): Fix unsigned comparisons to zero.
2174         Hoist defs of sz and magic.
2176 2015-05-19  Richard Henderson  <rth@redhat.com>
2178         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2180         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2182 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2184         [BZ #16159]
2185         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2186         * malloc/arena.c (arena_lock): Check if arena is corrupt.
2187         (reused_arena): Find a non-corrupt arena.
2188         (heap_trim): Pass arena to unlink.
2189         * malloc/hooks.c (malloc_check_get_size): Pass arena to
2190         malloc_printerr.
2191         (top_check): Likewise.
2192         (free_check): Likewise.
2193         (realloc_check): Likewise.
2194         * malloc/malloc.c (malloc_printerr): Add arena argument.
2195         (unlink): Likewise.
2196         (munmap_chunk): Adjust.
2197         (ARENA_CORRUPTION_BIT): New macro.
2198         (arena_is_corrupt): Likewise.
2199         (set_arena_corrupt): Likewise.
2200         (sysmalloc): Use mmap if there are no usable arenas.
2201         (_int_malloc): Likewise.
2202         (__libc_malloc): Don't fail if arena_get returns NULL.
2203         (_mid_memalign): Likewise.
2204         (__libc_calloc): Likewise.
2205         (__libc_realloc): Adjust for additional argument to
2206         malloc_printerr.
2207         (_int_free): Likewise.
2208         (malloc_consolidate): Likewise.
2209         (_int_realloc): Likewise.
2210         (_int_memalign): Don't touch corrupt arenas.
2211         * malloc/tst-malloc-backtrace.c: New test case.
2213         * Makefile (summarize-tests): Fix return value on success.
2215         * manual/string.texi (Envz Functions): Add envz_remove.
2217 2015-05-18  Roland McGrath  <roland@hack.frob.com>
2219         * sysdeps/posix/opendir.c: Include <stdbool.h>.
2220         (invalid_name): New function, broken out of ...
2221         (__opendirat): ... here.  Call it.
2222         (need_isdir_precheck): New function, broken out of ...
2223         (__opendirat): ... here.  Call it.
2224         Use __fxstatat64, not __xstatat64.
2225         (opendir_oflags): New function, broken out of ...
2226         (__opendirat): ... here.  Call it.
2227         (opendir_tail): New function, broken out of ...
2228         (__opendirat): ... here.  Call it.
2229         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2230         opendir_tail, rather than punting to __opendirat.
2231         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2233 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2235         * .gitignore: Ignore generated *.pyc.
2237 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
2239         * include/stdio.h: Define __need_wint_t.
2240         * test-skeleton.c: Avoid `for' loop initial declaration.
2241         * nptl/tst-initializers1.c: Use test-skeleton.c.
2243 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2245         [BZ #18418]
2246         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2248 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2250         [BZ #16352]
2251         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2252         (__ieee754_atanh): Force underflow exception for results with
2253         small absolute value.
2254         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2255         (__ieee754_atanhf): Force underflow exception for results with
2256         small absolute value.
2257         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2258         (__ieee754_atanh): Force underflow exception for results with
2259         small absolute value.
2260         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2261         (__ieee754_atanhf): Force underflow exception for results with
2262         small absolute value.
2263         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2264         (__ieee754_atanhl): Force underflow exception for results with
2265         small absolute value.
2266         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2267         (__ieee754_atanhl): Force underflow exception for results with
2268         small absolute value.
2269         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2270         (__ieee754_atanhl): Force underflow exception for results with
2271         small absolute value.
2272         * math/auto-libm-test-in: Do not allow missing underflow
2273         exceptions from atanh.
2274         * math/auto-libm-test-out: Regenerated.
2276         [BZ #18221]
2277         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2278         2**-28 as threshold for returning x or +/- 1/x.
2279         * math/auto-libm-test-in: Add more tests of tan.
2280         * math/auto-libm-test-out: Regenerated.
2282         [BZ #18220]
2283         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2284         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2285         * math/auto-libm-test-in: Add another test of lgamma.
2286         * math/auto-libm-test-out: Regenerated.
2288 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
2290         * stdio-common/printf_fp.c (___printf_fp): Use abs.
2291         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
2292         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2293         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2294         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
2295         (ADD2A): Use fabs.  (SUB2A): Use fabs.
2296         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2297         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2298         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2299         (log1): Use fabs.  (my_log2): Use fabs.
2300         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2301         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2302         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2303         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2304         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2305         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
2306         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
2307         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
2308         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
2309         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2310         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2312 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2314         [BZ #18217]
2315         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2316         as threshold for returning 1 - x.
2317         * math/auto-libm-test-in: Add more tests of erfc.
2318         * math/auto-libm-test-out: Regenerated.
2320 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
2322         [BZ #18196]
2323         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2324         threshold for large arguments.
2325         * math/auto-libm-test-in: Add another test of atan.
2326         * math/auto-libm-test-out: Regenerated.
2328         [BZ #16339]
2329         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2330         (__log1p): Force underflow exception for results with small
2331         absolute value.
2332         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2333         (__log1pf): Force underflow exception for results with small
2334         absolute value.
2335         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2336         (__log1p): Force underflow exception for results with small
2337         absolute value.
2338         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2339         (__log1pf): Force underflow exception for results with small
2340         absolute value.
2341         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2342         (__log1pl): Force underflow exception for results with small
2343         absolute value.
2344         * math/auto-libm-test-in: Do not allow missing underflow
2345         exceptions from log1p.
2346         * math/auto-libm-test-out: Regenerated.
2348 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
2349             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2351         [BZ #16704]
2352         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2354 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
2356         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2357         (libmvec): New variable.
2358         * configure.ac: Added option for mathvec build.
2359         * configure: Regenerated.
2360         * mathvec/Depend: New file.
2361         * mathvec/Makefile: New file.
2362         * shlib-versions: Added libmvec.
2363         * math/Makefile: Added rule for libm.so installation.
2365         * bits/math-vector.h: New file.
2366         * bits/libm-simd-decl-stubs.h: New header.
2367         * math/Makefile (headers): Added new header
2368         libm-simd-decl-stubs.h.
2369         * math/math.h (__MATHCALL_VEC): New macro.
2371         * math/gen-libm-have-vector-test.sh: Script generates series of macros
2372         for conditions in testing functions.
2373         * math/Makefile: Added call of libm-have-vector-test.sh.
2374         * math/libm-test.inc (HAVE_VECTOR): New macros.
2376         * math/libm-test.inc: START refactored.
2377         * math/test-double.c (TEST_MATHVEC): Add define.
2378         * math/test-float.c: Likewise.
2379         * math/test-idouble.c: Likewise.
2380         * math/test-ifloat.c: Likewise.
2381         * math/test-ildoubl.c: Likewise.
2382         * math/test-ldouble.c: Likewise.
2383         * sysdeps/generic/math-tests-arch.h
2384         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2385         architecture check.
2387         * math/test-double.c (FUNC_TEST): New macro.
2388         * math/test-float.c: Likewise.
2389         * math/test-idouble.c: Likewise.
2390         * math/test-ifloat.c: Likewise.
2391         * math/test-ildoubl.c: Likewise.
2392         * math/test-ldouble.c: Likewise.
2393         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2395 2015-05-13  Roland McGrath  <roland@hack.frob.com>
2397         * sysdeps/nacl/fdopendir.c: New file.
2399         * dirent/scandir-tail.c: New file.
2400         * dirent/scandir64-tail.c: New file.
2401         * dirent/Makefile (routines): Add them.
2402         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2403         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2404         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2405         [!SCANDIR] (SCANDIR_TAIL): New macro.
2406         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2407         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2408         (SCANDIRAT): Macro removed.
2409         (SCANDIR_TAIL): New macro.
2410         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2411         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2412         (SCANDIRAT): Just call __opendirat and __scandir_tail.
2413         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2414         (READDIR): Macro removed.
2415         (SCANDIR_TAIL): New macro.
2416         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2417         (SCANDIR_TAIL): New macro.
2419         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2420         * dirent/scandir-cancel.c: ... to this new file.
2421         * dirent/Makefile (routines): Add it.
2422         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2423         * sysdeps/unix/sysv/linux/i386/scandir64.c
2424         (SKIP_SCANDIR_CANCEL): Macro removed.
2425         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2427         * dirent/tst-scandir.c: New file.
2428         * dirent/tst-scandir64.c: New file.
2429         * dirent/Makefile (tests): Add them.
2431 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2433         [BZ #18409]
2434         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2436 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2438         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2439         list.
2441 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
2443         * benchtests/bench-strcoll.c: New benchmark.
2444         * benchtests/Makefile: Generate locales and run benchmark.
2445         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2446         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2447         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2448         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2449         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2450         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2451         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2452         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2453         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2454         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2455         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2456         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2457         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2458         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2459         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2460         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2461         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2462         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2463         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2464         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2465         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2466         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2467         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2468         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2470 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
2472         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2473         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2475 2015-05-12  Roland McGrath  <roland@hack.frob.com>
2477         * posix/uname-values.h: New file.
2478         * posix/uname.c: Include that instead of <config-name.h>.
2479         * sysdeps/nacl/uname-values.h: New file.
2480         * sysdeps/arm/nacl/uname-values.h: New file.
2482 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
2484         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2485         splitting into fields.
2487 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
2489         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2490         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2491         * locale/localeinfo.h: Add enum collation_encoding_type.
2492         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2493         * programs/ld-collate.c (collate_output): Add encoding type info.
2494         * string/strcoll_l.c (STRDIFF): New function.
2495         * (STRCOLL): Use STRDIFF to skip over equal prefix.
2496         * wcsmbs/wcscoll_l.c: Define STRDIFF.
2498 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
2500         [BZ #18397]
2501         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2502         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
2503         <fpu_control.h> instead of <math/fpu_control.c>.
2504         * sysdeps/mips/mips32/fpu/Makefile: New file.
2506 2015-05-11  Andreas Schwab  <schwab@suse.de>
2508         [BZ #18007]
2509         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2510         nss_endgrent.
2511         (_nss_compat_endgrent): Call nss_endgrent.
2512         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2513         nss_endpwent.
2514         (_nss_compat_endpwent): Call nss_endpwent.
2515         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2516         needent, call nss_setspent only if non-zero.
2517         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2518         (internal_endspent): Don't call nss_endspent.
2519         (_nss_compat_endspent): Call nss_endspent.
2520         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2521         Remove.  All uses removed.
2522         (internal_setent): Remove parameter stayopen, add parameter
2523         stream.  Use it instead of global variable.
2524         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2525         (internal_endent, internal_getent): Add parameter stream.  Use it
2526         instead of global variable.
2527         (CONCAT(_nss_files_end,ENTNAME))
2528         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2529         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
2530         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
2531         uses removed.
2532         (internal_setent, internal_endent): Add parameter stream.  Use it
2533         instead of global variable.
2534         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2535         stream.
2536         (get_next_alias): Add parameter stream.
2537         (_nss_files_getaliasent_r): Pass global stream.
2538         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
2539         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2540         (_nss_files_gethostbyname4_r): Pass local stream to
2541         internal_setent, internal_getent and internal_endent.  Remove
2542         locking.
2544 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2546         * tst-strfmon1.c (tests): Update expected currency symbol.
2548 2015-05-08  Roland McGrath  <roland@hack.frob.com>
2550         * sysdeps/nacl/gethostname.c: New file.
2552 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
2554         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2555         and sinh.
2556         * math/auto-libm-test-out: Regenerated.
2557         * sysdeps/i386/fpu/libm-test-ulps: Update.
2558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2560 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
2562         [BZ #18125]
2563         * stdlib/tst-setcontext3.c: New file.
2564         * stdlib/tst-setcontext3.sh: New file.
2565         * stdlib/Makefile (tests): Add tst-setcontext3.
2566         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2567         to verify test program created output file.
2568         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2569         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2570         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2571         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2573 2015-05-06  Roland McGrath  <roland@hack.frob.com>
2575         [BZ #18383]
2576         * elf/tst-tlsalign.c: New file.
2577         * elf/tst-tlsalign-static.c: New file.
2578         * elf/tst-tlsalign-lib.c: New file.
2579         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2580         (tests-static): Add tst-tlsalign-static.
2581         (modules-names): Add tst-tlsalign-lib.
2582         (test-xfail-tst-tlsalign): New variable.
2583         (test-xfail-tst-tlsalign-static): New variable.
2585         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2586         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2588 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
2590         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2591         csqrt, erfc, sin and sincos.
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-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2598         * sysdeps/aarch64/libm-test-ulps: Update.
2600 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
2602         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2603         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2604         * math/auto-libm-test-out: Regenerated.
2605         * sysdeps/i386/fpu/libm-test-ulps: Update.
2606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2608 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
2610         [BZ #18265]
2611         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2612         (wcsncpy): Likewise.
2614 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2616         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2617         Assume __ASSUME_FALLOCATE is always true.
2618         * sysdeps/unix/sysv/linux/posix_fallocate64.c
2619         (__posix_fallocate64_l64): Likweise.
2620         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2621         (posix_fallocate): Likewise.
2622         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2623         (__posix_fallocate64_l64): Likewise.
2624         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2625         [!__ASSUME_FALLOCATE]: Add comment.
2627 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2629         * sysdeps/unix/sysv/linux/i386/Makefile
2630         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2631         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2632         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2633         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2634         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2635         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2636         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2638 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
2640         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2641         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2642         tgamma.
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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2649         * math/auto-libm-test-in: Add more tests of tgamma.
2650         * math/auto-libm-test-out: Regenerated.
2651         * sysdeps/i386/fpu/libm-test-ulps: Update.
2652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2654         * math/auto-libm-test-in: Add more tests of tanh.
2655         * math/auto-libm-test-out: Regenerated.
2656         * sysdeps/i386/fpu/libm-test-ulps: Update.
2657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2659         * math/auto-libm-test-in: Add more tests of tan.
2660         * math/auto-libm-test-out: Regenerated.
2661         * sysdeps/i386/fpu/libm-test-ulps: Update.
2662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2664         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2665         * math/auto-libm-test-out: Regenerated.
2666         * sysdeps/i386/fpu/libm-test-ulps: Update.
2667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2669         * math/auto-libm-test-in: Add another test of pow.
2670         * math/auto-libm-test-out: Regenerated.
2671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2673         * math/auto-libm-test-in: Add more tests of lgamma.
2674         * math/auto-libm-test-out: Regenerated.
2675         * sysdeps/i386/fpu/libm-test-ulps: Update.
2676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2678         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2679         log1p.
2680         * math/auto-libm-test-out: Regenerated.
2681         * sysdeps/i386/fpu/libm-test-ulps: Update.
2682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2684 2015-05-01  Mark Wielaard  <mjw@redhat.com>
2686         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2687         Elf64_Chdr structs and ELFCOMPRESS constants.
2689 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2691         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2692         expm1.
2693         * math/auto-libm-test-out: Regenerated.
2694         * sysdeps/i386/fpu/libm-test-ulps: Update.
2695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2697         * math/auto-libm-test-in: Add more tests of erf and erfc.
2698         * math/auto-libm-test-out: Regenerated.
2699         * sysdeps/i386/fpu/libm-test-ulps: Update.
2700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2702 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2704         * config.h.in (HAVE_AARCH64_BE): Add.
2706 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
2708         * math/auto-libm-test-in: Add more tests of csqrt.
2709         * math/auto-libm-test-out: Regenerated.
2710         * sysdeps/i386/fpu/libm-test-ulps: Update.
2711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2713         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2714         * math/auto-libm-test-out: Regenerated.
2715         * sysdeps/i386/fpu/libm-test-ulps: Update.
2716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2718         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2720 2015-04-29  Roland McGrath  <roland@hack.frob.com>
2722         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2723         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2725         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2726         (euidaccess, eaccess): Define as weak aliases.
2728         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2729         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
2730         but __suseconds_t is often 'long int' so some sources assume that
2731         type is being used (e.g. they use %ld to print tv_usec).
2733 2015-04-29  Florian Weimer  <fweimer@redhat.com>
2735         [BZ #18007]
2736         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2737         (CVE-2014-8121)
2738         * nss/tst-nss-getpwent.c: New file.
2739         * nss/Makefile (tests): Add new test.
2741 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
2743         [BZ #18346]
2744         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2745         exponents less than 48 as cases where high part of mantissa needs
2746         examining to determine whether argument is integral.
2747         * math/libm-test.inc (round_test_data): Add more tests.
2749 2015-04-28  Mark Wielaard  <mjw@redhat.com>
2751         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2753 2015-04-27  David S. Miller  <davem@davemloft.net>
2755         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2756         __tls_get_addr.
2757         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2759 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
2761         [BZ#18333]
2762         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2764 2015-04-27  Florian Weimer  <fweimer@redhat.com>
2766         [BZ#18333]
2767         * time/tzset.c (parse_tzname): Return error on memory allocation
2768         failure.
2769         * test-skeleton.c (struct temp_name_list): Change type of name
2770         member to non-const.
2771         (add_temp_file): Create a copy of the file name.
2772         (delete_temp_files): Deallocate memory.
2773         (create_temp_file): Add comment.
2775 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2777         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2778         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2780 2015-04-24  Roland McGrath  <roland@hack.frob.com>
2782         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2783         * sysdeps/arm/configure: Regenerated.
2785 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2787         [BZ #17715]
2788         * time/tzfile.c (__tzfile_read): Check for large values of
2789         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
2790         * time/tzset.c (__tzstring_len): New function, based on the old
2791         __tzstring function.
2792         (__tzstring): Call __tzstring_len.
2793         (parse_tzname): New helper function extracted from
2794         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
2795         the input string.
2796         (parse_offset): New helper function extracted from
2797         __tzset_parse_tz.  Replace switch with fallthrough with
2798         initialization before sscanf.
2799         (parse_rule): Likewise.
2800         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
2801         new-style function definition.
2802         * timezone/Makefile (tests): Add tst-tzset.
2803         (tst-tzset.out): Dependencies on time zone files.
2804         (tst-tzset-ENV): Set TZDIR.
2805         (testdata/XT%): Copy crafted time zone files.
2806         * timezone/README: Mention crafted time zone files.
2807         * timezone/testdata/XT1, timezone/testdata/XT2,
2808         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2809         files.
2810         * timezone/tst-tzset.c: New test.
2812 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2814         * Makeconfig (+gccwarn): Remove -Winline.
2816 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2818         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2820 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2822         * NEWS: Mention sysconf() cache information support for s390.
2823         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2825 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
2827         * math/k_casinh.c (__kernel_casinh): Use __copysign.
2828         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2829         (__nearbyint): Likewise.
2830         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2831         (copysignl): Likewise.
2833 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
2835         [BZ #18287]
2836         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2837         based on padding.  (CVE-2015-1781)
2839 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2841         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2842         libc-vdso.h.
2843         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2844         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2845         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2846         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2847         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2848         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2849         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2850         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2851         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2852         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2853         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2854         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2855         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2856         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2857         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2858         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2859         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2860         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2861         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2862         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2863         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2864         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2865         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2867 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
2869         * stdlib/setenv.c (__add_to_environ):
2870         Dump core quickly if setenv (..., NULL, ...) is called.
2871         This time, do it the right way, and pacify GCC with a pragma.
2873 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2875         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2876         IMAP->l_prev cannot be null, and #if out the code for the contrary
2877         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2878         believe that NS (&_dl_ns[NSID]) could point outside the array.
2880         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2881         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2882         before using NSID as an index.
2884 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
2886         [BZ #17825]
2887         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2888         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2889         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2891 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2893         Add preliminary port to Google Native Client on ARM.
2894         * abi-tags (.*-.*-nacl.*): New entry.
2895         * sysdeps/arm/nacl: New directory.
2896         * sysdeps/nacl: New directory.
2898 2015-04-16  David S. Miller  <davem@davemloft.net>
2900         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2901         lowlevellock-futex.h
2903 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
2905         * sysdeps/tile/configure.ac: New file.
2906         * sysdeps/tile/configure: Regenerated.
2908 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2910         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
2911         conditionals for weak_alias and libc_hidden_weak.
2912         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2913         libc_hidden_weak and weak_alias.
2914         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2915         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2916         and weak_alias for static one.
2918 2015-04-15  David S. Miller  <davem@davemloft.net>
2920         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2922 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2924         [BZ #18206]
2925         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2926           Use signed comparision instead of substraction to avoid
2927           overflow bug.
2928         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2929           Take the sign of ret.
2930         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2931           Do not expect precise return values. Only the sign matters.
2932         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2933         * wcsmbs/test-wcsncmp.c: New File.
2934         * string/test-strncmp.c: Add wcsncmp support.
2936 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2938         [BZ #6792]
2939         * math/w_log1p.c: New file.
2940         * math/w_log1pf.c: Likewise.
2941         * math/w_log1pl.c: Likewise.
2942         * math/Makefile (libm-calls): Add w_log1p.
2943         * math/s_log1pl.c (log1pl): Remove weak_alias.
2944         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2945         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2946         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2947         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2948         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2949         [NO_LONG_DOUBLE] (log1pl): Likewise.
2950         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2951         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2952         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2953         (log1p): Remove long_double_symbol.
2954         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2955         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2956         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2957         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2958         remove weak_alias for corresponding log1p function.
2959         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2960         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2961         * sysdeps/ia64/fpu/w_log1p.c: New file.
2962         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2963         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2964         * math/libm-test.inc (log1p_test_data): Add errno expectations.
2966 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
2968         [BZ #18247]
2969         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2970         decimal exponent by 1.
2971         * stdlib/tst-strtod-round-data: Add more tests.
2972         * stdlib/tst-strtod-round.c (tests): Regenerated.
2974 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
2976         * math/auto-libm-test-in: Add more tests of clog and clog10.
2977         * math/auto-libm-test-out: Regenerated.
2978         * sysdeps/i386/fpu/libm-test-ulps: Update.
2979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2981 2015-04-09  Roland McGrath  <roland@hack.frob.com>
2983         * Makeconfig (module-cppflags): Exclude all .v.i files.
2984         (skip-module-cppflags): Variable removed.
2986         * configure.ac (libc_config_ok): Initialize before reading
2987         preconfigure scripts, not after.
2988         * configure: Regenerated.
2990         * test-skeleton.c (TIMEOUT): Move #define to top level.
2991         (main): Grok environment variable TEST_DIRECT.  If set, print
2992         test expectation details into that file and then behave as if
2993         given --direct.
2995 2015-04-09  Florian Weimer  <fweimer@redhat.com>
2997         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2998         warning on 32-bit.
3000 2015-04-08  David S. Miller  <davem@davemloft.net>
3002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3004 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3006         * math/auto-libm-test-in: Add more tests of atanh.
3007         * math/auto-libm-test-out: Regenerated.
3008         * sysdeps/i386/fpu/libm-test-ulps: Update.
3009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3011         * math/auto-libm-test-in: Add more tests of atan.
3012         * math/auto-libm-test-out: Regenerated.
3013         * sysdeps/i386/fpu/libm-test-ulps: Update.
3014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3016 2015-04-08  Florian Weimer  <fweimer@redhat.com>
3018         * elf/pldd.c (main): Rewrite to use struct
3019         scratch_buffer instead of extend_alloca.
3020         * elf/pldd-xx.c (find_maps): Likewise.
3021         * grp/initgroups.c: Include <scratch_buffer.h> instead of
3022         <alloca.h>.
3023         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3024         scratch_buffer instead of extend_alloca.
3025         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3026         grp/compat-initgroups.c.
3027         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3028         Rewrite to use struct scratch_buffer instead of extend_alloca.
3029         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3030         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3032 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3034         * math/auto-libm-test-in: Add more tests of cbrt.
3035         * math/auto-libm-test-out: Regenerated.
3036         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3038         * math/auto-libm-test-in: Add more tests of cabs.
3039         * math/auto-libm-test-out: Regenerated.
3040         * sysdeps/i386/fpu/libm-test-ulps: Update.
3041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3043         [BZ #18210]
3044         [BZ #18211]
3045         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3046         (__ieee754_atan2): Set FE_TONEAREST mode for internal
3047         computations.
3048         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3049         clog10.
3050         * math/auto-libm-test-out: Regenerated.
3051         * sysdeps/i386/fpu/libm-test-ulps: Update.
3052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3054         [BZ #18197]
3055         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3056         (atan): Set FE_TONEAREST mode for internal computations.
3057         * math/auto-libm-test-in: Add more tests of atan.
3058         * math/auto-libm-test-out: Regenerated.
3060 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
3062         [BZ #17930]
3063         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3065 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3067         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3069 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3071         * include/scratch_buffer.h: New file.
3072         * malloc/scratch_buffer_grow.c: Likewise.
3073         * malloc/scratch_buffer_grow_preserve.c: Likewise.
3074         * malloc/scratch_buffer_set_array_size.c: Likewise.
3075         * malloc/tst-scratch_buffer.c: Likewise.
3076         * malloc/Makefile (routines): Add scratch_buffer_grow.
3077         (tests): Add test case.
3078         * malloc/Versions (GLIBC_PRIVATE): Export
3079         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3080         __libc_scratch_buffer_set_array_size.
3082 2015-04-06  Richard Henderson  <rth@redhat.com>
3084         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3085         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3087         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3088         unsigned int before printing.
3090 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3092         [BZ #17596]
3093         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3094         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3096 2015-04-02  Florian Weimer  <fweimer@redhat.com>
3098         * include/libc-internal.h (libc_max_align_t): Define.
3100 2015-04-02  Andreas Schwab  <schwab@suse.de>
3102         [BZ #16850]
3103         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3105 2015-04-02  Mel Gorman  <mgorman@suse.de>
3107         [BZ #17195]
3108         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3109         as well as the main arena.
3111 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3113         [BZ #18185]
3114         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3115         sharing L2 cache to 2 for Silvermont/Knights Landing.
3117 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3119         [BZ #17711]
3120         * config.make.in (have-protected-data): New.
3121         * configure.ac: Check linker support for protected data symbol.
3122         * configure: Regenerated.
3123         * elf/Makefile (modules-names): Add tst-protected1moda and
3124         tst-protected1modb if $(have-protected-data) is yes.
3125         (tests): Add tst-protected1a and tst-protected1b if
3126         $(have-protected-data) is yes.
3127         ($(objpfx)tst-protected1a): New.
3128         ($(objpfx)tst-protected1b): Likewise.
3129         (tst-protected1modb.so-no-z-defs): Likewise.
3130         * elf/tst-protected1a.c: New file.
3131         * elf/tst-protected1b.c: Likewise.
3132         * elf/tst-protected1mod.h: Likewise.
3133         * elf/tst-protected1moda.c: Likewise.
3134         * elf/tst-protected1modb.c: Likewise.
3136 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3138         [BZ #17711]
3139         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3140         indicates it is called from do_lookup_x on relocation against
3141         protected data, skip the data definion in the executable from
3142         copy reloc.
3143         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3144         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3145         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3146         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3147         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3148         otherwise to 0.
3149         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3150         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3151         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3152         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3153         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3154         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3156 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
3158         * sysdeps/nptl/pthread.h: Remove duplicate definition of
3159         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3161 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
3163         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3164         THREAD_SETMEM_NC.
3165         * sysdeps/x86_64/nptl/tls.h: Ditto.
3167 2015-03-27  Roland McGrath  <roland@hack.frob.com>
3169         * dlfcn/tststatic.c (main): Converted to ...
3170         (do_test): ... this.
3171         (TEST_FUNCTION): New macro.
3172         Include test-skeleton.c.
3174 2015-03-26  Alan Modra  <amodra@gmail.com>
3176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3177         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
3178         zero for undefined weak.
3179         (elf_machine_plt_conflict): Similarly.
3181 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3183         * math/auto-libm-test-in: Add more tests of acosh, asinh and
3184         atanh.
3185         * math/auto-libm-test-out: Regenerated.
3186         * sysdeps/i386/fpu/libm-test-ulps: Update.
3187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3189         * math/auto-libm-test-in: Add another test of asin.
3190         * math/auto-libm-test-out: Regenerated.
3191         * sysdeps/i386/fpu/libm-test-ulps: Update.
3192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3194         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3195         Remove macro.
3196         (LLL_EBX_REG): Likewise.
3197         (LLL_ENTER_KERNEL): Likewise.
3199         * math/auto-libm-test-in: Add more tests of asin.
3200         * math/auto-libm-test-out: Regenerated.
3201         * sysdeps/i386/fpu/libm-test-ulps: Update.
3202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3204         [BZ #18138]
3205         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3206         libc_do_syscall_args): New structure.
3207         (INTERNAL_SYSCALL_MAIN_0): New macro.
3208         (INTERNAL_SYSCALL_MAIN_1): Likewise.
3209         (INTERNAL_SYSCALL_MAIN_2): Likewise.
3210         (INTERNAL_SYSCALL_MAIN_3): Likewise.
3211         (INTERNAL_SYSCALL_MAIN_4): Likewise.
3212         (INTERNAL_SYSCALL_MAIN_5): Likewise.
3213         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
3214         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3215         Replace conditional definitions by conditional definitions of ....
3216         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
3217         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3218         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3219         (libpthread-sysdep_routines): Add libc-do-syscall.
3220         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3221         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3222         to __NR_futex not 240.
3224 2015-03-25  Alan Modra  <amodra@gmail.com>
3226         * NEWS: Advertise TLS optimization.
3227         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3228         (DT_PPC_NUM): Increment.
3229         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3230         (CHECK_STATIC_TLS): Use here.
3231         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3232         TLS descriptors.
3233         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3234         * sysdeps/powerpc/dl-tls.c: New file.
3235         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3236         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3237         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3238         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3243 2015-03-25  Alan Modra  <amodra@gmail.com>
3245         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3246         for overlapping .opd entries" to "support...".
3247         * sysdeps/powerpc/powerpc64/configure: Regenerate
3249 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3251         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
3257         * math/auto-libm-test-out: Regenerated.
3258         * sysdeps/i386/fpu/libm-test-ulps: Update.
3259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3261 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
3263         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3264         * math/auto-libm-test-out: Regenerated.
3265         * sysdeps/i386/fpu/libm-test-ulps: Update.
3266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3268         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3271         * math/auto-libm-test-in: Add more tests of log2.
3272         * math/auto-libm-test-out: Regenerated.
3273         * sysdeps/i386/fpu/libm-test-ulps: Update.
3274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3276 2015-03-23  Roland McGrath  <roland@hack.frob.com>
3278         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3279         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
3280         _IO_IS_APPENDING bit in READ_WRITE instead.
3282 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3284         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3285         (__determine_cpumask_size): Replace extend_alloca with a
3286         variable-length array.  Do not treat res == 0 as an error.
3288 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3290         [BZ #18100]
3291         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3292         and integer overflow.
3293         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3294         (main): Add integer overflow tests.
3295         * manual/pattern.texi (Calling Wordexp): Document additional use
3296         for WRDE_SYNTAX.
3298 2015-03-23  Alan Modra  <amodra@gmail.com>
3300         * config.h.in: Remove HAVE_ASM_PPC_REL16.
3301         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3302         and false branch of conditional.
3303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3304         Likewise.
3306 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
3308         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3309         libc-modules.h
3310         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3311         unused declaration of _hurd_intr_rpc_msg_in_trap.
3312         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3313         defined instead of whether it is non-zero.
3314         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3315         input constraint instead of both input and output constraint.  Use ecx
3316         clobber instead of %ecx.
3317         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3318         mutex_unlock): Use a statement expression instead of an expression list.
3319         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3320         type to vm_size_t instead of vm_address_t.
3321         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3322         defined instead of whether it is non-zero.
3323         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3324         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3325         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3326         comparisons with mapaddr.
3327         * nscd/nscd-client.h: Include <time.h>.
3328         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3329         9th parameter to __vm_region instead of int.
3330         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3331         * scripts/check-local-headers.sh (exclude): Add device/,
3332         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3333         cthreads.h.
3335 2015-03-19  Roland McGrath  <roland@hack.frob.com>
3337         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3338         to account for alignment padding.
3339         * sysdeps/arm/memmove.S: Likewise.
3341 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
3343         * sysdeps/unix/sysv/linux/generic/README: New file.
3345 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
3347         [BZ #18138]
3348         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3349         (futex_abstimed_wait)
3350         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3351         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3352         of lll_futex_timed_wait.
3354 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
3356         [BZ #17542]
3357         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3359 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
3361         [BZ #17090]
3362         [BZ #17620]
3363         [BZ #17621]
3364         [BZ #17628]
3365         * NEWS: Update.
3366         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3367         entries with Static TLS too.  Skip entries past the end of the
3368         allocated DTV, from Alan Modra.
3369         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
3370         Static TLS DTV entry set up from...
3371         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3372         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3373         * nptl/allocatestack.c (init_one_static_tls): ... and here...
3374         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3375         for Static TLS.
3376         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
3377         that the slot we find is associated with the given map before
3378         using its generation count.
3379         * nptl_db/db_info.c: Include ldsodefs.h.
3380         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3381         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3382         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3383         (link_map::l_tls_offset): New struct field.
3384         (dtv_t::counter): Likewise.
3385         (rtld_global): New struct.
3386         (_rtld_global): New rtld variable.
3387         (dl_tls_dtv_slotinfo_list): New rtld global field.
3388         (dtv_slotinfo_list): New struct.
3389         (dtv_slotinfo): Likewise.
3390         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3391         (td_lookup): Rename to...
3392         (td_mod_lookup): ... this.  Use new mod parameter instead of
3393         LIBPTHREAD_SO.
3394         * nptl_db/td_thr_tlsbase.c: Include link.h.
3395         (dtv_slotinfo_list, dtv_slotinfo): New functions.
3396         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
3397         addresses even if the DTV is out of date or missing them.
3398         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3399         index zero-length arrays.
3400         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3401         (td_lookup): Make it a macro implemented in terms of...
3402         (td_mod_lookup): ... this declaration.
3403         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3404         (DB_MAIN_VARIABLE): Likewise.
3406 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3408         [BZ #18134]
3409         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3411 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
3413         * stdlib/setenv.c (__add_to_environ): Revert previous change.
3415 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3417         [BZ #18128]
3418         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3419         (atomic_add, atomic_increment_and_test)
3420         (atomic_decrement_and_test): Fix 64-bit arithmetic.
3422 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
3424         * stdlib/setenv.c (__add_to_environ):
3425         Dump core quickly if setenv (..., NULL, ...) is called.
3427 2015-03-13  Roland McGrath  <roland@hack.frob.com>
3429         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3430         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3431         all the necessary asm magic in one place.
3432         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3433         using those.
3435 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
3437         [BZ #14906]
3438         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3439         traced file mtime. Use consistent log message.
3440         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3441         (register_traced_file): Call install_watches. Always set mtime.
3442         (invalidate_cache): Iterate over all trace files. Call install_watches.
3443         (inotify_check_files): Don't inline. Handle watching parent
3444         directories and configuration file movement in and out.
3445         (handle_inotify_events): New function.
3446         (main_loop_poll): Call handle_inotify_events.
3447         (main_loop_epoll): Likewise.
3448         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3449         (struct traced_file): Use array of inotify fds. Add parent directory,
3450         and basename.
3451         (struct database_dyn): Remove unused file_mtime.
3452         (init_traced_file): New inline function.
3453         (define_traced_file): New macro.
3454         * nss/nss_db/db-init.c: Use define_traced_file.
3455         (_nss_db_init): Use init_traced_file.
3456         * nss/nss_files/files-init.c: Use define_traced_file.
3457         (_nss_files_init): Use init_traced_file.
3459 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
3461         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3462         [_LIBC]: Do not include <stdlib.h>.
3463         [!_LIBC] (abort): Remove declaration.
3464         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3465         _FP_STATIC_ASSERT instead of conditionally calling abort.
3466         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3467         (_FP_EXTEND_CNAN): Likewise.
3468         (FP_TRUNC): Likewise.
3469         (__FP_CLZ): Likewise.
3470         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3472 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
3474         * manual/string.texi (XPG basename): Fix prototype.
3476 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3478         [BZ #18080]
3479         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3480         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3481         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3482         (__setcontext): Likewise.
3483         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3484         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3485         Call rt_sigprocmask syscall one time to set new signal mask
3486         and retrieve the current signal mask instead of two calls.
3487         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3488         (__swapcontext): Likewise.
3489         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3490         * stdlib/tst-setcontext2.c: New file.
3492 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3494         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3496 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
3498         [BZ #18093]
3499         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3500         the wrong size.
3502 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3504         [BZ #18043]
3505         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3507 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3509         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3510         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3511         Remove define.
3512         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3513         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3514         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3515         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3516         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3517         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3518         define.
3519         * nptl_db/td_symbol_list.c (td_lookup): Remove
3520         HAVE_ASM_GLOBAL_DOT_NAME code.
3521         * sysdeps/powerpc/powerpc64/configure.ac: Remove
3522         HAVE_ASM_GLOBAL_DOT_NAME check.
3523         * sysdeps/powerpc/powerpc64/configure: Regenerate.
3524         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3525         (DOT_LABEL): Remove define.
3526         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3527         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3528         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3529         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3530         (__TLS_GET_ADDR): Likewise.
3531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3532         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3534 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
3536         [BZ #18111]
3537         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3538         (_FPU_SETCW): Initialize cw from fpsr before storing.
3539         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3540         (fesetexceptflag): Rewrite using fpu_control.h.
3541         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3543 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
3545         [BZ #18110]
3546         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3547         asms.
3548         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3550 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
3552         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3553         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3554         abort.
3555         (_FP_FMA): Likewise.
3556         (_FP_DIV): Likewise.
3558 2015-03-10  Roland McGrath  <roland@hack.frob.com>
3560         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3561         with 0 in that case.
3562         * Makefile (summarize-tests): New canned sequence, factored out of
3563         commands for targets tests and xtests.  Display summary lines that
3564         don't start with PASS: or XFAIL: rather than ones that do start with
3565         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
3566         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3567         do start with ERROR: or FAIL:.
3568         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3569         (except for [$(build-shared) = yes]).
3570         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3571         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3572         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3573         * nptl/Makefile: Revert 2015-03-04 changes.
3574         [$(CXX) empty] (tests-unsupported): New variable.
3575         * debug/Makefile: Likewise.
3577         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3578         gnulib file.  Replace __attribute with __attribute__ throughout.
3580 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
3582         * sysdeps/hppa/fpu/libm-test-ulps: Update.
3584 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3586         [BZ #18104]
3587         * math/auto-libm-test-in: Add another test of pow.
3588         * math/auto-libm-test-out: Regenerated.
3590 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3592         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3593         $(config-cflags-nofma).
3595 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3597         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3598         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3599         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3600         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3601         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3602         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3603         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3604         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3605         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3606         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3607         Add comment on closing #endif.
3609 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3611         * posix/wordexp.c (CHAR_IN_SET): New macro.
3612         (parse_param): Use it.
3614 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3616         * sysdeps/powerpc/fpu/libm-test-ulps: update.
3618 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3620         [BZ #18043]
3621         * posix/wordexp.c (parse_param): Fix buffer overflow.
3622         * posix/wordexp-test.c (test_case): Add test case.
3624 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3626         [BZ #18042]
3627         * posix/wordexp.c (parse_backtick): Fix off-by-one.
3628         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3630 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3632         [BZ #18043]
3633         * posix/wordexp-test.c (test_case): Add test for BZ #18043
3634         (do_bz18043): Delete.
3635         (at_page_end): New.
3636         (testit): Refactor to have words at the edge of unreadable page.
3638 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3640         [BZ #16734]
3641         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3642         Cleanup read-only streams as well.
3643         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3645 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3647         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3648         <bits/libc-lockP.h>
3650 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
3652         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
3653         on [__KERNEL__].
3654         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3655         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3656         * soft-fp/op-common.h (_FP_DECL): Likewise.
3658 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3660         * elf/ifuncdep2.c (global): Replace
3661         __attribute__((visibility("protected"))) with
3662         asm (".protected global").
3663         * elf/ifuncmod1.c (global): Likewise.
3664         * elf/ifuncmod5.c (global): Likewise.
3666 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
3668         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3669         <asm/sfp-machine.h> instead of <sfp-machine.h>.
3671 2015-03-06  Roland McGrath  <roland@hack.frob.com>
3673         * manual/install.texi (Configuring and compiling):
3674         Document test-wrapper-env-only.
3675         * INSTALL: Regenerated.
3677 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3679         [BZ #18043]
3680         * posix/wordexp.c (parse_param): Fix buffer overflow.
3681         * posix/wordexp-test.c (do_bz18043): Add test case.
3683 2015-03-06  Vincent Bernat  <vincent@bernat.im>
3685         * time/tst-strptime2.c (do_test): Ensure failing tests are
3686         reported correctly.
3687         * time/tst-strptime3.c (do_test): Likewise.
3689 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
3691         Fix aio_error thread-safety.
3692         * sysdeps/pthread/aio_error.c: New file
3693         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3694         synchronization.
3696 2015-03-06  Florian Weimer  <fweimer@redhat.com>
3698         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3699         (group_number, vfprintf): Use it.
3700         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3701         (JUMP, REF): Use it.
3702         (WORK_BUFFER_SIZE): New enum constant.
3703         (process_arg, vfprintf): Use it.
3705 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
3707         * manual/errno.texi (Error Messages): Complete example function
3708         by adding missing #define.
3709         (program_invocation_name): Add statement indicating GNU
3710         extension and reference which header file declares the variable.
3711         (program_invocation_short_name): Likewise.
3713 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
3715         * manual/errno.texi (Error Messages): Delete strerror ISO C89
3716         compatibility note.
3718 2015-03-05  Roland McGrath  <roland@hack.frob.com>
3720         * Makeconfig (test-wrapper-env-only): New variable.
3721         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3722         then use that with $(test-wrapper-env-only) rather than using
3723         $(test-wrapper-env) $(run-program-env) $($*-ENV).
3725 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3727         [BZ #18082]
3728         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3729         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3730         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3731         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3732         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3733         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3734         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3735         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3736         Likewise.
3737         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3738         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3739         Likewise.
3740         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3741         Likewise.
3742         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3743         Likewise.
3744         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3745         Likewise.
3746         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3747         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3748         Likewise.
3749         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3750         Likewise.
3751         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3752         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3754 2015-03-04  Roland McGrath  <roland@hack.frob.com>
3756         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3757         (ETH_ALEN): New macro.
3758         (struct ether_addr): Use it for length of ether_addr_octet.
3760         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3761         (setdb): Don't call __nss_configure_lookup for "rpc".
3762         (do_test): Don't call test_rpc.
3763         (output_rpcent, test_rpc): Functions moved ...
3764         * sunrpc/test-rpcent.c: ... to this new file.
3765         * sunrpc/Makefile (tests): Add it.
3767         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3768         __xpg_sigpause.
3769         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3770         * nptl/tst-signal6.c: Likewise.
3771         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3772         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3774         * configure.ac (libc_cv_cxx_link_ok): New check.
3775         Reset CXX to empty if it fails to link.
3776         * configure: Regenerated.
3777         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3778         bug-atexit3-lib only if $(CXX) is nonempty.
3779         * nptl/Makefile (tests): Likewise for tst-cancel24.
3780         (tests, tests-static): Likewise for tst-cancel24-static.
3781         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3782         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3783         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3784         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3786 2015-03-04  Andreas Schwab  <schwab@suse.de>
3788         [BZ #17631]
3789         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3790         for non-GCC compilers.
3791         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3792         Likewise.
3794 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3796         [BZ #17776]
3797         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3798         integer before bitwise and assembly operations.
3799         (feclearexcept): Likewise.
3800         * math/test-fenvinline.c: New file.
3801         * math/Makefile: Add test-fenvinline test.
3803 2015-03-03  Alan Modra  <amodra@gmail.com>
3805         [BZ #16512]
3806         * scripts/localplt.awk: Strip off symbol version.
3807         * NEWS: Mention bug fix.
3809 2015-03-02  Roland McGrath  <roland@hack.frob.com>
3811         * sysdeps/pthread/timer_routines.c
3812         (timer_free_list, thread_free_list, thread_active_list): Make static.
3814 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
3816         [BZ #17779]
3817         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3818         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3819         Undefine.
3820         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3821         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3822         Likewise.
3823         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3824         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3825         Likewise.
3827 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
3829         [BZ #18036]
3830         * posix/fnmatch_loop.c (END): Detect invalid pattern.
3831         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3833 2015-03-02  Andreas Schwab  <schwab@suse.de>
3835         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3836         variable name.
3838 2015-03-02  Florian Weimer  <fweimer@redhat.com>
3840         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3841         Return error status.
3843 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
3845         [BZ #15969]
3846         * locale/findlocale.c (_nl_find_locale): Introduce const
3847         version of loc_name and drop unsafe type casts.
3849 2015-02-27  Roland McGrath  <roland@hack.frob.com>
3851         * dlfcn/tststatic2.c (main): Converted to ...
3852         (do_test): ... this.
3853         (TEST_FUNCTION): New macro.
3854         Include test-skeleton.c.
3856 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
3858         [BZ #17711]
3859         * elf/Makefile (tests): Add vismain only if PIE is enabled.
3860         (tests-pie): Add vismain.
3861         (CFLAGS-vismain.c): New.
3862         * elf/vismain.c: Add comments for PIE requirement.
3864 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3866         [BZ #18046]
3867         [BZ #18047]
3868         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3869         0x1p-56L as threshold for just returning the argument.
3870         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3871         0x1p-32L as threshold for just returning the argument.
3872         * math/auto-libm-test-in: Add more tests of atanh.
3873         * math/auto-libm-test-out: Regenerated.
3874         * sysdeps/i386/fpu/libm-test-ulps: Update.
3875         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3877 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3879         * string/bcopy.c (bcopy): Call memmove for performance.
3881 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3883         * string/bzero.c (__bzero): Call memset for performance.
3885 2015-02-27  John David Anglin  <dave.anglin@bell.net>
3887         [BZ #18068]
3888         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3889         to 00100000.
3891 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3893         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3895 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3897         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3898         (__kernel_standard): Use CSTR macro when setting exc.name.
3899         * sysdeps/ieee754/Makefile [$(subdir) = math]
3900         (CFLAGS-k_standard.c): Remove variable.
3902         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3903         setting p and q from "else if" to "else".
3904         (qzero): Likewise.
3905         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3906         (qone): Likewise.
3907         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3908         (qzerof): Likewise.
3909         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3910         (qonef): Likewise.
3911         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3912         (qzero): Likewise.
3913         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3914         (qone): Likewise.
3916         [BZ #18038]
3917         [BZ #18039]
3918         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3919         return pi/2 for arguments below 0x1p-113L.
3920         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3921         return pi/2 for arguments below 0x1p-106L.
3922         * math/auto-libm-test-in: Add more tests of acos.
3923         * math/auto-libm-test-out: Regenerated.
3925         [BZ #16351]
3926         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3927         (MO): New macro.
3928         (__ieee754_asin): Force underflow exception for results with small
3929         absolute value.
3930         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3931         (MO): New macro.
3932         (__ieee754_asinf): Force underflow exception for results with
3933         small absolute value.
3934         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3935         (__ieee754_asin): Force underflow exception for results with small
3936         absolute value.
3937         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3938         (__ieee754_asinf): Force underflow exception for results with
3939         small absolute value.
3940         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3941         (__ieee754_asinl): Force underflow exception for results with
3942         small absolute value.
3943         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3944         (__ieee754_asinl): Force underflow exception for results with
3945         small absolute value.
3946         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3947         (__ieee754_asinl): Force underflow exception for results with
3948         small absolute value.
3949         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3950         Include <math.h>.
3951         * math/auto-libm-test-in: Do not mark underflow exceptions as
3952         possibly missing for bug 16351.
3953         * math/auto-libm-test-out: Regenerated.
3955         [BZ #18030]
3956         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3957         of power of 2 down when low part has opposite sign.
3958         * math/libm-test.inc (logb_test_data): Add more tests.
3960 2015-02-26  Andreas Schwab  <schwab@suse.de>
3962         [BZ #18032]
3963         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3964         over collating symbol inside a bracket expression.  Minor cleanup.
3965         * posix/tst-fnmatch3.c (do_test): Add test case.
3967 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3969         [BZ #18029]
3970         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3971         Adjust exponent of power of 2 down when low part has opposite
3972         sign.
3973         * math/libm-test.inc (ilogb_test_data): Add more tests.
3975 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
3977         [BZ #15969]
3978         * locale/findlocale.c (_nl_find_locale): Fix constness error in
3979         the previous change.
3981         [BZ #15969]
3982         * locale/findlocale.c (_nl_find_locale): Retry archive search
3983         after alias expansion.
3985 2015-02-25  Roland McGrath  <roland@hack.frob.com>
3987         * iconv/tst-iconv3.c (main): Converted to ...
3988         (do_test): ... this.
3989         (TEST_FUNCTION): New macro.
3990         Include test-skeleton.c.
3992         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3993         (convert): Make function static.
3994         (test_unalign): Likewise.  Add const to argument pointee types.
3995         (main): Replace with static function do_test.
3996         Print "Succeeded." only if RET is zero.
3997         (TEST_FUNCTION): New macro.
3998         Include test-skeleton.c.
4000         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4001         returns a null pointer.
4003 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4005         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4006         to __memcpy_ppc only for static builds.
4008 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
4010         [BZ #18020]
4011         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4012         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4013         * math/auto-libm-test-in: Add more tests of asinh.
4014         * math/auto-libm-test-out: Regenerated.
4015         * sysdeps/i386/fpu/libm-test-ulps: Update.
4016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4018 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
4020         [BZ #15850]
4021         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4022         and ip6_mtuinfo definitions here.
4023         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4024         in this define too.  Update comment.
4026 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
4028         * elf/sprof.c (load_shobj): Tweak error message to match others.
4030 2015-02-24  Kevin Easton  <kevin@guarana.org>
4032         [BZ #16145] (partial fix)
4033         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4034         to reduce lock contention.
4036 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
4038         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4039         (struct timex): Update time comment.
4040         (ADJ_SETOFFSET): Define.
4042 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4044         [BZ #18019]
4045         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4046         2**56 not 2**28 as threshold for log (2x) formula.
4047         * math/auto-libm-test-in: Add more tests of acosh.
4048         * math/auto-libm-test-out: Regenerated.
4049         * sysdeps/i386/fpu/libm-test-ulps: Update.
4050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4052 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4054         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4055         parenthesis around the buf assignment.
4056         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4058 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4060         [BZ #16783]
4061         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4062         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4063         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4064         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4065         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4066         * math/libm-test.inc (scalb_test_data): Add more tests.
4068 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4070         [BZ #17916]
4071         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4072         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4074 2015-02-24  Eric Rannaud  <e@nanocritical.com>
4076         [BZ #17523]
4077         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4078         * io/bits/fcntl2.h (open): Use it.
4079         (openat): Likewise.
4080         * io/open.c (__libc_open): Likewise.
4081         * io/open64.c (__libc_open64): Likewise.
4082         * io/open64_2.c (__open64_2): Likewise.
4083         * io/open_2.c (__open_2): Likewise.
4084         * io/openat.c (__openat): Likewise.
4085         * io/openat64.c (__openat64): Likewise.
4086         * io/openat64_2.c (__openat64_2): Likewise.
4087         * io/openat_2.c (__openat_2): Likewise.
4088         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4089         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4090         * sysdeps/posix/open64.c (__libc_open64): Likewise.
4091         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4092         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4093         (__open_nocancel): Likewise.
4094         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4095         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4096         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4098 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4100         [BZ #14841]
4101         * resolv/gethnamaddr.c (getanswer): Skip logging if
4102         RES_USE_DNSSEC is set.
4103         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4105 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4107         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4109 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
4111         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4112         201304L, for Unicode 7.
4114 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
4116         [BZ #17836]
4117         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4118         shared library.  Add gmon-start.os otherwise.
4119         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4120         $(objpfx)gmon-start.os if builing shared library.
4121         ($(objpfx)g$(static-start-installed-name)): Likewise.
4123 2015-02-23  Andreas Schwab  <schwab@suse.de>
4125         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4127 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4129         [BZ #17269]
4130         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4131         (enlarge_userbuf): Likewise.
4133 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
4135         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4136         * math/atest-exp.c (TIMEOUT): Adjust to 200.
4137         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4138         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4140 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
4142         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4143         expression inside statement expression.
4145 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4147         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4148         <sysdeps/nptl/lowlevellock.h> and remove macros and
4149         functions that are now defined there.
4150         (SYS_futex): Remove.
4151         (lll_compare_and_swap): Remove.
4152         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4154 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
4156         [BZ #17999]
4157         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4158         instead of scandirat.
4159         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4160         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4161         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4162         __scandirat.
4163         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4164         (__scandirat): Declare.  Use libc_hidden_proto.
4165         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4166         Remove variable.
4167         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4169 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4171         [BZ #15319]
4172         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4173         (MO): New macro.
4174         (__ieee754_atan2): For results with small absolute value, force
4175         underflow exception and remove excess range and precision from
4176         return value.
4177         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4178         (MO): New macro.
4179         (__ieee754_atan2f): For results with small absolute value, force
4180         underflow exception and remove excess range and precision from
4181         return value.
4182         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4183         (MO): New macro.
4184         (__atan): For results with small absolute value, force underflow
4185         exception and remove excess range and precision from return value.
4186         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4187         (MO): New macro.
4188         (__atanf): For results with small absolute value, force underflow
4189         exception and remove excess range and precision from return value.
4190         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4191         <math.h>.
4192         (__ieee754_atan2): Force underflow exception for results with
4193         small absolute value.
4194         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4195         <math_private.h>.
4196         (atan): Force underflow exception for results with small absolute
4197         value.
4198         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4199         (__atanf): Force underflow exception for results with small
4200         absolute value.
4201         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4202         <math.h>.
4203         (__atanl): Force underflow exception for results with small
4204         absolute value.
4205         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4206         (__atanl): Force underflow exception for results with small
4207         absolute value.
4208         * sysdeps/x86/fpu/bits/mathinline.h
4209         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4210         (__ieee754_atan2): Only define inline for long double.
4211         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4212         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4213         * math/auto-libm-test-in: Do not mark underflow exceptions as
4214         possibly missing for bug 15319.  Add more tests of atan2.
4215         * math/auto-libm-test-out: Regenerated.
4216         * math/libm-test.inc (casin_test_data): Do not mark underflow
4217         exceptions as possibly missing for bug 15319.
4218         (casinh_test_data): Likewise.
4219         * sysdeps/i386/fpu/libm-test-ulps: Update.
4221 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
4223         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4224         * sysdeps/mips/bits/endian.h: Fix comments.
4226 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4228         [BZ #17996]
4229         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4230         (hdestroy_r): Likewise.
4231         (hsearch_r): Likewise.
4232         (__hcreate_r): Declare and use libc_hidden_proto.
4233         (__hdestroy_r): Likewise.
4234         (__hsearch_r): Likewise.
4235         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4236         (hcreate): Call __hcreate_r instead of hcreate_r.
4237         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4238         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4239         as weak alias of __hcreate_r.
4240         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4241         __hdestroy_r.
4242         (hsearch_r): Rename to __hsearch_r and define as weak alias of
4243         __hsearch_r.
4244         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4245         Remove variable.
4246         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4247         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4248         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4249         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4251 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4253         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4254         arena_lock into a single arena_get.
4256 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
4258         * dl-reloc.c: Inlucde libc-internal.h.
4259         (_dl_try_allocate_static_tls): Call ALIGN_UP.
4260         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4261         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4262         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4263         (grow_heap): Likewise.
4264         * malloc/malloc.c: Include libc-internal.h.
4265         (do_check_malloc): Call powerof2.
4266         (sysmalloc): Use pagesize. Call ALIGN_UP.
4267         (systrim): Use pagesize.
4268         (mremap_chunk): Use pagesize. Call ALIGN_UP.
4269         (__libc_valloc): Use pagesize.
4270         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4272 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4274         [BZ #17991]
4275         * include/sys/resource.h (__getrlimit64): Declare.  Use
4276         libc_hidden_proto.
4277         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4278         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
4279         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4280         getrlimit64.
4281         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4282         __getrlimit64.
4283         [!getrlimit64] (getrlimit64): Define as weak alias of
4284         __getrlimit64.  Use libc_hidden_weak.
4285         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4286         using __getrlimit64 not __new_getrlimit64.
4287         (__GI_getrlimit64): Likewise.
4288         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4289         Likewise.
4290         (__GI_getrlimit64): Likewise.
4291         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4293         (getrlimit): Add __getrlimit64 alias.
4294         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4295         Likewise.
4296         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4297         Remove variable.
4298         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4299         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4301 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4303         * libio/fileops.c: Add missing sys/mman.h
4304         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4306 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4308         * manual/math.texi (Errors in Math Functions): Clarify goals
4309         regarding inexact and underflow exceptions.
4311 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4313         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4314         * sysdeps/mips/memset.S: Ditto.
4316 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4318         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4320 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4322         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4323         (__v1longjmp): Remove versioned symbol.
4324         (__v1siglongjmp): Remove alias and versioned symbol.
4325         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4326         (__v2siglongjmp): Likewise.
4328 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4330         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4332 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
4334         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4336 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4338         [BZ #17987]
4339         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4340         zero result does not depend on the sign resulting from
4341         subtraction.
4342         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4343         Likewise.
4344         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4345         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4346         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4347         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4348         * math/libm-test.inc (remquo_test_data): Add more tests.
4350 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
4352         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4353         Problem reported by J William Piggott.
4355 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4357         [BZ #17978]
4358         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4359         products 4 * y and 2 * y where those would overflow.
4360         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4361         Likewise.
4362         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4363         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4364         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4365         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4366         * math/libm-test.inc (remquo_test_data): Add more tests.
4368         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4370         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4371         [defined _COMPILING_NEWLIB].
4372         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4373         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4375         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4376         [!defined __mips_isa_rev || __mips_isa_rev < 6].
4378 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4380         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4381         acquired.
4383 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
4385         [BZ #17792]
4386         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4387         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4388         HOST_STACK_END_ADDR): Likewise.
4390 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
4392         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4393         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4394         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4396 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4398         * sysdeps/generic/c++-types.data: New file.
4399         * sysdeps/generic/ld.abilist: New file.
4400         * sysdeps/generic/libBrokenLocale.abilist: New file.
4401         * sysdeps/generic/libanl.abilist: New file.
4402         * sysdeps/generic/libc.abilist: New file.
4403         * sysdeps/generic/libcrypt.abilist: New file.
4404         * sysdeps/generic/libdl.abilist: New file.
4405         * sysdeps/generic/libm.abilist: New file.
4406         * sysdeps/generic/libpthread.abilist: New file.
4407         * sysdeps/generic/libresolv.abilist: New file.
4408         * sysdeps/generic/librt.abilist: New file.
4410 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4412         [BZ #17569]
4413         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4414         Compute absolute value of x as modified by fmod, not original
4415         value of x.
4416         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4417         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
4418         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
4419         RUN_TEST_ffI_f1_mod8.
4420         (remquo_test_data): Add more tests.
4422 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4424         * sysdeps/init_array/pt-crti.S: New file.
4426 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4428         [BZ #17967]
4429         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4430         __builtin_fmaf instead of relying on contraction of a * b + c.
4432 2015-02-12  J William Piggott  <elseifthen@gmx.com>
4434         [BZ #17969]
4435         * manual/time.texi: correct the zoneinfo path in the TZ Variable
4436         node.
4438 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4440         [BZ #17964]
4441         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4442         __builtin_fma instead of relying on contraction of a * b + c.
4444 2015-02-12  Roland McGrath  <roland@hack.frob.com>
4446         * Makeconfig (ASFLAGS): Add -Werror=undef.
4447         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4448         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4449         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4451         * Makeconfig (after-link): New variable.
4452         (+link-pie, +link-pie-tests): Use it.
4453         (+link-static, +link-static-tests): Likewise.
4454         (+link, +link-tests): Likewise.
4455         * Makerules (build-module, build-module-asneeded): Likewise.
4456         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4457         Likewise.
4458         * elf/Makefile ($(objpfx)ld.so): Likewise.
4460 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4462         [BZ #17965]
4463         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4464         both struct timeval and struct timespec.
4466 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4468         [BZ #16560]
4469         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4470         and redefine.
4471         (__ieee754_exp2l): Do not multiply small fractional parts by
4472         M_LN2l.
4473         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4474         small argument.
4475         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4476         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4477         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4478         * math/auto-libm-test-in: Add more tests of exp2.
4479         * math/auto-libm-test-out: Regenerated.
4481 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4483         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4484         unaligned path.
4486 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4488         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4489         little endian.
4491 2015-02-12  Andreas Schwab  <schwab@suse.de>
4493         [BZ #15790]
4494         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4495         Filter out elision flags from value returned in kind.
4496         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4497         * nptl/tst-pthread-mutexattr.c: New file.
4499 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4501         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4502         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4503         into gnu-gnu, and update comment to refer to abi-tags.
4505 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
4507         [BZ #15467]
4508         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4509         (__sincos): Set errno to EDOM for infinite argument.
4510         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4511         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4512         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4513         (__sincosl): Set errno to EDOM for infinite argument.
4514         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4515         (__sincosl): Set errno to EDOM for infinite argument.
4516         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4517         (__sincosl): Set errno to EDOM for infinite argument.
4518         * math/libm-test.inc (sincos_test_data): Test errno setting.
4520 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
4522         * string/strxfrm_l.c: Remove #define STRCMP.
4523         * string/strcoll_l.c: Remove #define STRLEN.
4524         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4525         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4527 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
4529         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4530         * sysdeps/mips/mips32/sfp-machine.h: ... here.
4531         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4532         * sysdeps/mips/mips64/Makefile: ... here.
4533         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4534         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4535         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4536         * sysdeps/mips/mips64/sfp-machine.h: ... here.
4537         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4538         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4539         * sysdeps/mips/mips64/n64/Implies: Likewise.
4541 2015-02-10  Roland McGrath  <roland@hack.frob.com>
4543         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4544         <sys/time.h>, <string.h>, and <errno.h>.
4545         (dest_offset, dest_address, value, zero): Remove unused variables.
4546         (ldouble): Remove typedef.
4547         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4548         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
4549         1).  Fix code style.
4550         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4551         (check): Function removed.
4552         (CHECK): New macro.
4553         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
4554         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4555         Don't call set_sigaction_FP and remove_sigaction_FP here.
4556         (ldouble_test): Just use 'long double' as macro argument, no need for
4557         the 'ldouble' typedef.
4558         (do_test): Set up SIGFPE handler at start, using plain signal rather
4559         than sigaction.  Fix code style.
4561 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
4563         [BZ #17949]
4564         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4565         jump label.
4567 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4569         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4570         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4572         * sysdeps/powerpc/configure.ac: Remove file.
4573         * sysdeps/powerpc/configure: Likewise.
4575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4576         [sysdep_routines]: Remove wordcopy-power6 object.
4577         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4578         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4579         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4580         (__memmove_ppc32): Likewise.
4581         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4582         file.
4583         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4584         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4585         Remove preprocessor.
4587         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4588         [sysdep_routines]: Remove wide chars objects.
4589         [wcsmbs]: New rule for wide char objects.
4591         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4592         Remove wordcopy-power6 obejct.
4593         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4594         Use local call for wordcopy and memcpy symbols.
4595         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4596         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4597         implementation for loader.
4598         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4600         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4601         Remove wordcopy-power7 object.
4602         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4603         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4604         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4605         (_wordcopy_fwd_dest_aligned): Likewise.
4606         (_wordcopy_bwd_aligned): Likewise.
4607         (_wordcopy_bwd_dest_aligned): Likewise.
4609         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4610         Rewrite to call __memmove_ppc instead of include default
4611         implementation.
4613         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4614         Remove wide chars objects.
4615         [wcsmbs]: New rule for wide char objects.
4617 2015-02-09  Andreas Schwab  <schwab@suse.de>
4619         [BZ #17912]
4620         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4621         in terms of __O_DIRECTORY.
4623 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4625         * time/getdate.c: Include <stdbool.h>.
4626         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4627         call PTR_MANGLE.
4628         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4629         PTR_DEMANGLE.
4631 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
4633         Add ersatz _Static_assert on older C hosts
4634         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4635         pre-C11 C platform that is not known to support _Static_assert.
4637 2015-02-07  Richard Braun  <rbraun@sceen.net>
4639         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4640         sigstate.
4641         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4643 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4645         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4646         priority against unexistent AIO_PRIO_DELTA_MAX.
4647         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4648         instead of int.
4649         * misc/fchflags.c (fchflags): Likewise.
4650         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4651         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4652         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4653         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4654         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4655         Declare macros.
4656         [__USE_MISC] (chflags, fchflags): Declare functions.
4657         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4658         EINVAL when nfds is greater than FD_SETSIZE.
4659         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4660         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4661         45.
4662         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4663         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4664         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4665         MACH_RCV_TIMED_OUT.
4666         * hurd/hurd/signal.h (_hurd_self_sigstate,
4667         _hurd_critical_section_lock, _hurd_critical_section_unlock):
4668         Explicit casts from void *.
4669         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4670         * abi-tags: Rename gnu-gnu os into gnu.
4672         [BZ #4719]
4673         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4674         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4675         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4676         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4677         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4678         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4680         [BZ #17944]
4681         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4682         duplicates ADDR->sun_path with sockaddr LEN limitation.
4683         * sysdeps/mach/hurd/connect.c: Include <string.h>
4684         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4685         * sysdeps/mach/hurd/sendmsg.c: Likewise.
4686         * sysdeps/mach/hurd/sendto.c: Likewise.
4687         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4688         implementing it by hand.
4690 2015-02-06  Roland McGrath  <roland@hack.frob.com>
4692         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4693         Use sfi_breg on ldr.
4694         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4695         Likewise.
4697         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4698         it's defined.
4699         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4700         Test SIGSETXID only if it's defined.
4702         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4704         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4705         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
4707         * nptl/tst-align2.c: Moved ...
4708         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4709         * nptl/Makefile (tests): Remove tst-align2.
4710         * sysdeps/unix/sysv/linux/Makefile
4711         [$(subdir) = nptl] (tests): Add tst-align-clone.
4712         * nptl/tst-getpid1.c: Moved ...
4713         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4714         * nptl/tst-getpid2.c: Moved ...
4715         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4716         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4717         * sysdeps/unix/sysv/linux/Makefile
4718         [$(subdir) = nptl] (tests): ... here.
4719         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4720         * sysdeps/unix/sysv/linux/Makefile
4721         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4723         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4724         Drop trailing \n from perror argument.  Use return rather than exit.
4726         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4727         on [SA_SIGINFO].
4728         * nptl/tst-cancel21.c (do_test): Likewise.
4729         * debug/tst-backtrace6.c: Include <signal.h> first thing.
4730         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4731         [!SA_SIGINFO]: Make it a stub test.
4733         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4734         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4736         * posix/tst-getlogin.c: Move to ...
4737         * login/tst-getlogin.c: ... here.
4738         * posix/Makefile (tests): Move tst-getlogin to ...
4739         * login/Makefile (tests): ... here.
4741         * libio/tst-atime.c (do_test): Move local variables SV and E
4742         inside [ST_NOATIME] conditional.
4744         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4746         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4748         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4749         (wait_code): New function replaces macro.
4750         Call nanosleep rather than syscall.
4752         * nptl/pt-system.c: Rewritten.  Put everything under
4753         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4754         Use IFUNC to redirect when possible.
4756         * nptl/pt-longjmp.c: Rewritten.  Put everything under
4757         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4758         Use IFUNC to redirect when possible.
4760         * nptl/pt-fork.c: Rewritten.  Put everything under
4761         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4762         Use IFUNC to redirect when possible.
4763         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4765         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4766         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4767         unconditionally nowadays.  This included the only reference to
4768         __vdso_clock_gettime that appears outside libc proper.
4769         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4770         Remove version set (containing only __vdso_clock_gettime).
4771         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4772         Add attribute_hidden.
4773         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4774         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4775         libc_hidden_data_def.
4776         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4777         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4779         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4780         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4781         setrpcent, and getrpcport to ...
4782         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4783         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4784         getrpcbynumber_r, and getrpcent_r to ...
4785         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4786         * inet/getrpcbyname.c: Moved ...
4787         * sunrpc/getrpcbyname.c: ... here.
4788         * inet/getrpcbyname_r.c: Moved ...
4789         * sunrpc/getrpcbyname_r.c: ... here.
4790         * inet/getrpcbynumber.c: Moved ...
4791         * sunrpc/getrpcbynumber.c: ... here.
4792         * inet/getrpcbynumber_r.c: Moved ...
4793         * sunrpc/getrpcbynumber_r.c: ... here.
4794         * inet/getrpcent.c: Moved ...
4795         * sunrpc/getrpcent.c: ... here.
4796         * inet/getrpcent_r.c: Moved ...
4797         * sunrpc/getrpcent_r.c: ... here.
4798         * inet/Makefile (routines): Move those to ...
4799         * sunrpc/Makefile (routines): ... here.
4800         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4801         the $(subdirs) list.
4802         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
4803         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4804         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4805         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4807         * elf/Makefile (routines): Include $(all-dl-routines), not just
4808         $(dl-routines).
4809         (rtld-routines): Likewise.  Use = rather than :=.
4810         * sysdeps/aarch64/Makefile [$(subdir) = elf]
4811         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4812         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4813         * sysdeps/arm/Makefile: Likewise.
4814         * sysdeps/i386/Makefile: Likewise.
4815         * sysdeps/x86_64/Makefile: Likewise.
4816         * sysdeps/hppa/Makefile [$(subdir) = elf]
4817         (sysdep_routines, sysdep-rtld-routines): Don't add
4818         $(sysdep-dl-routines) to these.
4819         * sysdeps/ia64/Makefile: Likewise.
4820         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4821         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4822         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4823         Don't add dl-static to these; sysdep-dl-routines alone is enough.
4824         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4825         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4826         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4827         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4828         * sysdeps/powerpc/Makefile [$(subdir) = elf]
4829         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4830         these; sysdep-dl-routines alone is enough.
4832 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
4834         [BZ #17932]
4835         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4836         where multiplication results in zero and third argument is finite
4837         and nonzero.
4838         * math/auto-libm-test-in: Add more tests of fma.
4839         * math/auto-libm-test-out: Regenerated.
4841         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4842         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4843         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4844         (_FP_CMP_EQ): Likewise.
4845         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4847         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4848         extra argument CHECK_NAN.  Redefine as wrapper around
4849         _FP_EXTEND_CNAN.
4851 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
4853         * version.h (RELEASE): Set to "stable".
4854         (VERSION): Set to "2.21"
4855         * include/features.h (__GLIBC_MINOR__): Set to 21.
4857         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4859 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4860             Paul Eggert  <eggert@cs.ucla.edu>
4862         [BZ #16618]
4863         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4864         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4865         size in bytes. Store needed elements in wpmax. Use needed size
4866         in bytes for extend_alloca.
4868 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
4870         * manual/install.texi: Latest tested versions are GCC 4.9.2,
4871         binutls 2.25, and texinfo 5.2.
4872         * INSTALL: Regenerate.
4873         * sysdeps/nios2/configure: Regenerate.
4874         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4875         * manual/contrib.texi: Update.
4876         * po/be.po: Update.
4877         * po/bg.po: Update.
4878         * po/ca.po: Update.
4879         * po/cs.po: Update.
4880         * po/da.po: Update.
4881         * po/de.po: Update.
4882         * po/el.po: Update.
4883         * po/eo.po: Update.
4884         * po/es.po: Update.
4885         * po/fi.po: Update.
4886         * po/fr.po: Update.
4887         * po/gl.po: Update.
4888         * po/hr.po: Update.
4889         * po/hu.po: Update.
4890         * po/ia.po: Update.
4891         * po/id.po: Update.
4892         * po/it.po: Update.
4893         * po/ja.po: Update.
4894         * po/ko.po: Update.
4895         * po/lt.po: Update.
4896         * po/nb.po: Update.
4897         * po/nl.po: Update.
4898         * po/pl.po: Update.
4899         * po/pt_BR.po: Update.
4900         * po/ru.po: Update.
4901         * po/rw.po: Update.
4902         * po/sk.po: Update.
4903         * po/sl.po: Update.
4904         * po/sv.po: Update.
4905         * po/tr.po: Update.
4906         * po/uk.po: Update.
4907         * po/vi.po: Update.
4908         * po/zh_CN.po: Update.
4909         * po/zh_TW.po: Update.
4911         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4912         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4913         * sysdeps/hppa/dl-irel.h: Remove #warning.
4914         * sysdeps/hppa/entry.h: Provide prototype for
4915         __canonicalize_funcptr_for_compare and cast argument.
4916         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4917         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4918         * sysdeps/hppa/sotruss-lib.c: New file.
4919         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4920         (atomic_compare_and_exchange_val_acq): Use __typeof__.
4921         (atomic_compare_and_exchange_bool_acq): Likewise.
4922         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4923         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4925         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4926         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4927         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4929 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4931         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4932         called function in non-PIC case.
4934 2015-01-31  David S. Miller  <davem@davemloft.net>
4936         * sysdeps/sparc/sparc32/bits/atomic.h
4937         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4938         unlock not after it.
4939         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4940         volatile register usage warnings from the compiler.
4942         * sysdeps/sparc/nptl/sem_init.c: Delete.
4943         * sysdeps/sparc/nptl/sem_post.c: Delete.
4944         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4945         * sysdeps/sparc/nptl/sem_wait.c: Delete.
4946         * sysdeps/sparc/sparc32/sem_init.c: New file.
4947         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4948         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4949         padding explicitly initialized.
4950         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4951         padding for in-semaphore spinlock.
4952         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4953         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4954         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4955         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4956         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4957         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4958         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4959         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4960         version.
4961         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4962         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4964 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4966         [BZ #17801]
4967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4968         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4969         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4970         New.
4971         (index_AVX_Fast_Unaligned_Load): Likewise.
4972         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4973         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4974         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4975         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4976         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4977         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4978         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4979         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4980         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4982 2015-01-29  Andreas Schwab  <schwab@suse.de>
4984         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4986 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
4988         [BZ #17892]
4989         * nscd/nscd_stat.c (send_stats): Initialize DATA.
4991 2015-01-28  Martin Sebor  <msebor@redhat.com>
4993         * math/README.libm-test: Clarify. Add "How to read the test output."
4995 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
4997         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4998         Define to 0.
5000 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
5002         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5003         (__HAVE_64B_ATOMICS): Define to 0.
5005 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5007         [BZ #17885]
5008         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5009         value to set as new flag.
5011         [BZ #16576]
5012         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5013         and use _ARCH_PPCSQ instead.
5014         (__ieee754_sqrt): Likewise.
5015         (__ieee754_sqrtf): Likewise.
5016         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5017         _ARCH_PPCSQ is defined.
5018         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5019         fsqrt instruction.
5020         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5021         _ARCH_PPCSQ is defined.
5022         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5023         fsqrts instruction.
5024         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5026 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5028         * iconv/loop.c: Suppress array out of bound warning caused by GCC
5029         bug (GCC BZ #64739).
5031 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
5033         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5034         Mark _retval as used.
5035         (lll_futex_wake_unlock): Likewise.
5036         (lll_futex_timed_wait_requeue_pi): Likewise.
5038         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5039         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5040         register variables.
5042         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5043         libm_hidden_def.
5045         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5046         (__bswap_64): Mark as __always_inline.
5048 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
5050         [BZ #15378]
5051         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5052         when none of the search directories exist.
5054 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5056         [BZ #17869]
5057         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5058         power8 in .machine directive.
5060         [BZ #17868]
5061         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5062         set dependency from opd value.
5064 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5066         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5067         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5068         architecture.
5070 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5072         [BZ #17870]
5073         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5074         with uint64_t.
5075         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5076         (uint64_t) 1.
5077         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5078         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5079         Replace 1UL with (uint64_t) 1.
5080         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5081         int with uint64_t.
5083 2015-01-23  Roland McGrath  <roland@hack.frob.com>
5085         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5086         (if_freenameindex): Likewise.
5088         * resource/getrlimit64.c: Add missing libc_hidden_def.
5090 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
5092         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5093         __label__.
5094         (_FP_FMA): Likewise.
5095         (_FP_TO_INT_ROUND): Likewise.
5096         (_FP_FROM_INT): Likewise.
5098 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5100         [BZ #16418]
5101         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5102         Make code racy and cancel safe.
5104 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
5106         * sysdeps/arm/unwind-resume.h: Fix copyright year.
5107         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5108         attribution.
5110         * pwd/tst-getpw.c: Rewrite.
5112         [BZ #17702]
5113         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5114         (modules-names): Add moddummy1 and moddummy2.
5115         ($(objpfx)tst-rec-dlopen): Define.
5116         * dlfcn/moddummy1.c: New file.
5117         * dlfcn/moddummy2.c: New file.
5118         * dlfcn/tst-rec-dlopen.c: New file.
5119         * elf/dl-cache.c (_dl_load_cache_lookup):
5120         Return char*. Copy result with alloca/strcpy/strdup.
5121         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5122         returns char*. Free cached. If not saving realname
5123         free cached.
5124         * elf/dl-open.c (dl_open_worker): Do not assert that
5125         _r_debug->r_state is RT_CONSISTENT.
5126         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5127         returns char*.
5129 2015-01-21  Torvald Riegel  <triegel@redhat.com>
5130             Carlos O'Donell  <carlos@redhat.com>
5132         [BZ #12674]
5133         * nptl/sem_waitcommon.c: New file.
5134         * nptl/sem_wait.c: Include sem_waitcommon.c.
5135         (__sem_wait_cleanup, do_futex_wait): Remove.
5136         (__new_sem_wait): Adapt.
5137         (__new_sem_trywait): New function.
5138         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5139         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5140         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5141         (sem_timedwait): Adapt.
5142         * nptl/sem_post.c (__new_sem_post): Adapt.
5143         (futex_wake): New function.
5144         (__old_sem_post): Add release MO fence.
5145         * nptl/sem_open.c (sem_open): Adapt.
5146         * nptl/sem_init.c (__new_sem_init): Adapt.
5147         (futex_private_if_supported): New function.
5148         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5149         (__old_sem_getvalue): Add using previous code.
5150         * sysdeps/nptl/internaltypes.h: Adapt.
5151         * nptl/tst-sem13.c (do_test): Adapt.
5152         * nptl/tst-sem11.c (main): Adapt.
5153         * nptl/sem_trywait.c: Remove.
5154         * nptl/DESIGN-sem.txt: Remove.
5155         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5156         (gen-as-const-headers): Remove structsem.sym.
5157         * nptl/structsem.sym: Remove.
5158         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5159         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5160         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5161         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5162         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5163         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5164         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5165         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5166         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5167         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5168         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5169         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5170         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5171         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5172         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5173         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5174         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5175         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5176         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5177         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5178         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5179         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5181 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
5183         * INSTALL: Regenerated.
5185         * po/libc.pot: Regenerated.
5187 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
5188             Sandra Loosemore  <sandra@codesourcery.com>
5189             Andrew Jenner  <andrew@codesourcery.com>
5190             Joseph Myers  <joseph@codesourcery.com>
5191             Nathan Sidwell  <nathan@codesourcery.com>
5193         * NEWS: Mention new Nios II port.
5194         * sysdeps/nios2/Implies: New file.
5195         * sysdeps/nios2/Makefile: New file.
5196         * sysdeps/nios2/Subdirs: New file.
5197         * sysdeps/nios2/Versions: New file.
5198         * sysdeps/nios2/__longjmp.S: New file.
5199         * sysdeps/nios2/abort-instr.h: New file.
5200         * sysdeps/nios2/backtrace.c: New file.
5201         * sysdeps/nios2/bits/endian.h: New file.
5202         * sysdeps/nios2/bits/fenv.h: New file.
5203         * sysdeps/nios2/bits/link.h: New file.
5204         * sysdeps/nios2/bits/setjmp.h: New file.
5205         * sysdeps/nios2/bsd-_setjmp.S: New file.
5206         * sysdeps/nios2/bsd-setjmp.S: New file.
5207         * sysdeps/nios2/configure: New generated file.
5208         * sysdeps/nios2/configure.ac: New file.
5209         * sysdeps/nios2/crti.S: New file.
5210         * sysdeps/nios2/crtn.S: New file.
5211         * sysdeps/nios2/dl-init.c: New file.
5212         * sysdeps/nios2/dl-machine.h: New file.
5213         * sysdeps/nios2/dl-sysdep.h: New file.
5214         * sysdeps/nios2/dl-tls.h: New file.
5215         * sysdeps/nios2/dl-trampoline.S: New file.
5216         * sysdeps/nios2/gccframe.h: New file.
5217         * sysdeps/nios2/gmp-mparam.h: New file.
5218         * sysdeps/nios2/jmpbuf-offsets.h: New file.
5219         * sysdeps/nios2/jmpbuf-unwind.h: New file.
5220         * sysdeps/nios2/ldsodefs.h: New file.
5221         * sysdeps/nios2/libc-tls.c: New file.
5222         * sysdeps/nios2/libm-test-ulps: New file.
5223         * sysdeps/nios2/machine-gmon.h: New file.
5224         * sysdeps/nios2/math-tests.h: New file.
5225         * sysdeps/nios2/math_private.h: New file.
5226         * sysdeps/nios2/memusage.h: New file.
5227         * sysdeps/nios2/nptl/Makefile: New file.
5228         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5229         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5230         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5231         * sysdeps/nios2/nptl/pthreaddef.h: New file.
5232         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5233         * sysdeps/nios2/nptl/tls.h: New file.
5234         * sysdeps/nios2/preconfigure: New file.
5235         * sysdeps/nios2/s_fma.c: New file.
5236         * sysdeps/nios2/s_fmaf.c: New file.
5237         * sysdeps/nios2/setjmp.S: New file.
5238         * sysdeps/nios2/sfp-machine.h: New file.
5239         * sysdeps/nios2/sotruss-lib.c: New file.
5240         * sysdeps/nios2/stackguard-macros.h: New file.
5241         * sysdeps/nios2/stackinfo.h: New file.
5242         * sysdeps/nios2/start.S: New file.
5243         * sysdeps/nios2/sysdep.h: New file.
5244         * sysdeps/nios2/tls-macros.h: New file.
5245         * sysdeps/nios2/tst-audit.h: New file.
5246         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5247         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5248         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5249         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5250         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5251         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5252         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5253         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5254         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5255         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5256         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5257         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5258         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5259         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5260         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5261         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5262         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5263         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5264         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5265         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5266         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5267         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5268         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5269         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5270         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5271         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5272         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5273         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5274         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5275         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5276         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5277         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5278         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5279         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5280         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5281         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5282         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5283         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5284         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5285         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5286         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5287         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5288         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5289         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5291 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5293         [BZ #17844]
5294         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5295         (getutent): Use weak_alias in non SHARED case
5296         and default_symbol_version in SHARED case.
5297         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5298         (getutent_r, pututline): Likewise.
5299         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5300         (getutid): Likewise.
5301         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5302         (getutid_r): Likewise.
5303         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5304         (getutline): Likewise.
5305         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5306         (getutline_r): Likewise.
5307         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5308         (updwtmp): Likewise.
5310 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5312         [BZ #17848]
5313         * sysdeps/s390/s390-32/memcmp.S
5314         (memcmp_g5): Rename to __memcmp_g5.
5315         * sysdeps/s390/s390-32/memcpy.S
5316         (memcpy_g5): Rename to __memcpy_g5.
5317         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5318         (memcpy_mvcle) Rename to __memcpy_mvcle.
5319         * sysdeps/s390/s390-32/memset.S
5320         (memset_g5): Rename to __memset_g5.
5321         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5322         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5323         and use prefixed functions.
5324         * sysdeps/s390/s390-32/multiarch/memcmp.S
5325         (memcmp_z196): Rename to __memcmp_z196.
5326         (memcmp_z10): Rename to __memcmp_z10.
5327         (memcmp): Set alias to __memcmp_g5.
5328         (bcmp): Set alias to __memcmp_g5.
5329         * sysdeps/s390/s390-32/multiarch/memcpy.S
5330         (memcpy_z196): Rename to __memcpy_z196.
5331         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5332         (memcpy_z10): Rename to __memcpy_z10.
5333         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5334         (memcpy): Set alias to __memcpy_g5.
5335         * sysdeps/s390/s390-32/multiarch/memset.S
5336         (memset_z196): Rename to __memset_z196.
5337         Jump to __memset_mvcle instead of memset_mvcle.
5338         (memset_z10): Rename to __memset_z10.
5339         Jump to __memset_mvcle instead of memset_mvcle.
5340         (memset_mvcle) Rename to __memset_mvcle.
5341         (memset): Set alias to __memset_g5.
5342         * sysdeps/s390/s390-64/memcmp.S
5343         (memcmp_z900): Rename to __memcmp_z900.
5344         * sysdeps/s390/s390-64/memcpy.S
5345         (memcpy_z900): Rename to __memcpy_z900.
5346         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5347         (memcpy_mvcle) Rename to __memcpy_mvcle.
5348         * sysdeps/s390/s390-64/memset.S
5349         (memset_z900): Rename to __memset_z900.
5350         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5351         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5352         and use prefixed functions.
5353         * sysdeps/s390/s390-64/multiarch/memcmp.S
5354         (memcmp_z196): Rename to __memcmp_z196.
5355         (memcmp_z10): Rename to __memcmp_z10.
5356         (memcmp): Set alias to __memcmp_z900.
5357         (bcmp): Set alias to __memcmp_z900.
5358         * sysdeps/s390/s390-64/multiarch/memcpy.S
5359         (memcpy_z196): Rename to __memcpy_z196.
5360         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5361         (memcpy_z10): Rename to __memcpy_z10.
5362         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5363         (memcpy): Set alias to __memcpy_z900.
5364         * sysdeps/s390/s390-64/multiarch/memset.S
5365         (memset_z196): Rename to __memset_z196.
5366         Jump to __memset_mvcle instead of memset_mvcle.
5367         (memset_z10): Rename to __memset_z10.
5368         Jump to __memset_mvcle instead of memset_mvcle.
5369         (memset_mvcle) Rename to __memset_mvcle.
5370         (memset): Set alias to __memset_z900.
5372 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
5374         [BZ #17748]
5375         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5376         __fesetenv instead of fesetenv.
5378 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5380         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5381         macro.
5383 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5385         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5386         regression on LE.
5388         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5389         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5390         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5391         strncmp-power8 object.
5392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5393         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5394         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5395         * NEWS: Update.
5397 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5398             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5400         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5401         trailing byte check.
5403 2015-01-13  David S. Miller  <davem@davemloft.net>
5405         * include/signal.h (__sigreturn): Guard with __USE_MISC.
5407 2015-01-13  Roland McGrath  <roland@hack.frob.com>
5409         * login/logout.c (logout): Use memset rather than bzero.
5410         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5411         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5412         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5413         (_gethtbyaddr): Likewise.
5414         * locale/programs/simple-hash.c (bcopy): Macro removed.
5416 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5418         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5419         Add strcmp-power8 object.
5420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5421         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5422         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5423         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5424         __strcmp_power8 implementation.
5425         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5426         * NEWS: Update.
5428         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5429         Add strncpy-power8 and stpncpy-power8 objects.
5430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5431         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5432         implementations.
5433         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5434         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5435         __stpncpy_power8 implementation.
5436         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5437         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5438         __strncpy_power8 implementation.
5439         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5440         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5441         * NEWS: Update.
5443         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5444         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5445         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5447         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5448         strncat-power8 object.
5449         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5450         __strcat_power8 implementation.
5451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5452         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5453         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5454         optimized strcat for power8.
5456         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5457         strcpy-power8 and stpcpy-power8 objects.
5458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5459         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5460         implementations.
5461         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5462         multiarch stpcpy implementation for POWER8.
5463         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5464         multiarch strcpy implementation for POWER8.
5465         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5466         __strcpy_power8 function.
5467         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5468         stpcpy for POWER8.
5469         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5470         strcpy for POWER8.
5471         * NEWS: Update.
5473 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
5475         [BZ #16009]
5476         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5477         weights and rules. Use do_xfrm_cached if data fits in cache,
5478         do_xfrm otherwise.  Moved former main loop to...
5479         * (do_xfrm_cached): New function.
5480         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5481         find_idx, find_position and stack_push.
5482         * (find_idx): New function.
5483         * (find_position): Likewise.
5484         * localedata/sort-test.sh: Added test run for do_xfrm.
5485         * localedata/xfrm-test.c (main): Added command line option
5486         -nocache to run the test with strings that are too large for
5487         the STRXFRM cache.
5489 2015-01-13  Torvald Riegel  <triegel@redhat.com>
5491         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5492         variable to lll_futex_wake call, not the value itself.
5494 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
5496         [BZ #17803]
5497         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5498         twom64.  Adjust value to 0x1p-64L.
5499         (__scalblnl): Only return standard underflowing result for K <=
5500         -64 not K <= -63; adjust exponent for underflowing result by 64
5501         not 63.
5502         * math/libm-test.inc (scalbn_test_data): Add more tests.
5503         (scalbln_test_data): Likewise.
5505         [BZ #17834]
5506         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5507         0x1p63L.
5508         (__scalblnl): Get new exponent of adjusted subnormal value from ES
5509         not HX.
5510         * math/libm-test.inc (scalbn_test_data): Add more tests.
5511         (scalbln_test_data): Likewise.
5513 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5514             Stefani Seibold  <stefani@seibold.net>
5516         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5517         (sysdep_routines): Add dl-vdso here, ...
5518         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5519         (sysdep_routines): ... not here.
5520         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5521         fallback when vDSO is not presented.
5522         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5523         Define with libc_hidden_proto/libc_hidden_data_def definitions.
5524         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5525         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5526         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5527         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5528         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5529         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5530         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5531         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5532         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
5533         fallback configurable symbol when vDSO is not available.
5534         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5535         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
5536         be able to redefine fallback symbol when vDSO is not available.
5537         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5538         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5540 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5542         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5543         (TLS_INIT_TP): Add tm_capable initialization.
5544         (TLS_DEFINE_INIT_TP): Likewise.
5545         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5546         TCB.
5547         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5548         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5549         calculation.
5550         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5551         transactoion is lock elision is built and TCB tm_capable is set.
5552         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5554         (INTERNAL_SYSCALL_NCS): Likewise.
5555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5556         (INTERNAL_SYSCALL_NCS): Likewise.
5557         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5559         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5560         for powerpc.
5561         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5562         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5563         and remove it for 32 bits case.
5564         [pthread_rwlock_t] (__rwelision): New field for lock elision.
5565         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5566         initialization.
5567         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5568         Disable lock elision with rdlocks if elision is not available.
5570         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5571         (sysdep_routines): Add lock elision objects.
5572         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5573         [pthread_mutex_t] (__spins): Rework to add lock elision field.
5574         [pthread_mutex_t] (__elision): Add field.
5575         [__PTHREAD_SPINS]: Adjust to init lock elision field.
5576         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5577         elision definitions for powerpc.
5578         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5579         implementation of lock elision for powerpc.
5580         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5581         implementation of timed lock elision for powerpc.
5582         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5583         implementation of trylock with lock elision for powerpc.
5584         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5585         implementaion of unlock for lock elision for powerpc.
5586         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5587         automatic enable lock elision for mutexes.
5588         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5589         transaction execution definitions for powerpc.
5590         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5591         definitions.
5592         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5593         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5594         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5595         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5596         * NEWS: Update.
5598 2015-01-09  Roland McGrath  <roland@hack.frob.com>
5600         * sysdeps/posix/shm-directory.c: Use <> rather than ""
5601         for #include of <shm-directory.h>.
5603 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
5605         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5606         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5608 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
5610         [BZ #17791]
5611         * NEWS: Mention bug fix.
5612         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5613         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5614         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5616 2015-01-09  Torvald Riegel <triegel@redhat.com>
5618         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5620 2015-01-09  Torvald Riegel <triegel@redhat.com>
5622         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5624 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5626         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5627         pointer and cast to uintptr_t.
5629 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5631         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5632         removed.
5633         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5635 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5637         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5638         of 0.
5640 2015-01-08  Roland McGrath  <roland@hack.frob.com>
5642         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5643         <nptl/pthreadP.h> instead.
5644         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5646         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5647         already defined.
5648         [__SIGRTMIN] (init): Function removed.
5649         [__SIGRTMIN] (initialized): Variable removed.
5650         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5651         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5652         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5653         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5654         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5655         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5656         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5657         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5658         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5659         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5660         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5661         * sysdeps/nptl/allocrtsig.c: New file.
5662         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5663         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5664         * sysdeps/generic/testrtsig.h: File removed.
5666         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5667         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5669         * nptl/nptl-init.c (pthread_functions): Conditionalize
5670         .ptr__nptl_setxid initialization on [SIGSETXID].
5672         * sysdeps/nptl/sys/procfs.h: New file.
5673         * nptl_db/Makefile (headers): Add it.
5674         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5676         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5677         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5678         * nptl/pthread_attr_setaffinity.c: Include it.
5679         * nptl/pthread_setattr_default_np.c: Likewise.
5680         * nptl/check-cpuset.h: New file.
5682 2015-01-08  Richard Henderson  <rth@redhat.com>
5684         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5685         (CFLAGS-tst-execstack-prog.c): Likewise.
5686         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5688 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
5689             Sandra Loosemore  <sandra@codesourcery.com>
5690             Andrew Jenner  <andrew@codesourcery.com>
5691             Joseph Myers  <joseph@codesourcery.com>
5692             Nathan Sidwell  <nathan@codesourcery.com>
5694         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5695         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5696         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5697         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5698         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5699         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5700         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5701         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5702         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5703         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5704         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5705         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5706         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5707         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5708         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5709         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5710         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5712 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5714         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5715         timespec struct member in syscall macro.
5716         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5717         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5718         first timeval struct member in syscall macro.
5719         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5721 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
5723         [BZ #17748]
5724         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5725         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5726         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5727         __feupdateenv and define as weak alias of __feupdateenv.  Use
5728         libm_hidden_weak.
5729         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5730         libm_hidden_def.
5731         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5732         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
5733         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5734         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5735         libm_hidden_def.
5736         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5737         __feupdateenv and define as weak alias of __feupdateenv.  Use
5738         libm_hidden_weak.
5739         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5740         libm_hidden_def.
5741         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5742         __feupdateenv and define as weak alias of __feupdateenv.  Use
5743         libm_hidden_weak.
5744         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5745         libm_hidden_def.
5746         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5747         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5748         (__feupdateenv): Likewise.
5749         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5750         __feupdateenv and define as weak alias of __feupdateenv.  Use
5751         libm_hidden_weak.
5752         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5753         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5754         libm_hidden_def.
5755         * sysdeps/tile/math_private.h (__feupdateenv): New inline
5756         function.
5757         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5758         libm_hidden_def.
5759         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5760         __feupdateenv instead of feupdateenv.
5761         (default_libc_feupdateenv_test): Likewise.
5762         (libc_feresetround_ctx): Likewise.
5764 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5766         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5767         prototype.
5769 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
5771         * posix/regcomp.c (parse_bracket_exp): Initialize type to
5772         COLL_SYM in a couple of places to avoid uninitialized variable
5773         wanings on tilegx gcc 4.8.2.
5775 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5777         * sysdeps/aarch64/strcpy.S: New file.
5778         * sysdeps/aarch64/stpcpy.S: New file.
5779         * NEWS: Updated.
5781 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5783         * sysdeps/aarch64/strrchr.S: New file.
5784         * NEWS: Updated.
5786 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
5788         [BZ #17658]
5789         * stdlib/setenv.c: Fix memory leak when setting large,
5790         duplicate string.
5792 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
5794         [BZ #17273]
5795         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5796         and tabs from buffer before parsing fstab entry.
5797         * misc/tst-mntent.c (main): Add test for mount entry with
5798         trailing spaces and tabs.
5800 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
5802         [BZ #17748]
5803         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
5804         * math/fesetround.c (fesetround): Rename to __fesetround and
5805         define as weak alias of __fesetround.  Use libm_hidden_weak.
5806         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5807         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5808         * sysdeps/arm/fesetround.c (fesetround): Likewise.
5809         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5810         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5811         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5812         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5813         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5814         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5815         __fesetround_inline.
5816         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5817         __fesetround_inline instead of __fesetround.
5818         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5819         __fesetround and define as weak alias of __fesetround.  Use
5820         libm_hidden_weak.  Call __fesetround_inline instead of
5821         __fesetround.
5822         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5823         __fesetround and define as weak alias of __fesetround.  Use
5824         libm_hidden_weak.
5825         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5826         Likewise.
5827         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5828         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5829         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5830         * sysdeps/tile/math_private.h (__fesetround): New inline function.
5831         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5832         __fesetround and define as weak alias of __fesetround.  Use
5833         libm_hidden_weak.
5834         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5835         __fesetround instead of fesetround.
5836         (default_libc_feholdexcept_setround): Likewise.
5837         (libc_feholdsetround_ctx): Likewise.
5838         (libc_feholdsetround_noex_ctx): Likewise.
5840         [BZ #17748]
5841         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5842         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5843         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5844         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5845         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5846         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5847         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5848         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5849         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5850         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5851         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5852         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5853         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5854         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5855         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5856         libm_hidden_def.
5857         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5858         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5859         Likewise.
5860         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5861         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5862         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5863         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5864         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5865         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5866         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5867         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5868         __fesetenv instead of fesetenv.
5869         (libc_feresetround_noex_ctx): Likewise.
5870         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5871         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5872         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5873         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5874         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5875         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5876         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5877         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5878         (__feupdateenv): Likewise.
5879         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5880         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5881         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5882         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5884 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5886         [BZ #17806]
5887         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5888         addresses have been freed.
5890 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5892         * resolv/res_init.c (__res_vinit): Improve comments about nserv
5893         and nservall.
5895 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
5897         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5898         Clean up check_pf allocation pattern. addresses
5900 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5902         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5903         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5904         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5905         * nptl/pthread_exit.c (__pthread_exit): Likewise.
5906         * nptl/pthread_join.c (pthread_join): Likewise.
5907         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5908         * sysdeps/posix/waitid.c (__waitid): Likewise.
5909         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5910         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5911         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5912         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5913         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5914         Likewise.
5915         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5916         (__libc_pread64): Likewise.
5917         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5918         (__libc_pwrite): Likewise.
5919         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5920         (__libc_pwrite64): Likewsie.
5921         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5922         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5923         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5924         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5925         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5926         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5927         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5929         Likewise.
5930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5931         (__libc_pread64): Likewise.
5932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5933         Likewise.
5934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5935         (__libc_pwrite64): Likewise.
5936         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5937         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5938         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5939         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5940         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5941         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5942         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5943         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5944         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5945         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5946         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5947         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5948         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5949         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5950         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5951         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5952         Likewise.
5954 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5956         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5957         (CFLAGS-test-double.c): Likewise.
5958         (CFLAGS-test-ldouble.c): Likewise.
5959         (CPPFLAGS-test-ifloat.c): Likewise.
5960         (CPPFLAGS-test-idouble.c): Likewise.
5961         (CPPFLAGS-test-ildoubl.c): Likewise.
5962         (CFLAGS-test-test-fenv.c): Remove variable.
5963         (CFLAGS-test-misc.c): Likewise.
5965 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
5967         [BZ #17797]
5968         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5969         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5970         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5971         CLOCKS_PER_SEC == 1000000.
5972         * time/clocktest.c (main): Replace %ld with %jd and cast to
5973         intmax_t.
5975 2015-01-05  Roland McGrath  <roland@hack.frob.com>
5977         * sysdeps/generic/unwind-resume.h: New file.
5978         * sysdeps/gnu/unwind-resume.c: Include it.
5979         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5980         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5981         argument list.
5982         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5983         global rather than static.
5984         (_Unwind_Resume): Update user.
5985         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5986         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
5987         rather than static.  Add __attribute__ ((cold)).
5988         (_Unwind_Resume, __gcc_personality_v0): Update callers.
5989         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5990         * sysdeps/arm/arm-unwind-resume.S: New file.
5991         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5992         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5993         * sysdeps/arm/Makefile [$(subdir) = csu]
5994         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5995         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5996         Add rt-arm-unwind-resume.
5997         [$(subdir) = nptl]
5998         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5999         Add pt-arm-unwind-resume.
6000         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6001         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6003 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6005         [BZ #17748]
6006         * include/fenv.h (__feholdexcept): Declare.  Use
6007         libm_hidden_proto.
6008         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6009         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
6010         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6011         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6012         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6013         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6014         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6015         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6016         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6017         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6018         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6019         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6020         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6021         (feholdexcept): Likewise.
6022         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6023         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6024         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6025         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6026         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6027         __feholdexcept instead of feholdexcept.
6028         (default_libc_feholdexcept_setround): Likewise.
6030 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6032         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6033         to avoid using stl/str to align destination.
6035 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6037         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6039 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6041         [BZ #17796]
6042         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6043         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6044         Define as weak alias not strong alias.
6046 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6048         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6049         bltzal with addiupc.
6050         (RTLD_START): Ditto.
6052 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
6054         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6055         for __vdso_* functions in declarations.
6056         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6057         definitions.
6058         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6059         INTERNAL_VSYSCALL): Use struct return types to check for error.
6061         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6062         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6063         function with cast from llround().
6064         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6065         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6066         Define.
6068 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6070         [BZ #17793]
6071         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6072         Define as weak alias not strong alias.
6074         [BZ #17635]
6075         * ctype/ctype-c99.c: New file.  isblank implementation moved from
6076         ...
6077         * ctype/ctype-extn.c: ... here.
6078         (__isblank_l): Move to ...
6079         * ctype/ctype-c99_l.c: ... here.  New file.
6080         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6081         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6082         Remove variable.
6083         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6084         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6085         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6086         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6087         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6089         [BZ #17777]
6090         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6091         (posix_fadvise64): Define as weak alias not strong alias.
6092         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6093         (posix_fallocate64): Likewise.
6094         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6095         Remove variable.
6096         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6097         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6098         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6099         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6100         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6102 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
6104         [BZ #16191]
6105         * NEWS: Mention bug fix.
6106         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6107         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6108         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6109         (HOST_STACK_END_ADDR): Likewise.
6111 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6113         [BZ #17748]
6114         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
6115         * math/fegetround.c (fegetround): Rename to __fegetround and
6116         define as weak alias of __fegetround.  Use libm_hidden_weak.
6117         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6118         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6119         * sysdeps/arm/fegetround.c (fegetround): Likewise.
6120         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6121         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6122         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6123         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6124         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6125         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6126         Undefine after rather than before function definition; use
6127         parentheses around function name in definition.
6128         (__fegetround): Also undefine macro after function definition.
6129         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6130         __fegetround and define as weak alias of __fegetround.  Use
6131         libm_hidden_weak.  Do not undefine as macro.
6132         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6133         Likewise.
6134         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6135         __fegetround and define as weak alias of __fegetround.  Use
6136         libm_hidden_weak.
6137         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6138         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6139         * sysdeps/tile/math_private.h (__fegetround): New inline function.
6140         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6141         __fegetround and define as weak alias of __fegetround.  Use
6142         libm_hidden_weak.
6143         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6144         __fegetround instead of fegetround.
6146         [BZ #17782]
6147         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6148         Condition macro definition on [__USE_MISC].
6150         [BZ #17781]
6151         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6152         (struct sigaction): Change type of sa_flags field to int.
6154         [BZ #17780]
6155         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6156         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6157         __glibc_reserved0.
6159         * nptl/version.c (banner): Use single year in copyright notice.
6161         * NEWS: Update copyright dates.
6162         * catgets/gencat.c (print_version): Likewise.
6163         * csu/version.c (banner): Likewise.
6164         * debug/catchsegv.sh: Likewise.
6165         * debug/pcprofiledump.c (print_version): Likewise.
6166         * debug/xtrace.sh (do_version): Likewise.
6167         * elf/ldconfig.c (print_version): Likewise.
6168         * elf/ldd.bash.in: Likewise.
6169         * elf/pldd.c (print_version): Likewise.
6170         * elf/sotruss.sh: Likewise.
6171         * elf/sprof.c (print_version): Likewise.
6172         * iconv/iconv_prog.c (print_version): Likewise.
6173         * iconv/iconvconfig.c (print_version): Likewise.
6174         * locale/programs/locale.c (print_version): Likewise.
6175         * locale/programs/localedef.c (print_version): Likewise.
6176         * login/programs/pt_chown.c (print_version): Likewise.
6177         * malloc/memusage.sh (do_version): Likewise.
6178         * malloc/memusagestat.c (print_version): Likewise.
6179         * malloc/mtrace.pl: Likewise.
6180         * manual/libc.texinfo: Likewise.
6181         * nptl/version.c (banner): Likewise.
6182         * nscd/nscd.c (print_version): Likewise.
6183         * nss/getent.c (print_version): Likewise.
6184         * nss/makedb.c (print_version): Likewise.
6185         * posix/getconf.c (main): Likewise.
6186         * scripts/test-installation.pl: Likewise.
6187         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6189 2015-01-02  Will Newton  <will.newton@linaro.org>
6191         * sysdeps/arm/armv7/configure: Removed.
6192         * sysdeps/arm/armv7/configure.ac: Likewise.
6194 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6196         * All files with FSF copyright notices: Update copyright dates
6197         using scripts/update-copyrights.
6198         * intl/plural.c: Regenerated.
6199         * locale/programs/charmap-kw.h: Likewise.
6200         * locale/programs/locfile-kw.h: Likewise.
6202 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6204         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6206 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6208         [BZ #17748]
6209         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6210         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6211         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6212         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6213         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6214         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6215         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6216         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6217         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6218         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6219         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6220         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6221         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6222         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6223         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6224         libm_hidden_def.
6225         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6226         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6227         Likewise.
6228         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6229         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6230         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6231         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6232         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6233         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6234         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6235         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6236         __fegetenv instead of fegetenv.
6237         (libc_feholdsetround_noex_ctx): Likewise.
6239 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6241         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6242         (Elf_MIPS_ABIFlags_v0): New structure.
6243         (EF_MIPS_FP64): Define.
6244         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6245         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6246         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6247         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6248         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6249         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6250         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6251         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6252         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6253         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6254         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6255         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6256         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6257         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6258         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6259         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6260         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6261         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6262         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6263         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6264         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6265         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6266         field.
6267         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6268         EF_MIPS_FP64.
6269         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6270         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6271         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6272         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6273         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6274         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6275         * sysdeps/mips/tst-abi-interlink.c: Likewise.
6276         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6277         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6278         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6279         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6280         record the current FP ABI extension.
6281         (mips-mode-switch): Define to show if kernel headers support mode
6282         switching.
6283         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6284         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6285         supported SYSV ABI version to 3.
6286         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6287         feature.
6289 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6290             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6292         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6293         path.
6294         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6296 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6298         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6299         __fegetround and redefine to call __fegetround.  Remove condition
6300         on [!__NO_MATH_INLINES].
6301         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6302         function.
6303         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6304         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6305         Remove macro.
6306         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6307         instead of <fenv_libc.h>.
6308         (__llrintl): Call fegetround instead of __fegetround.
6309         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6310         instead of <fenv_libc.h>.
6311         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6312         (__lrintl): Call fegetround instead of __fegetround.
6313         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6314         instead of <fenv_libc.h>.
6315         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6316         (__rintl): Call fegetround instead of __fegetround.
6318 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6320         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6321         arrays.
6323 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6325         [BZ #17775]
6326         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6327         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6328         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6330 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6332         * sysdeps/i386/tls-macros.h: Include <features.h>.
6333         (TLS_LE): Use non-PIC version for GCC >= 5.0.
6334         (TLS_IE): Likewise.
6335         (TLS_LD): Likewise.
6336         (TLS_GD): Likewise.
6337         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6338         define for GCC >= 5.0.
6340 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
6342         * math/test-fenv.c (test_single_exception, set_single_exc,
6343         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6344         feexcp_mask_test, feenable_test, fe_single_test): Add
6345         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6346         case where they are not used.
6347         * math/libm-test.inc: Likewise.
6348         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6349         unused in the absence of FP rounding/exception support.
6350         * stdio-common/tst-printf-round.c: Likewise.
6351         * stdlib/tst-strtod-round.c: Likewise.
6352         * stdlib/tst-strtod-underflow.c: Likewise.
6354 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
6356         [BZ #17723]
6357         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6358         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6359         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6360         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6361         libm_hidden_weak.
6362         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6363         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6364         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6365         libm_hidden_def.
6366         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6367         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6368         libm_hidden_weak.
6369         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6370         Likewise.
6371         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6372         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6373         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6374         libm_hidden_weak.
6375         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6376         libm_hidden_def.
6377         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6378         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6379         (__feraiseexcept): Likewise.
6380         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6381         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6382         libm_hidden_weak.
6383         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6384         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6385         libm_hidden_def.
6386         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6387         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6388         Use libm_hidden_def.
6389         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6390         libm_hidden_def.
6391         (feraiseexcept): Define as weak not strong alias.  Use
6392         libm_hidden_weak.
6393         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6394         New inline function.  Factored out of ...
6395         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
6396         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6397         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6398         feraiseexcept.
6399         * math/w_acos.c (__acos): Likewise.
6400         * math/w_asin.c (__asin): Likewise.
6401         * math/w_ilogb.c (__ilogb): Likewise.
6402         * math/w_j0.c (y0): Likewise.
6403         * math/w_j1.c (y1): Likewise.
6404         * math/w_jn.c (yn): Likewise.
6405         * math/w_log.c (__log): Likewise.
6406         * math/w_log10.c (__log10): Likewise.
6407         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6408         * sysdeps/aarch64/fpu/math_private.h
6409         (libc_feupdateenv_test_aarch64): Likewise.
6410         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6411         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6412         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6413         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6414         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6415         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6416         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6417         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6418         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6419         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6421 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6423         [BZ #17732]
6424         * io/test-utime.c (main): Replace %ld with %jd and cast to
6425         intmax_t.
6426         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6427         * nptl/tst-mutex5.c: Include <stdint.h>.
6428         (do_test): Replace %ld with %jd and cast to intmax_t.
6429         * posix/tst-regex.c (run_test): Likewise.
6430         (run_test_backwards): Likewise.
6431         * rt/tst-clock.c: Include <stdint.h>.
6432         (clock_test): Replace %ld with %jd and cast to intmax_t.
6433         * rt/tst-cpuclock1.c: Include <stdint.h>.
6434         (do_test): Replace %lu with %ju and cast to uintmax_t.
6435         * rt/tst-cpuclock2.c: Include <stdint.h>.
6436         (do_test): Replace %lu with %ju and cast to uintmax_t.
6437         * rt/tst-mqueue1.c: Include <stdint.h>.
6438         (check_attrs): Replace %ld with %jd and cast to intmax_t.
6439         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6440         intmax_t.
6441         * rt/tst-mqueue4.c (do_test): Likewise.
6442         * rt/tst-timer4.c: Include <stdint.h>.
6443         (check_ts): Replace %ld with %jd and cast to intmax_t.
6444         (do_test): Likewise.
6445         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6446         and cast to intmax_t.
6447         * sysdeps/pthread/tst-timer.c (main): Likewise.
6448         * time/clocktest.c (main): Likewise.
6449         * time/tst-posixtz.c (do_test): Likewise.
6450         * timezone/tst-timezone.c (main): Likewise.
6452 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6453             H.J. Lu  <hongjiu.lu@intel.com>
6455         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6456         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6457         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6458         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6459         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6460         version if bit_Fast_Unaligned_Load is set.
6461         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6462         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6463         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6464         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6465         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6466         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6467         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6468         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6469         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6470         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6471         to 4.
6472         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6473         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6474         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6475         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6477 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
6479         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6480         instead of #if to avoid a Wundef warning.
6481         * stdlib/tst-limits.c (do_test): Likewise.
6483         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6484         parallel other exception macros.
6485         (fegetenv): Convert from macro to extern inline so that it applies
6486         retroactively to inline functions already seen by the compiler.
6487         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6489         * posix/Makefile (before-compile): Use $(objpfx) for
6490         posix-conf-vars-def.h.
6492 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6494         * posix/getconf.c (main): Use size_t for type of I.
6495         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6496         NSPEC.
6498         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6499         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6500         * posix/posix-envs.def: Likewise.
6501         * sysdeps/posix/sysconf.c: Likewise.
6502         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6503         (specs): Remove array.
6504         * scripts/gen-posix-conf-vars.awk: Support generation of specs
6505         array.
6507         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6508         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6509         (__sysconf): Use CONF_IS_* macros.
6511         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6512         ($(objpfx)posix-conf-vars-def.h): New target.
6513         * posix/posix-conf-vars.list: New file.
6514         * posix/posix-conf-vars.h: New file.
6515         * posix/confstr.c: Include posix-conf-vars.h.
6516         (confstr): Use CONF_IS_* macros.
6517         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
6518         CONF_IS_* macros.
6519         * scripts/gen-posix-conf-vars.awk: New file.
6521 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
6523         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6524         fegetround): Add no-op macros to avoid linknamespace issues.
6526         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6527         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6529         * sysdeps/unix/sysv/linux/tile/sysdep.h
6530         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6531         assembly-specific section to avoid a redefinition warning.
6533         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6534         long before casting to pointer to avoid a cast warning.
6536 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
6538         * sysdeps/tile/tilegx/Implies: New file.
6540 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
6542         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6544 2014-12-23  Florian Weimer  <fweimer@redhat.com>
6546         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6548 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6550         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6551         not define.
6552         * sysdeps/unix/sysv/linux/utimes.c: Do not include
6553         <kernel-features.h>.
6554         (__utimes) [__NR_utimes]: Make code unconditional.
6555         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6556         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6557         (__ASSUME_UTIMES): Do not undefine.
6558         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6559         (__ASSUME_UTIMES): Likewise.
6560         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6561         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6562         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6563         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6565 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6567         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6569 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
6571         [BZ #17747]
6572         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6573         alias to weak alias for j0l, y0l.
6574         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6575         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6577         [BZ #17746]
6578         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6579         conversion.
6581 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6583         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6584         to zero if not already defined.
6586 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6588         [BZ #17724]
6589         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6590         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
6591         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
6592         (char *) casts added.
6593         * sysdeps/ieee754/k_standardf.c: New file.
6594         * sysdeps/ieee754/k_standardl.c: Likewise.
6595         * math/Makefile (libm-support): Remove k_standard.
6596         (libm-calls): Add k_standard.
6598 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6600         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6601         Optimize to avoid an unnecessary FPCR read.
6603 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6605         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6606         Optimize to reduce FPCR/FPSR accesses.
6608 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6610         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6611         Call libc_fetestexcept_aarch64.
6613 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6615         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6616         Call libc_fesetround_aarch64.
6618 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6620         [BZ #17733]
6621         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6622         (__bind): Do not define as weak alias.
6623         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6624         define.
6625         (__getsockname): Do not define as weak alias.
6627 2014-12-22  Will Newton  <will.newton@linaro.org>
6629         * manual/install.texi: Document that we require bison 2.7
6630         or above.
6631         * INSTALL: Regenerate.
6632         * configure.ac: Use AC_CHECK_PROG_VER instead of
6633         AC_PATH_PROG when checking for bison and check for
6634         version 2.7 or above.
6635         * configure: Regenerate.
6637 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
6639         [BZ #17745]
6640         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6641         * sysdeps/tile/ffsll.c (ffsll): To here.
6643         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6645 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6647         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6648         if not defined.
6649         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6650         definition.
6651         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6652         hidden ___tls_get_addr.
6653         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6654         hidden __tls_get_addr.
6655         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6656         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6657         Likewise.
6659 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
6661         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6662         _dl_init call.
6664 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6666         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6667         from "call _dl_init@PLT".
6668         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6670 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
6672         * manual/search.texi: (Array Sort Function): Clarify stable sorting
6673         guarantees.
6675 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
6677         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6679 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6681         [BZ #17744]
6682         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6683         strnlen.
6685 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6687         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6688         of multu on MIPSr6.
6689         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6690         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6691         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6692         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6693         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6695 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6697         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6698         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6699         (PTR_SUBU): Use subu for mips32r6/mips64r6.
6700         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6701         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6702         mips32r6/mips64r6.
6703         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6705 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
6707         * string/strncat.c (STRNCAT): Simplify implementation.
6709 2014-12-19  David S. Miller  <davem@davemloft.net>
6711         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6712         access the quad as both a long double and as a series of 4 words.
6714         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6715         link_map->l_info array access.
6717 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6719         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6721         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6722         * math/atest-exp2.c (TIMEOUT): Likewise.
6723         * math/atest-sincos.c (TIMEOUT): Likewise.
6725 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6727         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6728         -Wno-error with -fno-builtin-lround.
6730 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6732         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6733         Contains futex constants and functions moved over from ...
6734         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
6735         <lowlevellock-futex.h>.
6736         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6737         (lll_timedwait_tid): Add comments and parentheses around macro
6738         arguments.
6740 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6742         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6743         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
6744         (__lll_private_flag): Remove.
6745         (lll_futex_wait): Likewise.
6746         (lll_futex_timed_wait): Likewise.
6747         (lll_futex_wake): Likewise.
6748         (lll_futex_requeue): Likewise.
6749         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6750         (__lll_timedwait_tid): Spell out argument names.
6751         (lll_timedwait_tid): Add comments and parentheses around macro
6752         arguments.
6753         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6754         LLL_SHARED and LLL_PRIVATE usable from assembly code.
6756 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6758         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6759         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6760         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6761         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6762         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6763         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6764         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6765         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6766         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6767         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6768         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6769         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6770         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6771         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6772         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6773         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6774         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6775         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6776         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6778 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6780         * sysdeps/x86_64/x32/Makefile: New file.
6782 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6784         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6785         1L with (mp_limb_t) 1.
6787 2014-12-17  Roland McGrath  <roland@hack.frob.com>
6789         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6790         * nptl/libc_pthread_init.c: ... here.
6791         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6792         * nptl/register-atfork.c: ... here.
6794         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6795         Use pthread_sigmask rather than INTERNAL_SYSCALL.
6796         Use assert_perror to check its return value.
6797         (__gai_create_helper_thread): Likewise.
6799         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6801         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6803 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
6805         [BZ #17725]
6806         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6807         __profil_counter.
6808         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6809         Likewise.
6810         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6811         Likewise.
6812         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6813         Likewise.
6814         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6815         (profil_counter): Likewise.
6816         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6817         (profil_counter): Likewise.
6818         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6819         Likewise.
6820         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6821         Likewise.
6822         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6823         (profil_counter): Likewise.
6824         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6825         Likewise.
6826         [!__profil_counter] (profil_counter): Define as weak alias of
6827         __profil_counter.
6828         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6829         (profil_counter): Rename to __profil_counter.
6830         [!__profil_counter] (profil_counter): Define as weak alias of
6831         __profil_counter.
6832         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6833         (profil_counter): Rename to __profil_counter.
6834         [!__profil_counter] (profil_counter): Define as weak alias of
6835         __profil_counter.
6836         * sysdeps/posix/profil.c: Update comment referring to
6837         profil_counter.
6838         (__profil): Use __profil_counter instead of profil_counter.
6839         * sysdeps/posix/sprofil.c (profil_counter): Rename to
6840         __profil_counter.  Use __profil_counter_ushort and
6841         __profil_counter_uint in definitions.
6842         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6843         instead of profil_counter_uint and profil_counter_ushort.
6845         [BZ #17722]
6846         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6847         define as weak alias of __inet_makeaddr.
6848         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6849         as weak alias of __inet_addr.
6850         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6851         as weak alias of __inet_pton.  Use libc_hidden_weak.
6852         * include/arpa/inet.h (__inet_pton): Declare.  Use
6853         libc_hidden_proto.
6854         (inet_makeaddr): Don't use libc_hidden_proto.
6855         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
6856         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6857         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
6858         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6859         Remove variable.
6860         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6861         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6863 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
6865         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6867 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6869         * stdio-common/bug-vfprintf-nargs.c (do_test):
6870         Cast value to intptr_t to avoid format warning
6871         for usage with PRIdPTR printing macro.
6873 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6875         * libio/tst-widetext.c (do_test):
6876         Use format type %td instead of %Zd for ptrdiff_t
6877         in order to avoid format warning.
6879 2014-12-17  Andreas Schwab  <schwab@suse.de>
6881         * nscd/mem.c (gc): Add size_t cast to match printf format.
6883 2014-12-16  Roland McGrath  <roland@hack.frob.com>
6885         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6886         (init): Apply PTR_MANGLE to pointers before storing them.
6887         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6888         before using them.
6890 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
6892         [BZ #17719]
6893         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6894         define as weak alias of __memrchr.
6895         (__memrchr): Do not define as strong alias of memrchr.
6896         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6897         Remove variable.
6898         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6899         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6900         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6902         [BZ #17717]
6903         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6904         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
6905         (if_indextoname): Rename to __if_indextoname and define as weak
6906         alias of __if_indextoname.  Use libc_hidden_weak.
6907         (if_freenameindex): Rename to __if_freenameindex and define as
6908         weak alias of __if_freenameindex.
6909         (if_nameindex): Rename to __if_nameindex and define as weak alias
6910         of __if_nameindex.
6911         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6912         __if_nametoindex and define as weak alias of __if_nametoindex.
6913         Use libc_hidden_weak.
6914         (if_freenameindex): Rename to __if_freenameindex and define as
6915         weak alias of __if_freenameindex.
6916         (if_nameindex): Rename to __if_nameindex and define as weak alias
6917         of __if_nameindex.
6918         (if_indextoname): Rename to __if_indextoname and define as weak
6919         alias of __if_indextoname.  Use libc_hidden_weak.
6920         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6921         __if_nametoindex and define as weak alias of __if_nametoindex.
6922         Use libc_hidden_weak.
6923         (if_freenameindex): Rename to __if_freenameindex and define as
6924         weak alias of __if_freenameindex.  Use libc_hidden_weak.
6925         (if_nameindex_netlink): Use __if_freenameindex instead of
6926         if_freenameindex.
6927         (if_nameindex): Rename to __if_nameindex and define as weak alias
6928         of __if_nameindex.  Use libc_hidden_weak.
6929         (if_indextoname): Rename to __if_indextoname and define as weak
6930         alias of __if_indextoname.  Use libc_hidden_weak.
6931         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6932         libc_hidden_proto.
6933         [!_ISOMAC] (__if_freenameindex): Likewise.
6934         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6935         if_nametoindex.
6936         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6937         variable.
6938         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6939         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6940         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6941         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6942         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6943         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6944         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6946         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6947         Remove variable.
6948         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6949         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6951 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6953         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6954         subscript above bounds'
6956         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6957         bounds.
6959 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
6961         * libio/tst-fopenloc.c: Use test-skeleton.c.
6963         * stdlib/tst-bsearch.c: Use test-skeleton.c.
6964         (entry): Rename to ITEM.
6965         (do_test, comp): Adjust.
6967         * stdio-common/tst-fseek.c: Use test-skeleton.c.
6969 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6971         * string/tester.c: Include <libc-internal.h>.
6972         (test_memset): Ignore -Wmemset-transposed-args.
6974 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6976         * misc/tst-mntent2.c (do_test): Fix warning.
6978 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6980         * elf/tst-unique4lib.cc(a): Mark as used.
6982 2014-12-16  Florian Weimer  <fweimer@redhat.com>
6984         [BZ #17630]
6985         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6986         names.
6988 2014-12-16  Allan McRae  <allan@archlinux.org>
6990         * stdio-common/Makefile (tests): Re-add bug26.
6992 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
6994         [BZ #17657]
6995         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6996         static array.
6998 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
7000         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7001         (__lll_lock_wait): Likewise.
7002         (__lll_timedlock_wait): Likewise.
7003         (__lll_timedwait_tid): Likewise.
7004         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7005         (__lll_robust_timedlock_wait): Likewise.
7006         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7007         (lll_cond_trylock): Likewise.
7008         (__lll_lock): Likewise.
7009         (__lll_robust_lock): Likewise.
7010         (__lll_cond_lock): Likewise.
7011         (lll_robust_cond_lock): Likewise.
7012         (__lll_timedlock): Likewise.
7013         (__lll_robust_timedlock): Likewise.
7014         (__lll_unlock): Likewise.
7015         (__lll_robust_unlock): Likewise.
7016         (lll_wait_tid): Likewise.
7017         (lll_timedwait_tid): Likewise.
7019 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7021         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7023 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7025         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7027 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7029         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7030         * stdio-common/tst-sprintf.c: Likewise.
7032 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7034         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7036 2014-12-15  Jeff Law  <law@redhat.com>
7038         [BZ #16617]
7039         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7040         on the heap.  (CVE-2012-3406)
7041         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7042         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
7043         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7045 2014-12-15  Will Newton  <will.newton@linaro.org>
7047         * manual/install.texi: Bump required version of texinfo
7048         to 4.7 from 4.5.
7049         * INSTALL: Regenerated.
7050         * configure.ac: Check for makeinfo version 4.7 and above.
7051         * configure: Regenerated.
7053 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7055         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7056         PREFIX, string constant to insert between directory and name.
7057         * sysdeps/posix/shm_open.c: Update caller.
7058         * sysdeps/posix/shm_unlink.c: Likewise.
7059         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7060         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7061         (SEM_SHM_PREFIX): New macro.
7062         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7063         [$(have-thread-library) = no].
7064         * nptl/Makefile (libpthread-routines): Add shm-directory.
7065         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7066         * sysdeps/nptl/shm-directory.h: New file.
7067         * sysdeps/posix/shm-directory.c
7068         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7069         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7070         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7071         INTERNAL_SYSCALL.
7072         (__where_is_shmfs): Function removed.
7073         (mountpoint, defaultmount, defaultdir, __namedsem_once):
7074         Variables removed.
7075         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7076         Use SHM_GET_NAME.
7077         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
7079         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7080         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7081         unconditional for use inside libpthread.
7082         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7084 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7086         * nptl/pthread_getaffinity.c: New file.
7087         * nptl/pthread_setaffinity.c: New file.
7088         * nptl/pthread_getname.c: New file.
7089         * nptl/pthread_setname.c: New file.
7091         * nptl/pthread_create.c (START_THREAD_DEFN)
7092         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7094 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7095             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7097         * resolv/res_send.c (send_vc): Disable warning resplen may
7098         be used uninitialized.
7100 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7102         * nptl/tst-mutex6.c
7103         (ATTR_NULL): New define checks ATTR against NULL.
7104         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7105         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7107 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
7109         [BZ #17581]
7110         * malloc/hooks.c
7111         (mem2mem_check): Revert my previous change.
7112         (malloc_check_get_size): Revert my previous change.
7113         (mem2chunk_check): Revert my previous change.
7115 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7117         * sysdeps/posix/shm-directory.c: New file.
7118         * sysdeps/posix/shm-directory.h: New file.
7119         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7120         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7121         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
7122         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7123         Transmute EPERM to EACCES.
7124         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7125         from ...
7126         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
7127         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7129 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7131         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7132         pointer and cast to uintptr_t.
7133         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7134         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7135         Add cast to avoid warning.
7136         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7138 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7140         * nptl/semaphore.h: Move to ...
7141         * sysdeps/pthread/semaphore.h: ... here.
7142         * Makefile (installed-headers): Change nptl/semaphore.h to
7143         sysdeps/pthread/semaphore.h.
7145 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7147         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7148         generated error format strings.
7150         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7151         -Wformat-extra-args warnings for scanf formats.
7152         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7153         test of zero-length format (duh).
7154         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7155         corner-case scanf format test.
7156         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7157         generated fprintf format string.
7158         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7159         corner-case sprintf format tests.
7160         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7161         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7162         -Wformat-extra-args warnings throughout.
7163         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7164         (CFLAGS-scanf4.c): Likewise.
7165         (CFLAGS-scanf7.c): Likewise.
7166         (CFLAGS-tst-sprintf.c): Likewise.
7167         (CFLAGS-tst-printf.c): Likewise.
7168         (CFLAGS-tst-printfsz.c): Likewise.
7170 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7172         * include/cpio.h: New file.
7173         * include/fmtmsg.h: Likewise.
7175         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
7176         corresponding format argument to size_t.
7177         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
7178         arguments.
7179         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
7180         corresponding format argument to size_t.
7181         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
7182         arguments.
7183         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
7184         corresponding format argument to size_t.
7185         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7186         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7187         (CFLAGS-tst-mbswcs2.c): Likewise.
7188         (CFLAGS-tst-mbswcs3.c): Likewise.
7189         (CFLAGS-tst-mbswcs4.c): Likewise.
7190         (CFLAGS-tst-mbswcs5.c): Likewise.
7191         (CFLAGS-tst-trans.c): Likewise
7193 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7195         * posix/regexbug1.c (main): Use "%s" format with regerror results,
7196         rather than assuming they won't contain any '%'s.
7198 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
7200         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7201         inhibit_loop_to_libcall to avoid recursive calls.
7202         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7203         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7205 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7207         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7208         prototype.
7210 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7212         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7213         integer value instead of boolean.
7215 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7217         * malloc/malloc.c: Fix powerof2 check.
7219 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7221         * locale/programs/locfile.h (maybe_swap_uint32):
7222         Remove inline and add unused attribute.
7224 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7226         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7227         Truncating assembler expression to a .long expression.
7229 2014-12-11  Andreas Schwab  <schwab@suse.de>
7231         * elf/rtld.c (struct map_args): Constify str member.
7232         (do_preload): Constify fname argument.
7234 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7236         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7237         constants definition.
7239 2014-12-11  Andreas Schwab  <schwab@suse.de>
7241         [BZ #16657]
7242         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7243         FORCE_ELISION instead of DO_ELISION.
7244         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7245         Remove.
7246         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7247         Likewise.
7249         * iconvdata/gconv-modules: Remove duplicate entry.
7251 2014-12-11  Will Newton  <will.newton@linaro.org>
7253         Merge gettext 0.19.3 into intl/.
7255         This involves a number of cosmetic changes to comments
7256         and ANSI function definitions and prototypes throughout
7257         all the files. The gettext copyright header is used but
7258         with the date ranges taken from the glibc copy.
7260         * NEWS: Add gettext merge to 2.21.
7261         * intl/bindtextdom.c: Switch to gettext copyright.
7262         Use ANSI definitions and prototypes.
7263         Use gl_* locking primitives rather than __libc_* ones.
7264         Use __builtin_expect rather than __glibc_likely/unlikely.
7265         * intl/dcgettext.c: Switch to gettext copyright.
7266         Use ANSI definitions and prototypes.
7267         * intl/dcigettext.c: Switch to gettext copyright.
7268         Use ANSI definitions and prototypes.
7269         (INTDIV0_RAISES_SIGFPE): New define.
7270         Use gl_* locking primitives rather than __libc_* ones.
7271         Include eval-plural.h instead of plural-eval.c.
7272         Use __builtin_expect rather than __glibc_likely/unlikely.
7273         * intl/dcngettext.c: Switch to gettext copyright.
7274         Use ANSI definitions and prototypes.
7275         * intl/dgettext.c: Likewise.
7276         * intl/dngettext.c: Likewise.
7277         * intl/plural-eval.c: Renamed to...
7278         * intl/eval-plural.h: ...this.
7279         * intl/explodename.c: Switch to gettext copyright.
7280         Use ANSI definitions and prototypes.
7281         (_nl_explode_name): Use strchr instead of __rawmemchr.
7282         * intl/finddomain.c: Switch to gettext copyright.
7283         Use ANSI definitions and prototypes.
7284         Use gl_* locking primitives rather than __libc_* ones.
7285         (_nl_find_domain): Use malloc rather than alloca for
7286         allocation of temporary locale name.
7287         * intl/gettext.c: Switch to gettext copyright.
7288         Use ANSI definitions and prototypes.
7289         * intl/gettextP.h: Switch to gettext copyright.
7290         Use ANSI definitions and prototypes.
7291         Use gl_* locking primitives rather than __libc_* ones.
7292         * intl/gmo.h: Switch to gettext copyright.
7293         (struct sysdep_string): Move struct segment_pair outside of
7294         struct definition.
7295         * intl/hash-string.c: Use ANSI definitions and prototypes.
7296         * intl/hash-string.h: Switch to gettext copyright.
7297         Use ANSI definitions and prototypes.
7298         * intl/l10nflist.c: Switch to gettext copyright.
7299         Use ANSI definitions and prototypes.
7300         (_nl_normalize_codeset): Avoid integer overflow.
7301         * intl/loadinfo.h: Switch to gettext copyright.
7302         Use ANSI definitions and prototypes.
7303         (LIBINTL_DLL_EXPORTED): New define.
7304         (PATH_SEPARATOR): New define.
7305         * intl/loadmsgcat.c: Switch to gettext copyright.
7306         * intl/localealias.c: Switch to gettext copyright.
7307         Use ANSI definitions and prototypes.
7308         (_nl_expand_alias): Use PATH_SEPARATOR.
7309         * intl/ngettext.c: Switch to gettext copyright.
7310         Use ANSI definitions and prototypes.
7311         * intl/plural-exp.c: Likewise.
7312         * intl/plural-exp.h: Switch to gettext copyright.
7313         Use ANSI definitions and prototypes.
7314         (struct expression): Move definition of enum operator outside
7315         of struct definition.
7316         * intl/plural.c: Regenerate.
7317         * intl/plural.y: Switch to gettext copyright.
7318         Use ANSI definitions and prototypes.
7319         Port to bison 3.0.
7320         * intl/textdomain.c: Switch to gettext copyright.
7321         Use ANSI definitions and prototypes.
7322         Use gl_* locking primitives rather than __libc_* ones.
7324 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
7326         * debug/warning-nop.c: Add used atrribute.
7328 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7330         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7332         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7333         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7334         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7336 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7337             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7339         [BZ #17634]
7340         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7341         Undefine after defining function.  Define as weak alias of
7342         __wcschr.  Use libc_hidden_weak.
7343         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
7344         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7345         (libc_hidden_def): Also define __GI___wcschr alias.
7346         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7347         __wcschr and define as weak alias of __wcschr.
7348         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7349         __wcschr.
7350         [!WCSCHR] (DEFAULT_WCSCHR): Define.
7351         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7352         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
7353         libc_hidden_weak.  Do not use libc_hidden_def.
7354         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7355         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7356         __GI___wcschr alias.
7357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7358         [IS_IN (libc)] (wcschr): Define as macro expanding to
7359         __redirect_wcschr.
7360         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7361         [IS_IN (libc)] (__wcschr_power6): Likewise.
7362         [IS_IN (libc)] (__wcschr_power7): Likewise.
7363         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
7364         instead of wcschr.
7365         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7366         __libc_wcschr.
7367         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7368         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7369         __wcschr and define as weak alias of __wcschr.  Use
7370         libc_hidden_builtin_def.
7371         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7372         as weak alias of __wcschr.  Use libc_hidden_weak.
7373         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7374         wcschr.
7375         * time/era.c (_nl_init_era_entries): Likewise.
7376         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7377         variable.
7378         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7379         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7381 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7383         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7384         format for long int variable.
7386 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
7388         [BZ #10672]
7389         * manual/search.texi: (Array Sort Function): Remove claim how to make
7390         qsort stable.
7392 2014-12-10  Andreas Schwab  <schwab@suse.de>
7394         [BZ #12847]
7395         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7396         user-controlled locks.
7398 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
7400         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7401         register.
7403 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7405         * configure.ac (--disable-werror): New configure option.
7406         (enable_werror): New AC_SUBST.
7407         * configure: Regenerated.
7408         * config.make.in (enable-werror): New variable.
7409         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7410         -Wno-error=undef.
7411         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7412         * manual/install.texi (Configuring and compiling): Document
7413         --disable-werror.
7414         * INSTALL: Regenerated.
7415         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7416         (CFLAGS-tst-chk2.c): Likewise.
7417         (CFLAGS-tst-chk3.c): Likewise.
7418         (CFLAGS-tst-chk4.cc): Likewise.
7419         (CFLAGS-tst-chk5.cc): Likewise.
7420         (CFLAGS-tst-chk6.cc): Likewise.
7421         (CFLAGS-tst-lfschk1.c): Likewise.
7422         (CFLAGS-tst-lfschk2.c): Likewise.
7423         (CFLAGS-tst-lfschk3.c): Likewise.
7424         (CFLAGS-tst-lfschk4.cc): Likewise.
7425         (CFLAGS-tst-lfschk5.cc): Likewise.
7426         (CFLAGS-tst-lfschk6.cc): Likewise.
7428         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7429         (main): Disable -Wdeprecated-declarations around calls to
7430         register_printf_function.
7432         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7433         (do_test): Disable -Wdiv-by-zero around some calls to
7434         fwrite_unlocked and fread_unlocked.
7436         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7437         (DIAG_POP_NEEDS_COMMENT): Likewise.
7438         (_DIAG_STR1): Likewise.
7439         (_DIAG_STR): Likewise.
7440         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7441         * stdio-common/bug21.c: Include <libc-internal.h>.
7442         (do_test): Disable -Wformat around call to sscanf.
7443         * stdio-common/scanf14.c: Include <libc-internal.h>.
7444         (main): Disable -Wformat around some calls to scanf functions.
7446 2014-12-09  Torvald Riegel  <triegel@redhat.com>
7448         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7450 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7452         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7453         stack variable alignment.
7455 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
7457         [BZ #17682]
7458         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7459         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7460         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7461         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7462         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7463         __getrlimit instead of getrlimit.
7464         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7465         __gettimeofday instead of gettimeofday.
7466         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7467         Likewise.
7468         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7469         Likewise.
7470         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7471         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7472         Remove variable.
7473         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7474         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7476 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7478         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7479         for wide-character tests.
7481 2014-12-04  Roland McGrath  <roland@hack.frob.com>
7483         * io/openat64.c: #include <libc-internal.h>
7484         (__openat64): Prototypify.  Use ignore_value on MODE.
7485         * io/openat.c: Likewise.
7486         * misc/reboot.c: #include <libc-internal.h>
7487         (reboot): Prototypify.  Use ignore_value on HOWTO.
7488         * misc/ptrace.c: #include <libc-internal.h>
7489         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
7491 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
7493         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7494         XPG4, UNIX98 and XOPEN2K.
7495         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7496         Remove variable.
7497         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7499 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7501         * libio/fileops.c: Use ISO C style for function definitions.
7502         * libio/iofopen.c: Likewise.
7503         * libio/wfileops.c: Likewise.
7505         [BZ #17653]
7506         * libio/fileops.c (_IO_new_file_underflow): Unset cached
7507         offset on EOF.
7508         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7509         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7510         (fgets_func): Function pointer to fgets and fgetws.
7511         (do_ftell_test): Add test to verify ftell value after read
7512         EOF.
7513         (do_test): Set fgets_func.
7515         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7516         O_TRUNC flag for w and w+ modes.
7517         (do_rewind_test): Likewise.
7518         (do_ftell_test): Likewise.
7519         (do_write_test): Likewise.
7521         [BZ #17647]
7522         * libio/fileops.c (do_ftell): Seek only when there are
7523         unflushed writes.
7524         * libio/wfileops.c (do_ftell_wide): Likewise.
7525         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7526         test case.
7527         (do_one_test): Call it.
7529 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
7531         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7532         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7533         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7534         Remove variable.
7535         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7536         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7537         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7539 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7541         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7542         Remove variable.
7543         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7545         [BZ #17668]
7546         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7547         as weak alias of __getifaddrs.  Use libc_hidden_weak.
7548         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7549         __freeifaddrs.  Use libc_hidden_weak.
7550         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7551         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
7552         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7553         __freeifaddrs.  Use libc_hidden_weak.
7554         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7555         __getifaddrs and define as weak alias of __getifaddrs.  Use
7556         libc_hidden_weak.
7557         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7558         __freeifaddrs.  Use libc_hidden_weak.
7559         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7560         Remove variable.
7561         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7562         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7564 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7566         [BZ #17601]
7567         * sysdeps/mips/start.S (__start): Use indirect jump to call
7568         __libc_start_main.
7570 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7572         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7574         * nptl/tst-mutex1.c: Include <stdbool.h>.
7575         [!ATTR] (ATTR_NULL): New macro.
7576         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7577         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7578         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7580         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7581         to char *.
7583         [BZ #17665]
7584         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7585         Change conditional to [__USE_MISC].
7587         [BZ #17664]
7588         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7589         fgets_unlocked.
7590         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7591         __fgets_unlocked.
7592         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7593         fgets_unlocked.
7594         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7595         Remove variable.
7596         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7597         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7598         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7599         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7600         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7601         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7602         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7603         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7604         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7606         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7608 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7610         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7611         Remove strpbrk objects.
7612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7613         (__libc_ifunc_impl_list): Remove strpbrk implementation.
7614         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7615         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7616         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7617         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7619         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7620         Remove strcspn objects.
7621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7622         (__libc_ifunc_impl_list): Remove strcspn implementation.
7623         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7624         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7625         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7626         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7628         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7629         Remove strspn objetcs.
7630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7631         (__libc_ifunc_impl_list): Remove strspn implementation.
7632         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7633         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7634         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7635         * sysdeps/powerpc/powerpc64/strspn.S: New file.
7637 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
7639         [BZ #17581]
7640         * malloc/hooks.c
7641         (mem2mem_check): Add a terminator to the chain of checking blocks.
7642         (malloc_check_get_size): Use it here.
7643         (mem2chunk_check): Ditto.
7645 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7647         * sysdeps/powerpc/powerpc64/strtok.S: New file.
7648         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7650 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
7652         * bits/ioctl-types.h: Indent preprocessor directives correctly.
7654         * nptl/nptl-init.c: Include libc-internal.h.
7655         (__pthread_initialize_minimal_internal): Use ROUND_UP.
7657         * elf/ldconfig.c (search_dir): Expand comment.
7659 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
7661         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7662         variable.
7663         (linknamespace-symlist-stdlibs-tests): Likewise.
7664         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7665         instead of $(objpfx)symlist-stdlibs.
7666         (linknamespace-libs-isoc): New variable.
7667         (linknamespace-libs): Use $(linknamespace-libs-isoc).
7668         (linknamespace-libs-ISO): New variable.
7669         (linknamespace-libs-ISO99): Likewise.
7670         (linknamespace-libs-ISO11): Likewise.
7671         (linknamespace-libs-XPG3): Likewise.
7672         (linknamespace-libs-XPG4): Likewise.
7673         (linknamespace-libs-POSIX): Likewise.
7674         (linknamespace-libs-UNIX98): Likewise.
7675         (linknamespace-libs-XOPEN2K): Likewise.
7676         (linknamespace-libs-POSIX2008): Likewise.
7677         (linknamespace-libs-XOPEN2K8): Likewise.
7678         ($(objpfx)symlist-stdlibs): Replace by
7679         $(linknamespace-symlist-stdlibs-tests).  Use
7680         $(linknamespace-libs-$*) as set of libraries.
7681         ($(linknamespace-header-tests)): Update dependencies.  Use
7682         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7683         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7684         * conform/linknamespace.pl: Remove comment about considering
7685         definitions of symbols from irrelevant libraries.
7687 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7689         [BZ #13862]
7690         * elf/dl-tls.c: Include <atomic.h>.
7691         (oom): Remove #ifdef SHARED/#endif.
7692         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7693         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
7694         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7695         big enough.
7696         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7697         * nptl/Makefile (tests): Add tst-stack4.
7698         (modules-names): Add tst-stack4mod.
7699         ($(objpfx)tst-stack4): New.
7700         (tst-stack4mod.sos): Likewise.
7701         ($(objpfx)tst-stack4.out): Likewise.
7702         ($(tst-stack4mod.sos)): Likewise.
7703         (clean): Likewise.
7704         * nptl/tst-stack4.c: New file.
7705         * nptl/tst-stack4mod.c: Likewise.
7707 2014-11-27  J. Brown  <jb999@gmx.de>
7709         * sysdeps/x86/bits/string.h: Add recent CPUs.
7711 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7713         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7714         sigblock.
7716         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7717         feof.
7719         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7720         variable.
7722 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7724         * nscd/connections.c: Include libc-internal.h because of macro
7725         usage ignore_value.
7727 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7729         * string/bits/string3.h (__warn_memset_zero_len): Don't
7730         declare for gcc newer than 5.0.
7731         (memset): Don't test for zero-length __LEN for gcc newer than
7732         5.0.
7734 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7736         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7737         size_t for %zu format.
7739         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7740         difference, not %ju.
7742 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7744         * include/libc-internal.h (ignore_value): New macro.
7745         * nscd/connections.c (restart): Wrap calls to setuid and setgid
7746         with ignore_value.
7748         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7749         definition.
7751         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7752         pthread_cleanup_push to void *.
7754         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7755         Undefine.
7757         [BZ #16619]
7758         [BZ #16740]
7759         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7760         instead of 1L << 52.
7762         * libio/bug-rewind.c (do_test): Check fwscanf return values.
7763         * libio/bug-rewind2.c (do_test): Likewise.
7765         * debug/test-stpcpy_chk-ifunc.c: Remove file.
7766         * debug/test-strcpy_chk-ifunc.c: Likewise.
7767         * wcsmbs/test-wcschr-ifunc.c: Likewise.
7768         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7769         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7770         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7771         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7772         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7773         * Rules [$(multi-arch) = no] (tests): Do not filter out
7774         $(tests-ifunc).
7775         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7776         * debug/Makefile (tests-ifunc): Remove variable.
7777         (tests): Do not add $(tests-ifunc).
7778         * wcsmbs/Makefile (tests-ifunc): Remove variable.
7779         (tests): Do not add $(tests-ifunc).
7780         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7781         [TEST_IFUNC]: Remove conditionals.
7782         * string/test-string.h (TEST_IFUNC): Remove macro.
7783         [TEST_IFUNC]: Remove conditionals.
7785         * string/test-strchr.c [!WIDE] (L): New macro.
7786         [WIDE] (L): Likewise.
7787         (check1): Use CHAR instead of char.  Use L on string and character
7788         constants.
7790 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
7792         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7793         tests.
7794         * sysdeps/powerpc/bits/atomic.h
7795         (__arch_atomic_exchange_and_add_32_acq): Add definition.
7796         (__arch_atomic_exchange_and_add_32_rel): Likewise.
7797         (atomic_exchange_and_add_acq): Likewise.
7798         (atomic_exchange_and_add_rel): Likewise.
7799         * sysdeps/powerpc/powerpc32/bits/atomic.h
7800         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7801         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7802         * sysdeps/powerpc/powerpc64/bits/atomic.h
7803         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7804         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7806 2014-11-26  Torvald Riegel  <triegel@redhat.com>
7808         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7809         Change synchronization of __sched_fifo_min_prio and
7810         __sched_fifo_max_prio.
7811         * nptl/pthread_mutexattr_getprioceiling.c
7812         (pthread_mutexattr_getprioceiling): Likewise.
7813         * nptl/pthread_mutexattr_setprioceiling.c
7814         (pthread_mutexattr_setprioceiling): Likewise.
7815         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7816         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7817         Likewise.
7819 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7821         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7822         void.
7824 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7826         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7827         third argument const.
7829 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
7831         fnmatch: work around GCC compiler warning bug with uninit var
7832         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7833         This works around a bug with x86-64 GCC 4.9.2 and earlier
7834         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7835         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7836         used uninitialized in this function [-Wmaybe-uninitialized]".
7838 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7840         * posix/bug-regex31.c (main): Return RES not 0.
7842 2014-11-25  Anton Blanchard <anton@samba.org>
7844         * sysdeps/powerpc/bits/atomic.h
7845         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7847 2014-11-24  Sterling Augustine  <saugustine@google.com>
7849         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7851 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
7853         [BZ #17608]
7854         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7856 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
7858         [BZ #17633]
7859         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7860         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7861         variable.
7862         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7863         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7865 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7867         * string/strncpy.c (strncpy): Improve performance by using memset.
7869 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7871         * string/strcpy.c (strcpy):
7872         Improve performance by using strlen and memcpy.
7874 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
7876         * string/strcoll_l.c (get_next_seq): __always_inline.
7877         * string/strcoll_l.c (do_compare): __always_inline.
7879 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7881         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7882         defined.
7883         * include/mqueue.h: Likewise.
7884         * include/stdlib.h: Likewise.
7886         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7887         (get_null_defines): Adjust.
7888         * sunrpc/Makefile: Adjust comment.
7889         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7890         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7891         (CFLAGS-interp.c): Likewise.
7892         (CFLAGS-ldconfig.c): Likewise.
7893         (CPPFLAGS-.os): Likewise.
7894         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7895         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7896         * extra-modules.mk (extra-modules.mk): Likewise.
7897         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7898         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7899         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7900         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7901         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7902         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7903         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7904         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7905         * iconvdata/Makefile (CPPFLAGS): Likewise.
7906         (cpp-srcs-left): Add libof for all iconvdata routines.
7907         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7908         * include/assert.h: Likewise.
7909         * include/ctype.h: Likewise.
7910         * include/errno.h: Likewise.
7911         * include/libc-symbols.h: Likewise.
7912         * include/math.h: Likewise.
7913         * include/netdb.h: Likewise.
7914         * include/resolv.h: Likewise.
7915         * include/stdio.h: Likewise.
7916         * include/stdlib.h: Likewise.
7917         * include/string.h: Likewise.
7918         * include/sys/stat.h: Likewise.
7919         * include/wctype.h: Likewise.
7920         * intl/l10nflist.c: Likewise.
7921         * libidn/idn-stub.c: Likewise.
7922         * libio/libioP.h: Likewise.
7923         * nptl/libc_multiple_threads.c: Likewise.
7924         * nptl/pthreadP.h: Likewise.
7925         * posix/regex_internal.h: Likewise.
7926         * resolv/res_hconf.c: Likewise.
7927         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7928         * sysdeps/arm/memmove.S: Likewise.
7929         * sysdeps/arm/sysdep.h: Likewise.
7930         * sysdeps/generic/_itoa.h: Likewise.
7931         * sysdeps/generic/symbol-hacks.h: Likewise.
7932         * sysdeps/gnu/errlist.awk: Likewise.
7933         * sysdeps/gnu/errlist.c: Likewise.
7934         * sysdeps/i386/i586/memcpy.S: Likewise.
7935         * sysdeps/i386/i586/memset.S: Likewise.
7936         * sysdeps/i386/i686/memcpy.S: Likewise.
7937         * sysdeps/i386/i686/memmove.S: Likewise.
7938         * sysdeps/i386/i686/mempcpy.S: Likewise.
7939         * sysdeps/i386/i686/memset.S: Likewise.
7940         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7941         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7942         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7943         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7944         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7945         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7946         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7947         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7948         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7949         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7950         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7951         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7952         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7953         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7954         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7955         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7956         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7957         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7958         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7959         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7960         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7961         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7962         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7963         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7964         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7965         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7966         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7967         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7968         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7969         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7970         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7971         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7972         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7973         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7974         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7975         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7976         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7977         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7978         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7979         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7980         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7981         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7982         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7983         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7984         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7985         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7986         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7987         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7988         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7989         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7990         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7991         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7992         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7993         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7994         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7995         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7996         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7997         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7998         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7999         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8000         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8001         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8002         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8003         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8004         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8005         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8006         * sysdeps/posix/closedir.c: Likewise.
8007         * sysdeps/posix/opendir.c: Likewise.
8008         * sysdeps/posix/readdir.c: Likewise.
8009         * sysdeps/posix/rewinddir.c: Likewise.
8010         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8011         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8012         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8013         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8014         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8015         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8016         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8017         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8019         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8020         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8021         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8022         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8023         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8024         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8025         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8026         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8027         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8028         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8029         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8030         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8031         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8032         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8033         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8034         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8035         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8036         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8037         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8038         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8040         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8045         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8046         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8047         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8048         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8049         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8050         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8051         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8052         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8053         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8054         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8055         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8056         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8057         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8058         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8059         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8060         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8061         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8062         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8063         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8064         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8065         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8066         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8067         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8068         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8069         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8070         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8071         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8072         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8073         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8074         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8075         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8076         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8077         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8078         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8079         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8080         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8081         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8082         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8083         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8084         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8085         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8086         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8087         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8088         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8089         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8090         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8091         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8092         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8093         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8094         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8095         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8096         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8097         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8098         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8099         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8100         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8101         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8102         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8103         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8104         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8105         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8106         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8107         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8108         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8109         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8110         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8111         * sysdeps/unix/alpha/sysdep.S: Likewise.
8112         * sysdeps/unix/alpha/sysdep.h: Likewise.
8113         * sysdeps/unix/make-syscalls.sh: Likewise.
8114         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8115         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8116         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8117         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8118         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8119         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8120         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8121         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8122         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8123         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8124         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8125         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8126         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8127         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8128         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8129         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8130         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8131         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8132         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8133         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8134         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8135         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8136         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8137         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8138         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8139         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8140         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8143         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8144         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8145         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8146         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8147         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8148         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8149         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8150         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8151         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8152         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8153         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8154         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8155         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8156         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8157         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8158         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8159         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8160         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8161         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8162         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8163         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8164         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8165         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8166         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8167         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8168         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8169         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8170         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8171         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8172         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8173         * sysdeps/x86_64/memcpy.S: Likewise.
8174         * sysdeps/x86_64/memmove.c: Likewise.
8175         * sysdeps/x86_64/memset.S: Likewise.
8176         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8177         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8178         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8179         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8180         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8181         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8182         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8183         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8184         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8185         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8186         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8187         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8188         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8189         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8190         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8191         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8192         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8193         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8194         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8195         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8196         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8197         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8198         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8199         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8200         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8201         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8202         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8203         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8204         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8205         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8206         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8207         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8208         * sysdeps/x86_64/strcmp.S: Likewise.
8210         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8212         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8213         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8214         * elf/rtld-Rules: Likewise.
8215         * elf/setup-vdso.h: Likewise.
8216         * include/assert.h: Likewise.
8217         * include/bits/stdlib-float.h: Likewise.
8218         * include/errno.h: Likewise.
8219         * include/sys/stat.h: Likewise.
8220         * include/unistd.h: Likewise.
8221         * sysdeps/aarch64/setjmp.S: Likewise.
8222         * sysdeps/alpha/setjmp.S: Likewise.
8223         * sysdeps/arm/__longjmp.S: Likewise.
8224         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8225         * sysdeps/arm/setjmp.S: Likewise.
8226         * sysdeps/arm/sysdep.h: Likewise.
8227         * sysdeps/generic/_itoa.h: Likewise.
8228         * sysdeps/generic/dl-sysdep.h: Likewise.
8229         * sysdeps/generic/ldsodefs.h: Likewise.
8230         * sysdeps/i386/dl-tls.h: Likewise.
8231         * sysdeps/i386/setjmp.S: Likewise.
8232         * sysdeps/m68k/setjmp.c: Likewise.
8233         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8234         * sysdeps/mach/hurd/opendir.c: Likewise.
8235         * sysdeps/posix/getcwd.c: Likewise.
8236         * sysdeps/posix/opendir.c: Likewise.
8237         * sysdeps/posix/profil.c: Likewise.
8238         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8239         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8240         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8241         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8242         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8243         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8244         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8245         * sysdeps/s390/dl-tls.h: Likewise.
8246         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8247         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8248         * sysdeps/sh/sh3/setjmp.S: Likewise.
8249         * sysdeps/sh/sh4/setjmp.S: Likewise.
8250         * sysdeps/unix/alpha/sysdep.h: Likewise.
8251         * sysdeps/unix/arm/sysdep.S: Likewise.
8252         * sysdeps/unix/i386/sysdep.S: Likewise.
8253         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8254         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8255         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8256         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8257         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8258         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8259         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8260         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8261         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8262         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8263         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8264         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8265         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8268         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8269         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8270         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8271         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8272         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8273         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8274         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8275         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8276         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8277         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8278         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8280         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8281         * sysdeps/x86_64/setjmp.S: Likewise.
8283         * include/math.h: Use IS_IN instead of IS_IN_libm.
8284         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8285         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8286         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8287         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8288         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8289         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8290         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8291         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8292         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8293         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8294         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8295         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8296         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8297         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8298         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8299         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8300         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8301         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8302         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8303         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8304         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8305         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8306         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8307         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8308         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8309         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8310         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8311         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8312         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8313         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8314         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8315         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8316         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8318         Likewise.
8319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8320         Likewise.
8321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8322         Likewise.
8323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8324         Likewise.
8325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8326         Likewise.
8327         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8328         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8329         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8330         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8331         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8332         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8338         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8339         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8340         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8341         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8342         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8343         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8344         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8345         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8346         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8347         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8348         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8349         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8350         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8351         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8353         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8355         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8356         * nptl/pthreadP.h: Likewise.
8357         * nptl_db/structs.def: Likewise.
8358         * sysdeps/arm/sysdep.h: Likewise.
8359         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8360         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8361         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8362         * sysdeps/unix/alpha/sysdep.h: Likewise.
8363         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8364         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8365         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8366         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8367         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8368         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8369         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8370         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8371         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8372         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8373         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8374         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8375         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8376         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8379         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8380         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8381         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8382         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8383         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8384         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8385         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8386         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8387         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8388         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8390         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8391         * nptl/pthreadP.h: Likewise.
8392         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8393         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8394         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8395         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8396         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8397         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8398         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8399         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8400         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8401         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8402         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8403         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8405         Likewise.
8406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8407         Likewise.
8408         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8409         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8410         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8411         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8412         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8413         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8414         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8415         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8417         * dlfcn/dladdr.c: Use IS_IN.
8418         * dlfcn/dladdr1.c: Likewise.
8419         * dlfcn/dlclose.c: Likewise.
8420         * dlfcn/dlerror.c: Likewise.
8421         * dlfcn/dlinfo.c: Likewise.
8422         * dlfcn/dlmopen.c: Likewise.
8423         * dlfcn/dlopen.c: Likewise.
8424         * dlfcn/dlsym.c: Likewise.
8425         * dlfcn/dlvsym.c: Likewise.
8427         * include/ifaddrs.h: Use IS_IN.
8428         * inet/check_pf.c: Likewise.
8429         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8430         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8432         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8433         IS_IN_ldconfig.
8434         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8435         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8437         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8438         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8439         IS_IN (libc).
8441         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8443         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8444         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8445         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8446         * include/libc-symbols.h (IS_IN_LIB): New macro.
8447         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8448         * include/netdb.h: Likewise.
8449         * include/stap-probe.h: Remove all uses of IN_LIB.
8451         * Makeconfig (module-cppflags-real): Define MODULE_NAME
8452         instead of IN_MODULE.
8453         * include/libc-symbols.h (IN_MODULE): Define using
8454         MODULE_NAME.
8455         (PASTE_NAME, PASTE_NAME1): New macros.
8456         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8457         of IN_LIB.
8458         (STAP_PROBE_ASM): Likewise.
8460 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8462         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8463         __mach_init in dlopened libc.
8465 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
8467         * sysdeps/arm/preconfigure.ac: Delete EABI check.
8468         * sysdeps/arm/preconfigure: Regenerate.
8470 2014-11-21  Roland McGrath  <roland@hack.frob.com>
8472         * nptl/pthread_create.c (__pthread_create_2_1): Set
8473         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8474         when copying values from IATTR into PD.
8476 2014-11-21  Will Newton  <will.newton@linaro.org>
8477             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8479         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8480         Refactor inline-asm.  Also add comment.
8482         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8483         ElfW macro instead of hardcoded Elf64 types.
8484         (la_aarch64_gnu_pltenter): Likewise.
8485         * sysdeps/aarch64/dl-machine.h
8486         (elf_machine_runtime_setup): Use ElfW(Addr).
8488         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8489         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8490         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8491         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8492         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8493         (R_AARCH64_TLS_DTPMOD64): Rename to ..
8494         (R_AARCH64_TLS_DTPMOD): This.
8495         (R_AARCH64_TLS_DTPREL64): Rename to ...
8496         (R_AARCH64_TLS_DTPREL): This.
8497         (R_AARCH64_TLS_TPREL64): Rename to ...
8498         (R_AARCH64_TLS_TPREL): This.
8499         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8500         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8501         R_AARCH64_TLS_TPREL64.
8502         (elf_machine_rela): Likewise.
8504 2014-11-21  Torvald Riegel  <triegel@redhat.com>
8506         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8507         by setting it to 0.  64b atomics are not supported currently.
8509 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8511         [BZ #16469]
8512         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8513         search domain names.
8515 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8517         [BZ #16469]
8518         * NEWS: Update.
8519         * resolv/res_query.c (__libc_res_nquerydomain): Retain
8520         trailing dot.
8521         * posix/tst-getaddrinfo5.c: New.
8522         * posix/Makefile (tests): Add it.
8524 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8526         [BZ #14498]
8527         * NEWS: Fixed.
8528         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8529         after parsing line but before break_if_match.
8530         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8531         if there is a protocol mismatch.
8533 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8535         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8536         because the potential race is on the user-supplied stream.
8538 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8540         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8541         string literal if not passed a buffer.
8542         * manual/job.texi (ctermid): Update reasoning, note deviation
8543         from posix, suggest mtasurace when not passed a buffer, for
8544         future non-preliminary safety notes.
8546 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8548         * manual/users.texi (cuserid): Fix MT-Safety note for the case
8549         of not passing it a buffer.
8550         Reported by Peng Haitao.
8552 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8554         * manual/Makefile ($(objpfx)stamp-summary): Require
8555         check-safety.sh to pass.
8556         * manual/check-safety.sh: Wish for verification that every
8557         @deftypefn and @deftypefun is followed by a @safety remark.
8559 2014-11-20  Roland McGrath  <roland@hack.frob.com>
8561         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8563         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8564         PTHREAD_CANCEL_ASYNCHRONOUS.
8565         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8566         send SIGCANCEL.
8568         * nptl/default-sched.h: New file.
8569         * sysdeps/unix/sysv/linux/default-sched.h: New file.
8570         * nptl/pthread_create.c: Include it.
8571         (__pthread_create_2_1): Use collect_default_sched instead of making
8572         Linux syscalls here directly.
8574 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8576         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8577         __pthread_once): Use C11 atomics.
8579 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8581         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8583 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8585         * include/atomic.h (__atomic_link_error, __atomic_check_size,
8586         atomic_thread_fence_acquire, atomic_thread_fence_release,
8587         atomic_thread_fence_seq_cst, atomic_load_relaxed,
8588         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8589         atomic_compare_exchange_weak_relaxed,
8590         atomic_compare_exchange_weak_acquire,
8591         atomic_compare_exchange_weak_release,
8592         atomic_exchange_acquire, atomic_exchange_release,
8593         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8594         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8595         atomic_fetch_and_acquire,
8596         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8598 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8600         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8601         USE_ATOMIC_COMPILER_BUILTINS): Define.
8602         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8603         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8604         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8605         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8606         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8607         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8608         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8609         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8610         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8611         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8612         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8613         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8614         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8615         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8616         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8617         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8618         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8619         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8620         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8621         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8622         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8623         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8624         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8625         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8626         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8627         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8628         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8629         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8630         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8631         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8632         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8633         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8634         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8635         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8636         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8637         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8638         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8639         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8640         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8641         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8643 2014-11-19  Roland McGrath  <roland@hack.frob.com>
8645         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8646         the sched_priority value here.  It was already checked when the user
8647         called pthread_attr_setschedparam.
8649         * nptl/tst-bad-schedattr.c: New file.
8650         * nptl/Makefile (tests): Add it.
8652 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
8653             Florian Weimer  <fweimer@redhat.com>
8654             Joseph Myers  <joseph@codesourcery.com>
8655             Adam Conrad  <adconrad@0c3.net>
8656             Andreas Schwab  <schwab@suse.de>
8657             Brooks  <bmoses@google.com>
8659         [BZ #17625]
8660         * wordexp-test.c (__dso_handle): Add prototype.
8661         (__register_atfork): Likewise.
8662         (__app_register_atfork): New function.
8663         (registered_forks): New global.
8664         (register_fork): New function.
8665         (test_case): Add 3 new tests for WRDE_CMDSUB.
8666         (main): Call __app_register_atfork.
8667         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8668         fork count is non-zero fail the test.
8669         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8670         is set.
8671         (parse_dollars): Remove check for WRDE_NOCMD.
8672         (parse_dquote): Likewise.
8674 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8676         * Makeconfig (built-modules): List non-library modules to be
8677         built.
8678         (module-cppflags): Include libc-modules.h for
8679         everything except shlib-versions.v.i.
8680         (CPPFLAGS): Use it.
8681         (before-compile): Add libc-modules.h.
8682         ($(common-objpfx)libc-modules.h,
8683         $(common-objpfx)libc-modules.stmp): New targets.
8684         (common-generated): Add libc-modules.h and libc-modules.stmp.
8685         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8686         * include/libc-symbols.h: Don't include libc-modules.h.
8687         * include/libc-modules.h: Remove file.
8688         * scripts/gen-libc-modules.awk: New script to generate
8689         libc-modules.h.
8690         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8691         Depend on libc-modules.stmp.
8693         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8695         * Makeconfig (in-module): Get value of libof set for the
8696         translation unit.
8697         (CPPFLAGS): Use $(in-module).
8698         * Makerules: Don't suffix routine names for nonlib.
8699         * include/libc-modules.h: New file.
8700         * include/libc-symbols.h: Include libc-modules.h
8701         (IS_IN): New macro to replace IS_IN_* macros.
8702         * elf/Makefile: Set libof-* for each routine.
8703         * elf/rtld-Rules: Likewise.
8704         * extra-modules.mk: Likewise.
8705         * iconv/Makefile: Likewise.
8706         * iconvdata/Makefile: Likewise.
8707         * locale/Makefile: Likewise.
8708         * malloc/Makefile: Likewise.
8709         * nss/Makefile: Likewise.
8710         * sysdeps/gnu/Makefile: Likewise.
8711         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8712         * sysdeps/unix/sysv/linux/Makefile: Likewise.
8713         * sysdeps/s390/s390-64/Makefile: Likewise.
8714         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
8715         CPPFLAGS for nscd instead of nonlib.
8717 2014-11-18  Roland McGrath  <roland@hack.frob.com>
8719         * nptl/createthread.c: New file.
8721         * nptl/createthread.c: Moved ...
8722         * sysdeps/unix/sysv/linux/createthread.c: ... here.
8724         * nptl/createthread.c: Add proper top-line comment.
8725         (do_clone): Folded into ...
8726         (create_thread): ... here.  Take new arguments STOPPED_START and
8727         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
8728         increment __nptl_threads, do event-reporting logic, do
8729         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8730         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
8731         resource cleanup if sched_setaffinity or sched_setscheduler fails,
8732         just send SIGCANCEL.
8733         * nptl/pthread_create.c: Forward-declare create_thread before
8734         including createthread.c.
8735         (start_thread): Use new macro START_THREAD_DEFN to replace defining
8736         declaration, and new macro START_THREAD_SELF to replace argument.
8737         Remove return statement.
8738         (report_thread_creation): New function.
8739         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
8740         synchronization logic, and __nptl_nthreads increment here, around
8741         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
8742         PD->parent_cancelhandling here, before create_thread.  When
8743         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8744         __deallocate_stack, and ENOMEM translation here.
8746 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
8748         [BZ #17616]
8749         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8750         (mptwo): Rename to __mptwo.
8751         (__inv): Use __mptwo instead of mptwo.
8752         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8753         (mptwo): Rename to __mptwo.
8754         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8755         of mpone and __mptwo instead of mptwo.
8756         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8757         instead of mpone.
8758         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8759         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8760         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8761         of mpone and __mptwo instead of mptwo.
8762         (__mpranred): Use __mpone instead of mpone.
8763         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8764         variable.
8765         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8766         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8767         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8768         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8769         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8770         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8771         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8772         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8773         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8774         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8775         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8776         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8777         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8778         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8779         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8780         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8781         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8782         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8783         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8785 2014-11-18  Tom de Vries  <tom@codesoucery.com>
8787         * manual/signal.texi (Primitives Interrupted by Signals): In section,
8788         replace BSD Handler xref with BSD Signal Handling.
8790 2014-11-17  Richard Henderson  <rth@redhat.com>
8792         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8793         (_FP_PACK_RAW_2): Remove.
8794         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8795         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8796         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8797         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8798         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8799         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8800         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8801         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8802         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8803         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8804         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8805         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8806         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8807         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8808         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8809         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8811 2014-11-14  Roland McGrath  <roland@hack.frob.com>
8813         * signal/signal.h [__USE_MISC]
8814         (struct sigvec): Remove type.
8815         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8816         (sigvec): Remove declaration.
8817         * sysdeps/posix/sigvec.c: Moved ...
8818         * signal/sigvec.c: ... here, replacing old file.
8819         (struct sigvec): New type, copied from old signal.h definition.
8820         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8821         (__sigvec): Convert definition to prototype.
8822         (sigvec): Replace weak_alias with compat_symbol.
8823         * signal/Versions (libc: GLIBC_2.21): New version set.
8824         * include/signal.h: Remove __sigvec declaration.
8825         * sysdeps/unix/bsd/sigvec.c: Remove file.
8826         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8827         * manual/signal.texi (BSD Handler): Remove subsection.
8828         Move siginterrupt up to ...
8829         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
8830         (Blocking in BSD): Fold subsection into its parent.
8831         * NEWS: Mention sigvec removal.
8833 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8835         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8836         (DLA_FMS): Make definition conditional only on [__FMA4__].
8837         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8838         definition.
8840         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8841         Make definition conditional only on [PROF].
8842         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8843         definition.
8844         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8845         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8847         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8848         !__GNUC__].
8849         * include/signal.h (__sigpause): Move declaration above call to
8850         libc_hidden_proto.
8851         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8852         variable.
8853         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8854         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8856 2014-11-14  David S. Miller  <davem@davemloft.net>
8858         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8859         Define before including <string/memcpy.c> and <string/mempcpy.c>.
8861 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8863         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8864         * configure: Regenerated.
8865         * manual/install.texi (Tools for Compilation): Document a
8866         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8867         compiler verified to work.
8868         * INSTALL: Regenerated.
8870         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8871         redeclare with asm name.
8872         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8873         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8874         including <string.h>.
8875         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8876         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8877         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8878         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8879         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8880         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8881         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8883 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
8885         * stdlib/strtol.c (__strtol): Use prototype definition.
8887         [BZ #17594]
8888         * stdlib/strtol.c (SYM__): New macro.
8889         (SYM__1): Likewise.
8890         (__strtol): Likewise.
8891         (strtol): Rename to __strtol and define as weak alias of
8892         __strtol.  Use libc_hidden_weak.
8894 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8896         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8897         Use numbered labels in inline assembly.
8899 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8901         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8902         Add setjmp LIBC_PROBE.
8903         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8904         Likewise.
8905         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8906         Add longjmp, longjmp_target LIBC_PROBE.
8907         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8908         Likewise.
8910 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8912         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8913         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8914         to get rid of unused variable warning.
8916 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8918         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8919         Check for unwind_backtrace ==  NULL only in SHARED case.
8920         (__backchain_backtrace): Compile only in SHARED case.
8921         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8922         Likewise.
8923         (__backchain_backtrace): Declare as static.
8925 2014-11-12  Roland McGrath  <roland@hack.frob.com>
8927         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8928         (__libc_multiple_threads_ptr): Variable moved ...
8929         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8931 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
8933         * conform/GlibcConform.pm: New file.
8934         * conform/conformtest.pl: Use GlibcConform module.
8935         * conform/linknamespace.pl: New file.
8936         * conform/list-header-symbols.pl: Likewise.
8937         * conform/Makefile (linknamespace-symlists-base): New variable.
8938         (linknamespace-symlists-tests): Likewise.
8939         (linknamespace-header-base): Likewise.
8940         (linknamespace-header-tests): Likewise.
8941         (tests-special): Add new tests.
8942         ($(linknamespace-symlists-tests)): New rule.
8943         (linknamespace-libs): New variable.
8944         ($(objpfx)symlist-stdlibs): New rule.
8945         ($(linknamespace-header-tests)): Likewise.
8946         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8947         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8948         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8949         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8950         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8951         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8952         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8953         (test-xfail-ISO/math.h/linknamespace): Likewise.
8954         (test-xfail-ISO/signal.h/linknamespace): Likewise.
8955         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8956         (test-xfail-ISO/time.h/linknamespace): Likewise.
8957         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8958         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8959         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8960         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8961         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8962         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8963         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8964         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8965         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8966         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8967         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8968         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8969         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8970         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8971         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8972         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8973         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8974         (test-xfail-XPG3/search.h/linknamespace): Likewise.
8975         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8976         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8977         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8978         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8979         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8980         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8981         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8982         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8983         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8984         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8985         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8986         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8987         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8988         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8989         (test-xfail-XPG4/search.h/linknamespace): Likewise.
8990         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8991         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8992         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8993         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8994         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8995         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8996         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8997         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8998         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8999         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9000         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9001         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9002         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9003         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9004         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9005         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9006         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9007         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9008         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9009         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9010         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9011         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9012         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9013         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9014         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9015         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9016         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9017         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9018         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9019         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9020         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9021         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9022         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9023         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9024         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9025         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9026         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9027         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9028         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9029         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9030         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9031         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9032         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9033         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9034         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9035         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9036         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9037         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9038         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9039         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9040         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9041         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9042         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9043         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9044         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9045         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9046         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9047         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9048         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9049         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9050         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9051         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9052         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9053         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9054         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9055         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9056         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9057         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9058         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9059         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9060         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9061         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9062         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9063         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9064         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9065         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9066         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9067         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9068         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9069         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9070         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9071         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9072         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9073         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9074         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9075         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9076         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9077         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9078         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9079         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9080         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9081         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9082         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9083         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9084         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9085         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9086         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9087         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9088         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9089         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9090         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9091         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9092         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9093         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9094         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9095         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9096         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9097         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9098         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9099         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9100         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9101         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9102         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9103         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9104         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9105         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9106         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9108         [BZ #17589]
9109         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9110         of fgets_unlocked.
9112         [BZ #17585]
9113         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9114         (memmem): Rename to __memmem and define as weak alias of
9115         __memmem.  Use libc_hidden_weak.
9116         (__memmem): Use libc_hidden_def.
9117         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
9118         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9119         memmem.
9121         [BZ #17582]
9122         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9123         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
9124         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9125         and define as weak alias of __fgets_unlocked.  Use
9126         libc_hidden_weak.
9127         (__fgets_unlocked): Use libc_hidden_def.
9128         * include/stdio.h (__fgets_unlocked): Declare.  Use
9129         libc_hidden_proto.
9130         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9131         __fgets_unlocked instead of fgets_unlocked.
9132         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9133         (GET_NPROCS_CONF_PARSER): Likewise.
9134         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9135         (GET_NPROCS_CONF_PARSER): Likewise.
9137         [BZ #17574]
9138         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9139         weak alias of __wmemset.  Use libc_hidden_weak.
9140         (__wmemset): Use libc_hidden_def.
9141         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
9142         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9143         of wmemset.
9145         [BZ #17573]
9146         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9147         with asm name __mempcpy.
9148         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9150         [BZ #17572]
9151         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9152         and define as weak alias of __rawmemchr.
9153         (__rawmemchr): Do not define as strong alias of rawmemchr.
9155         [BZ #17571]
9156         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9157         alias of __qsort_r.
9158         (qsort): Call __qsort_r instead of qsort_r.
9159         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9160         (__qsort_r): Declare.  Call libc_hidden_proto.
9161         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9162         instead of qsort_r.
9163         * nscd/gai.c (__qsort_r): Define to qsort_r.
9164         * posix/tst-rfc3484.c (__qsort_r): Likewise.
9165         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9166         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9168         [BZ #17570]
9169         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9170         define as weak alias of __malloc_info.
9172         [BZ #17584]
9173         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9174         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9175         (__rewinddir): Use libc_hidden_def.
9176         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9177         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9178         (__rewinddir): Use libc_hidden_def.
9179         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9180         weak alias of __rewinddir.  Don't use libc_hidden_def.
9181         (__rewinddir): Use libc_hidden_def.
9182         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9183         (__rewinddir): Use libc_hidden_proto.
9184         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9185         rewinddir.
9186         (__getcwd): Use __rewinddir instead of rewinddir.
9188         [BZ #17583]
9189         * libio/fileno.c (fileno): Rename to __fileno and define as weak
9190         alias of __fileno.  Use libc_hidden_weak.
9191         (__fileno): Use libc_hidden_def.
9192         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9193         * libio/ftello.c (ftello): Rename to __ftello and define as weak
9194         alias of __ftello.
9195         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9196         __ftello.
9197         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9198         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
9199         libc_hidden_def.
9200         (fread_unlocked): Don't use libc_hidden_ver.
9201         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9202         and define as weak alias of __fread_unlocked.  Don't use
9203         libc_hidden_def.
9204         (__fread_unlocked): Use libc_hidden_def.
9205         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
9206         (ftello): Don't use libc_hidden_proto.
9207         (__ftello): Declare.  Use libc_hidden_proto.
9208         (fread_unlocked): Don't use libc_hidden_proto.
9209         (__fread_unlocked): Declare.  Use libc_hidden_proto.
9210         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9211         and __ftello instead of fileno, fread_unlocked and ftello.
9213 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9215         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9216         GOT12.
9217         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9218         Likewise.
9219         (_dl_start_user): Likewise.
9220         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9222 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
9223             Siddhesh Poyarekar  <siddhesh@redhat.com>
9225         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9226         Move argv and envp down instead of moving argc up.
9227         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9229 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
9231         [BZ #17506]
9232         * test-skeleton.c (main): Return successful if one of
9233         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9234         * string/tst-strcoll-overflow.c: Define expected status.
9236 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
9238         [BZ #17475]
9239         * locale/iso-639.def: Define Bhili and Tulu language codes.
9241 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
9243         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9245 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
9247         [BZ #17555]
9248         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9250 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9252         * configure.ac: Updated check of minimal required version to
9253         2.22.
9254         * manual/install.texi (Tools for Compilation): Updated version
9255         number.
9256         * configure: Regenerated.
9257         * INSTALL: Likewise.
9259 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
9261         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9262         __tls_get_addr.
9264 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
9266         * include/sys/wait.h (__libc_waitpid): Remove declaration.
9267         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9268         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9269         libc_hidden_weak.
9270         (waitpid): Define as alias of __waitpid.
9271         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9272         __waitpid.
9273         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9274         libc_hidden_weak.
9275         (waitpid): Define as alias of __waitpid.
9276         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9277         __libc_waitpid alias.
9278         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9279         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9280         Likewise.
9281         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9282         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9283         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9284         alias.
9285         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9286         __waitpid.
9287         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9288         libc_hidden_weak.
9289         (waitpid): Define as alias of __waitpid.
9291 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
9293         * manual/llio.texi: Add comment that write safety has been
9294         fixed in Linux.
9296         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9297         (localplt-build-dso): Add elf/ld.so.
9298         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9299         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9300         and free for ld.so.
9301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9302         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9304         Likewise.
9305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9306         Likewise.
9307         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9308         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9309         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9310         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9311         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9312         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9313         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9314         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9315         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9316         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9317         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9319 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
9321         [BZ #14132]
9322         * include/libc-symbols.h (INTUSE): Remove macro.
9323         (INTDEF): Likewise.
9324         (INTVARDEF): Likewise.
9325         (_INTVARDEF): Likewise.
9326         (INTDEF2): Likewise.
9327         (INTVARDEF2): Likewise.
9328         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9329         rtld_hidden_def instead of INTVARDEF.
9330         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9331         (_dl_starting_up_internal): Remove declaration.
9332         (_dl_starting_up): Use rtld_hidden_proto.
9333         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9334         declaration.
9335         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9336         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9337         _dl_starting_up.
9338         * elf/dl-writev.h (_dl_writev): Likewise.
9339         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9340         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9341         _dl_starting_up_internal.
9343 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9345         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9346         test-skeleton.c.
9348 2014-11-05  Will Newton  <will.newton@linaro.org>
9350         * benchtests/Makefile: (bench-malloc): Add malloc thread
9351         scalability benchmark.
9352         * benchtests/bench-malloc-threads.c: New file.
9354 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
9356         * sysdeps/aarch64/strchrnul.S: New file.
9358 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9360         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9361         definition.
9362         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9363         Likwise.
9364         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9365         Likewise.
9366         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9367         Likewise.
9368         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9369         Likewise.
9370         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9371         Likewise.
9373 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
9375         * catgets/test-gencat.c: Use test-skeleton.c.
9376         * catgets/tst-catgets.c: Likewise.
9377         * csu/tst-empty.c: Likewise.
9378         * elf/tst-audit2.c: Likewise.
9379         * elf/tst-global1.c: Likewise.
9380         * elf/tst-pathopt.c: Likewise.
9381         * elf/tst-piemod1.c: Likewise.
9382         * elf/tst-tls10.c: Likewise.
9383         * elf/tst-tls11.c: Likewise.
9384         * elf/tst-tls12.c: Likewise.
9385         * gnulib/tst-gcc.c: Likewise.
9386         * iconvdata/tst-e2big.c: Likewise.
9387         * iconvdata/tst-loading.c: Likewise.
9388         * iconv/tst-iconv1.c: Likewise.
9389         * iconv/tst-iconv2.c: Likewise.
9390         * inet/test-inet6_opt.c: Likewise.
9391         * inet/tst-gethnm.c: Likewise.
9392         * inet/tst-network.c: Likewise.
9393         * inet/tst-ntoa.c: Likewise.
9394         * intl/tst-codeset.c: Likewise.
9395         * intl/tst-gettext2.c: Likewise.
9396         * intl/tst-gettext3.c: Likewise.
9397         * intl/tst-ngettext.c: Likewise.
9398         * intl/tst-translit.c: Likewise.
9399         * io/test-stat.c: Likewise.
9400         * libio/test-fmemopen.c: Likewise.
9401         * libio/tst-freopen.c: Likewise.
9402         * libio/tst-sscanf.c: Likewise.
9403         * libio/tst-ungetwc1.c: Likewise.
9404         * libio/tst-ungetwc2.c: Likewise.
9405         * libio/tst-widetext.c: Likewise.
9406         * localedata/tst-ctype.c: Likewise.
9407         * localedata/tst-digits.c: Likewise.
9408         * localedata/tst-leaks.c: Likewise.
9409         * localedata/tst-mbswcs1.c: Likewise.
9410         * localedata/tst-mbswcs2.c: Likewise.
9411         * localedata/tst-mbswcs3.c: Likewise.
9412         * localedata/tst-mbswcs4.c: Likewise.
9413         * localedata/tst-mbswcs5.c: Likewise.
9414         * localedata/tst-setlocale.c: Likewise.
9415         * localedata/tst-trans.c: Likewise.
9416         * localedata/tst-wctype.c: Likewise.
9417         * localedata/tst-xlocale1.c: Likewise.
9418         * login/tst-grantpt.c: Likewise.
9419         * malloc/tst-calloc.c: Likewise.
9420         * malloc/tst-malloc.c: Likewise.
9421         * malloc/tst-mallocstate.c: Likewise.
9422         * malloc/tst-mcheck.c: Likewise.
9423         * malloc/tst-mtrace.c: Likewise.
9424         * malloc/tst-obstack.c: Likewise.
9425         * math/atest-exp2.c: Likewise.
9426         * math/atest-exp.c: Likewise.
9427         * math/atest-sincos.c: Likewise.
9428         * math/test-matherr.c: Likewise.
9429         * math/test-misc.c: Likewise.
9430         * math/test-powl.c: Likewise.
9431         * math/tst-definitions.c: Likewise.
9432         * misc/tst-dirname.c: Likewise.
9433         * misc/tst-efgcvt.c: Likewise.
9434         * misc/tst-fdset.c: Likewise.
9435         * misc/tst-hsearch.c: Likewise.
9436         * misc/tst-mntent2.c: Likewise.
9437         * nptl/tst-sem7.c: Likewise.
9438         * nptl/tst-sem8.c: Likewise.
9439         * nptl/tst-sem9.c: Likewise.
9440         * nss/test-netdb.c: Likewise.
9441         * posix/tst-fnmatch.c: Likewise.
9442         * posix/tst-getlogin.c: Likewise.
9443         * posix/tst-gnuglob.c: Likewise.
9444         * posix/tst-mmap.c: Likewise.
9445         * pwd/tst-getpw.c: Likewise.
9446         * resolv/tst-inet_ntop.c: Likewise.
9447         * rt/tst-timer.c: Likewise.
9448         * stdio-common/test-fseek.c: Likewise.
9449         * stdio-common/test-popen.c: Likewise.
9450         * stdio-common/test-vfprintf.c: Likewise.
9451         * stdio-common/tst-cookie.c: Likewise.
9452         * stdio-common/tst-fileno.c: Likewise.
9453         * stdio-common/tst-gets.c: Likewise.
9454         * stdio-common/tst-obprintf.c: Likewise.
9455         * stdio-common/tst-perror.c: Likewise.
9456         * stdio-common/tst-sprintf2.c: Likewise.
9457         * stdio-common/tst-sprintf3.c: Likewise.
9458         * stdio-common/tst-sprintf.c: Likewise.
9459         * stdio-common/tst-swprintf.c: Likewise.
9460         * stdio-common/tst-tmpnam.c: Likewise.
9461         * stdio-common/tst-unbputc.c: Likewise.
9462         * stdio-common/tst-wc-printf.c: Likewise.
9463         * stdlib/tst-environ.c: Likewise.
9464         * stdlib/tst-fmtmsg.c: Likewise.
9465         * stdlib/tst-limits.c: Likewise.
9466         * stdlib/tst-rand48-2.c: Likewise.
9467         * stdlib/tst-rand48.c: Likewise.
9468         * stdlib/tst-random2.c: Likewise.
9469         * stdlib/tst-random.c: Likewise.
9470         * stdlib/tst-strtol.c: Likewise.
9471         * stdlib/tst-strtoll.c: Likewise.
9472         * stdlib/tst-tls-atexit.c: Likewise.
9473         * stdlib/tst-xpg-basename.c: Likewise.
9474         * string/test-ffs.c: Likewise.
9475         * string/tst-bswap.c: Likewise.
9476         * string/tst-inlcall.c: Likewise.
9477         * string/tst-strtok.c: Likewise.
9478         * string/tst-strxfrm.c: Likewise.
9479         * sysdeps/x86_64/tst-audit10.c: Likewise.
9480         * sysdeps/x86_64/tst-audit3.c: Likewise.
9481         * sysdeps/x86_64/tst-audit4.c: Likewise.
9482         * sysdeps/x86_64/tst-audit5.c: Likewise.
9483         * time/tst-ftime_l.c: Likewise.
9484         * time/tst-getdate.c: Likewise.
9485         * time/tst-mktime3.c: Likewise.
9486         * time/tst-mktime.c: Likewise.
9487         * time/tst-posixtz.c: Likewise.
9488         * time/tst-strptime2.c: Likewise.
9489         * time/tst-strptime3.c: Likewise.
9490         * wcsmbs/tst-btowc.c: Likewise.
9491         * wcsmbs/tst-mbrtowc.c: Likewise.
9492         * wcsmbs/tst-mbsrtowcs.c: Likewise.
9493         * wcsmbs/tst-wchar-h.c: Likewise.
9494         * wcsmbs/tst-wcpncpy.c: Likewise.
9495         * wcsmbs/tst-wcrtomb.c: Likewise.
9496         * wcsmbs/tst-wcsnlen.c: Likewise.
9497         * wcsmbs/tst-wcstof.c: Likewise.
9499 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
9501         [BZ #14132]
9502         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9503         INTDEF.
9504         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9505         declaration.
9506         (_dl_mcount): Use rtld_hidden_proto.
9507         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9508         _dl_mcount.
9509         * elf/rtld.c (_rtld_global_ro): Likewise.
9511         [BZ #14132]
9512         * elf/dl-init.c (_dl_init): Don't use INTDEF.
9513         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9514         of _dl_init_internal.
9515         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9516         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9517         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9518         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9519         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9520         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9521         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9522         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9523         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9524         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9525         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9526         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9527         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9528         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9529         * sysdeps/tile/dl-start.S (_start): Likewise.
9530         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9531         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9533         [BZ #14132]
9534         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9535         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9536         (rtld_progname): Make macro definition unconditional.
9537         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9538         INTDEF.
9539         (dlmopen_doit): Do not use INTUSE with _dl_argv.
9540         (dl_main): Likewise.
9541         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9542         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9543         instead of _dl_argv_internal.
9544         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9545         __GI__dl_argv instead of INTUSE(_dl_argv).
9546         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9547         __GI__dl_argv instead of _dl_argv_internal.
9549         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9550         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9551         macro.
9552         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9553         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9554         New macro.
9555         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9556         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9557         macro.
9558         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9559         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9561 2014-11-04  Andreas Schwab  <schwab@suse.de>
9563         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9565 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9567         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9568         mtvsrd instruction in binary form.
9570 2014-11-03  Andreas Schwab  <schwab@suse.de>
9572         [BZ #17522]
9573         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9574         for less than MB_LEN_MAX use a local buffer of that size.
9575         * libio/tst-fputws.c: New file.
9576         * libio/Makefile (tests): Add tst-fputws.
9578 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
9580         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9581         the size of the fpu_fr.fpu_dregs[] array.
9583 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
9585         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9586         (__nanosleep): Do not define as alias.
9587         (nanosleep): Define as alias of __nanosleep.
9588         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9589         __libc_nanosleep name.
9591 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9593         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9594         install.texi in comment.
9596 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9598         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9599         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9600         ... add here and use lwsync or sync ...
9601         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9602         ... and add here using lwsync.
9604 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9606         * elf/dl-machine-reject-phdr.h: New file.
9607         * elf/dl-load.c: #include that.
9608         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9609         if that returned true.
9611 2014-10-31  Roland McGrath  <roland@hack.frob.com>
9613         [BZ #17496]
9614         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9615         gen-as-const-headers chunk.  Add a big scare comment after the last
9616         safe place to touch before-compile.
9618 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9620         * manual/install.texi (Tools for Compilation): Update autoconf
9621         version requirements.
9622         * INSTALL: Regenerated.
9624         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9625         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9626         (__libc_pselect): Likewise.
9628         [BZ #14138]
9629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9634 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9636         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9637         correct barrier instruction.
9638         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9639         Likewise.
9640         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9641         Likewise.
9643 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9645         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9646         after defining inlines.  Instead, just use parens to defeat macro
9647         expansion of __isctype in its declaration.
9649 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9651         * include/sys/uio.h (__libc_readv): Remove declaration.
9652         (__libc_writev): Likewise.
9653         * misc/readv.c (__libc_readv): Rename to __readv.
9654         (__readv): Do not define as alias.
9655         (readv): Define as alias of __readv.
9656         * misc/writev.c (__libc_writev): Rename to __writev.
9657         (__writev): Do not define as alias.
9658         (writev): Define as alias of __writev.
9659         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9660         (__readv): Do not define as alias.
9661         (readv): Define unconditionally as alias of __readv.
9662         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9663         (__writev): Do not define as alias.
9664         (writev): Define unconditionally as alias of __writev.
9665         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9666         name.
9667         (writev): Do not define __libc_writev name.
9669 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9671         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9672         (convert_charseq): New function, broken out of ...
9673         (use_from_charmap): ... here.  Call it.
9674         (use_to_charmap): Use convert_charseq and free instead of duplicating
9675         its code with a variable-length stack struct.
9677 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9679         * include/fcntl.h (__libc_creat): Remove declaration.
9680         * io/creat.c (__libc_creat): Rename to creat.
9681         (creat): Do not define as alias.
9682         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9683         of creat instead of __libc_creat.
9684         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9685         to creat.
9686         (creat): Do not define as alias.
9687         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9688         __libc_creat.
9689         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9690         __libc_creat name.
9691         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9692         Likewise.
9694 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
9696         * manual/llio.texi: Add comments discussing why write() may be
9697         considered MT-unsafe on Linux.
9699 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
9701         * dl-load.c (local_strdup): Remove.
9702         (expand_dynamic_string_token): Use __strdup.
9703         (decompose_rpath): Likewise.
9704         (_dl_map_object): Likewise.
9706 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
9708         [BZ #14132]
9709         * sysdeps/generic/unwind-dw2-fde.c
9710         (__register_frame_info_bases_internal): Do not declare.
9711         (__register_frame_info_table_bases_internal): Likewise.
9712         (__deregister_frame_info_bases_internal): Likewise.
9713         (__register_frame_info_bases): Declare and use hidden_proto before
9714         definition.  Use hidden_def instead of INTDEF.
9715         (__register_frame_info_table_bases): Likewise.
9716         (__deregister_frame_info_bases): Likewise.
9717         (__register_frame_info): Do not use INTUSE.
9718         (__register_frame): Likewise.
9719         (__register_frame_info_table): Likewise.
9720         (__register_frame_table): Likewise.
9721         (__deregister_frame_info): Likewise.
9722         (__deregister_frame): Likewise.
9724 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
9726         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9727         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9728         not undefine.
9729         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9730         Likewise.
9731         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9732         Likewise.
9734 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
9736         [BZ #14138]
9737         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9738         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9739         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9740         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9741         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9742         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9743         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9744         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9745         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9746         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9747         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9748         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9749         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9750         syscall.
9751         (setfsuid): Likewise.
9752         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9753         (setfsuid): Likewise.
9754         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9755         (setfsuid): Likewise.
9756         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9757         Likewise.
9758         (setfsuid): Likewise.
9759         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9760         (setfsuid): Likewise.
9761         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9762         Likewise.
9763         (setfsuid): Likewise.
9765 2014-10-27  Andreas Schwab  <schwab@suse.de>
9767         [BZ #17501]
9768         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9769         check for Slow_SSE4_2 feature bit.
9770         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9771         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9772         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9773         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
9775 2014-10-24  Roland McGrath  <roland@hack.frob.com>
9777         * configure.ac: Validate compiler version with a empirical test of
9778         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9779         $CC -v output.
9780         * configure: Regenerated.
9782         * inet/htons.c (htons): Prototypify.
9783         * inet/htonl.c (htonl): Likewise.
9785 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9787         * string/strncat.c (strncat): Improve performance by using strlen.
9789 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9791         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9793 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9795         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9796         Call libc_fetestexcept_aarch64.
9798 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9800         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9801         Call libc_feholdexcept_aarch64.
9803 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9805         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9806         Call get_rounding_mode.
9808 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9810         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9811         Simplify logic.
9813 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9815         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9816         Simplify logic.
9818 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
9820         [BZ #14138]
9821         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9822         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9823         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9824         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9825         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9826         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9827         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9828         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9829         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9830         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9831         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9832         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9833         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9834         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9835         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9836         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9837         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9838         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9839         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9840         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9841         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9842         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9843         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9844         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9845         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9846         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9847         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9848         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9849         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9850         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9851         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9852         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9853         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9854         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9855         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9856         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9857         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9858         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9859         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9860         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9861         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9862         syscall.
9863         (geteuid): Likewise.
9864         (getgid): Likewise.
9865         (getuid): Likewise.
9866         (getresgid): Likewise.
9867         (getresuid): Likewise.
9868         (getgroups): Likewise.
9869         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9870         (geteuid): Likewise.
9871         (getgid): Likewise.
9872         (getuid): Likewise.
9873         (getresgid): Likewise.
9874         (getresuid): Likewise.
9875         (getgroups): Likewise.
9876         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9877         (geteuid): Likewise.
9878         (getgid): Likewise.
9879         (getuid): Likewise.
9880         (getresgid): Likewise.
9881         (getresuid): Likewise.
9882         (getgroups): Likewise.
9883         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9884         Likewise.
9885         (geteuid): Likewise.
9886         (getgid): Likewise.
9887         (getuid): Likewise.
9888         (getresgid): Likewise.
9889         (getresuid): Likewise.
9890         (getgroups): Likewise.
9891         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9892         (geteuid): Likewise.
9893         (getgid): Likewise.
9894         (getuid): Likewise.
9895         (getresgid): Likewise.
9896         (getresuid): Likewise.
9897         (getgroups): Likewise.
9898         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9899         Likewise.
9900         (geteuid): Likewise.
9901         (getgid): Likewise.
9902         (getuid): Likewise.
9903         (getgroups): Likewise.
9905         [BZ #14138]
9906         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9907         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9908         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9909         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9910         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9911         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9912         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9913         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9914         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9915         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9916         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9917         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9918         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9919         __chown.
9920         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9921         (lchown): Likewise.
9922         (fchown): Likewise.
9923         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9924         Likewise.
9925         (lchown): Likewise.
9926         (fchown): Likewise.
9927         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9928         (lchown): Likewise.
9929         (fchown): Likewise.
9930         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9931         Likewise.
9932         (lchown): Likewise.
9933         (fchown): Likewise.
9935 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9937         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9938         Simplify logic.
9940 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9942         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9943         Cleanup logic.
9945 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9947         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9948         Remove unused include.
9950 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9952         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9953         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9954         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9955         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9957 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
9958             Helge Deller <deller@gmx.de>
9960         [BZ #17508]
9961         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9962         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9963         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9965 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
9967         [BZ #14132]
9968         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9969         Remove macro definition.
9970         (__ashrdi3_v_glibc20): Likewise.
9971         (__lshrdi3_v_glibc20): Likewise.
9972         (__cmpdi2_v_glibc20): Likewise.
9973         (__ucmpdi2_v_glibc20): Likewise.
9974         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9975         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9976         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9977         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9978         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9979         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9981 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9983         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9984         old GNU extension [0] syntax.
9985         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9986         alloca rather than an array member with variable length.
9987         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9988         * nscd/nscd.c (invalidate_db): New function, broken out of ...
9989         (parse_opt): ... here.  Likewise use alloca there.
9990         Validate the -i argument before checking for rootness.
9991         (send_shutdown): New function, broken out of ...
9992         (parse_opt): ... here.
9994 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9996         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9997         macro to get at the _rt_local_ro field.
9998         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9999         ([PIC] case) or _dl_hwcap ([!PIC] case).
10000         * sysdeps/arm/setjmp.S: Likewise.
10002         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10003         * sysdeps/arm/configure.ac: New check to define it.
10004         * sysdeps/arm/configure: Regenerated.
10005         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10006         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10007         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10008         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10009         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10010         Use move/movt pair instead of a load.
10011         (LDST_GLOBAL): Macro removed.
10012         (LDR_GLOBAL): New macro replaces it.
10013         (LDR_HIDDEN): New macro.
10014         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10015         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10017         * setjmp/tst-setjmp-static.c: New file.
10018         * setjmp/Makefile (tests): Add it.
10019         (tests-static): New variable.
10021 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
10023         [BZ #17485]
10024         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10026 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
10028         [BZ #14132]
10029         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10031 2014-10-21  Roland McGrath  <roland@hack.frob.com>
10033         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10035 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10037         * io/fts.c (dirent_not_directory): New function.
10038         (fts_build): Call it.
10040 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10042         * nptl/version.c (__nptl_main): Use normal __write rather than
10043         INTERNAL_SYSCALL.
10044         (banner): Update copyright years.
10046         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10047         gettimeofday.
10048         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10049         * nptl/pthread_cond_timedwait.c: Likewise.
10050         * nptl/pthread_mutex_timedlock.c: Likewise.
10051         * nptl/sem_timedwait.c: Likewise.
10053         * sysdeps/nptl/bits/libc-lock.h
10054         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10055         (__libc_lock_init_recursive): Return void, not 0.
10056         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10057         (__libc_rwlock_init): Likewise.
10058         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10060 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10062         [BZ #15215]
10063         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10064         (__pthread_once_slow): ... here.
10065         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10066         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10068 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10070         [BZ #15215]
10071         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10072         __PTHREAD_ONCE_FORK_GEN_INCR): New.
10073         * sysdeps/nptl/fork.c (__libc_fork): Use them.
10074         * nptl/pthread_once.c (__pthread_once): Likewise.
10075         Update comments.
10077 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
10079         [BZ #14138]
10080         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10081         name.
10082         (writev): Use __libc_writev as strong name.
10083         * sysdeps/unix/sysv/linux/readv.c: Remove file.
10084         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10086 2014-10-17  Roland McGrath  <roland@hack.frob.com>
10088         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10090         * sysdeps/i386/nptl/tls.h
10091         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10092         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10093         New macros.
10094         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10095         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10096         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10097         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10098         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10099         Call CHECK_THREAD_SYSINFO instead of doing an assert.
10101         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10102         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10103         on [__NR_futex].
10104         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10105         broken out of ...
10106         (__pthread_mutex_init): ... here.  Call it.
10107         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10108         Conditionalize PI cases on [__NR_futex].
10109         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10110         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10111         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10113         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10114         conditional on [SIGSETXID].
10115         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10116         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10117         is defined.  Likewise for SIGSETXID.
10118         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10119         Conditionalize definitions on [SIGSETXID].
10120         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10121         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10122         unblocking on [SIGCANCEL].
10124         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10125         [__NR_set_robust_list].
10127 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10129         * string/strcoll_l.c (get_next_seq): Fix up formatting.
10130         (do_compare): Likewise.
10132 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
10134         [BZ #15884]
10135         * string/strcoll_l.c: Don't include stdio.h.
10136         (coll_seq): Remove members idxarr and rulearr.
10137         (get_next_seq_cached): Remove function.
10138         (get_next_seq): Likewise.
10139         (get_next_seq_nocache): Rename to get_next_seq.
10140         (do_compare): Remove function.
10141         (do_compare_nocache): Rename to do_compare.
10142         (STRCOLL): Remove weight and rules cache.
10144 2014-10-16  Roland McGrath  <roland@hack.frob.com>
10146         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10147         * sysdeps/arm/sfp-machine.h: ... to here.
10148         * sysdeps/arm/Implies: Remove arm/soft-fp.
10150 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
10152         * conform/data/sys/utsname.h-data (*_t): Allow.
10153         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10154         [POSIX] (WEXITED): Do not expect constant.
10155         [POSIX] (WSTOPPED): Likewise.
10156         [POSIX] (WNOHANG): Likewise.
10157         [POSIX] (WNOWAIT): Likewise.
10158         [POSIX] (siginfo_t): Do not expect type or elements.
10159         [POSIX] (pid_t): Do not expect type.
10160         [POSIX] (signal.h): Do not allow header.
10161         [POSIX] (sys/resource.h): Likewise.
10162         [POSIX] (si_*): Do not allow pattern.
10163         [POSIX] (W*): Likewise.
10164         [POSIX] (P_*): Likewise.
10165         [POSIX] (BUS_*): Likewise.
10166         [POSIX] (CLD_*): Likewise.
10167         [POSIX] (FPE_*): Likewise.
10168         [POSIX] (ILL_*): Likewise.
10169         [POSIX] (POLL_*): Likewise.
10170         [POSIX] (SEGV_*): Likewise.
10171         [POSIX] (SI_*): Likewise.
10172         [POSIX] (TRAP_*): Likewise.
10173         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10174         variable.
10176 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10178         [BZ #12926]
10179         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10180         infinite loop when __recvmsg returns 0.
10182 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
10184         * CANCEL-FCT-WAIVE: Remove file.
10185         * CANCEL-FILE-WAIVE: Likewise.
10187         [BZ #14132]
10188         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10189         instead of INTVARDEF.
10190         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10191         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10192         rtld_hidden_data_def instead of INTVARDEF.
10193         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10194         * elf/dl-deps.c (expand_dst): Likewise.
10195         * elf/dl-load.c (_dl_dst_count): Likewise.
10196         (_dl_dst_substitute): Likewise.
10197         (decompose_rpath): Likewise.
10198         (_dl_init_paths): Likewise.
10199         (open_path): Likewise.
10200         (_dl_map_object): Likewise.
10201         * elf/rtld.c (dl_main): Likewise.
10202         (process_dl_audit): Likewise.
10203         (process_envvars): Likewise.
10204         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10205         Remove declaration.
10206         (__libc_enable_secure): Use rtld_hidden_proto.
10208 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10210         * elf/dl-load.c
10211         (add_path): New function broken out of _dl_rtld_di_serinfo.
10212         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
10214 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10216         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10217         parentheses around macro arguments.
10218         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10220         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10221         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10222         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10223         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10224         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10225         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10226         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10227         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10228         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10229         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10230         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10231         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10232         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10233         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10234         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10235         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10236         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10237         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10238         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10239         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10240         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10241         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10242         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10243         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10244         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10245         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10246         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10247         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10248         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10249         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10250         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10251         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10252         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10253         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10254         Likewise.
10255         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10256         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10257         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10258         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10259         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10260         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10261         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10262         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10263         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10264         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10265         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10266         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10267         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10268         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10269         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10270         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10272         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10273         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10274         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10275         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10276         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10277         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10278         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10279         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10280         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10281         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10282         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10283         (_FP_FRAC_SRS_1): Likewise.
10284         (_FP_FRAC_CLZ_1): Likewise.
10285         (_FP_MUL_MEAT_1_imm): Likewise.
10286         (_FP_MUL_MEAT_1_wide): Likewise.
10287         (_FP_MUL_MEAT_1_hard): Likewise.
10288         (_FP_SQRT_MEAT_1): Likewise.
10289         (_FP_FRAC_ASSEMBLE_1): Likewise.
10290         (_FP_FRAC_DISASSEMBLE_1): Likewise.
10291         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10292         (__FP_CLZ_2): Likewise.
10293         (_FP_MUL_MEAT_2_wide): Likewise.
10294         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10295         (_FP_MUL_MEAT_2_gmp): Likewise.
10296         (_FP_MUL_MEAT_2_120_240_double): Likewise.
10297         (_FP_SQRT_MEAT_2): Likewise.
10298         (_FP_FRAC_ASSEMBLE_2): Likewise.
10299         (_FP_FRAC_DISASSEMBLE_2): Likewise.
10300         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10301         (_FP_FRAC_CLZ_4): Likewise.
10302         (_FP_MUL_MEAT_4_wide): Likewise.
10303         (_FP_MUL_MEAT_4_gmp): Likewise.
10304         (_FP_SQRT_MEAT_4): Likewise.
10305         (_FP_FRAC_ASSEMBLE_4): Likewise.
10306         (_FP_FRAC_DISASSEMBLE_4): Likewise.
10307         * soft-fp/op-common.h (_FP_CMP): Likewise.
10308         (_FP_CMP_EQ): Likewise.
10309         (_FP_CMP_UNORD): Likewise.
10310         (_FP_TO_INT): Likewise.
10311         (_FP_FROM_INT): Likewise.
10312         [!__FP_CLZ] (__FP_CLZ): Likewise.
10313         (_FP_DIV_HELP_imm): Likewise.
10314         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10315         Likewise.
10316         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10317         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10318         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10319         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10320         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10321         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10322         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10323         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10324         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10325         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10327         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10328         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10329         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10330         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10331         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10332         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10333         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10334         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10335         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10336         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10337         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10338         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10339         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10340         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10341         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10342         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10343         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10344         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10345         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10346         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10347         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10348         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10349         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10350         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10351         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10352         (FP_UNPACK_RAW_SP): Likewise.
10353         (FP_PACK_RAW_S): Likewise.
10354         (FP_PACK_RAW_SP): Likewise.
10355         (FP_UNPACK_S): Likewise.
10356         (FP_UNPACK_SP): Likewise.
10357         (FP_UNPACK_SEMIRAW_S): Likewise.
10358         (FP_UNPACK_SEMIRAW_SP): Likewise.
10359         (FP_PACK_S): Likewise.
10360         (FP_PACK_SP): Likewise.
10361         (FP_PACK_SEMIRAW_S): Likewise.
10362         (FP_PACK_SEMIRAW_SP): Likewise.
10363         (_FP_SQRT_MEAT_S): Likewise.
10364         (FP_CMP_S): Likewise.
10365         (FP_CMP_EQ_S): Likewise.
10366         (FP_CMP_UNORD_S): Likewise.
10367         (FP_TO_INT_S): Likewise.
10368         (FP_FROM_INT_S): Likewise.
10370         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10372         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10373         (FP_EX_INVALID_IMZ): Likewise.
10374         (FP_EX_INVALID_IMZ_FMA): Likewise.
10375         (FP_EX_INVALID_ISI): Likewise.
10376         (FP_EX_INVALID_ZDZ): Likewise.
10377         (FP_EX_INVALID_IDI): Likewise.
10378         (FP_EX_INVALID_SQRT): Likewise.
10379         (FP_EX_INVALID_CVI): Likewise.
10380         (FP_EX_INVALID_VC): Likewise.
10381         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10382         "invalid" exceptions.
10383         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10384         (_FP_ADD_INTERNAL): Likewise.
10385         (_FP_MUL): Likewise.
10386         (_FP_FMA): Likewise.
10387         (_FP_DIV): Likewise.
10388         (_FP_CMP_CHECK_NAN): Likewise.
10389         (_FP_SQRT): Likewise.
10390         (_FP_TO_INT): Likewise.
10391         (FP_EXTEND): Likewise.
10393 2014-10-09  Allan McRae  <allan@archlinux.org>
10395         * po/fr.po: Update French translation from translation project.
10397 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10399         [BZ #14132]
10400         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10401         of INTDEF.
10402         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10403         (__cxa_atexit): Use libc_hidden_proto.
10404         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10406         [BZ #14132]
10407         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10408         declaration.
10409         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10410         [!_ISOMAC] (__iswspace_l_internal): Likewise.
10411         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10412         [!_ISOMAC] (__iswctype_internal): Likewise.
10413         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10414         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10415         alias.
10416         (fcntl): Remove __fcntl_internal alias.
10417         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10418         __connect_internal alias.
10419         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10420         Likewise.
10422         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10423         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10424         FP_DENORM_ZERO.
10425         (_FP_CHECK_FLUSH_ZERO): New macro.
10426         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10427         (_FP_CMP): Likewise.
10428         (_FP_CMP_EQ): Likewise.
10429         (_FP_TO_INT): Do not set inexact for subnormal arguments if
10430         FP_DENORM_ZERO.
10431         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10432         (FP_TRUNC): Likewise.
10434         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10435         treated as invalid conversion, not as normal exponent.
10437         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10438         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
10439         (_FP_CMP_EQ): Likewise.
10440         (_FP_CMP_UNORD): Likewise.
10441         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10442         (FP_CMP_EQ_D): Likewise.
10443         (FP_CMP_UNORD_D): Likewise.
10444         * soft-fp/extended.h (FP_CMP_E): Likewise.
10445         (FP_CMP_EQ_E): Likewise.
10446         (FP_CMP_UNORD_E): Likewise.
10447         * soft-fp/quad.h (FP_CMP_Q): Likewise.
10448         (FP_CMP_EQ_Q): Likewise.
10449         (FP_CMP_UNORD_Q): Likewise.
10450         * soft-fp/single.h (FP_CMP_S): Likewise.
10451         (FP_CMP_EQ_S): Likewise.
10452         (FP_CMP_UNORD_S): Likewise.
10453         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10454         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10455         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10456         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10457         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10458         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10459         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10460         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10461         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10462         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10463         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10464         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10465         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10466         to FP_CMP_Q.
10467         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10468         FP_CMP_Q.
10469         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10470         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10471         FP_CMP_EQ_Q.
10472         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10473         FP_CMP_Q.
10474         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10475         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10476         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10477         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10478         FP_CMP_EQ_Q.
10479         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10480         FP_CMP_Q.
10481         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10482         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10483         FP_CMP_EQ_Q.
10484         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10485         FP_CMP_Q.
10486         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10487         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10488         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10489         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10490         FP_CMP_EQ_Q.
10492         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10493         a subnormal result, set the underflow exception if trapping on
10494         underflow is enabled.
10495         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10496         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10497         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10498         redefine to 0.
10499         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10500         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10501         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10502         * soft-fp/extendxftf2.c (__extendxftf2): Use
10503         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10505         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10506         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10507         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10508         FP_HANDLE_EXCEPTIONS.
10509         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10510         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10511         FP_HANDLE_EXCEPTIONS.
10512         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10513         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10514         FP_HANDLE_EXCEPTIONS.
10515         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10516         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10517         FP_HANDLE_EXCEPTIONS.
10519 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
10521         [BZ #14132]
10522         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10523         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10524         use INTUSE.
10525         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10526         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10527         Remove alias.
10528         (__adjtimex): Define using libc_hidden_ver.
10529         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10530         Remove declaration.
10531         (ntp_gettime): Call __adjtimex directly.
10532         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10533         Remove declaration.
10534         (ntp_gettimex): Call __adjtimex directly.
10535         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10536         __adjtimex_internal alias.
10538 2014-10-08  Roland McGrath  <roland@hack.frob.com>
10540         [BZ #17460]
10541         * nscd/nscd.c (more_help): Rewrite list of tables collection
10542         using xstrdup and asprintf.
10544         * nscd/nscd_conf.c: Remove local xstrdup declaration.
10546 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10547             Roland McGrath  <roland@hack.frob.com>
10549         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10550         (do_lookup_unique): ... local function 'enter' here; update callers.
10552 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
10554         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10555         compat_symbol calls on [SHARED].
10556         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10557         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10558         Remove.
10559         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10560         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10561         (oldsetrlimit): Remove.
10562         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10564         (lchown): New syscall entry.
10565         (oldsetrlimit): Remove.
10566         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10567         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10568         (oldsetrlimit): Remove.
10569         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10571         [BZ #14138]
10572         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10573         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10574         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10575         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10576         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10577         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10578         (fchown): Likewise.
10579         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10580         (fchown): Likewise.
10581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10582         Likewise.
10584 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10586         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10587         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10588         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10589         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10590         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10591         Likewise.
10592         (__old_sem_post): Likewise.
10594 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
10596         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10597         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10598         HAVE_CLOCK_GETTIME_VSYSCALL macros.
10599         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10600         Use INLINE_VSYSCALL macro.
10601         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10602         __vdso_clock_gettime.
10603         * sysdeps/unix/sysv/linux/tile/init-first.c
10604         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10605         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10606         __vdso_clock_gettime.
10608         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10609         to set up frame more cleanly.
10611         * sysdeps/tile/memcmp.c: New file.
10613         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10615         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10616         * sysdeps/tile/tilegx/strcasestr.c: New file.
10617         * sysdeps/tile/tilegx/strnlen.c: New file.
10618         * sysdeps/tile/tilegx/strstr.c: New file.
10620         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10622 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
10624         * nptl/tst-setuid3.c: Write errors to stdout.
10626 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10628         * elf/dl-deps.c
10629         (preload): New functions broken out of _dl_map_object_deps.
10630         (_dl_map_object_deps):  Remove a nested function. Update call sites.
10632 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
10634         [BZ #14138]
10635         * sysdeps/unix/sysv/linux/execve.c: Remove file.
10636         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10638 2014-10-01  Steve Ellcey  <sellcey@mips.com>
10640         * sysdeps/mips/strcmp.S: New.
10642 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
10644         [BZ #14138]
10645         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10646         (linkat): Likewise.
10647         (mkdirat): Likewise.
10648         (readlinkat): Likewise.
10649         (renameat): Likewise.
10650         (symlinkat): Likewise.
10651         (unlinkat): Likewise.
10652         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10653         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10654         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10655         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10656         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10657         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10658         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10660 2014-09-30  Will Newton  <will.newton@linaro.org>
10662         * math/math.h: Define long double math functions if
10663         _LIBC_TEST is defined.
10664         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10666         * localedata/Makefile: Move assignment to tests-special
10667         into an ifdef testing run-built-tests.
10668         * timezone/Makefile: Likewise.
10670 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
10672         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10673         with $(BASH) not $(SHELL).
10675 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
10676             Matthew LeGendre  <legendre1@llnl.gov>
10678         [BZ #17411]
10679         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10680         l_reloc_result.
10682 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10684         * stdio-common/printf_fp.c
10685         (hack_digit): New function, broken out of ...
10686         (__printf_fp): ... local function here.  Update call sites.
10687         hack_digit now takes an additional parameter that is a pointer
10688         to a struct of the referenced locals.  Those locals moved inside
10689         the struct and references updated.
10691 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
10693         * aclocal.m4: Require autoconf 2.69.
10694         * configure: Regenerated.
10695         * sysdeps/aarch64/configure: Likewise.
10696         * sysdeps/alpha/configure: Likewise.
10697         * sysdeps/arm/armv7/configure: Likewise.
10698         * sysdeps/arm/configure: Likewise.
10699         * sysdeps/ia64/configure: Likewise.
10700         * sysdeps/mach/configure: Likewise.
10701         * sysdeps/mips/configure: Likewise.
10702         * sysdeps/s390/configure: Likewise.
10703         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10706         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10707         file.
10708         * sysdeps/ia64/configure.ac: Likewise.
10710 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
10712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10713         specify symbol version for ld.so.  Do not include entry for
10714         libpthread.
10715         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10716         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10717         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10719         [BZ #14171]
10720         * Makeconfig [$(build-shared) = yes]
10721         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10722         makefiles.
10723         [$(build-shared) = yes && $(soversions.mk-done) = t]
10724         ($(common-objpfx)gnu/lib-names.h): Remove rule.
10725         [$(build-shared) = yes && $(soversions.mk-done) = t]
10726         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
10727         to Makerules.
10728         [$(build-shared) = yes && $(soversions.mk-done) = t]
10729         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10730         here.
10731         [$(build-shared) = yes && $(soversions.mk-done) = t]
10732         (common-generated): Don't append gnu/lib-names.h and
10733         gnu/lib-names.stmp here.
10734         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10735         (lib-names-h-abi): New variable.
10736         [$(build-shared) = yes && $(soversions.mk-done) = t]
10737         (lib-names-stmp-abi): Likewise.
10738         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10739         abi-variants] (before-compile): Append
10740         $(common-objpfx)$(lib-names-h-abi).
10741         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10742         abi-variants] (common-generated): Append gnu/lib-names.h.
10743         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10744         abi-variants] (install-others-nosubdir): Depend on
10745         $(inst_includedir)/$(lib-names-h-abi).
10746         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10747         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10748         [$(build-shared) = yes && $(soversions.mk-done) = t]
10749         ($(common-objpfx)$(lib-names-h-abi)): New rule.
10750         [$(build-shared) = yes && $(soversions.mk-done) = t]
10751         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10752         [$(build-shared) = yes && $(soversions.mk-done) = t]
10753         (common-generated): Append $(lib-names-h-abi) and
10754         $(lib-names-stmp-abi).
10755         * scripts/lib-names.awk: Do not handle multi being set.
10756         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10757         Remove variable.
10758         (abi-lp64_be-ld-soname): Likewise.
10759         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10760         Likewise.
10761         (abi-hard-ld-soname): Likewise.
10762         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10763         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10764         Remove variable.
10765         (abi-o32_hard-ld-soname): Likewise.
10766         (abi-o32_soft_2008-ld-soname): Likewise.
10767         (abi-o32_hard_2008-ld-soname): Likewise.
10768         (abi-n32_soft-ld-soname): Likewise.
10769         (abi-n32_hard-ld-soname): Likewise.
10770         (abi-n32_soft_2008-ld-soname): Likewise.
10771         (abi-n32_hard_2008-ld-soname): Likewise.
10772         (abi-n64_soft-ld-soname): Likewise.
10773         (abi-n64_hard-ld-soname): Likewise.
10774         (abi-n64_soft_2008-ld-soname): Likewise.
10775         (abi-n64_hard_2008-ld-soname): Likewise.
10776         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10777         Likewise.
10778         (abi-64-v2-ld-soname): Likewise.
10779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10780         ld.so entries.
10781         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10782         variable.
10783         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10784         entry.
10785         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10786         variable.
10787         (abi-64-ld-soname): Likewise.
10788         (abi-x32-ld-soname): Likewise.
10789         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10790         entry.
10791         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10793 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
10795         [BZ #14138]
10796         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10797         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10798         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10799         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10800         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10801         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10802         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10803         syscall entry for GLIBC_2.2 symbol version.
10804         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10805         Likewise.
10806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10807         (setrlimit): Likewise.
10808         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10809         Likewise.
10811 2014-09-23  Will Newton  <will.newton@linaro.org>
10813         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10814         _LINUX_ARM_SYSDEP_H include guard too.
10815         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10816         define.
10818 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10820         * sysdeps/unix/sysv/linux/eventfd.c:
10821         Make first argument unsigned.
10822         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10823         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10825 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
10827         * socket/recvmmsg.c (recvmmsg): Drop const argument.
10828         * socket/sys/socket.h: Likewise
10829         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10831 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10833         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10835 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
10837         * time/tst-ftime.c: New test.
10838         * time/Makefile (tests): Add tst-ftime.
10840 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
10842         * soft-fp/extended.h: Fix comment formatting.
10843         * soft-fp/op-1.h: Likewise.
10844         * soft-fp/op-2.h: Likewise.
10845         * soft-fp/op-4.h: Likewise.
10846         * soft-fp/op-8.h: Likewise.
10847         * soft-fp/op-common.h: Likewise.
10848         * soft-fp/soft-fp.h: Likewise.
10850         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10852 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
10854         [BZ #6652]
10855         * Makeconfig (soversions-default-setname): Remove variable.
10856         ($(common-objpfx)soversions.i): Don't pass default_setname to
10857         soversions.awk.
10858         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10859         oldest_abi to abi-versions.awk.
10860         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10861         * config.make.in (oldest-abi): Remove variable.
10862         * configure.ac (--enable-oldest-abi): Remove configure option.
10863         * configure: Regenerated.
10864         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10865         text.
10866         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10867         * scripts/soversions.awk: Do not handle default_setname variable.
10868         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10869         variable.
10870         * sysdeps/mach/hurd/configure: Regenerated.
10871         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10872         variable.
10873         * sysdeps/unix/sysv/linux/configure: Regenerated.
10875 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10877         * elf/Makefile (CFLAGS-interp.c): Remove.
10878         ($(elf-objpfx)runtime-linker.h): Generate header with linker
10879         path string.
10880         * elf/interp.c: Include generated runtime-linker.h
10882         * Makerules (lib%.so): Don't include $(+interp) in
10883         prerequisites.
10884         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10885         * dlfcn/eval.c: Remove file.
10887         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10888         macros.
10890         [BZ #17266]
10891         * misc/sys/cdefs.h: Define __extern_always_inline for clang
10892         4.2 and newer.
10894         [BZ #17370]
10895         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10897 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10898             Jakub Jelinek  <jakub@redhat.com>
10900         [BZ #17266]
10901         * libio/stdio.h: Check definition of __fortify_function
10902         instead of __extern_always_inline to include bits/stdio2.h.
10903         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10904         check if __extern_always_inline is defined.
10905         [__USE_MISC || __USE_XOPEN]: Likewise.
10906         [__USE_ISOC99] Likewise.
10907         * misc/sys/cdefs.h (__fortify_function): Define only if
10908         __extern_always_inline is defined.
10909         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10910         __extern_always_inline and __extern_inline only for g++-4.3
10911         and newer or a compatible gcc.
10913 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
10915         [BZ #17371]
10916         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10917         last change to handle zero prefix length.
10919 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10921         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10922         _SC_REGEX_VERSION.
10924         * posix/getconf.c (vars): Add _POSIX_IPV6 and
10925         _POSIX_RAW_SOCKETS.
10927 2014-09-13  Allan McRae  <allan@archlinux.org>
10929         * po/ru.po: Update Russian translation from translation project.
10931 2014-09-12  Roland McGrath  <roland@hack.frob.com>
10933         * locale/programs/locale.c (show_locale_vars): Inline local function
10934         into its sole call site.  Clean up some style nits.
10935         (print_item): New function, broken out of ...
10936         (show_info): ... local function here.  Clean up style nits.
10938         * locale/programs/ld-ctype.c (set_one_default): New function, broken
10939         out of ...
10940         (set_class_defaults): ... local function set_default here.
10941         Define set_default as a macro locally to pass constant parameters.
10942         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10943         rather than a shared local.
10945         * stdlib/rpmatch.c (try): New function, broken out of ...
10946         (rpmatch): ... local function here.  Also, prototypify definition.
10948 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
10950         * scripts/soversions.awk: Do not handle configuration names.
10951         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10952         vendor and os variables to soversions.awk.
10953         * configure.ac: Do not modify gnu-* host_os.
10954         * configure: Regenerated
10955         * shlib-versions: Remove first column with configuration names.
10956         * nptl/shlib-versions: Likewise.
10957         * nptl_db/shlib-versions: Likewise.
10958         * sysdeps/hppa/shlib-versions: Likewise.
10959         * sysdeps/m68k/shlib-versions: Likewise.
10960         * sysdeps/mach/hurd/shlib-versions: Likewise.
10961         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10962         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10963         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10964         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10965         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10966         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10967         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10968         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10970         Likewise.
10971         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10972         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10973         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10974         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10975         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10976         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10977         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10978         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10981         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10983         Regenerated.
10984         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10986         Condition symbol version definitions on [HAVE_ELFV2_ABI].
10988         * shlib-versions: Remove OS-specific entries.  Moved to files in
10989         sysdeps.
10990         * sysdeps/mach/hurd/shlib-versions: New file.
10991         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10993         * nptl/shlib-versions: Remove architecture-specific entries.
10994         Moved to files in sysdeps.
10995         * shlib-versions: Likewise.
10996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10997         file.
10998         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10999         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11000         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11001         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11003         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11004         (UDP_NO_CHECK6_RX): Likewise.
11006 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11008         * sysdeps/posix/sysconf.c (__sysconf): Spell
11009         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11011 2014-08-12  Florian Weimer  <fweimer@redhat.com>
11013         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11014         loading.
11015         * iconv/Versions (__gconv_transliterate): Export for use from
11016         gconv modules.
11017         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11018         (struct __gconv_trans_data, __gconv_trans_fct,
11019         __gconv_trans_context_fct, __gconv_trans_query_fct,
11020         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11021         definitions.
11022         (struct __gconv_step_data): Remove __trans member.
11023         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
11024         longer hidden.  Remove unused trans_data argument.
11025         * iconv/gconv_int.h (struct trans_struct): Remove definition.
11026         (__gconv_translit_find): Remove declaration.
11027         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
11028         prototype.
11029         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11030         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11031         trans_data argument.  Add hidden definition.
11032         (__gconv_translit_find): Remove.
11033         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11034         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11035         * iconv/skeleton.c: Remove transliteration initialization.
11036         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11037         __gconv_step_data initialization.
11038         * libio/iofwide.c (__libio_translit_): Remove.
11039         (_IO_fwide): Adjust struct __gconv_step_data initialization.
11040         * wcsmbs/btowc.c (__btowc): Likewise.
11041         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11042         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11043         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11044         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11045         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11046         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11047         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11048         * wcsmbs/wctob.c (wctob): Likewise.
11050 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11052         [BZ #16194]
11053         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11054         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
11055         register usage.
11056         * sysdeps/x86/Makefile: Adjust.
11058 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11059             Roland McGrath  <roland@hack.frob.com>
11061         * locale/weight.h: Add include guard.
11062         (findidx): Make static rather than auto; take new parameters
11063         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11064         * locale/weightwc.h: Likewise.
11065         * posix/fnmatch_loop.c
11066         (FCT): Change type of EXTRA from int32_t to wint_t.
11067         Don't include either header inside the function.
11068         Call FINDIDX rather than findidx, and pass new arguments.
11069         #undef FINDIDX at the end of the file.
11070         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11071         FINDIDX before including fnmatch_loop.c for the non-wide version.
11072         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11073         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11074         for the wide version.
11075         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11076         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11077         Pass new arguments to findidx.
11078         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11079         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11080         Don't #include it inside the function.  Pass new arguments to findidx.
11081         * posix/regex_internal.h
11082         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11083         (re_string_elem_size_at): Don't #include it inside the function.
11084         Pass new arguments to findidx.
11085         * string/strcoll_l.c: #include WEIGHT_H at top level.
11086         (get_next_seq): Don't #include it inside the function.
11087         Pass new arguments to findidx.
11088         (get_next_seq_nocache): Likewise.
11089         * string/strxfrm_l.c: #include WEIGHT_H at top level.
11090         (STRXFRM): Don't #include it inside the function.
11091         Pass new arguments to findidx.
11093 2014-09-11  Florian Weimer  <fweimer@redhat.com>
11095         [BZ #17344]
11096         * malloc/malloc.c (unlink): Turn asserts into a call to
11097         malloc_printerr.
11099 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
11101         [BZ #17370]
11102         * libio/wfileops (do_ftell_wide): Free OUT.
11104 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
11106         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11108 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11110         [BZ #17363]
11111         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11112         group if the current group is empty.
11114 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11116         * benchtests/bench-memset.c (test_main): Add more test from size
11117         from 32 to 512 bytes.
11118         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11119         Add POWER8 memset object.
11120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11121         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11122         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11123         implementation.
11124         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11125         Likewise.
11126         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11127         multiarch POWER8 memset optimization.
11128         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11129         POWER8 memset optimization.
11131         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11132         Remove bzero multiarch objects.
11133         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11134         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11135         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11136         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11137         Remove define.
11138         [__bzero]: Redefine to specific name.
11139         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11140         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11141         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11142         define.
11143         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11144         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11146 2014-09-10  Florian Weimer  <fweimer@redhat.com>
11148         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11149         warnings into errors.
11151         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11152         __cxa_thread_atexit_impl prototype.
11154 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11156         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11157         Fix capitalization of error message.
11159 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11161         * sysdeps/mips/preconfigure: Modify ABI tests.
11163 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
11165         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11167 2014-09-07  Roland McGrath  <roland@hack.frob.com>
11168             Carlos O'Donell  <carlos@systemhalted.org>
11170         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11171         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11172         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11173         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11174         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11175         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11176         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11177         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11178         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11179         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11180         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11181         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11182         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11183         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11184         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11185         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11186         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11187         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11188         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11189         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11190         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11191         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11192         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11193         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11194         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11195         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11196         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11197         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11198         Deconditionalize the code that was previously under [RESET_PID].
11199         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11200         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11201         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11202         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11203         include sysdep.h.
11205 2014-09-08  Allan McRae  <allan@archlinux.org>
11207         * version.h (RELEASE): Set to "development".
11208         (VERSION): Set to "2.20.90"
11210 2014-09-07  Allan McRae  <allan@archlinux.org
11212         * version.h (RELEASE): Set to "stable".
11213         (VERSION): Set to "2.20"
11214         * include/features.h (__GLIBC_MINOR__): Set to 20.
11216         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11217         Liebler.
11219         * po/ko.po: Update Korean translation from translation project.
11221 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
11223         [BZ #17354]
11224         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11225         macro for handling signed relocations.
11227 2014-09-03  Florian Weimer  <fweimer@redhat.com>
11229         [BZ #17325]
11230         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11231         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11232         assert.
11233         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11234         * iconvdata/ibm935.c (BODY): Likewise.
11235         * iconvdata/ibm937.c (BODY): Likewise.
11236         * iconvdata/ibm939.c (BODY): Likewise.
11237         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11238         assert.
11239         * iconvdata/Makefile (iconv-test.out): Pass module list to test
11240         script.
11241         * iconvdata/run-iconv-test.sh: New test loop for checking for
11242         decoder crashers.
11244 2014-09-02  Khem Raj  <raj.khem@gmail.com>
11246         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11247         libm_hidden_ver.
11249 2014-09-01  Allan McRae  <allan@archlinux.org>
11251         * po/eo.po: Update Esperanto translation from translation project.
11253         * po/ca.po: Update Catalan translation from translation project.
11255 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11257         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11258         __proc_dostop call.
11260 2014-08-27  Mark Wielaard  <mjw@redhat.com>
11262         [BZ #17319]
11263         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11264         to call set_thread_area instead of hand written asm.
11265         (__NR_set_thread_area): Removed define.
11266         (TLS_FLAG_WRITABLE): Likewise.
11267         (__ASSUME_SET_THREAD_AREA): Remove check.
11268         (TLS_EBX_ARG): Remove define.
11269         (TLS_LOAD_EBX): Likewise.
11271 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11273         Simplify atomicity of socket creation in bind.
11275         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11276         looking up the name after linking the file.
11278 2014-08-27  Allan McRae  <allan@archlinux.org>
11280         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11282 2014-08-26  Florian Weimer  <fweimer@redhat.com>
11284         [BZ #17187]
11285         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11286         trans_compare, open_translit, __gconv_translit_find):
11287         Remove module loading code.
11289 2014-08-26  Allan McRae  <allan@archlinux.org>
11291         * po/vi.po: Update Vietnamese translation from translation project.
11293         * po/uk.po: Update Ukrainian translation from translation project.
11295         * po/fr.po: Update French translation from translation project.
11297         * po/ru.po: Update Russian translation from translation project.
11299         * po/pl.po: Update Polish translation from translation project.
11301         * po/cs.po: Update Czech translation from translation project.
11303         * po/de.po: Update German translation from translation project.
11305         * po/bg.po: Update Bulgarian translation from translation project.
11307         * po/sv.po: Update Sweedish translation from translation project.
11309         * po/nl.po: Update Dutch translation from translation project.
11311         * po/es.po: Update Spanish translation from translation project.
11313 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11315         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11317         * catgets/Makefile (CPPFLAGS-gencat): Remove.
11318         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11319         (CPPFLAGS-iconvconfig): Likewise.
11320         * timezone/Makefile (CPPFLAGS-zic): Likewise.
11322         * include/libc-symbols.h: Remove unnecessary check for
11323         NOT_IN_libc.
11324         * nptl/pthreadP.h: Likewise.
11325         * sysdeps/aarch64/setjmp.S: Likewise.
11326         * sysdeps/alpha/setjmp.S: Likewise.
11327         * sysdeps/arm/sysdep.h: Likewise.
11328         * sysdeps/i386/setjmp.S: Likewise.
11329         * sysdeps/m68k/setjmp.c: Likewise.
11330         * sysdeps/posix/getcwd.c: Likewise.
11331         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11332         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11333         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11334         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11335         * sysdeps/sh/sh3/setjmp.S: Likewise.
11336         * sysdeps/sh/sh4/setjmp.S: Likewise.
11337         * sysdeps/unix/alpha/sysdep.h: Likewise.
11338         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11339         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11340         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11341         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11344         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11345         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11346         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11347         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11348         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11349         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11350         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11351         * sysdeps/x86_64/setjmp.S: Likewise.
11353 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
11355         [BZ #17263]
11356         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11357         <stdint.h>.
11358         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11359         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11361 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11363         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11365         [BZ #17262]
11366         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11367         and __x86_64__ when disabling x87 inline functions.
11369 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11371         [BZ #17259]
11372         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11373         asm statement with __cpuid_count.
11375 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
11377         * configure.ac: Change __ehdr_start code to dereference the struct.
11378         Run readelf on the output to look for relocations.
11379         * configure: Regenerated.
11381 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
11383         [BZ #17261]
11384         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11385         value to 0.
11386         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11388 2014-08-12  Roland McGrath  <roland@hack.frob.com>
11390         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11392 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
11394         [BZ #16892]
11395         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11396         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11398 2014-08-12  Sean Anderson  <seanga2@gmail.com>
11400         * malloc/malloc.c: Fix typo in comment.
11402 2014-08-09  Allan McRae  <allan@archlinux.org>
11404         * Regenerate libc.po.
11406 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
11408         * intl/tst-gettext2.sh: Check every lang file for creation.
11410 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11412         * sysdeps/aarch64/fpu/math_private.h
11413         (libc_feholdsetround_noex_aarch64_ctx): New function.
11415 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11417         * sysdeps/arm/armv6/strcpy.S (strcpy):
11418         Fix performance issue in misaligned cases.
11420 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11422         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11423         Move definition from termios.h.
11424         (struct termio): Likewise.
11425         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11426         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11427         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11428         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11429         Likewise.
11430         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11431         Move definition to ioctl-types.h
11432         (struct termio): Likewise.
11433         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11434         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11435         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11436         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11437         Likewise.
11439 2014-08-05  Richard Henderson  <rth@redhat.com>
11441         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11442         exceptions.
11443         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11444         Add fraiseexcpt.
11445         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11446         Use __feraiseexcept.
11447         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11448         Protect libm symbols with IS_IN_libm.
11450         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11452 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
11454         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11456 2014-08-04  Will Newton  <will.newton@linaro.org>
11458         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11459         file.
11461 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
11463         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11464         variants for each function.
11466 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11468         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11469         appended ...
11470         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11471         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11472         appended ...
11473         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11474         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11475         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11476         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11477         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11478         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11479         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11480         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11481         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11482         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11483         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11484         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11485         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11486         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11487         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11488         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11489         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11490         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11491         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11492         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11493         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11494         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11495         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11496         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11497         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11498         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11499         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11500         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11501         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11502         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11503         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11504         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11505         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11506         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11507         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11508         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11509         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11510         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11511         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11512         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11513         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11514         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11515         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11516         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11517         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11518         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11519         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11520         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11521         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11522         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11523         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11524         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11525         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11526         Update #include.
11527         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11528         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11530 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11532         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11533         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11534         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11535         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11536         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11537         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11539 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11541         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11542         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11543         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11544         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11546 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11548         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11549         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11550         (__libc_vfork): Define function under this name.
11551         (__vfork): Define as an alias.
11552         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11553         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11555 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11557         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11558         that was previously under [RESET_PID].
11559         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11561 2014-08-04  Andreas Schwab  <schwab@suse.de>
11563         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11565 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
11567         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11568         (main): Likewise.
11570 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11572         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11574 2014-08-01  Richard Henderon  <rth@redhat.com>
11576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11577         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11578         typo in exact zero test.
11579         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11580         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11581         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11583 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11585         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11586         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11587         * sysdeps/arm/sysdep.h: ... here.
11588         [!__ASSEMBLER__]: Include <stdint.h>.
11590 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11592         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11593         (HAVE_WCTYPE_H): Likewise.
11594         (HAVE_ISWCTYPE): Likewise.
11595         (ENABLE_NLS): Likewise.
11596         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11597         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11599         * posix/regex_internal.c: Check if DEBUG is defined and is
11600         set.
11602         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11603         (HAVE_MBSRTOWCS): Likewise.
11604         * posix/fnmatch.c: Include string.h unconditionally.
11606 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11608         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11609         reversal.
11611 2014-07-31  Roland McGrath  <roland@hack.frob.com>
11613         * sysdeps/generic/safe-fatal.h: New file.
11614         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11615         * nptl/forward.c: Include it.
11616         (__pthread_unwind): Use __safe_fatal as default action, rather
11617         than a bogus use of INTERNAL_SYSCALL that could never work.
11619         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11620         * configure.ac (libc_cv_builtin_trap): New test.
11621         * configure: Regenerated.
11622         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11623         (ABORT_INSTRUCTION): Define using __builtin_trap.
11625         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11626         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11627         * sysdeps/nptl/nptl-signals.h: New file.
11628         * nptl/pthreadP.h: Include <nptl-signals.h>.
11630 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11632         * sysdeps/s390/s390-64/utf16-utf32-z9.c
11633         (ONE_DIRECTION): Define.
11634         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11635         (ONE_DIRECTION): Define.
11636         * sysdeps/s390/s390-64/utf8-utf32-z9.c
11637         (ONE_DIRECTION): Define.
11639 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11641         * sysdeps/s390/Makefile: Delete file.
11642         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11643         * sysdeps/s390/__longjmp.c: Delete file.
11644         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11645         Remove fields __flags and __reserved.
11646         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11647         and add versioning.
11648         * sysdeps/s390/rtld-__longjmp.c: Delete file.
11649         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11650         * sysdeps/s390/rtld-setjmp.S: Likewise.
11651         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11652         * sysdeps/s390/s390-32/__longjmp.c: ... here.
11653         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11654         * sysdeps/s390/s390-32/setjmp.S: ... here.
11655         Add versioning.
11656         (__sigsetjmp): Remove setting __flags field.
11657         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11658         * sysdeps/s390/s390-64/__longjmp.c: ... here.
11659         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11660         * sysdeps/s390/s390-64/setjmp.S: ... here.
11661         Add versioning.
11662         (__sigsetjmp): Remove setting __flags field.
11663         * sysdeps/s390/setjmp.S: Delete file.
11664         * sysdeps/s390/sigjmp.c: Likewise.
11665         * sysdeps/s390/v1-longjmp.c: Likewise.
11666         * sysdeps/s390/v1-setjmp.h: Likewise.
11667         * sysdeps/s390/v1-sigjmp.c: Likewise.
11668         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11669         Remove v1-longjmp_chk.
11670         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11671         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11672         Include debug/longjmp_chk.c and add versioning.
11673         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11674         Include nptl/pt-longjmp.c and add versioning.
11675         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11676         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11677         Include __longjmp.c.
11678         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11679         Move to ...
11680         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11681         (__getcontext): Remove setting __flags field.
11682         Add versioning.
11683         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11684         Don't restore upper high grps.
11685         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11686         Likewise.
11687         (__swapcontext): Remove setting uc_flags field.
11688         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11689         Delete file.
11690         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11691         Include __longjmp.c.
11692         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11693         Move to ...
11694         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11695         (__getcontext): Remove setting __flags field.
11696         Add versioning.
11697         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11698         (__swapcontext): Remove setting uc_flags field.
11699         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11700         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11701         Remove fields uc_high_gprs and __reserved.
11702         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11703         New file with reverted content.
11704         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11705         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11706         Regenerated.
11707         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11708         Regenerated.
11710 2014-07-31  Andreas Schwab  <schwab@suse.de>
11712         * config.h.in (HAVE_IFUNC): Define to 0.
11713         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11714         definedness.
11716 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
11718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11719         memmove-avx-unaligned, memcpy-avx-unaligned and
11720         mempcpy-avx-unaligned.
11721         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11722         Add tests for AVX memcpy functions.
11723         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11724         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11725         memcpy_chk.
11726         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11727         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11728         memmove_chk.
11729         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11730         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11731         mempcpy_chk.
11732         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11733         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11734         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11736 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11738         [BZ #17213]
11739         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11740         powerpc64le.
11742 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
11744         [BZ #16839]
11745         * manual/llio.texi: Add section about open file description locks.
11746         * manual/examples/ofdlocks.c: Example of open file description
11747         lock usage.
11748         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11749         F_OFD_SETLK, and F_OFD_SETLKW.
11751 2014-07-23  Allan McRae  <allan@archlinux.org>
11753         * po/es.po: Update Spanish translation from translation project.
11755 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
11757         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11759 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
11761         [BZ #17078]
11762         * sysdeps/arm/dl-machine.h (elf_machine_rela)
11763         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11764         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11766 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
11768         [BZ #17088]
11769         * math/fesetenv.c (__fesetenv)
11770         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11771         * math/feupdateenv.c (__feupdateenv)
11772         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11774         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11775         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11776         (__ASSUME_SOCKETCALL): Do not define.
11778         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11779         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11780         (__ASSUME_SOCKETCALL): Do not define.
11781         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11782         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11783         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11784         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11785         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11786         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11787         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11788         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11790         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11791         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11792         (__ASSUME_SOCKETCALL): Do not define.
11793         (__ASSUME_IPC64): Define unconditionally.
11794         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11795         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11796         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11797         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11798         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11799         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11800         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11801         Likewise.
11803         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11804         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11805         (__ASSUME_SOCKETCALL): Do not define.
11806         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11807         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11808         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11809         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11810         (__ASSUME_REQUEUE_PI): Define unconditionally.
11811         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11812         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11813         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11814         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11815         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11816         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11818         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11819         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11820         (__ASSUME_SOCKETCALL): Do not define.
11821         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11822         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11823         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11824         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11825         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11826         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11828         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11829         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11830         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11831         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11832         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11833         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11834         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11835         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11836         (__ASSUME_GETCPU_SYSCALL): Likewise.
11838         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11839         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
11840         cases for individual architectures.
11841         * sysdeps/gnu/configure: Regenerated.
11842         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11843         LIBC_SLIBDIR_RTLDDIR.
11844         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11845         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11846         LIBC_SLIBDIR_RTLDDIR.
11847         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11849         LIBC_SLIBDIR_RTLDDIR.
11850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11851         Regenerated.
11852         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11853         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11854         file.
11855         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11856         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11857         file.
11858         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11859         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11860         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11861         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11863         * sysdeps/aarch64/shlib-versions: Move to ...
11864         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11865         * sysdeps/alpha/shlib-versions: Move to ...
11866         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11867         * sysdeps/arm/shlib-versions: Move to ...
11868         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11869         * sysdeps/hppa/shlib-versions: Move all contents except for
11870         libgcc_s entry to ...
11871         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
11872         entry from ...
11873         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
11874         * sysdeps/ia64/shlib-versions: Move to ...
11875         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
11876         entry from ...
11877         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
11878         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11879         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11880         * sysdeps/microblaze/shlib-versions: Move to ...
11881         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11882         * sysdeps/mips/shlib-versions: Move to ...
11883         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
11884         entry from ...
11885         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
11886         * sysdeps/tile/shlib-versions: Move to ...
11887         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11888         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11889         from ...
11890         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
11891         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11892         entry from ...
11893         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
11895 2014-07-17  Will Newton  <will.newton@linaro.org>
11897         * sysdeps/arm/bits/atomic.h
11898         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11899         (__arch_compare_and_exchange_bool_16_int): Likewise.
11900         (__arch_compare_and_exchange_bool_64_int): Likewise.
11902         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11903         into an #else block.
11905 2014-07-16  Roland McGrath  <roland@hack.frob.com>
11907         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11908         just Linux configurations.  Test empirically that the compiler sets
11909         __ARM_EABI__, rather than using the tuple to decide.
11910         * sysdeps/arm/preconfigure: Regenerated.
11911         * sysdeps/unix/sysv/linux/arm/configure: File removed.
11912         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11913         contents appended ...
11914         * sysdeps/arm/configure.ac: ... here.
11915         * sysdeps/arm/configure: Regenerated.
11917 2014-07-15  Roland McGrath  <roland@hack.frob.com>
11919         * nptl/pthread_kill.c: New file.
11920         * nptl/pthread_sigmask.c: New file.
11921         * nptl/pthread_sigqueue.c: New file.
11923         * sysdeps/nptl/lowlevellock.h: New file.
11924         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11925         * sysdeps/nptl/lowlevellock-futex.h: New file.
11927         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11928         Remove dead declarations.
11930 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
11932         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11933         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11934         config-cflags-avx2.
11935         * sysdeps/x86_64/configure.ac: Likewise.
11936         * sysdeps/i386/configure: Regenerated.
11937         * sysdeps/x86_64/configure: Likewise.
11938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11939         memset-avx2 only if config-cflags-avx2 is yes.
11940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11941         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11942         defined.
11943         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11944         only if HAVE_AVX2_SUPPORT is defined.
11945         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11947 2014-07-14  Alan Modra  <amodra@gmail.com>
11949         [BZ #17153]
11950         * elf/elf.h (DT_PPC64_NUM): Correct value.
11951         * NEWS: Add to fixed bug list.
11953 2014-07-13  Jim Meyering  <meyering@fb.com>
11955         [BZ 17150]
11956         regex: don't deref NULL upon heap allocation failure
11957         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11958         failure in one more place.
11959         To trigger the segfault, configure grep -with-included-regex,
11960         build it, and run these commands:
11961         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11963 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
11965         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11967 2014-07-11  Richard Henderson  <rth@redhat.com>
11969         * sysdeps/aarch64/libm-test-ulps: Update.
11971 2014-07-10  Florian Weimer  <fweimer@redhat.com>
11973         [BZ #17135]
11974         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11975         * nptl/allocatestack.c (__nptl_setxid_error): New function.
11976         (__nptl_setxid): Initialize error member.  Call
11977         __nptl_setxid_error.
11978         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11979         * nptl/descr.h (struct xid_command): Add error member.
11980         * nptl/tst-setuid3.c: New file.
11981         * nptl/Makefile (tests): Add it.
11983 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11985         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11986         New define.
11987         (__lll_trylock): Use __lll_base_trylock.
11988         (__lll_cond_trylock): Likewise.
11990 2014-07-10  Roland McGrath  <roland@hack.frob.com>
11992         * nptl/pthread_create.c (start_thread): Use atomic_or and
11993         lll_futex_wake directly rather than lll_robust_dead.
11994         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11995         (lll_robust_dead): Macro removed.
11996         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11997         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11998         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11999         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12000         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12001         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12002         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12003         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12004         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12005         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12006         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12007         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12008         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12009         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12010         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12012         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12013         Use atomic_compare_and_exchange_val_acq directly rather than
12014         lll_robust_trylock.
12015         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12016         (__lll_robust_trylock, lll_robust_trylock): Removed.
12017         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12018         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12019         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12020         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12021         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12022         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12023         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12024         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12025         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12026         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12027         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12028         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12029         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12030         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12032 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12034         * manual/locale.texi (Locale Names): New section documenting
12035         locale name syntax.  Adjust menu and node chaining accordingly.
12036         (Choosing Locale): Reference Locale Names, Locale Categories.
12037         Mention setting LC_ALL=C.  Reflect that name syntax is now
12038         documented.
12039         (Locale Categories): New section title.  Reference Locale Names.
12040         LC_ALL is an environment variable, but not a category.
12041         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12042         description, now in Locale Name.  Reference that section.  Locale
12043         name syntax is now documented.
12045 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12047         [BZ #17137]
12048         * locale/findlocale.c (name_present, valid_locale_name): New
12049         functions.
12050         (_nl_find_locale): Use the loc_name variable to store name
12051         candidates.  Call name_present and valid_locale_name to check and
12052         validate locale names.  Return an error if the locale is invalid.
12054 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12056         * locale/setlocale.c (setlocale): Use strdup for allocating
12057         composite name copy.
12059 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12061         Sync up with gnulib.
12062         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12063         [!_LIBC && ENABLE_NLS]: Include gettext.h.
12064         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12065         and _GL_ARG_NONNULL.
12066         [USE_UNLOCKED_IO]: Include unlocked-io.h.
12067         [!_LIBC]: Include code for Windows and Cygwin.
12068         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12069         Include prototype for int strerror_r.
12070         [!_LIBC] (is_open): New function.
12071         (flush_stdout): New function.
12072         (print_errno_message): Use it.
12073         (error): Likewise.
12074         (error_at_line): Likewise.
12075         (error_tail) Add function attribute macros.  Use
12076         __builtin_expect.
12078         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12080         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12082         * io/ftw.c: Include sys/param.h unconditionally.
12084         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12086         [BZ #17125]
12087         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12088         libc_freeres_ptr.
12089         (freecache): New function to free CACHE on exit.
12091         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12092         initialization.
12094 2014-07-09  David S. Miller  <davem@davemloft.net>
12096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12098         * sysdeps/sparc/nptl/internaltypes.h: Delete.
12099         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12100         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12101         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12102         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12103         * sysdeps/sparc/nptl/sem_init.c: Likewise.
12104         * sysdeps/sparc/nptl/sem_post.c: Likewise.
12105         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12106         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12107         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12108         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12109         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12110         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12112 2014-07-09  Andreas Schwab  <schwab@suse.de>
12114         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12115         output.
12116         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12117         (do_test): Likewise.
12119         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12121 2014-07-09  Will Newton  <will.newton@linaro.org>
12123         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12124         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12125         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12126         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12127         * sysdeps/hppa/start.S (_start): Likewise.
12129 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
12131         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12133         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12134         defined.
12136 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12138         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12139         after checking that it is non-NULL.
12141         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12143 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12145         * sysdeps/powerpc/memmove.c: Remove file.
12146         * sysdeps/powerpc/powerpc32/power4/memcopy.h
12147         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12148         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12149         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12150         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12151         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12152         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12153         string memmove instead of removed powerpc one.
12155         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12156         [weak_alias]: Fix compiler warning due trailing data.
12157         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12158         [weak_alias]: Likewise.
12159         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12160         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12163         (__libc_ifunc_impl_list): Add memmove functions.
12165 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12167         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12168         Remove code.
12169         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12170         Likewise
12171         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12172         Likewise
12173         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12174         Likewise
12175         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12176         Likewise
12177         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12178         Likewise
12179         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12180         Likewise
12181         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12182         Likewise
12183         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12184         Likewise
12185         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12186         Likewise
12187         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12188         Likewise
12189         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12190         Likewise
12191         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12192         Likewise
12193         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12194         Likewise
12195         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12196         Likewise
12197         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12198         Likewise
12199         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12200         Likewise
12202 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12204         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12205         to avoid alignment traps in non-cacheable memory.
12206         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12209         multiarch objects.
12210         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12211         file: multiarch power7 memmove.
12212         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12213         multiarch default memmove.
12214         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12215         multiarch memove for powerpc32/power4.
12217         * string/bcopy.c: Use full path to include memmove.c.
12218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12219         multiarch objects.
12220         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12221         bcopy for powerpc64.
12222         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12223         bcopy for powerpc64.
12224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12225         and memmove implementations.
12226         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12227         optimized multiarch memmove for POWER7/powerpc64.
12228         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12229         default multiarch memmove for powerpc64.
12230         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12231         multiarch for powerpc64.
12232         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12233         for POWER7/powerpc64.
12234         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12235         memmove for POWER7/powerpc64.
12237         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12238         glibc default one.
12240         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12241         __ELF_NATIVE_CLASS equal to 64.
12243 2014-07-07  Roland McGrath  <roland@hack.frob.com>
12245         * sysdeps/nptl/lowlevellock.h: File removed.
12247         * NEWS: NPTL is no longer an add-on!
12248         * nptl/internaltypes.h: Moved ...
12249         * sysdeps/nptl/internaltypes.h: ... here.
12250         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12251         * sysdeps/nptl/fork.c: Likewise.
12252         * sysdeps/nptl/gai_misc.h: Likewise.
12253         * sysdeps/nptl/librt-cancellation.c: Likewise.
12254         * sysdeps/nptl/jmp-unwind.c: Likewise.
12255         * sysdeps/nptl/setxid.h: Likewise.
12256         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12257         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12258         * sysdeps/unix/sysv/linux/arm/Implies: New file.
12259         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12260         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12261         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12262         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12263         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12264         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12265         * sysdeps/unix/sysv/linux/mips/Implies: New file.
12266         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12267         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12268         * sysdeps/unix/sysv/linux/sh/Implies: New file.
12269         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12270         * sysdeps/unix/sysv/linux/tile/Implies: New file.
12271         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12272         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12273         * nptl/Makeconfig: Moved ...
12274         * sysdeps/nptl/Makeconfig: ... here.
12275         * nptl/configure: File removed.
12276         * nptl/ANNOUNCE: File removed.
12277         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12278         * sysdeps/unix/sysv/linux/configure: Regenerated.
12280         * nptl/Makefile (routines): Add libc_pthread_init,
12281         libc_multiple_threads, register-atfork and unregister-atfork.
12282         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12283         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12284         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12285         pthread-pi-defines.sym, structsem.sym.
12286         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12287         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12288         [$(subdir) = nptl] (tests): Add tst-setgetname.
12289         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12290         * sysdeps/unix/sysv/linux/sigaction.c: Just include
12291         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12292         [!LIBC_SIGACTION]: Remove aliases.
12293         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12294         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12295         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12296         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12297         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12298         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12299         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12300         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12301         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12302         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12303         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12304         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12305         __libc_allocate_rtsig_private.
12306         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12307         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12308         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12309         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12310         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12311         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12312         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12313         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12314         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12315         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12316         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12317         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12318         * nptl/internaltypes.h: ... here.
12319         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12320         * sysdeps/nptl/jmp-unwind.c: ... here.
12321         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12322         * nptl/libc-lowlevellock.c: ... here.
12323         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12324         * nptl/libc_multiple_threads.c: ... here.
12325         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12326         * nptl/libc_pthread_init.c: ... here.
12327         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12328         * nptl/lowlevelbarrier.sym: ... here.
12329         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12330         * nptl/lowlevelcond.sym: ... here.
12331         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12332         * nptl/lowlevellock.c: ... here.
12333         * nptl/lowlevellock.h: Moved ...
12334         * sysdeps/nptl/lowlevellock.h: ... here.
12335         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12336         * nptl/lowlevelrobustlock.c: ... here.
12337         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12338         * nptl/lowlevelrobustlock.sym: ... here.
12339         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12340         * nptl/lowlevelrwlock.sym: ... here.
12341         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12342         * nptl/pt-fork.c: ... here.
12343         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12344         * nptl/pthread-pi-defines.sym: ... here.
12345         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12346         * nptl/pthread_attr_getaffinity.c: ... here.
12347         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12348         * nptl/pthread_attr_setaffinity.c: ... here.
12349         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12350         * nptl/pthread_mutex_cond_lock.c: ... here.
12351         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12352         Update #include.
12353         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12354         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12355         * nptl/pthread_once.c: ... here, replacing old file.
12356         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12357         * nptl/pthread_yield.c: ... here.
12358         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12359         * nptl/register-atfork.c: ... here.
12360         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12361         * nptl/sem_post.c: ... here.
12362         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12363         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12364         * nptl/sem_timedwait.c: ... here.
12365         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12366         * nptl/sem_trywait.c: ... here.
12367         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12368         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12369         * nptl/sem_wait.c: ... here.
12370         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12371         * nptl/structsem.sym: ... here.
12372         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12373         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12374         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12375         * nptl/unregister-atfork.c: ... here.
12376         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12377         * nptl/unwindbuf.sym: ... here.
12378         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12379         * sysdeps/nptl/fork.c: ... here.
12380         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12381         * sysdeps/nptl/fork.h: ... here.
12382         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12383         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12384         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12385         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12386         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12387         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12388         * sysdeps/unix/sysv/linux/getpid.c: ... here.
12389         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12390         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12391         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12392         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12393         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12394         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12395         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12396         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12397         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12398         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12399         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12400         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12401         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12402         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12403         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12404         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12405         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12406         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12407         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12408         * sysdeps/unix/sysv/linux/raise.c: ... here.
12409         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12410         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12411         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12412         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12413         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12414         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12415         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12416         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12417         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12418         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12419         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12420         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12421         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12422         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12423         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12425 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12427         * sysdeps/generic/memcopy.h: Add comment for
12428         MEMCPY_OK_FOR_FWD_MEMMOVE.
12430 2014-07-04  Will Newton  <will.newton@linaro.org>
12432         * string/memchr.c: Merge from gnulib.
12433         [_LIBC]: Remove conditionals.
12434         (__ptr_t): Remove define.
12435         (LONG_MAX_32_BITS): Likewise.
12436         (LONG_MAX): Likewise.
12437         (MEMCHR): Use ANSI prototype and optimize algorithm.
12439         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12441 2014-07-03  Roland McGrath  <roland@hack.frob.com>
12443         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12444         (lll_futex_timed_wait_bitset): Fix syscall argument count.
12446         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12447         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12448         in a bare environment with no <stdlib.h> installed.
12449         * sysdeps/nptl/configure: Regenerated.
12451         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12453         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12454         AC_EGREP_CPP for kernel header checks, so they only succeed if
12455         including <linux/version.h> actually works right.
12456         * sysdeps/unix/sysv/linux/configure: Regenerated.
12458         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12459         value so it's not diagnosed as unused.
12461         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12462         thing) with "ifeq ($(subdir),rt)".
12464 2014-07-03  Richard Henderson  <rth@redhat.com>
12466         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12467         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12468         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12470         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12471         (math_force_eval): New.
12473         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12474         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12476         * sysdeps/alpha/fpu/s_round.c: Remove file.
12477         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12479         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12480         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12481         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12482         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12483         (_dl_start, print_statistics): Likewise.
12484         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12485         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12487         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12488         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12489         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12490         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12491         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12492         (HP_SMALL_TIMING_AVAIL): Define.
12493         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12494         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12495         (HP_SMALL_TIMING_AVAIL): Define.
12496         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12497         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12499         * sysdeps/aarch64/hp-timing.h: New file.
12501         * sysdeps/generic/hp-timing.h: Remove dead comment.
12502         * sysdeps/generic/hp-timing-common.h: New file.
12503         * sysdeps/alpha/hp-timing.h: Include it.
12504         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12505         * sysdeps/i386/i686/hp-timing.h: Likewise.
12506         * sysdeps/ia64/hp-timing.h: Likewise.
12507         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12508         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12509         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12510         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12511         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12512         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12513         (hp_timing_t): New.
12515         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12516         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12517         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12518         * elf/rtld.c (_dl_start_final): Likewise.
12519         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12520         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12521         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12522         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12523         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12524         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12525         (HP_TIMING_DIFF_INIT): Remove.
12526         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12527         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12528         (HP_TIMING_DIFF_INIT): Remove.
12529         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12530         * sysdeps/i386/i686/hp-timing.c: Remove file.
12531         * sysdeps/x86_64/hp-timing.c: Remove file.
12532         * sysdeps/ia64/hp-timing.c: Remove file.
12533         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12534         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12535         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12536         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12538         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12539         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12540         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12541         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12542         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12543         (HP_TIMING_ACCUM): Remove.
12544         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12545         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12546         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12548         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12549         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12550         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12551         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12552         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12553         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12554         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12555         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12557         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12559 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
12561         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12563 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12565         Sync up with gettext.
12566         * intl/loadmsgcat.c: Define O_BINARY if not defined.
12567         [_MSC_VER]: Include malloc.h
12568         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12569         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12570         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
12571         TEMP_FAILURE_RETRY.  Cast return of alloca.
12572         [!_LIBC] Call gl_rwlock_init.
12573         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12575 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12577         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12578         before checking its value.
12580 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12582         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12584         * debug/memcpy_chk.c: Don't include pagecopy.h.
12585         * debug/mempcpy_chk.c: Likewise.
12586         * string/memcpy.c: Likewise.
12587         * string/memmove.c: Likewise.
12588         * sysdeps/powerpc/memmove.c: Likewise.
12589         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
12590         definition of PAGE_COPY_FWD_MAYBE here...
12591         * sysdeps/generic/pagecopy.h: ... from here.
12592         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12594 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12595             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12597         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12599         optimizations.
12600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12601         (__libc_ifunc_impl_list): Likewise.
12602         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12603         multiarch strcat for PPC64.
12604         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12605         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12607 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12609         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12611 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12613         * intl/loadmsgcat.c: Remove declaration of
12614         get_sysdep_segment_value.
12615         (get_sysdep_segment_value): Use ISO C style.
12616         (_nl_load_domain): Use ISO C style.  Get rid of redundant
12617         semicolon.  Fix typo and formatting in comment.
12618         (_nl_unload_domain): Use ISO C style.
12620         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12622 2014-07-02  Will Newton  <will.newton@linaro.org>
12624         * malloc/obstack.c: Merge from gnulib master.
12625         [HAVE_CONFIG_H]: Remove conditional code.
12626         [!_LIBC]: Include config.h.
12627         [!ELIDE_CODE]: Don't include inttypes.h, include
12628         stdint.h unconditionally.
12629         (print_and_abort): Mark as _Noreturn.
12630         (_obstack_allocated_p): Mark as __attribute_pure__.
12631         (obstack_free): Rename to __obstack_free.
12632         [!__attribute__]: Remove conditional code.
12633         * malloc/obstack.h: Merge from gnulib master.
12634         [__cplusplus]: Move conditional down.
12635         [!__attribute_pure__]: Define __attribute_pure__ here
12636         if it is not already defined.
12637         (_obstack_memory_used): Mark as __attribute_pure__.
12638         [!__obstack_free]: Define as obstack_free.
12639         [__GNUC__]: Remove check for ancient NeXT gcc.
12641 2014-07-02  Will Newton  <will.newton@linaro.org>
12642             Paul Eggert  <eggert@cs.ucla.edu>
12644         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12646 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12648         * resolv/gethnamaddr.c: Add comment warning that the file is
12649         not maintained.
12651 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
12653         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12654         entries.
12656         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12657         entry for aio_cancel and aio_cancel64.
12658         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12659         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12660         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12661         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12662         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12663         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12664         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12665         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12666         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12667         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12668         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12669         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12670         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12672 2014-07-01  Roland McGrath  <roland@hack.frob.com>
12674         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12675         * nptl/pthread_mutex_lock.c: Likewise.
12676         * nptl/pthread_mutex_timedlock.c: Likewise.
12677         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12679 2014-07-01  Richard henderson  <rth@redhat.com>
12681         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12682         (__isnan, __isnanl): Remove.
12683         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12685         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12687 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12689         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12691 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12693         * resolv/nss_dns/dns-host.c (getanswer_r)
12694         [MULTI_PTRS_ARE_ALIASES]: Remove code.
12696 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
12698         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12699         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12700         undefine.
12701         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12702         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12704 2014-07-01  Roland McGrath <roland@hack.frob.com>
12706         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12707         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12709         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12710         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12712         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12713         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12714         ... here.
12715         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12716         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12718         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12719         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12720         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12721         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12723         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12724         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12725         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12726         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12727         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12728         Moved ...
12729         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12730         ... here.
12731         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12732         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12733         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12734         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12735         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12736         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12737         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12738         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12739         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12740         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12741         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12742         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12743         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12744         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12745         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12746         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12747         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12748         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12749         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12750         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12751         ... here.
12752         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12753         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12754         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12755         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12756         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12757         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12758         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12759         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12761 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
12763         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12764         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12765         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12766         Add sysdep.
12768 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12772 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12774         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12775         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12777         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12779         * sysdeps/arm/libm-test-ulps: Regenerated.
12781 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12782             Roland McGrath <roland@hack.frob.com>
12784         * test-skeleton.c (signal_handler): Kill the whole process group
12785         before killing the child individually.
12786         (main): Report any failure on `setpgid'.
12788 2014-06-30  Roland McGrath  <roland@hack.frob.com>
12790         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12791         from _TLS_H to _ARM_NPTL_TLS_H.
12792         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12793         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12795 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12797         [BZ #16539]
12798         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12799         (__expm1l): Return argument unchanged when small but not
12800         subnormal.
12802         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12803         include macro name.
12804         (_FP_UNPACK_RAW_1_P): Likewise.
12805         (_FP_PACK_RAW_1): Likewise.
12806         (_FP_PACK_RAW_1_P): Likewise.
12807         (_FP_MUL_MEAT_1_wide): Likewise.
12808         (_FP_MUL_MEAT_DW_1_hard): Likewise.
12809         (_FP_MUL_MEAT_1_hard): Likewise.
12810         (_FP_DIV_MEAT_1_imm): Likewise.
12811         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12812         (_FP_DIV_MEAT_1_udiv): Likewise.
12813         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12814         (_FP_UNPACK_RAW_2): Likewise.
12815         (_FP_UNPACK_RAW_2_P): Likewise.
12816         (_FP_PACK_RAW_2): Likewise.
12817         (_FP_PACK_RAW_2_P): Likewise.
12818         (_FP_MUL_MEAT_DW_2_wide): Likewise.
12819         (_FP_MUL_MEAT_2_wide): Likewise.
12820         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12821         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12822         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12823         (_FP_MUL_MEAT_2_gmp): Likewise.
12824         (_FP_DIV_MEAT_2_udiv): Likewise.
12825         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12826         (_FP_FRAC_SRL_4): Likewise.
12827         (_FP_FRAC_SRST_4): Likewise.
12828         (_FP_FRAC_SRS_4): Likewise.
12829         (_FP_UNPACK_RAW_4): Likewise.
12830         (_FP_UNPACK_RAW_4_P): Likewise.
12831         (_FP_PACK_RAW_4): Likewise.
12832         (_FP_PACK_RAW_4_P): Likewise.
12833         (_FP_MUL_MEAT_DW_4_wide): Likewise.
12834         (_FP_MUL_MEAT_4_wide): Likewise.
12835         (_FP_MUL_MEAT_4_gmp): Likewise.
12836         (umul_ppppmnnn): Likewise.
12837         (_FP_DIV_MEAT_4_udiv): Likewise.
12838         (__FP_FRAC_ADD_4): Likewise.
12839         (__FP_FRAC_SUB_3): Likewise.
12840         (__FP_FRAC_SUB_4): Likewise.
12841         (__FP_FRAC_DEC_3): Likewise.
12842         (__FP_FRAC_DEC_4): Likewise.
12843         (__FP_FRAC_ADDI_4): Likewise.
12844         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12845         (_FP_FRAC_SRL_8): Likewise.
12846         (_FP_FRAC_SRS_8): Likewise.
12848         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12849         include macro name.
12850         (FP_UNPACK_RAW_EP): Likewise.
12851         (FP_PACK_RAW_E): Likewise.
12852         (FP_PACK_RAW_EP): Likewise.
12853         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12854         (_FP_ISSIGNAN): Likewise.
12855         (_FP_ADD_INTERNAL): Likewise.
12856         (_FP_FMA): Likewise.
12857         (_FP_CMP): Likewise.
12858         (_FP_SQRT): Likewise.
12859         (_FP_TO_INT): Likewise.
12860         (_FP_FROM_INT): Likewise.
12861         (FP_EXTEND): Likewise.
12862         (_FP_DIV_MEAT_N_loop): Likewise.
12864 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12866         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12867         throughout.
12869 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
12871         [BZ #17097]
12872         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12873         result with correct sign in case of exponents that produce
12874         overflow except for X very close to 1.
12876 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
12878         mktime: merge #if/#ifdef usage from glibc
12879         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12880         as that works with both Glibc's and Gnulib's style.
12881         See thread starting at Siddhesh Poyarekar's bug report at:
12882         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12884 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12886         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12887         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12888         * sysdeps/tile/tilegx/memmove.c: Remove file.
12890 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12892         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12893         abi-name definition.
12894         * scripts/soversions.awk: Do not handle or generate ABI lines.
12895         * shlib-versions: Remove ABI entries.
12896         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12897         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12899 2014-06-27  Roland McGrath  <roland@hack.frob.com>
12901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12902         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12903         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12904         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12906         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12907         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12908         Moved ...
12909         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12910         ... here.
12911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12912         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12913         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12914         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12915         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12916         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12917         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12918         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12920         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12922         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12924         Moved ...
12925         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12926         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12927         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12929         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12930         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12931         Moved ...
12932         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12934         Moved ...
12935         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12937         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12939         Moved ...
12940         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12942         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12944         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12946         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12948         Moved ...
12949         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12950         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12951         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12952         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12953         Moved ...
12954         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12955         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12956         Moved ...
12957         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12958         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12959         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12960         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12961         Moved ...
12962         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12963         ... here.
12964         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12965         Identical file removed.
12966         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12967         Moved ...
12968         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12969         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12970         Identical file removed.
12971         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12972         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12973         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12974         Moved ...
12975         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12976         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12977         Identical file removed.
12978         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12979         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12980         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12981         Identical file removed.
12982         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12983         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12984         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12985         Identical file removed.
12986         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12987         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12988         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12989         Identical file removed.
12990         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12991         Moved ...
12992         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12993         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12994         Identical file removed.
12995         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12996         Moved ...
12997         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12998         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12999         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13000         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13001         Identical file removed.
13002         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13003         Moved ...
13004         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13005         ... here.
13006         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13007         Identical file removed.
13008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13009         Moved ...
13010         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13011         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13012         Identical file removed.
13013         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13014         Moved ...
13015         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13016         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13017         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13019         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13020         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13021         Moved ...
13022         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13023         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13024         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13026         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13027         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13028         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13029         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13030         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13032 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
13034         [BZ #17092]
13035         * nscd/nscd.c (monitor_child): Return exit status of child
13036         instead of return value from wait syscall.
13038 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13040         * configure.ac (libc_commonpagesize): Remove variable.
13041         (libc_relro_required): Likewise.
13042         (libc_cv_z_relro): Remove configure test.
13043         * configure: Regenerated.
13044         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13045         variable.
13046         (libc_relro_required): Likewise.
13047         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13048         (libc_relro_required): Likewise.
13049         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13050         (libc_relro_required): Likewise.
13051         * sysdeps/arm/preconfigure: Regenerated.
13052         * sysdeps/ia64/preconfigure: Remove file.
13053         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13054         variable.
13055         (libc_relro_required): Likewise.
13057         [BZ #16561]
13058         [BZ #16562]
13059         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13060         (__ieee754_yn): Set FE_TONEAREST mode internally and then
13061         recompute overflowing results in original rounding mode.
13062         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13063         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13064         recompute overflowing results in original rounding mode.
13065         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13066         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13067         recompute overflowing results in original rounding mode.
13068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13069         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13070         recompute overflowing results in original rounding mode.
13071         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13072         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13073         recompute overflowing results in original rounding mode.
13074         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13075         (libc_feholdsetround_ctx): New macro.
13076         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13077         * sysdeps/i386/fpu/libm-test-ulps: Update.
13078         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13080 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13082         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13083         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13084         corresponding .cpsetup call.
13086 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13088         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13089         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13090         * sysdeps/arm/Makefile [$(subdir) = csu]
13091         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13092         (static-only-routines): Add aeabi_read_tp here.
13093         (shared-only-routines): Add libc-aeabi_read_tp here.
13094         (CFLAGS-libc-start.c): Add -fexceptions here.
13095         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13096         (sysdep_routines, static-only-routines, shared-only-routines):
13097         Don't add to these here.
13098         (CFLAGS-libc-start.c): Likewise.
13100         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13101         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13102         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13103         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13104         * sysdeps/arm/Makefile [$(subdir) = rt]
13105         (librt-sysdep_routines, librt-shared-only-routines):
13106         Append rt-aeabi_unwind_cpp_pr1 here.
13107         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13108         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13109         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13110         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13111         Append nptl-aeabi_unwind_cpp_pr1 here.
13112         (tests): Filter out tst-cleanupx4 here.
13113         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13114         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13115         Don't do those here.
13117 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13119         * scripts/list-sources.sh: Do not handle ports specially.
13121 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13123         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13124         * sysdeps/arm/feupdateenv.c: Likewise.
13126         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13128 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13130         * manual/texinfo.tex: Update to version 2014-05-05.10 with
13131         trailing whitespace removed.
13132         * scripts/config.guess: Update to version 2014-03-23.
13133         * scripts/config.sub: Update to version 2014-05-01
13134         * scripts/install-sh: Update to version 2013-12-25.23.
13135         * scripts/move-if-change: Update from gnulib.
13137 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13139         * debug/memmove_chk.c: Remove pagecopy.h include.
13141 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
13143         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
13144         identical to gnulib mktime.
13146 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13148         * configure.ac: Do not test for machine being rs6000.  Do not test
13149         for powerpc*-*soft.
13150         * configure: Regenerated.
13152         [BZ #11505]
13153         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13154         test.
13155         * configure: Regenerated.
13156         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13157         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13158         Remove configure test.
13159         * sysdeps/arm/configure: Regenerated.
13160         * sysdeps/nptl/configure.ac: Do not check
13161         libc_cv_asm_cfi_directives.
13162         * sysdeps/nptl/configure: Regenerated.
13163         * sysdeps/x86_64/nptl/configure.ac: Remove file.
13164         * sysdeps/x86_64/nptl/configure: Remove generated file.
13165         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13166         unconditional.
13167         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13169 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13171         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13172         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13173         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13174         it is defined.
13176         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13177         instead of whether it is defined.
13178         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13179         * sysdeps/hppa/dl-machine.h: Likewise.
13180         * sysdeps/ia64/dl-machine.h: Likewise.
13181         * sysdeps/m68k/dl-machine.h: Likewise.
13182         * sysdeps/microblaze/dl-machine.h: Likewise.
13183         * sysdeps/mips/dl-machine.: Likewise.
13184         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13185         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13186         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13187         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13188         * sysdeps/sh/dl-machine.h: Likewise.
13189         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13190         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13191         * sysdeps/tile/dl-machine.h: Likewise.
13192         * sysdeps/x86_64/dl-machine.h: Likewise.
13194         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13195         code.
13196         (verify_persistent_db): Likewise.
13198 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13201         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13203         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13205         Moved ...
13206         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13207         ... here.
13208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13209         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13211         Identical file removed.
13212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13213         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13215         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13217         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13219         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13221         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13223         Moved ...
13224         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13226         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13228         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13230         Moved ...
13231         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13233         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13235         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13237         Identical file removed.
13238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13239         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13241         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13243         Moved ...
13244         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13245         ... here.
13246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13247         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13249         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13251         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13253         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13255         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13257         Moved ...
13258         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13260         Moved ...
13261         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13263         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13265         Moved ...
13266         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13268         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13270         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13271         folded into ...
13272         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13273         * sysdeps/unix/sysv/linux/s390/Versions
13274         (libpthread: GLIBC_2.19): New version set.
13275         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13276         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13277         (librt: GLIBC_2.3.3): New version set.
13278         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13279         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13280         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13281         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13282         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13283         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13284         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13285         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13286         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13287         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13288         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13289         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13290         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13291         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13292         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13293         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13294         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13295         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13296         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13297         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13298         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13299         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13300         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13301         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13302         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13303         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13304         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13305         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13306         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13307         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13308         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13309         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13310         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13311         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13312         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13313         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13314         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13315         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13316         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13317         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13318         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13319         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13320         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13321         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13322         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13324         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13325         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13326         (__libc_vfork): Define the function under this name.
13327         [!NOT_IN_libc] (__vfork): Make this an alias.
13328         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13329         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13330         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13331         (__libc_vfork): Define the function under this name.
13332         [!NOT_IN_libc] (__vfork): Make this an alias.
13333         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13334         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13335         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13336         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13337         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13338         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13340         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13341         code that was previously under [RESET_PID].
13342         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13343         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13344         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13346         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13347         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13348         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13349         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13350         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13351         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13352         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13353         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13354         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13355         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13356         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13357         Moved ...
13358         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13359         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13360         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13361         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13362         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13363         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13364         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13365         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13366         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13367         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13368         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13369         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13370         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13371         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13372         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13373         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13374         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13375         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13376         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13377         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13378         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13379         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13380         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13381         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13382         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13383         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13384         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13385         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13386         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13388 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13390         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13391         that was previously under [RESET_PID].
13392         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13394 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13396         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13397         not undefine and redefine.
13398         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13399         [O_CLOEXEC]: Make code unconditional.
13400         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13401         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13402         <kernel-features.h>.
13403         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13404         conditional variable definition.
13405         (shm_open) [O_CLOEXEC]: Make code unconditional.
13406         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13407         code.
13409         * configure.ac (USE_REGPARMS): Don't define here.
13410         * configure: Regenerated.
13411         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13412         * sysdeps/i386/configure: Regenerated.
13414         * nptl/createthread.c: Don't include kernel-features.h.
13415         * nptl/pthread_cancel.c: Likewise.
13416         * nptl/pthread_condattr_setclock.c: Likewise.
13417         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13418         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13419         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13420         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13421         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13422         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13423         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13425         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13426         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13427         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13428         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13429         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13430         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13431         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13432         * nscd/gai.c: Likewise.
13433         * nss/nss_db/db-open.c: Likewise.
13434         * sysdeps/generic/ldsodefs.h: Likewise.
13435         * sysdeps/sh/nptl/tls.h: Likewise.
13436         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13437         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13438         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13439         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13440         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13441         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13442         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13443         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13444         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13445         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13446         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13447         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13448         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13449         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13450         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13451         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13452         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13453         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13454         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13455         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13456         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13457         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13458         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13459         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13460         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13461         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13462         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13463         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13464         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13465         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13466         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13467         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13468         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13469         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13470         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13471         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13472         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13473         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13474         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13475         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13476         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13477         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13478         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13479         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13480         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13481         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13482         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13483         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13484         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13485         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13486         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13487         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13488         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13489         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13490         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13491         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13492         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13493         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13516         * sysdeps/unix/sysv/linux/pread.c: Likewise.
13517         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13518         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13519         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13520         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13521         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13522         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13523         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13524         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13525         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13526         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13527         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13528         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13529         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13530         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13531         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13532         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13533         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13534         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13535         * sysdeps/unix/sysv/linux/system.c: Likewise.
13536         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13537         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13538         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13539         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13540         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13541         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13542         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13544         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13545         * configure: Regenerated.
13546         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13548         * configure.ac (base_machine): Do not set specially for particular
13549         machines here.
13550         * configure: Regenerated.
13551         * sysdeps/powerpc/preconfigure: Move machine and base_machine
13552         settings from configure.ac.
13553         * sysdeps/i386/preconfigure: New file.
13554         * sysdeps/s390/preconfigure: Likewise.
13555         * sysdeps/sh/preconfigure: Likewise.
13556         * sysdeps/sparc/preconfigure: Likewise.
13558 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13560         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13561         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13562         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13563         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13564         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13565         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13566         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13567         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13568         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13569         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13570         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13571         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13572         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13573         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13574         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13575         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13576         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13577         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13578         * sysdeps/sparc/sparc64/Makefile: ... appended here.
13580         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13581         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13582         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13583         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13584         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13585         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13586         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13587         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13588         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13589         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13590         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13591         * sysdeps/sparc/sparc32/sem_post.c: ... here.
13592         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13593         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13594         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13595         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13596         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13597         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13598         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13599         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13600         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13601         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13602         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13603         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13604         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13605         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13606         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13607         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13608         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13609         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13610         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13611         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13612         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13613         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13614         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13615         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13616         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13617         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13620         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13622         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13624         Moved ...
13625         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13626         ... here.
13627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13628         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13630         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13632         Moved ...
13633         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13635         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13637         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13639         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13641         Moved ...
13642         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13644         Moved ...
13645         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13647         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13649         Moved ...
13650         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13652         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13654         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13656         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13658         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13660         Moved ...
13661         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13662         ... here.
13663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13664         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13666         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13668         Moved ...
13669         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13671         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13673         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13675         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13677         Moved ...
13678         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13680         Moved ...
13681         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13683         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13685         Moved ...
13686         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13688         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13690         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13692 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13694         * timezone/checktab.awk: Update from tzcode 2014e.
13695         * timezone/private.h: Likewise.
13696         * timezone/tzfile.h: Likewise.
13697         * timezone/zdump.c: Likewise.
13698         * timezone/zic.c: Likewise.
13700         * sysdeps/unix/sysv/linux/kernel-features.h
13701         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13702         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13703         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13704         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13705         Remove conditional code.
13707 2014-06-25  Will Newton  <will.newton@linaro.org>
13709         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13710         (_dl_arm_cap_flags): Add HWCAP2 values.
13711         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13712         (_DL_HWCAP_COUNT): Increase to 37.
13713         (_DL_HWCAP_LAST): New define.
13714         (_DL_HWCAP2_LAST): New define.
13715         (_dl_procinfo): Add support for printing
13716         AT_HWCAP2 entries.
13717         (_dl_string_hwcap): Use _dl_hwcap_string.
13719 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13723 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13725         * README: Do not mention ports directory.
13727         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13728         Remove macro.
13729         * sysdeps/unix/sysv/linux/futimes.c: Do not include
13730         <kernel-features.h>.
13731         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13732         conditional variable definition.
13733         (__futimes): Update comment.
13734         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13735         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13737         [BZ #16560]
13738         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13739         arguments close to 0.
13740         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13741         Likewise.
13742         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13743         Likewise.
13744         * math/auto-libm-test-in: Add more tests of exp10.
13745         * math/auto-libm-test-out: Regenerated.
13746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13748         * sysdeps/unix/sysv/linux/kernel-features.h
13749         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13750         * sysdeps/unix/sysv/linux/readv.c: Do not include
13751         <kernel-features.h>.
13752         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13753         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13754         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13755         unconditional.
13756         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13757         conditional code.
13758         * sysdeps/unix/sysv/linux/writev.c: Do not include
13759         <kernel-features.h>.
13760         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13761         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13762         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13763         unconditional.
13764         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13765         conditional code.
13767 2014-06-25  Will Newton  <will.newton@linaro.org>
13769         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13770         comment changes throughout the file.  Remove checks
13771         for HAVE_*_H definitions that are not required.
13772         (__gen_tempname): Call abort if an unknown kind value is
13773         passed.
13775 2014-06-25  Andreas Schwab  <schwab@suse.de>
13777         [BZ #17086]
13778         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13779         scalbln, scalblnf, scalblnl in libc.
13781 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13783         [BZ #17086]
13784         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13785         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13786         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13788 2014-06-24  Roland McGrath  <roland@hack.frob.com>
13790         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13791         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13792         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13793         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13794         Update #include.
13795         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13796         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13797         Update #include.
13798         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13799         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13800         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13801         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13802         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13803         * sysdeps/x86/bits/pthreadtypes.h: ... here.
13804         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13805         * sysdeps/x86/bits/semaphore.h: ... here.
13806         * sysdeps/x86/nptl/elide.h: Moved ...
13807         * sysdeps/x86/elide.h: ... here.
13808         * sysdeps/x86_64/nptl/Implies: File removed.
13809         * sysdeps/i386/nptl/Implies: File removed.
13811 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
13813         [BZ #16539]
13814         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13815         return the argument for normal arguments with exponent below -64.
13816         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13817         Likewise.
13818         * math/auto-libm-test-in: Add another test of expm1.
13819         * math/auto-libm-test-out: Regenerated.
13821         [BZ #16287]
13822         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13823         calling __erfcl for arguments at least 16.
13824         * math/auto-libm-test-in: Add more tests of erf.
13825         * math/auto-libm-test-out: Regenerated.
13827         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13828         individual architectures.
13829         * sysdeps/unix/sysv/linux/configure: Regenerated.
13830         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13831         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13832         * sysdeps/unix/sysv/linux/powerpc/configure.ac
13833         (ldd_rewrite_script): Define variable.
13834         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13836         file.
13837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13838         generated file.
13839         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13840         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13841         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13842         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13843         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13844         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13845         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13846         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13848 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13850         [BZ #17084]
13851         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13852         Rename member __data.d to __data.__elision_data.
13854 2014-06-24  Wilco  <wdijkstr@arm.com>
13856         * NEWS: Add 16918 to fixed bug list.
13858 2014-06-24  Wilco  <wdijkstr@arm.com>
13860         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13862 2014-06-24  Wilco  <wdijkstr@arm.com>
13864         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13865         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13866         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13867         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13868         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13869         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13870         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13871         Use _FPU_MASK_RM.
13873 2014-06-24  Wilco  <wdijkstr@arm.com>
13875         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13877 2014-06-24  Wilco  <wdijkstr@arm.com>
13879         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13880         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13881         * sysdeps/arm/fesetround.c (fesetround): Remove space.
13882         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13884 2014-06-24  Wilco  <wdijkstr@arm.com>
13886         [BZ #16918]
13887         * sysdeps/arm/feupdateenv.c (feupdateenv):
13888         Rewrite to reduce FPSCR accesses and fix return value.
13890 2014-06-24  Wilco  <wdijkstr@arm.com>
13892         * sysdeps/arm/fclrexcpt.c (feclearexcept):
13893         Optimize to avoid unnecessary FPSCR writes.
13894         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13895         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13896         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13897         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13899 2014-06-24  Wilco  <wdijkstr@arm.com>
13901         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13902         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13903         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13904         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13905         Call libc_fetestexcept_vfp.
13906         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13907         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13908         __SOFTFP__ ifdef so that they can be built for softfp.
13910 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13912         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13913         argument type signed char.
13915         * Makerules (check-abi): Dump diff of symlist if the test
13916         fails.
13918 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13920         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13921         using abort.
13923         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13924         Remove unused variable ST.
13926 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13928         [BZ #16354]
13929         [BZ #17061]
13930         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13931         small arguments before calling __expm1.
13932         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13933         small arguments before calling __expm1f.
13934         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13935         small arguments before calling __expm1l.
13936         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13937         Likewise.
13938         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13939         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
13940         spurious underflow for some cosh tests.
13941         * math/auto-libm-test-out: Regenerated.
13942         * sysdeps/i386/fpu/libm-test-ulps: Update.
13944         [BZ #17050]
13945         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13946         (__ieee754_y1): Set errno if return value overflows.
13947         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13948         (__ieee754_y1f): Set errno if return value overflows.
13949         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13950         (__ieee754_y1l): Set errno if return value overflows.
13951         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13952         (__ieee754_y1l): Set errno if return value overflows.
13953         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13954         * math/auto-libm-test-out: Regenerated.
13956         * math/gen-auto-libm-tests.c: Document use of
13957         ignore-zero-inf-sign.
13958         (input_flag_type): Add value flag_ignore_zero_inf_sign.
13959         (input_flags): Add ignore-zero-inf-sign.
13960         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13961         * math/gen-libm-test.pl (generate_testfile): Handle
13962         ignore-zero-inf-sign.
13963         * math/auto-libm-test-in: Mark some cpow tests with
13964         ignore-zero-inf-sign and some with xfail-rounding.
13965         * math/auto-libm-test-out: Regenerated.
13966         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13967         * sysdeps/i386/fpu/libm-test-ulps: Update.
13968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13970         [BZ #16315]
13971         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13972         overflowing or underflowing operations take place with sign of
13973         result.
13974         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13975         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13976         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13977         (__ieee754_pow): Recompute overflowing and underflowing results in
13978         original rounding mode.
13979         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13980         (__powl_helper): Allow negative argument X and scale negated value
13981         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
13982         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13983         overflowing or underflowing operations take place with sign of
13984         result.
13985         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13986         Include <math.h>.
13987         * math/auto-libm-test-in: Add more tests of pow.
13988         * math/auto-libm-test-out: Regenerated.
13989         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13990         (pow_tonearest_test_data): Remove.
13991         (pow_test_tonearest): Likewise.
13992         (pow_towardzero_test_data): Likewise.
13993         (pow_test_towardzero): Likewise.
13994         (pow_downward_test_data): Likewise.
13995         (pow_test_downward): Likewise.
13996         (pow_upward_test_data): Likewise.
13997         (pow_test_upward): Likewise.
13998         (main): Don't call removed functions.
13999         * sysdeps/i386/fpu/libm-test-ulps: Update.
14000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14002 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14005         Moved ...
14006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14008         Moved ...
14009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14011         Moved ...
14012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14014         Moved ...
14015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14017         File removed.
14018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14019         File removed.
14020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14021         File removed.
14022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14023         File removed.
14024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14025         File removed.
14026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14027         File removed.
14028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14029         File removed.
14030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14031         File removed.
14032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14033         File removed.
14034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14035         File removed.
14036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14037         File removed.
14038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14039         File removed.
14040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14041         Moved ...
14042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14044         Moved ...
14045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14046         ... here.
14047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14048         Moved ...
14049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14051         Moved ...
14052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14054         Moved ...
14055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14057         Moved ...
14058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14060         Moved ...
14061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14063         Moved ...
14064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14066         Moved ...
14067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14070         ... here.
14071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14072         Moved ...
14073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14075         Moved ...
14076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14077         ... here.
14078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14079         Moved ...
14080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14081         ... here.
14082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14083         Moved ...
14084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14085         ... here.
14086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14087         Moved ...
14088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14090         Moved ...
14091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14095         Moved ...
14096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14097         ... here.
14098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14099         Moved ...
14100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14101         ... here.
14102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14103         Moved ...
14104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14106         Moved ...
14107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14109         Moved ...
14110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14112         Moved ...
14113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14115         Moved ...
14116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14117         ... here.
14118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14119         Moved ...
14120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14122         Moved ...
14123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14125         Moved ...
14126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14128         Moved ...
14129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14133         Moved ...
14134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14136         Moved ...
14137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14139         Moved ...
14140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14141         ... here.
14142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14143         Moved ...
14144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14145         ... here.
14146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14147         Moved ...
14148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14149         ... here.
14150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14151         Moved ...
14152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14154         Moved ...
14155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14157         Moved ...
14158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14160         Moved ...
14161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14162         ... here.
14163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14164         Moved ...
14165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14166         ... here.
14167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14168         Moved ...
14169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14170         ... here.
14171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14172         Moved ...
14173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14175         Moved ...
14176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14178 2014-06-23  Will Newton  <will.newton@linaro.org>
14179             Wilco  <wdijkstr@arm.com>
14181         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14182         implementation.  Include get-rounding-mode.h.
14183         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14184         [!libc_feholdsetround_noex_ctx]: Define
14185         libc_feholdsetround_noex_ctx.
14186         [!libc_feholdsetround_noexf_ctx]: Define
14187         libc_feholdsetround_noexf_ctx.
14188         [!libc_feholdsetround_noexl_ctx]: Define
14189         libc_feholdsetround_noexl_ctx.
14190         (libc_feholdsetround_ctx): New function.
14191         (libc_feresetround_ctx): New function.
14192         (libc_feholdsetround_noex_ctx): New function.
14193         (libc_feresetround_noex_ctx): New function.
14195 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14197         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14198         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14199         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14200         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14201         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14202         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14204         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14205         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14206         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14207         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14208         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14209         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14210         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14211         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14212         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14213         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14214         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14215         Moved ...
14216         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14217         ... here.
14218         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14219         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14220         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14221         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14222         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14223         Moved ...
14224         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14225         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14226         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14227         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14228         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14229         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14230         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14231         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14232         Moved ...
14233         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14234         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14235         Moved ...
14236         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14237         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14238         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14239         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14240         Moved ...
14241         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14242         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14243         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14244         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14245         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14246         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14247         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14248         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14249         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14250         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14251         Moved ...
14252         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14253         ... here.
14254         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14255         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14256         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14257         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14258         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14259         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14260         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14261         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14262         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14263         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14264         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14265         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14266         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14267         Moved ...
14268         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14269         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14270         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14271         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14272         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14273         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14274         Moved ...
14275         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14276         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14277         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14278         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14279         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14281         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14282         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14283         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14284         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14285         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14286         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14287         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14288         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14289         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14290         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14291         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14292         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14293         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14294         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14295         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14296         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14297         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14298         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14299         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14300         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14301         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14302         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14303         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14304         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14305         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14306         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14307         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14308         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14310 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14312         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14313         (FALLOC_FL_COLLAPSE_RANGE): New macro.
14314         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14315         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14316         (IPV6_PMTUDISC_INTERFACE): Likewise.
14317         (IPV6_PMTUDISC_OMIT): Likewise.
14319 2014-06-23  Andreas Schwab  <schwab@suse.de>
14321         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14322         Remove unused errout label.
14324 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14326         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14327         macro: hardware supports Vector Crypto instructions.
14329 2014-06-23  Will Newton  <will.newton@linaro.org>
14331         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14332         rather than __builtin_expect.
14334         * elf/dl-lookup.c (undefined_msg): Remove variable.
14335         (_dl_lookup_symbol_x): Replace undefined_msg with string
14336         literal.
14338         * elf/dl-lookup.c (do_lookup_unique): New function.
14339         (do_lookup_x): Move STB_GNU_UNIQUE handling code
14340         to a separate function.
14342 2014-06-23  Andreas Schwab  <schwab@suse.de>
14344         [BZ #17079]
14345         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14346         before reading the next line.
14348 2014-06-23  Will Newton  <will.newton@linaro.org>
14350         * test-skeleton.c (signal_handler): Use printf and %m
14351         rather than perror.  Use printf rather than fprintf to
14352         stderr.  Use puts rather than fputs to stderr.
14353         (main): Likewise.
14355 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
14357         * nscd/nscd.c (thread_info_t): Remove typedef.
14358         (thread_info): Remove variable.
14360 2014-06-21  Allan McRae  <allan@archlinux.org>
14362         * NEWS: Mention CVE-2014-4043.
14364 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14366         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14367         * nptl/smp.h: ... here.
14369         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14371         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14372         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14373         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14374         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14376         * nptl/allocatestack.c: Include <stack-aliasing.h>.
14377         * nptl/stack-aliasing.h: New file.
14378         * sysdeps/i386/i686/stack-aliasing.h: New file.
14379         * sysdeps/i386/i686/nptl/Makefile: File removed.
14380         * sysdeps/x86_64/stack-aliasing.h: New file.
14381         * sysdeps/x86_64/nptl/Makefile
14382         (CFLAGS-pthread_create.c): Variable removed.
14384         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14385         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14386         old file.
14387         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14388         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14389         old file.
14391 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
14393         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14394         (__ASSUME_SIGFRAME_V2): Remove macro.
14395         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14396         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14397         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14398         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14399         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14400         Declare as function.  Remove conditional macro definitions.
14401         (__default_rt_sa_restorer): Likewise.
14402         (__default_sa_restorer_v1): Remove declaration.
14403         (__default_sa_restorer_v2): Likewise.
14404         (__default_rt_sa_restorer_v1): Likewise.
14405         (__default_rt_sa_restorer_v2): Likewise.
14406         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14407         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14408         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14410 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14412         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14413         (libpthread-routines): Add sysdep.
14414         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14415         * sysdeps/unix/sysv/linux/sparc/Versions
14416         (libpthread: GLIBC_2.3.3): New version set.
14417         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14418         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14419         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14420         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14421         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
14422         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14423         Moved ...
14424         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14425         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14426         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14427         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14428         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14429         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14430         * sysdeps/sparc/nptl/sem_init.c: ... here.
14431         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14432         * sysdeps/sparc/nptl/sem_post.c: ... here.
14433         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14434         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14435         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14436         * sysdeps/sparc/nptl/sem_wait.c: ... here.
14437         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14438         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14439         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14440         (libpthread-routines): Add cpu_relax.
14441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14442         File removed.
14443         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14444         (librt: GLIBC_2.3.3): New version set.
14445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14446         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14447         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14448         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14451         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14453         Moved ...
14454         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14456         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14458         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14460         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14462         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14464         Moved ...
14465         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14466         Update #include.
14467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14468         Moved ...
14469         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14470         Update #include.
14471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14472         Moved ...
14473         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14474         Update #include.
14475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14476         Moved ...
14477         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14478         Update #include.
14479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14480         Moved ...
14481         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14482         Update #include.
14483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14484         Moved ...
14485         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14486         Update #include.
14487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14488         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14490         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14492         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14494         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14496         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14498         Moved ...
14499         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14501         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14503         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14505 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14507         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14508         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14509         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14510         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14511         * nscd/nscd.c: Likewise.
14512         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14513         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14514         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14515         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14517         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14518         <kernel-features.h>.
14519         (init_mq_netlink): Remove conditional have_sock_cloexec
14520         definitions.  Remove code conditional on have_sock_cloexec < 0.
14521         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14522         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14523         * sysdeps/unix/sysv/linux/opensock.c: Do not include
14524         <kernel-features.h>.
14525         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14526         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14528 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14531         Add tests for memset_chk and memset.
14533         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14534         with AVX2_Usable.
14536 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14538         [BZ #16046]
14539         * elf/tst-dl-iter-static.c: New file.
14540         * elf/Makefile (tests-static): Add tst-dl-iter-static.
14542         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14543         error.
14545 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14547         * sysdeps/unix/sysv/linux/kernel-features.h
14548         (__ASSUME_F_GETOWN_EX): Remove macro.
14549         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14550         <kernel-features.h>.
14551         (miss_F_GETOWN_EX): Remove variable or macro.
14552         (do_fcntl): Do not check miss_F_GETOWN_EX.
14553         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14555         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14556         Remove macro.
14557         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14558         [!__ASSUME_AT_RANDOM]: Remove conditional code.
14559         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14561         * sysdeps/unix/sysv/linux/kernel-features.h
14562         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14563         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14564         [ADJ_OFFSET_SS_READ]: Make code unconditional.
14565         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14567 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14569         [BZ #17075]
14570         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14571         Fix calculation of the symbol's value.
14572         * sysdeps/arm/tst-armtlsdescloc.c: New file.
14573         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14574         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14575         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14576         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14577         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14578         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14579         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14580         (modules-names): Add `tst-armtlsdescmod',
14581         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14582         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14583         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14584         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14585         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14586         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14587         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14588         ($(objpfx)tst-armtlsdescloc): New dependency.
14589         ($(objpfx)tst-armtlsdescextnow): Likewise.
14590         ($(objpfx)tst-armtlsdescextlazy): Likewise.
14591         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14592         TLS scheme support.
14593         * sysdeps/arm/configure: Regenerate.
14595 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14597         * include/fcntl.h (__atfct_seterrno): Remove prototype.
14598         (__atfct_seterrno_2): Likewise.
14599         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14600         <kernel-features.h>.
14601         (__ASSUME_ATFCTS): Do not undefine and redefine.
14602         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14603         (__have_atfcts): Remove conditional definition.
14604         (__fxstatat([__NR_fstatat64]: Make code unconditional.
14605         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14606         unreachable if [__ASSUME_ATFCTS].
14607         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14608         not undefine and redefine.
14609         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14610         <kernel-features.h>.
14611         (faccessat) [__NR_faccessat]: Make code unconditional.
14612         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14613         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14614         <kernel-features.h>.
14615         (fchmodat) [__NR_fchmodat]: Make code unconditional.
14616         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14617         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14618         <kernel-features.h>.
14619         (fchownat) [__NR_fchownat]: Make code unconditional.
14620         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14621         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14622         <kernel-features.h>.
14623         (futimesat) [__NR_futimesat]: Make code unconditional.
14624         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14625         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14626         <kernel-features.h>.
14627         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14628         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14629         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14630         <kernel-features.h>.
14631         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14632         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14633         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14634         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14635         <kernel-features.h>.
14636         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14637         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14638         * sysdeps/unix/sysv/linux/linkat.c: Do not include
14639         <kernel-features.h>.
14640         (linkat) [__NR_linkat]: Make code unconditional.
14641         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14642         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14643         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14644         <kernel-features.h>.
14645         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14646         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14647         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14648         <kernel-features.h>.
14649         (mkdirat) [__NR_mkdirat]: Make code unconditional.
14650         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14651         * sysdeps/unix/sysv/linux/openat.c: Do not include
14652         <kernel-features.h>.
14653         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14654         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14655         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14656         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14657         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14658         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14659         <kernel-features.h>.
14660         (readlinkat) [__NR_readlinkat]: Make code unconditional.
14661         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
14662         result of INLINE_SYSCALL directly, not via int variable.
14663         * sysdeps/unix/sysv/linux/renameat.c: Do not include
14664         <kernel-features.h>.
14665         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14666         (renameat) [__NR_renameat]: Make code unconditional.
14667         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14668         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14669         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14670         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14671         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14672         (__ASSUME_ATFCTS): Do not undefine and redefine.
14673         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14674         <kernel-features.h>.
14675         (symlinkat) [__NR_symlinkat]: Make code unconditional.
14676         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14677         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14678         <kernel-features.h>.
14679         (unlinkat) [__NR_unlinkat]: Make code unconditional.
14680         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14681         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14682         (__ASSUME_ATFCTS): Do not undefine and redefine.
14683         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14684         <kernel-features.h>.
14685         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14686         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14687         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14688         <kernel-features.h>.
14689         (__xmknodat) [__NR_mknodat]: Make code unconditional.
14690         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14692 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14694         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14696 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
14698         [BZ #17069]
14699         * posix/regcomp.c (parse_reg_exp): Deallocate partially
14700         constructed tree before returning error.
14701         * posix/bug-regexp36.c: Expand test case.
14703 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14705         [BZ #6803]
14706         * math/libm-test.inc (scalbln_test_date):
14707         Add errno expectations.
14708         * math/w_scalblnf.c: New File.
14709         Add wrapper which checks for setting errno to ERANGE.
14710         Add weak_alias for corresponding scalbln function.
14711         * math/w_scalbln.c: Likewise.
14712         * math/w_scalblnl.c: Likewise.
14713         * math/Makefile (libm-calls): Add w_scalbln.
14714         * sysdeps/ieee754/flt-32/s_scalblnf.c:
14715         Remove weak_alias for corresponding scalbln function.
14716         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14717         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14718         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14719         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14720         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14721         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14722         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14723         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14724         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14725         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14726         Remove long_double_symbol for scalblnl function in libm, libc.
14727         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14728         Add wrapper which checks for setting errno to ERANGE.
14729         Add long_double_symbol for scalblnl function in libm, libc.
14730         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14731         Remove long_double_symbol for scalblnl in libm.
14732         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14733         Add wrapper which checks for setting errno to ERANGE.
14734         Add long_double_symbol for scalblnl function in libm.
14735         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14736         Do not use wrapper because of own implementation.
14738 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
14740         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14741         3 bytes for __pad1 for x32.
14742         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14744 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
14745             H.J. Lu  <hongjiu.lu@intel.com>
14747         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14748         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14749         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14750         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14751         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14753 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
14755         [BZ #17069]
14756         * posix/regcomp.c (parse_expression): Deallocate partially
14757         constructed tree before returning error.
14758         * posix/Makefile.c (tests): Add bug-regex36.
14759         (generated): Add bug-regex36.mtrace.
14760         (tests-special): Add $(objpfx)bug-regex36-mem.out
14761         (bug-regex36-ENV): New variable.
14762         ($(objpfx)bug-regex36-mem.out): New rule.
14763         * posix/bug-regex36.c: New file.
14765 2014-06-19  Will Newton  <will.newton@linaro.org>
14767         * malloc/malloc.c (systrim): If extra is zero then return
14768         early.
14770 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14772         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14774 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
14776         * sysdeps/aarch64/strchr.S: New file.
14778 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14780         [BZ #17022]
14781         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14782         from arguments -2 or below.
14783         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14784         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14786 2014-06-18  Andreas Schwab  <schwab@suse.de>
14788         [BZ #17062]
14789         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14790         of a bracket expr not to run off the end of the string.
14791         * posix/Makefile (tests): Add tst-fnmatch3.
14792         * posix/tst-fnmatch3.c: New file.
14794 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14796         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14797         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14798         [$(cross-compiling) = no]: Likewise.
14799         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14800         [$(cross-compiling) = no]: Likewise.
14802 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14804         [BZ #17031]
14805         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14806         double, adjusted for any remainder from the high double.
14807         * math/libm-test.inc (nearbyint): Add tests.
14808         (rint): Likewise.
14810 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14812         * nptl/sysdeps/powerpc/Makefile: Moved ...
14813         * sysdeps/powerpc/nptl/Makefile: ... here.
14814         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14815         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14816         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14817         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14818         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14819         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14820         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14821         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14822         * nptl/sysdeps/powerpc/tls.h: Moved ...
14823         * sysdeps/powerpc/nptl/tls.h: ... here.
14825 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
14827         [BZ #16681]
14828         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14829         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14830         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14831         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14832         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14833         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14834         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14835         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14836         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14838 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
14840         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14842 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
14844         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14845         defined operator.
14847         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14848         $TIMEOUTFACTOR.
14850 2014-06-16  Florian Weimer  <fweimer@redhat.com>
14852         [BZ #17058]
14853         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14854         non-executed part of the test.
14856 2014-06-16  Andreas Schwab  <schwab@suse.de>
14858         * string/bits/string2.h (strdup, strndup): Update feature guard.
14860 2014-06-14  David S. Miller  <davem@davemloft.net>
14862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14864 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
14866         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14867         that was previously under [RESET_PID].
14868         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14870         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14871         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14872         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14873         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14874         (__libc_vfork): New strong alias.
14875         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14877 2014-06-14 Andi Kleen  <ak@linux.intel.com>
14879         * sysdeps/generic/elide.h: New file.
14881 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14883         * Makefile (installed-headers): Adjust path of pthread.h header.
14885 2014-06-13  Roland McGrath  <roland@hack.frob.com>
14887         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14888         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14889         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14890         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14892         * nptl/sysdeps/s390/Makefile: Moved ...
14893         * sysdeps/s390/nptl/Makefile: ... here.
14894         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14895         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14896         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14897         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14898         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14899         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14900         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14901         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14902         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14903         * sysdeps/s390/nptl/pthreaddef.h: ... here.
14904         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14905         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14906         * nptl/sysdeps/s390/tls.h: Moved ...
14907         * sysdeps/s390/nptl/tls.h: ... here.
14909         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14910         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14912 2014-06-13  David S. Miller  <davem@davemloft.net>
14914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14917         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14921         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14922         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14923         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14924         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14925         Remove RESET_PID cpp guards.
14926         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14927         Remove RESET_PID cpp guards.
14928         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14930 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
14932         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14933         __sp to uintptr_t.
14935 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14937         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14938         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14939         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14940         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14941         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14942         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14943         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14944         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14945         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14946         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14947         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14948         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14949         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14950         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14951         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14952         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14953         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14954         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14955         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14956         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14958         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14959         (pthread_rwlock_rdlock): Add elision.
14960         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14961         (pthread_rwlock_wrlock): Add elision.
14962         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14963         (pthread_rwlock_trywrlock): Add elision.
14964         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14965         (pthread_rwlock_tryrdlock): Add elision.
14966         * nptl/pthread_rwlock_unlock.c: Include elide.h.
14967         (pthread_rwlock_tryrdlock): Add elision unlock.
14968         * nptl/sysdeps/pthread/pthread.h:
14969         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14970         (PTHREAD_RWLOCK_INITIALIZER,
14971         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14972         Handle new elision field.
14973         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14974         * sysdeps/arm/nptl/bits/pthreadtypes.h
14975         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14976         * sysdeps/sh/nptl/bits/pthreadtypes.h
14977         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14978         * sysdeps/tile/nptl/bits/pthreadtypes.h
14979         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14980         * sysdeps/a/nptl/bits/pthreadtypes.h
14981         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14982         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14983         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14984         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14985         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14986         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14987         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14988         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14989         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14990         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14991         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14992         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14993         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14994         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14995         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14996         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14997         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14998         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14999         (elision_init): Set try_xbegin to zero when no RTM.
15000         * sysdeps/x86/nptl/bits/pthreadtypes.h
15001         (pthread_rwlock_t): Change __pad1 to __rwelision.
15002         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15004 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15006         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15007         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15008         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15009         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15011 2014-06-13  Meador Inge  <meadori@codesourcery.com>
15013         [BZ #16996]
15014         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15015         that the cached result has been set before returning it.
15017 2014-06-12  Roland McGrath  <roland@hack.frob.com>
15019         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15020         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15021         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15022         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15023         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15024         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15026         * nptl/sysdeps/sparc/Makefile: Moved ...
15027         * sysdeps/sparc/nptl/Makefile: ... here.
15028         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15029         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15030         * nptl/sysdeps/sparc/tls.h: Moved ...
15031         * sysdeps/sparc/nptl/tls.h: ... here.
15032         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15033         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15034         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15035         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15036         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15037         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15038         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15039         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15040         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15041         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15042         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15043         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15044         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15045         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15046         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15047         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15048         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15049         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15050         Update #include.
15051         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15052         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15053         Update #include.
15054         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15055         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15056         Update #include.
15057         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15058         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15059         Update #include.
15061         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15063         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15064         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15066         * sysdeps/pthread/posix-timer.h: Include <list.h>.
15067         (struct list_links): Type removed.
15068         (struct thread_node, struct timer_node): Replace struct list_links
15069         with struct list_head.
15070         (list_unlink_ip): Likewise.
15071         * sysdeps/pthread/timer_routines.c
15072         (timer_free_list, thread_free_list, thread_active_list): Likewise.
15073         (list_append, list_insbefore): Likewise.
15074         (list_init): Function removed.
15075         (thread_init, init_module): Use INIT_LIST_HEAD instead.
15076         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15077         * sysdeps/pthread/Makefile: ... here, new file.
15079         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15080         * sysdeps/nptl/Implies: ... here.
15081         * sysdeps/unix/sysv/linux/Implies: Add nptl.
15082         * nptl/sysdeps/pthread/list.h: Moved ...
15083         * include/list.h: ... here.
15084         * nptl/sysdeps/pthread/createthread.c: Moved ...
15085         * nptl/createthread.c: ... here.
15086         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15087         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15088         * nptl/pt-longjmp.c: ... here.
15089         * nptl/sysdeps/pthread/Makefile: Moved ...
15090         * sysdeps/nptl/Makefile: ... here.
15091         * nptl/sysdeps/pthread/Subdirs: Moved ...
15092         * sysdeps/nptl/Subdirs: ... here.
15093         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15094         * sysdeps/nptl/aio_misc.h: ... here.
15095         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15096         * sysdeps/nptl/bits/libc-lock.h: ... here.
15097         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15098         * sysdeps/nptl/bits/libc-lockP.h: ... here.
15099         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15100         * sysdeps/nptl/bits/stdio-lock.h: ... here.
15101         * nptl/sysdeps/pthread/configure: Moved ...
15102         * sysdeps/nptl/configure: ... here.
15103         * nptl/sysdeps/pthread/configure.ac: Moved ...
15104         * sysdeps/nptl/configure.ac: ... here.
15105         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15106         * sysdeps/nptl/gai_misc.h: ... here.
15107         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15108         * sysdeps/nptl/librt-cancellation.c: ... here.
15109         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15110         * sysdeps/nptl/malloc-machine.h: ... here.
15111         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15112         * sysdeps/nptl/pthread-functions.h: ... here.
15113         * nptl/sysdeps/pthread/pthread.h: Moved ...
15114         * sysdeps/nptl/pthread.h: ... here.
15115         * nptl/sysdeps/pthread/setxid.h: Moved ...
15116         * sysdeps/nptl/setxid.h: ... here.
15117         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15118         * sysdeps/nptl/sigfillset.c: ... here.
15119         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15120         * sysdeps/nptl/tcb-offsets.h: ... here.
15121         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15122         * sysdeps/nptl/tst-mqueue8x.c: ... here.
15123         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15124         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15125         * nptl/sysdeps/pthread/allocalim.h: Moved ...
15126         * sysdeps/pthread/allocalim.h: ... here.
15127         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15128         * sysdeps/pthread/bits/sigthread.h: ... here.
15129         * nptl/sysdeps/pthread/flockfile.c: Moved ...
15130         * sysdeps/pthread/flockfile.c: ... here.
15131         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15132         * sysdeps/pthread/ftrylockfile.c: ... here.
15133         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15134         * sysdeps/pthread/funlockfile.c: ... here.
15135         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15136         * sysdeps/pthread/posix-timer.h: ... here.
15137         * nptl/sysdeps/pthread/timer_create.c: Moved ...
15138         * sysdeps/pthread/timer_create.c: ... here.
15139         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15140         * sysdeps/pthread/timer_delete.c: ... here.
15141         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15142         * sysdeps/pthread/timer_getoverr.c: ... here.
15143         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15144         * sysdeps/pthread/timer_gettime.c: ... here.
15145         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15146         * sysdeps/pthread/timer_routines.c: ... here.
15147         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15148         * sysdeps/pthread/timer_settime.c: ... here.
15149         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15150         * sysdeps/pthread/tst-timer.c: ... here.
15151         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15152         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15154         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15155         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15157         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15158         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15159         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15160         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15161         Update #include target.
15162         * nptl/sysdeps/i386/i686/Makefile: Moved ...
15163         * sysdeps/i386/i686/nptl/Makefile: ... here.
15164         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15165         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15166         Update #include target.
15167         * nptl/sysdeps/i386/i686/tls.h: Moved ...
15168         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
15169         * nptl/sysdeps/i386/Makefile: Moved ...
15170         * sysdeps/i386/nptl/Makefile: ... here.
15171         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15172         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15173         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15174         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15175         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15176         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15177         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15178         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15179         * sysdeps/i386/nptl/pthreaddef.h: ... here.
15180         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15181         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15182         * nptl/sysdeps/i386/tls.h: Moved ...
15183         * sysdeps/i386/nptl/tls.h: ... here.
15185         * sysdeps/sh/Makefile [$(subdir) = csu]
15186         (gen-as-const-headers): Add tcb-offsets.sym.
15187         * nptl/sysdeps/sh/Makefile: File removed.
15188         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15189         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15190         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15191         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15192         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15193         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15194         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15195         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15196         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15197         * sysdeps/sh/nptl/pthreaddef.h: ... here.
15198         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15199         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15200         * nptl/sysdeps/sh/tls.h: Moved ...
15201         * sysdeps/sh/nptl/tls.h: ... here.
15202         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15203         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15204         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15205         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15206         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15207         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15208         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15209         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15210         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15211         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15212         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15213         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15214         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15215         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15216         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15217         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15218         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15219         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15220         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15221         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15222         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15223         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15224         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15225         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15226         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15227         Moved ...
15228         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15229         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15230         Moved ...
15231         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15232         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15233         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15234         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15235         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15236         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15237         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15238         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15239         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15240         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15241         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15242         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15243         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15244         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15245         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15246         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15247         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15248         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15249         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15251 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15253         * posix/spawn_faction_addopen.c: Include string.h.
15255 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15257         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15258         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15259         * nptl/sysdeps/x86_64/Makefile: Moved ...
15260         * sysdeps/x86_64/nptl/Makefile: ... here.
15261         * nptl/sysdeps/x86_64/configure: Moved ...
15262         * sysdeps/x86_64/nptl/configure: ... here.
15263         * nptl/sysdeps/x86_64/configure.ac: Moved ...
15264         * sysdeps/x86_64/nptl/configure.ac: ... here.
15265         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15266         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15267         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15268         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15269         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15270         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15271         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15272         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15273         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15274         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15275         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15276         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15277         * nptl/sysdeps/x86_64/tls.h: Moved ...
15278         * sysdeps/x86_64/nptl/tls.h: ... here.
15279         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15280         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15281         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15282         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15284         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15286 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15290 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
15292         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15293         type.
15294         [POSIX] (off_t): Likewise.
15295         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15296         [POSIX] (S_ISBLK): Require macro.
15297         [POSIX] (S_ISCHR): Likewise.
15298         [POSIX] (S_ISDIR): Likewise.
15299         [POSIX] (S_ISFIFO): Likewise.
15300         [POSIX] (S_ISREG): Likewise.
15301         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15302         optional-macro.
15303         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15304         type.
15305         [POSIX] (time_t): Likewise.
15306         [POSIX] (timer_t): Likewise.
15308 2014-06-11  Florian Weimer  <fweimer@redhat.com>
15310         [BZ #17048]
15311         * posix/spawn_int.h (struct __spawn_action): Make the path string
15312         non-const to support deallocation.
15313         * posix/spawn_faction_addopen.c
15314         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15315         * posix/spawn_faction_destroy.c
15316         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
15317         path in all spawn_do_open actions.
15318         * posix/tst-spawn.c (do_test): Exercise the copy operation in
15319         posix_spawn_file_actions_addopen.
15321 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
15323         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15324         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15325         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15326         conditional code always true.
15327         (__libc_vfork): New alias.
15329 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15331         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15332         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15334         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15336         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15337         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15339         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15340         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15342         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15343         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15345 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15347         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15348         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15349         multiarch strcmp for PPC64.
15350         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15351         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15353         multiarch optimizations.
15354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15355         (__libc_ifunc_impl_list): Likewise.
15357 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15359         * benchtests/scripts/validate_benchout.py: New script.
15360         * benchtests/Makefile (bench-func): Call it.
15361         * benchtests/scripts/benchout.schema.json: New file.
15363 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
15365         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15366         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15367         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15368         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15369         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15370         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15371         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15372         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15373         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15374         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15375         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15376         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15377         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15378         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15379         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15380         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15382         Moved ...
15383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15384         ... here.
15385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15386         Moved ...
15387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15389         Moved ...
15390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15391         ... here.
15392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15393         Moved ...
15394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15395         ... here.
15396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15397         Moved ...
15398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15400         Moved ...
15401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15402         ... here.
15403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15404         Moved ...
15405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15406         ... here.
15407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15408         Moved ...
15409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15411         Moved ...
15412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15413         ... here.
15414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15415         Moved ...
15416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15417         ... here.
15418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15419         Moved ...
15420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15421         ... here.
15422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15423         Moved ...
15424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15426         Moved ...
15427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15428         ... here.
15429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15430         Moved ...
15431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15432         ... here.
15433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15434         Moved ...
15435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15436         ... here.
15437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15438         Moved ...
15439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15441         Moved ...
15442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15443         ... here.
15444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15445         Moved ...
15446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15447         ... here.
15448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15449         Moved ...
15450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15452         Moved ...
15453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15454         ... here.
15455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15456         Moved ...
15457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15459         Moved ...
15460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15462         Moved ...
15463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15464         ... here.
15465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15466         Moved ...
15467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15468         ... here.
15469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15470         Moved ...
15471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15472         ... here.
15473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15474         Moved ...
15475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15477         Moved ...
15478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15479         ... here.
15480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15481         Moved ...
15482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15483         ... here.
15484         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15485         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15486         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15487         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15488         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15489         Moved ...
15490         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15491         ... here.
15492         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15493         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15494         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15495         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15496         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15497         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15498         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15499         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15500         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15501         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15502         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15503         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15504         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15505         Moved ...
15506         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15507         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15508         Moved ...
15509         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15510         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15511         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15512         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15513         Moved ...
15514         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15515         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15516         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15517         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15518         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15519         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15520         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15522 2014-06-10  Wilco  <wdijkstr@arm.com>
15524         * math/test-fenv-return.c: New file.
15525         * math/Makefile: Add new test test-fenv-return.
15527 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
15529         [BZ #17042]
15530         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15531         when x - 1 is zero.
15532         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15533         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15534         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15535         0.0L for an argument of 1.0L.
15536         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15537         Likewise.
15538         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15539         value when x - 1 is zero.
15540         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15541         * sysdeps/i386/fpu/libm-test-ulps: Update.
15542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15544 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
15546         [BZ #15119]
15547         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15549 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15551         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15552         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15554 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15556         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15557         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15559         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15560         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15562         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15563         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15565         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15566         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15568         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15569         if not already defined.
15570         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15571         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15572         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15573         (TLS_INIT_TP): Use it.
15574         (TLS_DEFINE_INIT_TP): New macro.
15575         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15577 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
15579         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15580         constant.
15581         [POSIX] (IXANY): Likewise.
15582         [POSIX] (OLCUC): Likewise.
15583         [POSIX || POSIX2008] (CBAUD): Do not allow.
15584         [POSIX || POSIX2008] (DEFECHO): Likewise.
15585         [POSIX || POSIX2008] (ECHOCTL): Likewise.
15586         [POSIX || POSIX2008] (ECHOKE): Likewise.
15587         [POSIX || POSIX2008] (ECHOPRT): Likewise.
15588         [POSIX || POSIX2008] (EXTA): Likewise.
15589         [POSIX || POSIX2008] (EXTB): Likewise.
15590         [POSIX || POSIX2008] (FLUSHO): Likewise.
15591         [POSIX || POSIX2008] (LOBLK): Likewise.
15592         [POSIX || POSIX2008] (PENDIN): Likewise.
15593         [POSIX || POSIX2008] (SWTCH): Likewise.
15594         [POSIX || POSIX2008] (VDISCARD): Likewise.
15595         [POSIX || POSIX2008] (VDSUSP): Likewise.
15596         [POSIX || POSIX2008] (VLNEXT): Likewise.
15597         [POSIX || POSIX2008] (VREPRINT): Likewise.
15598         [POSIX || POSIX2008] (VSTATUS): Likewise.
15599         [POSIX || POSIX2008] (VWERASE): Likewise.
15600         (B*): Change to B[0123456789]*.
15601         * conform/data/time.h-data [POSIX || UNIX98]
15602         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15603         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15604         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15605         [POSIX] (tm_*): Do not allow.
15607 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
15609         * Makefile (install): Don't set LANGUAGE.
15610         * Makefile.in (install): Likewise.
15611         * assert/Makefile (test-assert-ENV): Remove variable.
15612         (test-assert-perr-ENV): Likewise.
15613         * elf/Makefile (neededtest4-ENV): Likewise.
15614         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15615         [$(cross-compiling) = no]: Don't set LANGUAGE.
15616         * io/ftwtest-sh (LANG): Remove variable.
15617         * libio/Makefile (tst-widetext-ENV): Likewise.
15618         * manual/install.texi (Running make install): Don't refer to
15619         environment settings for make install.
15620         * INSTALL: Regenerated.
15621         * nptl/tst-tls6.sh: Don't set LANG.
15622         * posix/globtest.sh (LANG): Remove variable.
15623         * string/Makefile (tester-ENV): Likewise.
15624         (inl-tester-ENV): Likewise.
15625         (noinl-tester-ENV): Likewise.
15626         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15627         [$(cross-compiling) = no]: Don't set LANGUAGE.
15628         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15629         without explicit environment settings.
15631 2014-06-06  Roland McGrath  <roland@hack.frob.com>
15633         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15634         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15635         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15636         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15638 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
15640         * crypt/crypt-private.h [DOS]: Add some includes taken from the
15641         other files in the crypt directory.
15642         * crypt/crypt.c: Remove duplicate includes.
15643         * crypt/crypt-entry.c: Likewise.
15644         * crypt/crypt_util.c: Likewise.
15646 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
15648         * Makeconfig (run-program-env): New variable.
15649         (run-program-prefix-before-env): Likewise.
15650         (run-program-prefix-after-env): Likewise.
15651         (run-program-prefix): Define in terms of new variables.
15652         (built-program-cmd-before-env): New variable.
15653         (built-program-cmd-after-env): Likewise.
15654         (built-program-cmd): Define in terms of new variables.
15655         (test-program-prefix-before-env): New variable.
15656         (test-program-prefix-after-env): Likewise.
15657         (test-program-prefix): Define in terms of new variables.
15658         (test-program-cmd-before-env): New variable.
15659         (test-program-cmd-after-env): Likewise.
15660         (test-program-cmd): Define in terms of new variables.
15661         * Rules (make-test-out): Use $(run-program-env).
15662         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15663         (help): Do not mention environment variables.  Mention
15664         --timeoutfactor option.
15665         (timeoutfactor): New variable.
15666         (blacklist_exports): Remove function.
15667         (exports): Remove variable.
15668         (command): Do not include ${exports}.
15669         * manual/install.texi (Configuring and compiling): Do not mention
15670         test wrappers preserving environment variables.  Mention that last
15671         assignment to a variable must take precedence.
15672         * INSTALL: Regenerated.
15673         * benchtests/Makefile (run-bench): Use $(run-program-env).
15674         * catgets/Makefile ($(objpfx)test1.cat): Use
15675         $(built-program-cmd-before-env), $(run-program-env) and
15676         $(built-program-cmd-after-env).
15677         ($(objpfx)test2.cat): Do not specify environment variables
15678         explicitly.
15679         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15680         $(run-program-env) and $(built-program-cmd-after-env).
15681         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15682         $(run-program-env) and $(test-program-cmd-after-env).
15683         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15684         explicitly.
15685         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15686         run_program_env and test_program_cmd_after_env arguments.
15687         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15688         * elf/tst-pathopt.sh: Use run_program_env argument.
15689         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15690         $(test-wrapper-env) and $(run-program-env).
15691         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15692         run_program_env arguments.
15693         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15694         * intl/Makefile ($(objpfx)tst-gettext.out): Use
15695         $(test-program-prefix-before-env), $(run-program-env) and
15696         $(test-program-prefix-after-env).
15697         ($(objpfx)tst-gettext2.out): Likewise.
15698         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15699         run_program_env and test_program_prefix_after_env arguments.
15700         * intl/tst-gettext2.sh: Likewise.
15701         * intl/tst-gettext4.sh: Do not set environment variables
15702         explicitly.
15703         * intl/tst-gettext6.sh: Likewise.
15704         * intl/tst-translit.sh: Likewise.
15705         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15706         $(test-program-prefix-before-env), $(run-program-env) and
15707         $(test-program-prefix-after-env).
15708         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15709         run_program_env and test_program_prefix_after_env arguments.
15710         * math/Makefile (run-regen-ulps): Use $(run-program-env).
15711         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15712         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
15713         explicitly with each use of ${test_wrapper_env}.
15714         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15715         $(test-program-prefix-before-env), $(run-program-env) and
15716         $(test-program-prefix-after-env).
15717         * posix/tst-getconf.sh: Do not set environment variables
15718         explicitly.
15719         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15720         run_program_env and test_program_prefix_after_env arguments.
15721         * stdio-common/tst-printf.sh: Do not set environment variables
15722         explicitly.
15723         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15724         $(test-program-prefix-before-env), $(run-program-env) and
15725         $(test-program-prefix-after-env).
15726         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15727         run_program_env and test_program_prefix_after_env arguments.
15728         Split $test calls into $test_pre and $test.
15729         * timezone/Makefile (build-testdata): Use
15730         $(built-program-cmd-before-env), $(run-program-env) and
15731         $(built-program-cmd-after-env).
15733 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15735         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15736         strlen for non SHARED builds.
15738 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15740         * nptl/allocatestack.c (check_list): Inlined function...
15741         (__reclaim_stacks): ... here.
15743 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15745         [BZ #15698]
15746         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15747         memory overrun.
15749 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
15751         * Rules (make-test-out): Include
15752         LOCPATH=$(common-objpfx)localedata in default environment.
15753         * debug/Makefile (tst-chk1-ENV): Remove variable.
15754         (tst-chk2-ENV): Likewise.
15755         (tst-chk3-ENV): Likewise.
15756         (tst-chk4-ENV): Likewise.
15757         (tst-chk5-ENV): Likewise.
15758         (tst-chk6-ENV): Likewise.
15759         (tst-lfschk1-ENV): Likewise.
15760         (tst-lfschk2-ENV): Likewise.
15761         (tst-lfschk3-ENV): Likewise.
15762         (tst-lfschk4-ENV): Likewise.
15763         (tst-lfschk5-ENV): Likewise.
15764         (tst-lfschk6-ENV): Likewise.
15765         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15766         (tst-iconv7-ENV): Likewise.
15767         * intl/Makefile (LOCPATH-ENV): Likewise.
15768         (tst-codeset-ENV): Likewise.
15769         (tst-gettext3-ENV): Likewise.
15770         (tst-gettext5-ENV): Likewise.
15771         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15772         (tst-fopenloc-ENV): Likewise.
15773         (tst-fgetws-ENV): Remove variable.
15774         (tst-ungetwc1-ENV): Likewise.
15775         (tst-ungetwc2-ENV): Likewise.
15776         (bug-ungetwc2-ENV): Likewise.
15777         (tst-swscanf-ENV): Likewise.
15778         (bug-ftell-ENV): Likewise.
15779         (tst-fgetwc-ENV): Likewise.
15780         (tst-fseek-ENV): Likewise.
15781         (tst-ftell-partial-wide-ENV): Likewise.
15782         (tst-ftell-active-handler-ENV): Likewise.
15783         (tst-ftell-append-ENV): Likewise.
15784         * posix/Makefile (tst-fnmatch-ENV): Likewise.
15785         (tst-regexloc-ENV): Likewise.
15786         (bug-regex1-ENV): Likewise.
15787         (tst-regex-ENV): Likewise.
15788         (tst-regex2-ENV): Likewise.
15789         (bug-regex5-ENV): Likewise.
15790         (bug-regex6-ENV): Likewise.
15791         (bug-regex17-ENV): Likewise.
15792         (bug-regex18-ENV): Likewise.
15793         (bug-regex19-ENV): Likewise.
15794         (bug-regex20-ENV): Likewise.
15795         (bug-regex22-ENV): Likewise.
15796         (bug-regex23-ENV): Likewise.
15797         (bug-regex25-ENV): Likewise.
15798         (bug-regex26-ENV): Likewise.
15799         (bug-regex30-ENV): Likewise.
15800         (bug-regex32-ENV): Likewise.
15801         (bug-regex33-ENV): Likewise.
15802         (bug-regex34-ENV): Likewise.
15803         (bug-regex35-ENV): Likewise.
15804         (tst-rxspencer-ENV): Likewise.
15805         (tst-rxspencer-no-utf8-ENV): Likewise.
15806         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15807         (tst-sscanf-ENV): Likewise.
15808         (tst-swprintf-ENV): Likewise.
15809         (tst-swscanf-ENV): Likewise.
15810         (test-vfprintf-ENV): Likewise.
15811         (scanf13-ENV): Likewise.
15812         (bug14-ENV): Likewise.
15813         (tst-grouping-ENV): Likewise.
15814         * stdlib/Makefile (tst-strtod-ENV): Likewise.
15815         (tst-strtod3-ENV): Likewise.
15816         (tst-strtod4-ENV): Likewise.
15817         (tst-strtod5-ENV): Likewise.
15818         (testmb2-ENV): Likewise./
15819         * string/Makefile (tst-strxfrm-ENV): Likewise.
15820         (tst-strxfrm2-ENV): Likewise.
15821         (bug-strcoll1-ENV): Likewise.
15822         (test-strcasecmp-ENV): Likewise.
15823         (test-strncasecmp-ENV): Likewise.
15824         * time/Makefile (tst-strptime-ENV): Likewise.
15825         (tst-ftime_l-ENV): Likewise.
15826         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15827         (tst-mbrtowc-ENV): Likewise.
15828         (tst-wcrtomb-ENV): Likewise.
15829         (tst-mbrtowc2-ENV): Likewise.
15830         (tst-c16c32-1-ENV): Likewise.
15831         (tst-mbsnrtowcs-ENV): Likewise.
15833 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15835         * manual/resource.texi (How to get information about the memory
15836         subsystem?): Fix typo.
15837         Reported by Peon de la Parra Ivan <peon@keba.com>
15839 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
15841         [BZ #16882]
15842         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15843         (pthread_spin_lock): Branch out of spin loop to proper location.
15844         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15845         (pthread_spin_lock): Likewise.
15847         * nptl/tst-spin4.c: New test.
15848         * nptl/Makefile (tests): Add tst-spin4.
15850 2014-06-03  Andreas Schwab  <schwab@suse.de>
15852         [BZ #15946]
15853         * resolv/res_send.c (send_dg): Reload file descriptor after
15854         calling reopen.
15856 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
15858         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15860 2014-06-03  Richard Henderson  <rth@redhat.com>
15862         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15863         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15864         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15865         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
15866         in the SAVE_PID block.
15867         (__libc_vfork): New alias.
15868         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15870         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15871         child in registers, not on the stack.  Remove RESET_PID conditionals.
15872         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15874 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15876         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15878 2014-06-03  Wilco  <wdijkstr@arm.com>
15880         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15881         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15882         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15883         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15884         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15885         Likewise.
15887 2014-06-03  Wilco  <wdijkstr@arm.com>
15889         * sysdeps/aarch64/fpu/math_private.h
15890         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15891         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15892         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15893         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15894         Fix declarations.
15896 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15898         * crypt/crypt-private.h: Include ufc-crypt.h.
15899         (__b64_from_24bit): Declare extern.
15900         * crypt/crypt_util.c(__b64_from_24bit): New function.
15901         (b64t): New static const variable.
15902         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15903         (b64t): Remove variable.
15904         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15905         * crypt/sha256-crypt.c: Include crypt-private.h.
15906         (b64t): Remove variable.
15907         (__sha256_crypt_r): Remove b64_from_24bit and replace
15908         with __b64_from_24bit.
15909         * crypt/sha512-crypt.c: Likewise.
15911 2014-06-02  Roland McGrath  <roland@hack.frob.com>
15913         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15914         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15915         Label the code __libc_vfork rather than __vfork.
15916         [!NOT_IN_libc] (vfork): Define as weak alias.
15917         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15918         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15919         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15921 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15923         * malloc/malloc.c (malloc_info): Fix format specifier for
15924         n_mmaps.
15926 2014-06-02  Wilco  <wdijkstr@arm.com>
15928         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15929         FPCR write.
15931 2014-06-02  Wilco  <wdijkstr@arm.com>
15933         [BZ #17009]
15934         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15935         Rewrite to reduce FPCR/FPSR accesses.
15937 2014-06-01  David S. Miller  <davem@davemloft.net>
15939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15941 2014-05-31  David S. Miller  <davem@davemloft.net>
15943         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15944         to occur in round to nearest mode when |x| >= 2.0
15946 2014-05-30  Richard Henderson  <rth@twiddle.net>
15948         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15949         (PSEUDO_RET_NOERRNO): Remove.
15950         (ret): Don't redefine.
15951         (ret_NOERRNO): Define in terms of ret.
15952         (ret_ERRVAL): Likewise.
15954         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15955         use of PSEUDO_RET; perform the error check directly.
15957 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
15959         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15960         with __int128_t.
15962 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15964         * malloc/malloc (malloc_info): Fix formatting.
15966 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15967             Roland McGrath  <roland@hack.frob.com>
15969         * malloc/malloc (malloc_info): Also print mmapped statistics.
15971 2014-05-30  Roland McGrath  <roland@hack.frob.com>
15973         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15974         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15976 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
15978         * malloc/malloc.c (malloc_info): Inline mi_arena.
15980 2014-05-29  Richard Henderson  <rth@twiddle.net>
15982         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15983         Remove comma before expanding ASM_ARGS_##nr.
15984         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15985         Make _x0 a strict output; make _x8 a strict input; adjust expansion
15986         of ASM_ARGS_##nr.
15987         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15988         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15989         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15990         (ASM_ARGS_1): Add leading comma.
15992         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15993         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15994         to __errno_location.
15995         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15996         Remove the expected plt for __errno_location.
15998         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15999         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16000         call to __read_tp.
16002         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16003         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
16004         it and break it down.
16005         (DOCARGS_0, DOCARGS_1): Do nothing.
16006         (DOCARGS_2): Update to store into the new stack frame.
16007         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16008         (UNDOCARGS_1): Update to restore from the new stack frame.
16009         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16010         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16012         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16013         (SINGLE_THREAD_P): New parameter for result regno.
16014         (PSEUDO): Update to match; use cbz instead of beq.
16016         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16017         Use ENTRY to define the _nocancel entry point.  Share the syscall
16018         and syscall error check paths with the cancel path.
16019         (PSEUDO_END): New.
16021         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16022         whitespace; tabs before and after asm mnemonics.
16024 2014-05-29  Eric Wong  <normalperson@yhbt.net>
16026         [BZ #15132]
16027         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16028         Call fstat64 or stat64 internally, depending on arguments passed.
16029         Replace stat buffer argument with file descriptor argument.
16030         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16031         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16032         Pass fd to __internal_statvfs instead of calling fstat64.
16033         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16034         Pass fd to __internal_statvfs64 instead of calling fstat64.
16035         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16036         Pass -1 to __internal_statvfs instead of calling stat64.
16037         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16038         Pass -1 to __internal_statvfs64 instead of calling stat64.
16040 2014-05-28  Roland McGrath  <roland@hack.frob.com>
16042         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16043         that was previously under [RESET_PID].
16044         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16046         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16047         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16049 2014-05-27  Roland McGrath  <roland@hack.frob.com>
16051         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16053         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16054         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16056 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
16058         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16060 2014-05-27  Andreas Schwab  <schwab@suse.de>
16062         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16063         TLS_INIT_TP macro.
16064         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16065         * elf/rtld.c (init_tls, dl_main): Likewise.
16066         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16067         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16068         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16069         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16070         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16071         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16072         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16073         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16074         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16075         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16076         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16077         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16078         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16079         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16080         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16081         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16082         * sysdeps/generic/tls.h: Update description.
16084 2014-05-27  Will Newton  <will.newton@linaro.org>
16086         [BZ #16990]
16087         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16088         and restore r2 rather than just restoring.
16090 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16092         [BZ #16724]
16093         * libio/tst-ftell-append.c: New test case.
16094         * libio/Makefile (tests): Add test case.
16095         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16096         append mode.
16097         * libio/wfileops.c (do_ftell_wide): Likewise.
16099 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16103         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16104         ...
16105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16107         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16108         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16109         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16110         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16111         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16112         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16113         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16114         Moved ...
16115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16117         Moved ...
16118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16119         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16120         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16121         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16122         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16123         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16124         ...
16125         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16126         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16127         Moved ...
16128         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16129         here.
16130         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16131         ...
16132         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16133         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16134         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16136         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16137         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16138         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16139         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16141         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16142         merge into ...
16143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16145         ...
16146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16147         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16148         ...
16149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16150         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16151         Moved ...
16152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16153         here.
16154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16155         Moved ...
16156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16157         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16158         Moved ...
16159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16162         conditional [RESET_PID].
16163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16164         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16165         removed.
16166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16167         removed.
16169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16170         <tcb-offsets.h>.
16171         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16172         (__libc_vfork): New strong alias.
16173         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16174         removed.
16175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16176         Removed.
16178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16179         <tcb-offsets.h>.
16180         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16181         (__libc_vfork): New strong alias.
16182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16183         removed.
16184         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16185         removed.
16187 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
16189         * malloc/malloc.c (mi_arena): New function.
16190         (malloc_info): Remove nested function mi_arena. Call non-nosted
16191         function mi_arena.
16193 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16195         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16196         by insrwi.
16197         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16198         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16199         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16200         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16201         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16202         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16203         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16205 2014-05-26  Andreas Schwab  <schwab@suse.de>
16207         [BZ #16984]
16208         * locale/programs/repertoire.c (repertoire_read): Add slash
16209         between I18NPATH element and file name.
16210         * locale/programs/locfile.c (locfile_read): Likewise.
16212 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16214         * nptl/pthread_mutexattr_settype.c
16215         (__pthread_mutexattr_settype):
16216         Disable lock elision for PTHREAD_MUTEX_NORMAL.
16218 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16220         * nptl/tst-mutex5 (do_test):
16221         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16223 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16225         * benchtests/README: Document 'init' directive.
16226         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16227         BENCH_INIT.
16228         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16229         (parse_file): Recognize 'init' directive.
16231 2014-05-26  Kyle McMartin  <kyle@redhat.com>
16233         [BZ #16796]
16234         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16235         alignment of struct pthread.
16237 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16239         [BZ #16878]
16240         * nscd/netgroupcache.c (addgetnetgrentX): Look for
16241         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16242         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16243         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16245 2014-05-25  Richard Henderson  <rth@twiddle.net>
16247         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16248         (SINGLE_THREAD_P_PIC): Remove.
16249         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16250         (SINGLE_THREAD_P_PIC): Remove.
16252         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16253         branch to syscall error ...
16254         (PSEUDO): ... here.
16255         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16256         from __local_syscall_error to .Lsyscall_error.
16257         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16258         (SYSCALL_ERROR): Update label name.
16260         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16261         Do not use DOARGS/UNDOARGS.
16262         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16263         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16264         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16265         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16266         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16268         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16269         block comment.
16271         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16272         define if !NOT_IN_libc.
16273         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16274         define with non-default symbol versions.
16276 2014-05-23  Richard Henderson  <rth@twiddle.net>
16278         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16279         (vfork, __vfork): Define via compat_symbol.
16281         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16282         [!HAVE_IFUNC] (vfork_compat): Remove.
16283         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16285 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16287         [BZ #16978]
16288         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16289         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16290         variable.
16292 2014-05-23  Richard Henderson  <rth@twiddle.net>
16294         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16295         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16296         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16297         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16299         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16300         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16301         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16302         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16303         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16304         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16305         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16306         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16307         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16308         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16309         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16310         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16311         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16312         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16313         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16314         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16315         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16316         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16317         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16318         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16319         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16320         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16321         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16322         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16323         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16324         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16325         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16326         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16327         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16328         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16329         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16330         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16331         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16332         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16333         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16334         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16335         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16336         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16337         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16338         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16339         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16340         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16341         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16342         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16343         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16344         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16345         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16346         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16347         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16348         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16349         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16350         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16351         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16352         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16353         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16354         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16356         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16357         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16358         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
16359         before exiting on error.
16360         (__libc_vfork): New strong alias.
16361         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16362         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16364         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16365         that was previously under [RESET_PID].
16366         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16368         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16370 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16372         [BZ #16977]
16373         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16374         value when x - 1 is zero.
16375         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16376         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16377         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16378         0.0L for an argument of 1.0L.
16379         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16380         Likewise.
16381         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16382         value when x - 1 is zero.
16383         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16384         * sysdeps/i386/fpu/libm-test-ulps: Update.
16385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16387 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16389         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16390         alphasort and versionsort.
16392 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16394         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16395         macro.
16396         [copysignf]: Likewise.
16398 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16400         * crypt/md5-crypt.c: Fix formatting.
16402 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16404         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16405         (b64_from_24bit): New function.
16407 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16409         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16410         libc_hidden_builtin_def to ifunc.
16411         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16412         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16414 2014-05-21  Roland McGrath  <roland@hack.frob.com>
16416         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16417         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16419 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
16421         * nscd/Depend (linuxthreads): Remove.
16422         (nptl): Add.
16423         * resolv/Depend (linuxthreads): Remove.
16424         * rt/Depend (linuxthreads): Remove.
16426         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16427         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16428         $(common-objpfx)elf/.
16429         (link-libc-before-gnulib): Likewise.
16430         (elfobjdir): Remove variable.
16431         * Makefile (install): Use $(elf-objpfx) instead of
16432         $(common-objpfx)elf/.
16433         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16434         $(elfobjdir)/.
16435         (link-libc-deps): Likewise.
16436         ($(common-objpfx)libc.so): Likewise.
16437         ($(common-objpfx)linkobj/libc.so): Likewise.
16438         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16439         instead of $(common-objpfx)elf/.
16440         (symbolic-link-list): Likewise.
16441         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16442         [$(cross-compiling) = no]: Likewise.
16443         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16444         $(elfobjdir)/.
16445         (static-gnulib-arch): Likewise.
16446         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16447         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16448         $(common-objpfx)elf/.
16450 2014-05-21  Richard Henderson  <rth@redhat.com>
16452         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16453         (SINGLE_THREAD_P): Use the correct width load.  Fold
16454         into the ldr offset.
16456         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16457         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16459 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
16461         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16462         (libgcc_s_resume): Use __attribute_used__.
16463         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16464         Likewise.
16466 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16468         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16469         optimization when used with float constants.
16471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16473 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
16475         [BZ #16915]
16476         * locale/nl_langinfo_l.c: Make direct reference to every
16477         _nl_current_CATEGORY symbol.
16478         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16479         (tests-static): Add tst-langinfo-static.
16480         (tests-special): Add tst-langinfo-static.out.
16481         ($(objpfx)tst-langinfo.out): Redirect output.
16482         ($(objpfx)tst-langinfo-static.out): New.
16483         * localedata/tst-langinfo.sh: Send output to stdout.
16484         * localedata/tst-langinfo-static.c: New file.
16486         [BZ #16965]
16487         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16488         when the shift amount is modulo the limb size.
16490 2014-05-20  Richard Henderson  <rth@redhat.com>
16492         [BZ #16967]
16493         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16494         Change type of sa_flags from unsigned int to int.
16496         [BZ #16966]
16497         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16499         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16501 2014-05-20  Will Newton  <will.newton@linaro.org>
16503         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16504         Test the return value of the system call in the nocancel case.
16506 2014-05-20  Will Newton  <will.newton@linaro.org>
16507             Yvan Roux  <yvan.roux@linaro.org>
16509         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16510         #include of asm/ptrace.h.
16511         (PTRACE_GET_THREAD_AREA): Remove #undef.
16512         (PTRACE_GETHBPREGS): Likewise.
16513         (PTRACE_SETHBPREGS): Likewise.
16514         (struct user_regs_struct): New structure.
16515         (struct user_fpsimd_struct): New structure.
16516         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16517         #include of asm/ptrace.h and second #include of sys/user.h.
16518         (PTRACE_GET_THREAD_AREA): Remove #undef.
16519         (PTRACE_GETHBPREGS): Likewise.
16520         (PTRACE_SETHBPREGS): Likewise.
16521         (ELF_NGREG): Use new struct user_regs_struct.
16522         (elf_fpregset_t): Use new struct user_fpsimd_struct.
16524 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16526         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16527         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16529 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
16531         [BZ #16958]
16532         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16533         membar to avoid block loads/stores to overlap previous stores.
16535 2014-05-17  Richard Henderson  <rth@redhat.com>
16537         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16538         Create the __##syscall_name##_nocancel entry point.
16539         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16540         Remove; let the sysdep-cancel.h code create it.
16542 2014-05-17  David S. Miller  <davem@davemloft.net>
16544         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16545         Protect with __USE_GNU.
16546         (TIOCSET_TEMPT): Likewise.
16547         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16548         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16549         these are already provided in bits/ioctl-types.h
16551 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16553         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16554         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16556         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16557         Use wait4 regardless of [__NR_waitpid].
16559 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16561         PR libgcc/60166
16562         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16563         (_FP_NANSIGN_Q): Set the quiet bit.
16565 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
16567         * benchtests/Makefile
16568         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16569         not $(common-objpfx)math/libm.so.
16570         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16571         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16572         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16573         $(common-objpfx)dlfcn/libdl.so.
16574         ($(objpfx)tst-audit8): Depend on $(libm), not
16575         $(common-objpfx)math/libm.so.
16576         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16577         not $(common-objpfx)dlfcn/libdl.so.
16578         * math/Makefile
16579         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16580         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
16581         [$(build-shared) = yes].
16582         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16583         $(common-objpfx)nptl/libpthread.so.
16584         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16585         $(common-objpfx)math/libm.so$(libm.so-version) or
16586         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16587         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16588         $(common-objpfx)dlfcn/libdl.so.
16589         * setjmp/Makefile (link-libm): Remove variable.
16590         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16591         * stdio-common/Makefile (link-libm): Remove variable.
16592         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16593         * stdlib/Makefile (link-libm): Remove variable.
16594         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16595         ($(objpfx)tst-strtod-round): Likewise.
16596         ($(objpfx)tst-tininess): Likewise.
16597         ($(objpfx)tst-strtod-underflow): Likewise.
16598         ($(objpfx)tst-strtod6): Likewise.
16599         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16600         $(libdl), not $(common-objpfx)nptl/libpthread.so and
16601         $(common-objpfx)dlfcn/libdl.so.
16603 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16605         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16606         BSD terminal modes definitions.
16608 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16610         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16611         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16613         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16614         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16615         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16616         Don't do #include_next.
16617         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16618         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16619         Don't do #include_next.
16620         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16621         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16622         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16623         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16625 2014-05-16  Allan McRae  <allan@archlinux.org>
16627         * po/sv.po: Update Swedish translation from translation project.
16629         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16630         in sed expression.
16632 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
16634         [BZ #16917]
16635         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16636         errno if the TIOCGPTN ioctl fails with an error different than
16637         EINVAL.
16638         * login/tst-ptsname.c: New file.
16639         * login/Makefile (tests): Add tst-ptsname.
16641         [BZ #16943]
16642         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16643         and prlimit64.
16645 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16647         [BZ #16849]
16648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16649         herrno to return EAI_AGAIN.
16651 2014-05-14  Roland McGrath  <roland@hack.frob.com>
16653         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16654         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16655         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16656         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16657         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16658         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16659         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16660         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16661         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16662         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16663         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16664         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16665         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16666         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16667         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16668         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16669         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16670         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16671         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16672         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16673         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16674         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16675         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16676         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16677         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16678         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16679         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16680         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16681         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16682         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16684         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16686         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16688         Moved ...
16689         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16691         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16693         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16695         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16697         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16699         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16701         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16703         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16705         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16707         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16709         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16711         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16713         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16715         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16717         Moved ...
16718         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16720         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16722         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16724         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16726         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16728         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16730         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16732         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16734         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16736         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16738         Moved ...
16739         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16741         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16743         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16744         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16745         (libpthread-sysdep_routines): Add elision-related stuff here instead.
16746         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16747         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16748         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16749         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16750         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16751         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16752         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16753         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16754         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16755         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16756         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16757         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16758         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16759         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16760         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16761         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16762         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16763         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16764         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16765         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16766         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16767         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16768         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16769         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16770         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16771         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16772         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16773         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16775         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16776         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16778         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16779         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16780         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16781         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16782         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16783         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16784         Moved ...
16785         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16786         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16787         Moved ...
16788         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16789         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16790         Moved ...
16791         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16792         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16793         Moved ...
16794         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16795         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16796         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16797         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16798         Moved ...
16799         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16800         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16801         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16802         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16803         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16804         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16805         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16806         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16807         Moved ...
16808         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16809         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16810         Moved ...
16811         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16812         ... here.
16813         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16814         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16815         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16816         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16817         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16818         Moved ...
16819         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16820         ... here.
16821         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16822         Moved ...
16823         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16824         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16825         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16826         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16827         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16828         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16829         Moved ...
16830         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16831         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16832         Moved ...
16833         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16834         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16835         Moved ...
16836         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16837         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16838         Moved ...
16839         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16840         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16841         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16842         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16843         Moved ...
16844         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16845         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16846         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16847         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16848         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16849         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16850         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16851         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16852         Moved ...
16853         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16854         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16855         Moved ...
16856         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16857         ... here.
16858         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16859         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16860         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16861         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16862         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16863         Moved ...
16864         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16865         ... here.
16866         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16867         Moved ...
16868         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16869         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16870         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16871         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16872         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16873         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16874         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16875         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16876         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16877         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16878         Moved ...
16879         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16880         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16881         Moved ...
16882         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16883         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16884         Moved ...
16885         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16886         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16887         Moved ...
16888         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16889         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16890         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16891         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16892         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16893         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16894         Moved ...
16895         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16896         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16897         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16898         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16899         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16900         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16901         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16902         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16903         Moved ...
16904         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16905         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16906         Moved ...
16907         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16908         ... here.
16909         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16910         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16911         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16912         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16913         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16914         Moved ...
16915         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16916         ... here.
16917         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16918         Moved ...
16919         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16920         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16921         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16922         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16923         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16924         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16925         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16926         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16927         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16928         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16929         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16931         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16932         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16934         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16935         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16937         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16938         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16939         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16940         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16941         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16942         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16943         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16944         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16945         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16946         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16947         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16948         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16949         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16950         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16951         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16952         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16953         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16954         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16955         Moved ...
16956         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16957         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16958         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16959         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16960         Moved ...
16961         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16962         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16963         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16964         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16965         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16966         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16967         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16968         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16969         Moved ...
16970         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16971         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16972         Moved ...
16973         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16974         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16975         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16976         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16977         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16978         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16979         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16980         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16981         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16982         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16983         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16984         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16985         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16986         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16987         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16988         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16989         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16991         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16992         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16993         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16994         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16995         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16997         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16998         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16999         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17000         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17001         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17002         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17003         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17004         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17005         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17006         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17008         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17009         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17011         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17012         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17013         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17014         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17015         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17016         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17017         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17018         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17019         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17020         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17021         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17022         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17023         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17024         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17025         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17026         Update #include.
17027         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17028         Likewise.
17029         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17030         Likewise.
17031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17032         Likewise.
17033         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17034         Likewise.
17035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17036         Likewise.
17037         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17038         Likewise.
17039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17040         Likewise.
17041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17042         Likewise.
17043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17044         Likewise.
17045         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17046         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17047         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17048         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17049         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17050         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17051         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17052         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17053         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17054         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17055         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17056         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17057         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17058         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
17059         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
17061         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17062         that was previously under [RESET_PID].
17063         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17064         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17065         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17067         * sysdeps/i386/nptl/Implies: New file.
17068         * sysdeps/x86_64/nptl/Implies: New file.
17069         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17070         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17071         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17072         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17074         * sysdeps/unix/sysv/linux/i386/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         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17078         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17080         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17081         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17082         (__libc_vfork): New strong alias.
17083         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17084         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17086         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17087         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17088         (__libc_vfork): New strong alias.
17089         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17090         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17091         * nptl/pt-vfork.c: New file.
17092         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17093         (libpthread: GLIBC_2.20): New version set (empty).
17095 2014-05-14  Will Newton  <will.newton@linaro.org>
17097         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17098         rather than #if.
17100 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17102         [BZ #16564]
17103         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17104         arguments with exponent 65 or above.
17105         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17106         arguments 0x1p113L or above.
17107         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17108         to arguments 0x1p107L or above.
17109         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17110         positive arguments with exponent 65 or above.
17111         * math/auto-libm-test-in: Add more tests of log1p.
17112         * math/auto-libm-test-out: Regenerated.
17114         [BZ #16928]
17115         * math/s_cacos.c (__cacos): Ensure zero real part of result from
17116         non-finite arguments is +0.
17117         * math/s_cacosf.c (__cacosf): Likewise.
17118         * math/s_cacosl.c (__cacosl): Likewise.
17119         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17120         * sysdeps/i386/fpu/libm-test-ulps: Update.
17121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17123         [BZ #16927]
17124         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17125         value.
17126         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17127         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17128         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17129         for explicit high bit of mantissa when testing for argument equal
17130         to 1.
17131         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17132         * sysdeps/i386/fpu/libm-test-ulps: Update.
17133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17135         [BZ #16516]
17136         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17137         (__erf): Scale by 16 instead of 8 in potentially underflowing
17138         case.  Ensure exception if result actually underflows.
17139         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17140         (__erff): Scale by 16 instead of 8 in potentially underflowing
17141         case.  Ensure exception if result actually underflows.
17142         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17143         (efx8): Remove variable.
17144         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17145         case.  Ensure exception if result actually underflows.
17146         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17147         (efx8): Remove variable.
17148         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17149         case.  Ensure exception if result actually underflows.
17150         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17151         (efx8): Remove variable.
17152         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17153         case.  Ensure exception if result actually underflows.
17154         * math/auto-libm-test-in: Add more tests of erf.
17155         * math/auto-libm-test-out: Regenerated.
17157 2014-05-14  Andreas Schwab  <schwab@suse.de>
17159         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17160         Remove code conditionalized on USE___THREAD.
17162         * config.h.in (HAVE_PT_CHOWN): Define as 0.
17163         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17164         not definedness.
17166 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17168         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17169         Define unconditionally.
17170         (__ASSUME_O_CLOEXEC): Likewise.
17171         (__ASSUME_SOCK_CLOEXEC): Likewise.
17172         (__ASSUME_IN_NONBLOCK): Likewise.
17173         (__ASSUME_PIPE2): Likewise.
17174         (__ASSUME_EVENTFD2): Likewise.
17175         (__ASSUME_SIGNALFD4): Likewise.
17176         (__ASSUME_DUP3): Likewise.
17177         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17178         (__ASSUME_DUP3): Do not define.
17179         (__ASSUME_EVENTFD2): Likewise.
17180         (__ASSUME_IN_NONBLOCK): Likewise.
17181         (__ASSUME_O_CLOEXEC): Likewise.
17182         (__ASSUME_PIPE2): Likewise.
17183         (__ASSUME_SIGNALFD4): Likewise.
17184         (__ASSUME_SOCK_CLOEXEC): Likewise.
17185         (__ASSUME_UTIMES): Undefine.
17186         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17187         (__ASSUME_UTIMES): Do not define.
17188         (__ASSUME_O_CLOEXEC): Likewise.
17189         (__ASSUME_SOCK_CLOEXEC): Likewise.
17190         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17191         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17192         0x020621].
17193         (__ASSUME_PIPE2): Likewise.
17194         (__ASSUME_EVENTFD2): Likewise.
17195         (__ASSUME_SIGNALFD4): Likewise.
17196         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17197         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17198         Do not define.
17199         (__ASSUME_EVENTFD2): Likewise.
17200         (__ASSUME_SIGNALFD4): Likewise.
17201         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17202         (__ASSUME_32BITUIDS): Likewise.
17203         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17204         (__ASSUME_IPC64): Likewise.
17205         (__ASSUME_ST_INO_64_BIT): Likewise.
17206         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17207         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17208         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17209         (__ASSUME_UTIMES): Do not define.
17210         (__ASSUME_PSELECT): Likewise.
17211         (__ASSUME_PPOLL): Likewise.
17212         (__ASSUME_O_CLOEXEC): Likewise.
17213         (__ASSUME_SOCK_CLOEXEC): Likewise.
17214         (__ASSUME_IN_NONBLOCK): Likewise.
17215         (__ASSUME_PIPE2): Likewise.
17216         (__ASSUME_EVENTFD2): Likewise.
17217         (__ASSUME_SIGNALFD4): Likewise.
17218         (__ASSUME_DUP3): Likewise.
17219         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17220         (__ASSUME_UTIMES): Likewise.
17221         (__ASSUME_O_CLOEXEC): Likewise.
17222         (__ASSUME_SOCK_CLOEXEC): Likewise.
17223         (__ASSUME_IN_NONBLOCK): Likewise.
17224         (__ASSUME_PIPE2): Likewise.
17225         (__ASSUME_EVENTFD2): Likewise.
17226         (__ASSUME_SIGNALFD4): Likewise.
17227         (__ASSUME_DUP3): Likewise.
17228         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17229         (__ASSUME_UTIMES): Likewise.
17230         (__ASSUME_O_CLOEXEC): Likewise.
17231         (__ASSUME_SOCK_CLOEXEC): Likewise.
17232         (__ASSUME_IN_NONBLOCK): Likewise.
17233         (__ASSUME_PIPE2): Likewise.
17234         (__ASSUME_EVENTFD2): Likewise.
17235         (__ASSUME_SIGNALFD4): Likewise.
17236         (__ASSUME_DUP3): Likewise.
17237         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17238         Likewise.
17239         (__ASSUME_UTIMES): Likewise.
17240         (__ASSUME_EVENTFD2): Likewise.
17241         (__ASSUME_SIGNALFD4): Likewise.
17242         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17243         (__ASSUME_O_CLOEXEC): Likewise.
17244         (__ASSUME_SOCK_CLOEXEC): Likewise.
17245         (__ASSUME_IN_NONBLOCK): Likewise.
17246         (__ASSUME_PIPE2): Likewise.
17247         (__ASSUME_EVENTFD2): Likewise.
17248         (__ASSUME_SIGNALFD4): Likewise.
17249         (__ASSUME_DUP3): Likewise.
17250         (__ASSUME_UTIMES): Undefine.
17252         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17253         feclearexcept.  Remove symbol versioning code.
17254         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
17255         symbol versioning code.
17256         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
17257         symbol versioning code.
17258         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17259         feupdateenv.  Remove symbol versioning code.
17260         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17261         fegetexceptflag.  Remove symbol versioning code.
17262         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17263         fesetexceptflag.  Remove symbol versioning code.
17264         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17265         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
17266         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17267         (__posix_fadvise64_l32): Remove prototype.
17268         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17269         code.
17271 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17273         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17274         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17275         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17276         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17278 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
17280         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17281         current working directory
17283 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17285         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17286         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17287         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17288         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17289         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17290         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17291         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17292         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17293         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17294         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17295         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17296         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17297         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17298         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17299         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17300         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17301         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17302         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17303         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17304         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17305         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17306         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17307         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17308         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17309         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17310         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17311         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17312         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17313         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17314         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17315         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17316         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17317         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17318         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17319         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17320         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17321         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17322         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17323         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17324         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17325         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17326         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17328         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17329         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17331         * sysdeps/unix/sysv/linux/arm/Makefile
17332         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17333         Add rt-aeabi_unwind_cpp_pr1.
17334         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17335         Add nptl-aeabi_unwind_cpp_pr1.
17336         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17337         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17338         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17339         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17340         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17341         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17343         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17344         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17345         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17346         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17348         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17349         Deconditionalize the code that was previously under [RESET_PID].
17350         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17352         * sysdeps/generic/exit-thread.h: New file.
17353         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17354         * include/unistd.h (__exit_thread): Remove declaration.
17355         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17356         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17357         * csu/libc-start.c: Include <exit-thread.h>.
17358         (LIBC_START_MAIN): Pass no argument to __exit_thread.
17359         * nptl/pthread_create.c: Include <exit-thread.h>.
17360         (start_thread): Call __exit_thread in place of __exit_thread_inline.
17361         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17362         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17363         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17364         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17365         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17366         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17367         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17368         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17369         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17370         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17371         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17372         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17373         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17374         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17375         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17376         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17378 2014-05-13  Andreas Schwab  <schwab@suse.de>
17380         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17382 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
17384         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17385         (__ASSUME_UTIMES): Do not condition on kernel version.
17386         (__ASSUME_PSELECT): Define unconditionally.
17387         (__ASSUME_PPOLL): Likewise.
17388         (__ASSUME_ATFCTS): Likewise.
17389         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17390         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17391         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17392         (__ASSUME_UTIMENSAT): Define unconditionally.
17393         (__ASSUME_PRIVATE_FUTEX): Likewise.
17394         (__ASSUME_FALLOCATE): Likewise.
17395         (__ASSUME_O_CLOEXEC): Likewise.
17396         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17397         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17398         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17399         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17400         (__ASSUME_IN_NONBLOCK): Likewise.
17401         (__ASSUME_PIPE2): Likewise.
17402         (__ASSUME_EVENTFD2): Likewise.
17403         (__ASSUME_SIGNALFD4): Likewise.
17404         (__ASSUME_DUP3): Likewise.
17405         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17406         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17407         (__ASSUME_AT_RANDOM): Likewise.
17408         (__ASSUME_PREADV): Likewise.
17409         (__ASSUME_PWRITEV): Likewise.
17410         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17411         (__ASSUME_F_GETOWN_EX): Define unconditionally.
17412         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17413         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17414         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17415         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17416         (__ASSUME_O_CLOEXEC): Define unconditionally.
17417         (__ASSUME_PSELECT): Do not undefine conditionally.
17418         (__ASSUME_PPOLL): Likewise.
17419         (__ASSUME_ATFCTS): Likewise.
17420         (__ASSUME_SET_ROBUST_LIST): Likewise.
17421         (__ASSUME_UTIMENSAT): Likewise.
17422         (__ASSUME_FDATASYNC): Define unconditionally.
17423         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17424         (__ASSUME_SIGFRAME_V2): Likewise.
17425         )__ASSUME_EVENTFD2): Likewise.
17426         (__ASSUME_SIGNALFD4): Likewise.
17427         (__ASSUME_PSELECT): Do not undefine conditionally.
17428         (__ASSUME_PPOLL): Likewise.
17429         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17430         (__ASSUME_PSELECT): Define unconditionally.
17431         (__ASSUME_PPOLL): Likewise.
17432         (__ASSUME_O_CLOEXEC): Likewise.
17433         (__ASSUME_SOCK_CLOEXEC): Likewise.
17434         (__ASSUME_IN_NONBLOCK): Likewise.
17435         (__ASSUME_PIPE2): Likewise.
17436         (__ASSUME_EVENTFD2): Likewise.
17437         (__ASSUME_SIGNALFD4): Likewise.
17438         (__ASSUME_DUP3): Likewise.
17439         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17440         (__ASSUME_O_CLOEXEC): Likewise.
17441         (__ASSUME_SOCK_CLOEXEC): Likewise.
17442         (__ASSUME_IN_NONBLOCK): Likewise.
17443         (__ASSUME_PIPE2): Likewise.
17444         (__ASSUME_EVENTFD2): Likewise.
17445         (__ASSUME_SIGNALFD4): Likewise.
17446         (__ASSUME_DUP3): Likewise.
17447         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17448         (__ASSUME_EVENTFD2): Likewise.
17449         (__ASSUME_SIGNALFD4): Likewise.
17450         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17452 2014-05-12  Andreas Schwab  <schwab@suse.de>
17454         [BZ #16932]
17455         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17456         (_nss_nis_gethostbyname4_r): Return error if item length is larger
17457         than maximum RPC packet size.
17458         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17459         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17460         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17461         (_nss_nis_getservbyport_r): Likewise.
17463 2014-05-12  Will Newton  <will.newton@linaro.org>
17465         * malloc/Makefile (tests): Add tst-mallopt.
17466         * malloc/tst-mallopt.c: New file.
17468 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17470         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17471         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17473 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17475         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17476         (tst-tlsmod6.so): Likewise.
17478 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17480         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17482 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
17484         [BZ #16064]
17485         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17486         and <dl-procinfo.h>.
17487         (__fegetenv): Save SSE state in envp->__eip if supported.
17488         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17489         envp->__eip if supported.
17490         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17491         and <dl-procinfo.h>.
17492         (__fesetenv): Always set __eip, __cs_selector, __opcode,
17493         __data_offset and __data_selector in environment to 0.  Set SSE
17494         state if supported.
17495         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17496         test-fenv-sse.
17497         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17498         -mfpmath=sse.
17499         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17501 2014-05-09  Will Newton  <will.newton@linaro.org>
17503         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17504         and libc_relro_required for ARM.
17505         * sysdeps/arm/preconfigure: Regenerate.
17507 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
17508             Stefan Liebler  <stli@linux.vnet.ibm.com>
17510         * config.make.in (enable-lock-elision): New Makefile variable.
17511         * configure.ac: Likewise.
17512         * configure: Regenerate.
17513         * sysdeps/s390/configure.ac:
17514         Add check for gcc transactions support.
17515         * sysdeps/s390/configure: Regenerate.
17516         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17517         Build elision files if enabled.
17518         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17519         Add lock elision support for s390.
17520         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17521         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17522         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17523         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17524         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17525         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17526         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17527         Likewise.
17528         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17529         Likewise.
17530         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17531         Likewise.
17532         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17533         Likewise.
17534         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17535         (__lll_timedlock_elision, __lll_lock_elision)
17536         (__lll_unlock_elision, __lll_trylock_elision)
17537         (lll_timedlock_elision, lll_lock_elision)
17538         (lll_unlock_elision, lll_trylock_elision): Add.
17539         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17540         (pthread_mutex_t): Add lock elision support for s390.
17542 2014-05-14  Wilco  <wdijkstr@arm.com>
17544         * sysdeps/arm/fclrexcpt.c: Cleanup.
17545         * sysdeps/arm/fedisblxcpt.c: Cleanup.
17546         * sysdeps/arm/feenablxcpt.c: Cleanup.
17547         * sysdeps/arm/fegetenv.c: Cleanup.
17548         * sysdeps/arm/fegetexcept.c: Cleanup.
17549         * sysdeps/arm/fegetround.c: Cleanup.
17550         * sysdeps/arm/feholdexcpt.c: Cleanup.
17551         * sysdeps/arm/fesetenv.c: Cleanup.
17552         * sysdeps/arm/fesetround.c: Cleanup.
17553         * sysdeps/arm/feupdateenv.c: Cleanup.
17554         * sysdeps/arm/fgetexcptflg.c: Cleanup.
17555         * sysdeps/arm/fraiseexcpt.c: Cleanup.
17556         * sysdeps/arm/fsetexcptflg.c: Cleanup.
17557         * sysdeps/arm/ftestexcept.c: Cleanup.
17558         * sysdeps/arm/get-rounding-mode.h: Cleanup.
17559         * sysdeps/arm/setfpucw.c: Cleanup.
17561 2014-05-09  Will Newton  <will.newton@linaro.org>
17563         * sysdeps/arm/armv7/strcmp.S: New file.
17564         * NEWS: Mention addition of ARMv7 optimized strcmp.
17566 2014-05-08  Roland McGrath  <roland@hack.frob.com>
17568         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17569         look for %.ac rather than %.in.
17571         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17572         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17573         * sysdeps/mach/hurd/configure: Regenerated.
17574         * sysdeps/unix/sysv/linux/configure: Regenerated.
17576         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17578 2014-05-07  Steve Ellcey  <sellcey@mips.com>
17580         [BZ# 16922]
17581         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17582         (LONG_SUB): Ditto.
17583         (PTR_SUB): Ditto.
17585 2014-05-07  Andreas Schwab  <schwab@suse.de>
17587         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17588         when skipping over non-matching result from nscd.
17590 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
17592         [BZ #16876]
17593         * nptl/sockperf.c (client): Check socket return value.
17595         [BZ #16877]
17596         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17597         nscd security class.
17599 2014-05-06  Roland McGrath  <roland@hack.frob.com>
17601         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17602         * sysdeps/arm/unwind.h: ... here.
17604 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
17606         [BZ# 16916]
17607         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17608         Define.
17610 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17612         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17613         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17614         multiarch strncpy for PPC64.
17615         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17616         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17618         multiarch optimizations.
17619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17620         (__libc_ifunc_impl_list): Likewise.
17621         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17622         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17623         multiarch stpncpy for PPC64.
17624         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17625         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17627 2014-05-06  Andreas Schwab  <schwab@suse.de>
17629         [BZ #16912]
17630         * gmon/mcount.c (_MCOUNT_DECL): Use
17631         atomic_compare_and_exchange_bool_acq instead of
17632         catomic_compare_and_exchange_bool_acq.
17634 2014-05-05  Roland McGrath  <roland@hack.frob.com>
17636         * elf/Makefile (others, install-bin): Remove pldd.
17637         (pldd-modules): Variable removed.
17638         ($(objpfx)pldd): Target removed.
17639         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17640         (others, install-bin): Append pldd here.
17641         ($(objpfx)pldd): New target.
17643         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17644         to 0, so the first #if test emitted later doesn't see it undefined.
17645         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17646         * sysdeps/gnu/errlist.c: Regenerated.
17648 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17650         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17651         [libc_hidden_builtin_def]: Define to empty value.
17652         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17653         [libc_hidden_builtin_def]: Likewise.
17654         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17655         [libc_hidden_builtin_def]: Likewise.
17656         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17657         [libc_hidden_builtin_def]: Likewise.
17658         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17659         __redirect_memcpy and define ifunc as default hidden symbol.
17660         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17661         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17663 2014-05-04  Adam Conrad  <adconrad@0c3.net>
17665         * locale/iso-4217.def: Reintroduce XDR currency.
17667 2014-05-04  Allan McRae  <allan@archlinux.org>
17669         * po/eo.po: Update Esperanto translation from translation project.
17671 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
17673         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17674         and FEATURE_INDEX_MAX to 1.
17675         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17677 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17679         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17680         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17681         * iconvdata/big5.c (ONE_DIRECTION): Define.
17682         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17683         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17684         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17685         * iconvdata/cp932.c (ONE_DIRECTION): Define.
17686         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17687         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17688         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17689         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17690         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17691         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17692         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17693         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17694         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17695         * iconvdata/gbk.c (ONE_DIRECTION): Define.
17696         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17697         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17698         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17699         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17700         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17701         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17702         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17703         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17704         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17705         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17706         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17707         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17708         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17709         * iconvdata/iso646.c (ONE_DIRECTION): Define.
17710         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17711         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17712         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17713         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17714         * iconvdata/johab.c (ONE_DIRECTION): Define.
17715         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17716         * iconvdata/sjis.c (ONE_DIRECTION): Define.
17717         * iconvdata/t.61.c (ONE_DIRECTION): Define.
17718         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17719         * iconvdata/tscii.c (ONE_DIRECTION): Define.
17720         * iconvdata/uhc.c (ONE_DIRECTION): Define.
17721         * iconvdata/unicode.c (ONE_DIRECTION): Define.
17722         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17723         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17724         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17726 2014-05-01  Roland McGrath  <roland@hack.frob.com>
17728         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17729         (_IO_JUMPS_OFFSET): Define to 0.
17731         * nptl/sysdeps/pthread/bits/libc-lock.h
17732         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17733         (__libc_lock_define_initialized_recursive): Always define using
17734         initializer.  Modern compilers treat uninitialized (implicit zero) and
17735         explicit zero initializers the same (i.e. put the datum in bss).
17737 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17739         * nscd/nscd-client.h: Include <string.h>.
17741 2014-05-01  David S. Miller  <davem@davemloft.net>
17743         [BZ #16885]
17744         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17745         multiple zero bytes exist at the end of a string.
17746         Reported by Aurelien Jarno <aurelien@aurel32.net>
17748         * string/test-strcmp.c (check): Add explicit test for situations where
17749         there are multiple zero bytes after the first.
17751 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17753         [BZ #16890]
17754         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17755         when compiling wprintf.
17756         * stdio-common/tstdiomisc.c (t3): New function.
17757         (main): Call it.
17759 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17761         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17762         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17763         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17764         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17766 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17768         * stdlib/longlong.h: Updated from GCC.
17770 2014-05-01  Will Newton  <will.newton@linaro.org>
17771             Bernard Ogden  <bernie.ogden@linaro.org>
17773         * NEWS: Update fixed bug list.
17775         [BZ #15119]
17776         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17778 2014-04-30  David S. Miller  <davem@davemloft.net>
17780         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17781         (libc_feholdexcept_setround_sparc_ctx): New function.
17782         (libc_fesetenv_sparc_ctx): Likewise.
17783         (libc_feupdateenv_sparc_ctx): Likewise.
17784         (libc_feholdsetround_sparc_ctx): Likewise.
17785         (libc_feholdexcept_setround_ctx): Define.
17786         (libc_feholdexcept_setroundf_ctx): Likewise.
17787         (libc_feholdexcept_setroundl_ctx): Likewise.
17788         (libc_fesetenv_ctx): Likewise.
17789         (libc_fesetenvf_ctx): Likewise.
17790         (libc_fesetenvl_ctx): Likewise.
17791         (libc_feupdateenv_ctx): Likewise.
17792         (libc_feupdateenvf_ctx): Likewise.
17793         (libc_feupdateenvl_ctx): Likewise.
17794         (libc_feresetround_ctx): Likewise.
17795         (libc_feresetroundf_ctx): Likewise.
17796         (libc_feresetroundl_ctx): Likewise.
17797         (libc_feholdsetround_ctx): Likewise.
17798         (libc_feholdsetroundf_ctx): Likewise.
17799         (libc_feholdsetroundl_ctx): Likewise.
17801         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17802         with __USE_GNU instead of XOPEN cpp guards.
17804         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17805         0.
17807         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17808         with XOPEN cpp guards.
17810 2014-04-30  Julian Brown  <julian@codesourcery.com>
17812         [BZ #16888]
17813         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17814         handling.
17816 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
17818         [BZ #9894]
17819         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17820         Change to 2.6.32.
17821         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17822         * sysdeps/unix/sysv/linux/configure: Regenerated.
17823         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17824         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17825         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17826         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17827         * README: Update reference to required Linux kernel version.
17828         * manual/install.texi (Linux): Update reference to required Linux
17829         kernel headers version.
17830         * INSTALL: Regenerated.
17832         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17833         header inclusion.
17834         [POSIX] (limits.h): Likewise.
17835         [POSIX] (math.h): Likewise.
17836         [POSIX] (sys/wait.h): Likewise.
17837         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17838         function.
17839         [POSIX] (stddef.h): Do not allow header inclusion.
17841 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17843         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17845 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
17847         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17848         Return immediately after lll_futex_wake.
17850 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17852         [BZ #16791]
17853         * nscd/nscd-client.h (datahead_init_common): Initialize entire
17854         structure.
17855         (datahead_init_pos): Call datahead_init_common early.
17856         (datahead_init_neg): Likewise.
17858         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17859         datahead_init_neg): New functions.
17860         * nscd/aicache.c (addhstaiX): Use them.
17861         * nscd/grpcache.c (cache_addgr): Likewise.
17862         * nscd/hstcache.c (cache_addhst): Likewise.
17863         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17864         * nscd/netgroupcache.c (do_notfound): Likewise.
17865         (addgetnetgrentX): Likewise.
17866         (addinnetgrX): Likewise.
17867         * nscd/pwdcache.c (cache_addpw): Likewise.
17868         * nscd/servicescache.c (cache_addserv): Likewise.
17870 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17871             Atsushi Onoe  <atsushi@onoe.org>
17873         [BZ #14308]
17874         [BZ #12994]
17875         [BZ #13651]
17876         * resolv/res_query.c (__libc_res_nsearch): Return if at least
17877         one response is valid.
17878         * resolv/res_send.c (send_dg): Check for validity of other
17879         response if the current response is a referral.
17881 2014-04-29  Steve Ellcey  <sellcey@mips.com>
17883         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17885 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
17887         [BZ #16823]
17888         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17889         Always divide by positive zero when computing -Inf result.
17890         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17891         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17893 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17895         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17896         FPSCR if value do not change.
17897         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17898         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17899         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17900         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17901         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17902         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17903         function.
17905 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
17907         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17908         * sysdeps/unix/sysv/linux/hppa: Move directory from
17909         ports/systeps/unix/sysv/linux/hppa.
17910         * README: Update listing for hppa-*-linux-gnu.
17912 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
17914         [BZ #16754]
17915         * manual/stdio.texi (Hook functions): Fix types of stream hook
17916         functions.
17917         [BZ #16854]
17918         * socket/sys/socket.h: Fix typo in comment.
17920 2014-04-28  Wilco  <wdijkstr@arm.com>
17922         * sysdeps/arm/fenv_private.h: New file.
17923         * sysdeps/arm/math_private.h: New file.
17924         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17926 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
17928         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17929         with __int128_t.
17930         (La_x86_64_retval): Likewise.
17932 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
17934         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17935         fpsr if value didn't change.
17936         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17937         to fpcr if value didn't change.
17938         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17939         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17940         fpsr or fpcr if value didn't change.
17941         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17942         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17943         fpcr if value didn't change.
17944         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17945         to fpsr if value didn't change.
17947 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17949         * nptl/tst-sem3.c: Use test-skeleton.c
17950         (main): Rename to do_test.  Use return instead of
17951         exit.
17952         * nptl/tst-sem4.c: Use test-skeleton.c
17953         (main): Rename to do_test.
17955 2014-04-22  David S. Miller  <davem@davemloft.net>
17957         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17958         (struct sigaction): New struct member __glibc_reserved0, change
17959         type of sa_flags to int.
17961 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
17963         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17964         (COUNT_LEADING_ZEROS_0): Define for AArch64.
17966 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17968         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17969         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17971 2014-04-22  Will Newton  <will.newton@linaro.org>
17972             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
17974         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17975         (__longjmp): Add longjmp and longjmp_target SystemTap
17976         probes.
17977         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17978         (__sigsetjmp): Add setjmp SystemTap probe.
17980 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
17982         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17983         match manual order.
17985 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17987         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17989         * sysdeps/powerpc/fpu/fenv_private.h
17990         (libc_feholdexcept_setroundl_ctx): Define to
17991         libc_feholdexcept_setround_ppc_ctx.
17992         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17993         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17994         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17995         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17997 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17999         * sysdeps/aarch64/math-tests.h: New file.
18001 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
18003         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18004         New.
18005         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18006         Check and set bit_AVX2_Usable.
18007         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18008         macro.
18009         (bit_AVX2): Likewise.
18010         (index_AVX2_Usable): Likewise.
18011         (CPUID_AVX2): Likewise.
18012         (HAS_AVX2): Likewise.
18014 2014-04-17  Will Newton  <will.newton@linaro.org>
18016         * manual/setjmp.texi (System V contexts): Add note that
18017         calling setcontext on a context created by a call to a
18018         signal handler is undefined.  Update text to note that
18019         setcontext from a signal handler is possible but not
18020         recommended.
18022         [BZ #16629]
18023         * stdlib/tst-setcontext.c: Include signal.h.
18024         (main): Check that the signal stack before and
18025         after swapcontext is the same.
18027         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18028         Re-implement to restore registers in user code and avoid
18029         rt_sigreturn system call.
18031 2014-04-17  Wilco  <wdijkstr@arm.com>
18033         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18034         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18035         * math/test-fenv.c: Skip exception trap tests on targets which only
18036         support non-stop mode.
18038 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18039             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18041         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18042         (libc_feholdsetround_aarch64_ctx)
18043         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18044         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18045         (libc_feresetround_ctx, libc_feresetroundf_ctx)
18046         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18047         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18048         (libc_feresetround_noexl_ctx): Define.
18050 2014-04-16  Richard Henderson  <rth@redhat.com>
18052         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18054         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18055         unwind tables.
18057         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18058         const from the non-libc, non-ldso copy.
18060         * sysdeps/alpha/libm-test-ulps: Regenerate.
18062 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
18063             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18065         * sysdeps/aarch64/fpu/math_private.h: New file.
18067 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18069         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18071 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
18073         [BZ #16275]
18074         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18075         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18076         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18077         Intel MPX bound registers before _dl_profile_fixup.
18078         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18079         registers after _dl_profile_fixup.  Save and restore bound
18080         registers bnd0/bnd1 when calling _dl_call_pltexit.
18081         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18082         (LR_BND_OFFSET): Likewise.
18083         (LRV_BND0_OFFSET): Likewise.
18084         (LRV_BND1_OFFSET): Likewise.
18086 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18088         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18089         to...
18090         * sysdeps/mach/hurd/i386/tls.h: ... here.
18091         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18092         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18093         fields.
18095 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18097         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18099 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18101         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18103 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18105         [BZ #14770]
18106         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18107         * sysdeps/s390/configure: Regenerate.
18109         [BZ #16824]
18110         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18111         Set round-to-nearest internally to reduce error accumulation.
18113 2014-04-16  Alan Modra  <amodra@gmail.com>
18115         [BZ #16740]
18116         [BZ #16619]
18117         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18118         * math/libm-test.inc (frexp_test_data): Add tests.
18119         * NEWS: Update fixed bug list.
18121 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18123         * benchtests/Makefile: Depend on libraries in build directory.
18124         (bench-math): Separate out math tests.
18125         (bench-pthread): Separate out pthread tests.
18126         (bench): Include math and pthread tests.
18128 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
18130         [BZ #16831]
18131         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18132         _dl_debug_initialize.
18134         * configure.ac: Remove SELinux header check.
18135         * configure: Regenerate.
18136         * nscd/selinux.c (perms): Array of const char* to permission names.
18137         (nscd_request_avc_has_perm): Call security_deny_unknown to find
18138         default policy. Call string_to_security_class and string_to_av_perm to
18139         translate strings. Enforce default policy and call avs_has_perm with
18140         results of translated strings.
18142 2014-04-13  David S. Miller  <davem@davemloft.net>
18144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18146 2014-04-12  Allan McRae  <allan@archlinux.org>
18148         [BZ #16838]
18149         * manual/string.texi (Collation Functions): Fix qsort argument
18150         order in example.
18151         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18153 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
18155         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18156         Make the test a no-op if there are no exceptions defined.
18158 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18160         * elf/Makefile (tests): make tst-dlopen-aout conditional on
18161         enable-hardcoded-path-in-tests
18163 2014-04-11  Will Newton  <will.newton@linaro.org>
18165         * benchtests/Makefile (extra-objs): Add json-lib.o.
18166         (bench-func): Tidy up JSON output.
18167         * benchtests/bench-skeleton.c: Include json-lib.h.
18168         (main): Use JSON library functions to do output of
18169         benchmark results.
18170         * benchtests/bench-timing-type.c (main): Output the
18171         timing type simply, leaving formatting to the user.
18172         * benchtests/json-lib.c: New file.
18173         * benchtests/json-lib.h: Likewise.
18175 2014-04-11  Torvald Riegel  <triegel@redhat.com>
18177         [BZ #15215]
18178         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18179         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
18180         memory barriers.  Add comments.
18181         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18182         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18183         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18184         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18185         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18186         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18188 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18190         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18191         * sysdeps/s390/s390-64/configure.ac: ... this ...
18192         * sysdeps/s390/configure.ac: ... to here.
18193         * sysdeps/s390/s390-32/configure: Delete file.
18194         * sysdeps/s390/s390-64/configure: Delete file.
18195         * sysdeps/s390/configure: Regenerate.
18197 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
18199         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18201 2014-04-11  Will Newton  <will.newton@linaro.org>
18203         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18204         to zero if it is not defined elsewhere.  (mtrim): Test
18205         the value of MALLOC_DEBUG with #if rather than #ifdef.
18207 2014-04-10 Torvald Riegel  <triegel@redhat.com>
18209         * benchtests/pthread_once-inputs: New file.
18210         * benchtests/pthread_once-source.c: New file.
18211         * benchtests/README: Update documentation.
18213 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18214             H.J. Lu  <hongjiu.lu@intel.com>
18216         [BZ #16275]
18217         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18218         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18219         * sysdeps/x86_64/configure: Regenerated.
18220         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18221         macro.
18222         (REGISTER_SAVE_RAX): Likewise.
18223         (REGISTER_SAVE_RCX): Likewise.
18224         (REGISTER_SAVE_RDX): Likewise.
18225         (REGISTER_SAVE_RSI): Likewise.
18226         (REGISTER_SAVE_RDI): Likewise.
18227         (REGISTER_SAVE_R8): Likewise.
18228         (REGISTER_SAVE_R9): Likewise.
18229         (REGISTER_SAVE_BND0): Likewise.
18230         (REGISTER_SAVE_BND1): Likewise.
18231         (REGISTER_SAVE_BND2): Likewise.
18232         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
18233         bound registers when calling _dl_fixup.
18235 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18237         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18238         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18239         of its definition.
18240         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18241         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18242         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18243         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18244         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18245         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18246         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18248 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
18250         [BZ #15514]
18251         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18252         pathconf(_PC_NAME_MAX).
18254 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18256         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18257         Remove macro usage.
18258         (__PTHREAD_SPINS): Move definition to ...
18259         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18260         (__PTHREAD_SPINS): ... here.
18261         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18262         (__PTHREAD_SPIN): Likewise.
18263         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18264         (__PTHREAD_SPIN): Likewise.
18265         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18266         (__PTHREAD_SPIN): Likewise.
18267         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18268         (__PTHREAD_SPIN): Likewise.
18269         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18270         (__PTHREAD_SPIN): Likewise.
18271         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18272         (__PTHREAD_SPIN): Likewise.
18273         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18274         (__PTHREAD_SPIN): Likewise.
18275         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18276         (__PTHREAD_SPIN): Likewise.
18277         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18278         (__PTHREAD_SPIN): Likewise.
18279         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18280         (__PTHREAD_SPIN): Likewise.
18281         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18282         (__PTHREAD_SPIN): Likewise.
18283         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18284         (__PTHREAD_SPIN): Likewise.
18286         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18287         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18288         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18289         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18290         imply folder.
18291         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18292         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18293         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18294         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18295         correct imply path.
18296         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18297         strlen symbol for non multi-arch builds.
18298         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18299         missing hidden_def and weak_alias.
18301 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
18303         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18305 2014-04-07  Will Newton  <will.newton@linaro.org>
18307         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18308         and contents.  [!_LIBC] Remove #ifndef and contents.
18309         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
18310         * string/memccpy.c (__memccpy): Use ANSI prototype.
18311         * string/memfrob.c (memfrob): Likewise.
18312         * string/strcoll.c (STRCOLL): Likewise.
18313         * string/strlen.c (strlen): Likewise.
18314         * string/strtok.c (STRTOK): Likewise.
18315         * string/strcat.c: Remove unused #include of memcopy.h.
18316         (strcat): Use ANSI prototype.
18317         * string/strchr.c: Remove unused #include of memcopy.h.
18318         (strchr): Use ANSI prototype.
18319         * string/strcmp.c: Remove unused #include of memcopy.h.
18320         (strcmp): Use ANSI prototype.
18321         * string/strcpy.c: Remove unused #include of memcopy.h.
18322         (strcpy): Use ANSI prototype.
18324 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18326         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18327         * config.make.in (config-extra-cppflags): Set it from
18328         libc_extra_cppflags.
18329         * configure.ac (libc_extra_cflags): Make it accumulate over
18330         configure fragments.
18331         (libc_extra_cppflags): New flag.
18332         * configure. Regenerate.
18333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18334         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18335         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18338         [BZ #16815]
18339         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18340         result for FE_DOWNWARD rounding mode.
18341         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18342         Likewise.
18343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18345 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
18347         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18348         in function argument name.
18350 2014-04-03  David Svoboda  <svoboda@cert.org>
18352         [BZ #5666]
18353         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18354         explicitly.
18356 2014-04-03  Roland McGrath  <roland@hack.frob.com>
18358         * elf/dl-unmap-segments.h: New file.
18359         * sysdeps/generic/ldsodefs.h
18360         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18361         * elf/dl-close.c: Include <dl-unmap-segments.h>.
18362         * elf/dl-fptr.c: Likewise.
18363         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18364         * sysdeps/aarch64/tlsdesc.c: Likewise.
18365         * sysdeps/arm/tlsdesc.c: Likewise.
18366         * sysdeps/i386/tlsdesc.c: Likewise.
18367         * sysdeps/tile/dl-runtime.c: Likewise.
18368         * sysdeps/x86_64/tlsdesc.c: Likewise.
18369         * elf/dl-load.h: New file.
18370         * elf/dl-load.c: Include it.
18371         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18372         Macros moved to dl-load.h.
18373         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18374         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18375         Use _dl_unmap_segments in place of __munmap.
18376         Break out segment-mapping loop into ...
18377         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18379 2014-04-03  Will Newton  <will.newton@linaro.org>
18381         * elf/dl-lookup.c (do_lookup_x): Remove comment
18382         referring to nested function and move variable
18383         declarations down to before first use.
18385 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
18387         [BZ #16799]
18388         [BZ #16800]
18389         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18390         with 0 numerator.
18391         * math/s_catanf.c (__catanf): Likewise.
18392         * math/s_catanh.c (__catanh): Likewise.
18393         * math/s_catanhf.c (__catanhf): Likewise.
18394         * math/s_catanhl.c (__catanhl): Likewise.
18395         * math/s_catanl.c (__catanl): Likewise.
18396         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18397         by positive zero when computing -Inf result.
18398         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18399         (catanh_test): Likewise.
18400         * sysdeps/i386/fpu/libm-test-ulps: Update.
18401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18403         [BZ #16789]
18404         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18405         instead of using underflowing value in computing result.
18406         * math/s_clog10.c (__clog10): Likewise.
18407         * math/s_clog10f.c (__clog10f): Likewise.
18408         * math/s_clog10l.c (__clog10l): Likewise.
18409         * math/s_clogf.c (__clogf): Likewise.
18410         * math/s_clogl.c (__clogl): Likewise.
18411         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18412         (clog10_test): Likewise.
18413         * sysdeps/i386/fpu/libm-test-ulps: Update.
18414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18416 2014-04-02  Alan Modra  <amodra@gmail.com>
18418         [BZ #16739]
18419         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18420         output when value is near a power of two.  Use int64_t for lx and
18421         remove casts.  Use decimal rather than hex exponent constants.
18422         Don't use long double multiplication when double will suffice.
18423         * math/libm-test.inc (nextafter_test_data): Add tests.
18424         * NEWS: Add 16739 and 16786 to bug list.
18426         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18428         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18430 2014-04-01  Will Newton  <will.newton@linaro.org>
18432         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18433         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
18435 2014-04-01  Florian Weimer  <fweimer@redhat.com>
18437         [BZ #13347]
18438         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18439         * nptl/tst-setuid2.c: New file.
18440         * nptl/Makefile (xtests): Add tst-setuid2.
18442 2014-04-01  Alan Modra  <amodra@gmail.com>
18444         [BZ #16786]
18445         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18447 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18449         [BZ #6803]
18450         [BZ #6804]
18451         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18452         set errno as appropriate.
18453         * math/w_scalbf.c (__scalbf): Likewise.
18454         * math/w_scalbl.c (__scalbl): Likewise.
18455         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18456         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18457         * math/libm-test.inc (scalb_test_data): Add errno expectations.
18458         Add more NaN tests.
18460         [BZ #16349]
18461         * math/w_atan2.c: Include <errno.h>.
18462         (__atan2): Set errno for result underflowing to zero.
18463         * math/w_atan2f.c: Include <errno.h>.
18464         (__atan2f): Set errno for result underflowing to zero.
18465         * math/w_atan2l.c: Include <errno.h>.
18466         (__atan2l): Set errno for result underflowing to zero.
18467         * math/auto-libm-test-in: Don't allow missing errno for some atan2
18468         tests.
18469         * math/auto-libm-test-out: Regenerated.
18471 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18473         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18474         Encode instruction correctly in little endian.
18475         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18476         Likewise.
18477         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18478         Likewise.
18479         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18480         Likewise.
18481         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18482         Likewise.
18484 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18486         [BZ #9894]
18487         * sysdeps/unix/sysv/linux/kernel-features.h
18488         [__sparc__ && !__arch64__ && !__sparc_v9__]
18489         (__ASSUME_SET_ROBUST_LIST): Do not define.
18490         [__sparc__ && !__arch64__ && !__sparc_v9__]
18491         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18492         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18493         Likewise.
18494         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18495         (__ASSUME_FUTEX_LOCK_PI): Undefine.
18496         (__ASSUME_REQUEUE_PI): Likewise.
18497         (__ASSUME_SET_ROBUST_LIST): Likewise.
18498         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18499         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18500         Undefine.
18501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18502         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18503         Likewise.
18504         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18505         Likewise.
18506         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18507         Likewise.
18508         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18509         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18510         Undefine.
18511         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18512         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18513         Likewise.
18515         [BZ #16648]
18516         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18517         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18518         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18520 2014-03-31  Will Newton  <will.newton@linaro.org>
18522         * benchtests/Makefile (bench): Add ffs and ffsll to list
18523         of tests.
18524         * benchtests/ffs-inputs: New file.
18525         * benchtests/ffsll-inputs: Likewise.
18527 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
18529         [BZ #16770]
18530         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18531         too large before casting to int.
18532         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18533         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18534         * math/libm-test.inc (scalb_test_data): Add more tests.
18536 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18538         * benchtests/Makefile (DETAILED_OPT): New make option.
18539         (bench-func): Run benchmark program with -d if DETAILED_OPT is
18540         set.
18541         * benchtests/bench-skeleton.c: Include stdbool.h.
18542         (main): Store and print timings per input.
18543         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18544         member to each argument value.
18545         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18546         (_print_arg_data): Initialize per-input timing to 0.
18548         * benchtests/Makefile (timing-type): New binary.
18549         (bench-clean): Also remove bench-timing-type.
18550         (bench): New target for timing-type.
18551         (bench-func): Print output in JSON format.
18552         * benchtests/bench-skeleton.c (main): Print output in JSON
18553         format.
18554         * benchtests/bench-timing-type.c: New file.
18555         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18556         (TIMING_PRINT_STATS): Remove.
18557         * benchtests/scripts/bench.py (_print_arg_data): Store variant
18558         name separately.
18560         * benchtests/bench-modf.c: Remove.
18561         * benchtests/modf-inputs: New inputs file.
18563 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
18565         [BZ #16362]
18566         * math/s_clog10.c (M_PI_LOG10E): New macro.
18567         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18568         imaginary parts are 0.
18569         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18570         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18571         imaginary parts are 0.
18572         * math/s_clog10l.c (M_PI_LOG10El): New macro.
18573         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18574         imaginary parts are 0.
18575         * math/libm-test.inc (clog10_test_data): Update expected results
18576         for when real and imaginary parts are 0.
18578 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
18580         * elf/dl-load.c: Finish conversion of __builtin_expect into
18581         __glibc_{un}likely.
18583 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
18585         [BZ #16348]
18586         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18587         1+x for argument with exponent below -67.
18588         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18589         Likewise.
18590         * math/auto-libm-test-in: Add more tests of exp.
18591         * math/auto-libm-test-out: Regenerated.
18593 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18595         [BZ #16759]
18596         * inet/getnetgrent_r.c (get_nonempty_val): New function.
18597         (nscd_getnetgrent): Use it.
18599         [BZ #16760]
18600         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18601         of stpcpy.
18603 2014-03-27  Andi Kleen  <ak@linux.intel.com>
18605         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18606         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18607         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18608         (lll_robust_unlock): Remove out of line section. Use cfi
18609         intrinsics.
18610         (LLL_STUB_UNWIND_INFO*): Remove.
18611         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18612         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18613         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18614         (lll_robust_unlock): Remove out of line section. Use cfi
18615         intrinsics.
18616         (LLL_STUB_UNWIND_INFO*): Remove.
18618 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18620         [BZ #16758]
18621         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18622         blank values.
18624 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
18626         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18628 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
18630         [BZ #16198]
18631         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18632         fnstenv.
18633         * math/test-fenv-preserve.c: New file.
18634         * math/Makefile (tests): Add test-fenv-preserve.
18636 2014-03-26  Will Newton <will.newton@linaro.org>
18638         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18640 2014-03-25  Roland McGrath  <roland@hack.frob.com>
18642         * scripts/versionlist.awk: Partition the version sets and emit all
18643         GLIBC_* (sorted) before all others (sorted).
18645 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18647         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18648         GLIBC_2.2.5 version.
18650 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18652         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18653         calls.
18655         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18656         previous change.
18658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18660 2014-03-25  Andreas Schwab  <schwab@suse.de>
18662         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18663         label to be used after in6ailist is initialized.
18665 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18667         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18668         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18670 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18672         [BZ #16357]
18673         [BZ #16599]
18674         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18675         min_plus_half.
18676         (fp_formats): Update initializers.
18677         (init_fp_formats): Initialize new field.
18678         (output_for_one_input_case): Allow underflow for results up to
18679         min_plus_half.
18680         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18681         * math/auto-libm-test-in: Don't mark some underflows from asin and
18682         atanh as spurious.
18683         * math/auto-libm-test-out: Regenerated.
18684         * sysdeps/i386/fpu/libm-test-ulps: Update.
18685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18687 2014-03-25  Andreas Schwab  <schwab@suse.de>
18689         * libio/Makefile (tst-ftell-partial-wide-ENV)
18690         (tst-ftell-active-handler-ENV): Define.
18692 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
18694         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18696 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18698         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18700 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18702         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18703         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18704         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18706 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18708         [BZ #16634]
18709         * elf/dl-load.c (open_verify): Add mode parameter.
18710         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18711         (open_path): Change from boolean 'secure' to complete flag 'mode'
18712         (_dl_map_object): Adjust.
18713         * elf/Makefile (tests): Add tst-dlopen-aout.
18714         * elf/tst-dlopen-aout.c: New test.
18716 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
18718         [BZ #16714]
18719         * sysdeps/unix/sysv/linux/s390/bits/stat.h
18720         (struct stat): Rename member pad0 to __glibc_reserved0.
18722         [BZ #16712]
18723         * sysdeps/s390/s390-32/bits/wordsize.h
18724         (__WORDSIZE32_SIZE_ULONG): New define.
18725         * sysdeps/s390/s390-64/bits/wordsize.h
18726         (__WORDSIZE32_SIZE_ULONG): Likewise.
18727         * sysdeps/generic/stdint.h (SIZE_MAX):
18728         Define as UL if __WORDSIZE32_SIZE_ULONG.
18730         [BZ #16713]
18731         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18732         (__glibc_reserved0): New variable.
18733         (sa_flags): Change type to int.
18735         * posix/Makefile (before-compile): Use += before-compile instead
18736         of a :=.
18738         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18739         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18741 2014-03-20  Andreas Schwab  <schwab@suse.de>
18743         [BZ #16743]
18744         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18745         non-matching result from nscd.
18747 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18749         * scripts/bench.py: Moved to ...
18750         * benchtests/scripts/bench.py: ... here.
18751         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18753 2014-03-24  Andreas Schwab  <schwab@suse.de>
18755         [BZ #16002]
18756         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18757         alloca_account and account alloca use for struct in6ailist.
18759 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18761         [BZ #16284]
18762         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18763         rounding mode to recompute results that overflow to infinity or
18764         underflow to zero.
18765         * math/auto-libm-test-in: Don't mark tests as expected to fail for
18766         bug 16284.
18767         * math/auto-libm-test-out: Regenerated.
18768         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18769         (ccosh_test): Likewise.
18770         (csin_test_data): Use plus_oflow.
18771         (csin_test): Use ALL_RM_TEST.
18772         (csinh_test_data): Use plus_oflow.
18773         (csinh_test): Use ALL_RM_TEST.
18774         * sysdeps/i386/fpu/libm-test-ulps: Update.
18775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18777 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
18779         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18780         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18781         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18783         [BZ #16731]
18784         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18785         when x - 1 is zero.
18786         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18787         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18788         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18789         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18790         argument is 1.
18791         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18792         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18793         zero.
18794         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18795         * sysdeps/i386/fpu/libm-test-ulps: Update.
18796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18798 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18800         * scripts/bench.pl: Remove file.
18801         * scripts/bench.py: New benchmark script.
18802         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18803         * benchtests/README: Mention python dependency.
18804         * scripts/pylintrc: New file.
18805         * scripts/pylint: New file.
18807         * bits/mathdef.h: Use #ifdef instead of #if.
18808         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18809         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18810         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18811         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18812         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18813         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18815 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18816             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18818         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18820         and strpbrk-ppc64 objects.
18821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18822         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18823         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18824         multiarch strpbrk for POWER7.
18825         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18826         multiarch strpbrk for PPC64.
18827         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18828         ifunc selector.
18829         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18830         strpbrk for POWER7.
18832 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18834         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18835         (atan_test): Likewise.
18836         (atanh_test_data): Use NO_TEST_INLINE for two tests.
18837         (atanh_test): Use ALL_RM_TEST.
18838         (atan2_test_data): Likewise.
18839         (cabs_test): Likewise.
18840         (cacosh_test): Likewise.
18841         (carg_test): Likewise.
18842         (casin_test): Likewise.
18843         (casinh_test): Likewise.
18844         (cbrt_test): Likewise.
18845         (csqrt_test): Likewise.
18846         (erf_test): Likewise.
18847         (erfc_test): Likewise.
18848         (pow10_test): Likewise.
18849         (exp2_test): Likewise.
18850         (hypot_test): Likewise.
18851         (j0_test): Likewise.
18852         (j1_test): Likewise.
18853         (lgamma_test): Likewise.
18854         (gamma_test): Likewise.
18855         (sincos_test): Likewise.
18856         (tanh_test): Likewise.
18857         (y0_test): Likewise.
18858         (y1_test): Likewise.
18859         * sysdeps/i386/fpu/libm-test-ulps: Update.
18860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18862 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18864         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18866         and strcspn-ppc64 objects.
18867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18868         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18869         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18870         multiarch strcspn for POWER7.
18871         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18872         multiarch strcspn for PPC64.
18873         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18874         ifunc selector.
18875         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18876         strcspn for POWER7.
18878 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18880         * math/gen-libm-test.pl (generate_testfile): Expect only function
18881         name as argument to AUTO_TESTS_* and pass results for all rounding
18882         modes to parse_args.
18883         (parse_auto_input): Separate inputs of automatic tests from
18884         outputs before storing in %auto_tests.
18885         * math/libm-test.inc (acos_test_data): Update call to
18886         AUTO_TESTS_f_f.
18887         (acos_test): Use ALL_RM_TEST.
18888         (acos_tonearest_test_data): Remove.
18889         (acos_test_tonearest): Likewise.
18890         (acos_towardzero_test_data): Likewise.
18891         (acos_test_towardzero): Likewise.
18892         (acos_downward_test_data): Likewise.
18893         (acos_test_downward): Likewise.
18894         (acos_upward_test_data): Likewise.
18895         (acos_test_upward): Likewise.
18896         (acosh_test_data): Update call to AUTO_TESTS_f_f.
18897         (asin_test_data): Likewise.
18898         (asin_test): Use ALL_RM_TEST.
18899         (asin_tonearest_test_data): Remove.
18900         (asin_test_tonearest): Likewise.
18901         (asin_towardzero_test_data): Likewise.
18902         (asin_test_towardzero): Likewise.
18903         (asin_downward_test_data): Likewise.
18904         (asin_test_downward): Likewise.
18905         (asin_upward_test_data): Likewise.
18906         (asin_test_upward): Likewise.
18907         (asinh_test_data): Update call to AUTO_TESTS_f_f.
18908         (atan_test_data): Likewise.
18909         (atanh_test_data): Likewise.
18910         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18911         (cabs_test_data): Update call to AUTO_TESTS_c_f.
18912         (carg_test_data): Likewise.
18913         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18914         (ccos_test_data): Update call to AUTO_TESTS_c_c.
18915         (ccosh_test_data): Likewise.
18916         (cexp_test_data): Likewise.
18917         (clog_test_data): Likewise.
18918         (clog10_test_data): Likewise.
18919         (cos_test_data): Update call to AUTO_TESTS_f_f.
18920         (cos_test): Use ALL_RM_TEST.
18921         (cos_tonearest_test_data): Remove.
18922         (cos_test_tonearest): Likewise.
18923         (cos_towardzero_test_data): Likewise.
18924         (cos_test_towardzero): Likewise.
18925         (cos_downward_test_data): Likewise.
18926         (cos_test_downward): Likewise.
18927         (cos_upward_test_data): Likewise.
18928         (cos_test_upward): Likewise.
18929         (cosh_test_data): Update call to AUTO_TESTS_f_f.
18930         (cosh_test): Use ALL_RM_TEST.
18931         (cosh_tonearest_test_data): Remove.
18932         (cosh_test_tonearest): Likewise.
18933         (cosh_towardzero_test_data): Likewise.
18934         (cosh_test_towardzero): Likewise.
18935         (cosh_downward_test_data): Likewise.
18936         (cosh_test_downward): Likewise.
18937         (cosh_upward_test_data): Likewise.
18938         (cosh_test_upward): Likewise.
18939         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18940         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18941         (ctan_test_data): Likewise.
18942         (ctan_test): Use ALL_RM_TEST.
18943         (ctan_tonearest_test_data): Remove.
18944         (ctan_test_tonearest): Likewise.
18945         (ctan_towardzero_test_data): Likewise.
18946         (ctan_test_towardzero): Likewise.
18947         (ctan_downward_test_data): Likewise.
18948         (ctan_test_downward): Likewise.
18949         (ctan_upward_test_data): Likewise.
18950         (ctan_test_upward): Likewise.
18951         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18952         (ctanh_test): Use ALL_RM_TEST.
18953         (ctanh_tonearest_test_data): Remove.
18954         (ctanh_test_tonearest): Likewise.
18955         (ctanh_towardzero_test_data): Likewise.
18956         (ctanh_test_towardzero): Likewise.
18957         (ctanh_downward_test_data): Likewise.
18958         (ctanh_test_downward): Likewise.
18959         (ctanh_upward_test_data): Likewise.
18960         (ctanh_test_upward): Likewise.
18961         (erf_test_data): Update call to AUTO_TESTS_f_f.
18962         (erfc_test_data): Likewise.
18963         (exp_test_data): Likewise.
18964         (exp_test): Use ALL_RM_TEST.
18965         (exp_tonearest_test_data): Remove.
18966         (exp_test_tonearest): Likewise.
18967         (exp_towardzero_test_data): Likewise.
18968         (exp_test_towardzero): Likewise.
18969         (exp_downward_test_data): Likewise.
18970         (exp_test_downward): Likewise.
18971         (exp_upward_test_data): Likewise.
18972         (exp_test_upward): Likewise.
18973         (exp10_test_data): Update call to AUTO_TESTS_f_f.
18974         (exp10_test): Use ALL_RM_TEST.
18975         (exp10_tonearest_test_data): Remove.
18976         (exp10_test_tonearest): Likewise.
18977         (exp10_towardzero_test_data): Likewise.
18978         (exp10_test_towardzero): Likewise.
18979         (exp10_downward_test_data): Likewise.
18980         (exp10_test_downward): Likewise.
18981         (exp10_upward_test_data): Likewise.
18982         (exp10_test_upward): Likewise.
18983         (exp2_test_data): Update call to AUTO_TESTS_f_f.
18984         (expm1_test_data): Likewise.
18985         (expm1_test): Use ALL_RM_TEST.
18986         (expm1_tonearest_test_data): Remove.
18987         (expm1_test_tonearest): Likewise.
18988         (expm1_towardzero_test_data): Likewise.
18989         (expm1_test_towardzero): Likewise.
18990         (expm1_downward_test_data): Likewise.
18991         (expm1_test_downward): Likewise.
18992         (expm1_upward_test_data): Likewise.
18993         (expm1_test_upward): Likewise.
18994         (fma_test_data): Update call to AUTO_TESTS_fff_f.
18995         (fma_test): Use ALL_RM_TEST.
18996         (fma_towardzero_test_data): Remove.
18997         (fma_test_towardzero): Likewise.
18998         (fma_downward_test_data): Likewise.
18999         (fma_test_downward): Likewise.
19000         (fma_upward_test_data): Likewise.
19001         (fma_test_upward): Likewise.
19002         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19003         (j0_test_data): Update call to AUTO_TESTS_f_f.
19004         (j1_test_data): Likewise.
19005         (jn_test_data): Update call to AUTO_TESTS_if_f.
19006         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19007         (log_test_data): Update call to AUTO_TESTS_f_f.
19008         (log10_test_data): Likewise.
19009         (log1p_test_data): Likewise.
19010         (log2_test_data): Likewise.
19011         (pow_test_data): Update call to AUTO_TESTS_ff_f.
19012         (pow_tonearest_test_data): Likewise.
19013         (sin_test_data): Update call to AUTO_TESTS_f_f.
19014         (sin_test): Use ALL_RM_TEST.
19015         (sin_tonearest_test_data): Remove.
19016         (sin_test_tonearest): Likewise.
19017         (sin_towardzero_test_data): Likewise.
19018         (sin_test_towardzero): Likewise.
19019         (sin_downward_test_data): Likewise.
19020         (sin_test_downward): Likewise.
19021         (sin_upward_test_data): Likewise.
19022         (sin_test_upward): Likewise.
19023         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19024         (sinh_test_data): Update call to AUTO_TESTS_f_f.
19025         (sinh_test): Use ALL_RM_TEST.
19026         (sinh_tonearest_test_data): Remove.
19027         (sinh_test_tonearest): Likewise.
19028         (sinh_towardzero_test_data): Likewise.
19029         (sinh_test_towardzero): Likewise.
19030         (sinh_downward_test_data): Likewise.
19031         (sinh_test_downward): Likewise.
19032         (sinh_upward_test_data): Likewise.
19033         (sinh_test_upward): Likewise.
19034         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19035         (sqrt_test): Use ALL_RM_TEST.
19036         (sqrt_tonearest_test_data): Remove.
19037         (sqrt_test_tonearest): Likewise.
19038         (sqrt_towardzero_test_data): Likewise.
19039         (sqrt_test_towardzero): Likewise.
19040         (sqrt_downward_test_data): Likewise.
19041         (sqrt_test_downward): Likewise.
19042         (sqrt_upward_test_data): Likewise.
19043         (sqrt_test_upward): Likewise.
19044         (tan_test_data): Update call to AUTO_TESTS_f_f.
19045         (tan_test): Use ALL_RM_TEST.
19046         (tan_tonearest_test_data): Remove.
19047         (tan_test_tonearest): Likewise.
19048         (tan_towardzero_test_data): Likewise.
19049         (tan_test_towardzero): Likewise.
19050         (tan_downward_test_data): Likewise.
19051         (tan_test_downward): Likewise.
19052         (tan_upward_test_data): Likewise.
19053         (tan_test_upward): Likewise.
19054         (tanh_test_data): Update call to AUTO_TESTS_f_f.
19055         (tgamma_test_data): Likewise.
19056         (y0_test_data): Likewise.
19057         (y1_test_data): Likewise.
19058         (yn_test_data): Update call to AUTO_TESTS_if_f.
19059         (main): Do not call removed functions.
19061 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19063         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19064         (ldexp_test_data): Remove.
19065         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
19066         scalbn_test_data.
19067         (scalb_test): Use ALL_RM_TEST.
19069 2014-03-19  Andreas Schwab  <schwab@suse.de>
19071         * nscd/nscd.service: Also invalidate netgroup cache on reload.
19073 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19075         [BZ #16649]
19076         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19077         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19078         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19080         (__ASSUME_PREADV): Undefine.
19081         (__ASSUME_PWRITEV): Likewise.
19083 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19085         * bits/mman-linux.h: Add comment about non-Linux use.
19086         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19087         bits/mman-linux.h resting place.
19089         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19090         * bits/mman-linux.h: ... here.
19092 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19094         * conform/conformtest.pl: Add standard definition when calling C
19095         preprocessor on data files.
19096         (checknamespace): Remove unused variable.
19098 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19100         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19101         minus_oflow, plus_uflow and minus_uflow in expected results.
19102         * math/libm-test.inc (scalbn_test_data): Add more tests of
19103         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
19104         minus_uflow.
19105         (scalbn_test): Use ALL_RM_TEST.
19106         (scalbln_test_data): Add more tests of negative arguments.  Use
19107         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19108         (scalbln_test): Use ALL_RM_TEST.
19110 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19112         * scripts/abilist.awk: Ignore symbols marked with .hidden.
19114 2014-03-18  Will Newton  <will.newton@linaro.org>
19116         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19117         inaccurate comment.
19119 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19121         * Makerules [!subdir] (check-abi): Exit with error status if a
19122         test failed.
19124 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19126         * math/libm-test.inc (nearbyint_test_data): Include all tests used
19127         for rint.  Include results for all rounding modes.
19128         (nearbyint_test): Use ALL_RM_TEST.
19129         (rint_test_data): Include all tests used for nearbyint.
19131 2014-03-17  Will Newton  <will.newton@linaro.org>
19133         * nptl/sysdeps/pthread/pthread.h: Revert previous
19134         change.
19136         * sysdeps/generic/ldsodefs.h: Revert previous
19137         change.
19139         * libio/genops.c: Revert previous change.
19140         * libio/libioP.h: Likewise.
19141         * stdio-common/vfprintf.c: Likewise.
19143         * sysdeps/generic/math_private.h: Revert previous
19144         change.
19146         * sysdeps/generic/math_private.h: Check whether
19147         HAVE_RM_CTX is defined with #ifdef rather
19148         than #if.
19150         * argp/argp-fmtstream.h: Check whether
19151         __STRICT_ANSI__ is defined with #ifdef rather
19152         than #if.
19153         * argp/argp.h: Likewise.
19155         * libio/genops.c: Check whether
19156         _IO_JUMPS_OFFSET is defined with #ifdef rather
19157         than #if.
19158         * libio/libioP.h: Likewise.
19159         * stdio-common/vfprintf.c: Likewise.
19161         * sysdeps/generic/ldsodefs.h: Check whether
19162         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19163         than #if.
19165         * nptl/sysdeps/pthread/pthread.h: Check
19166         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19167         its value.
19169 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19171         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19172         setting O_APPEND.
19173         * libio/tst-ftell-active-handler.c (do_append_test): Add a
19174         test case.
19176         [BZ #16680]
19177         * libio/fileops.c (_IO_file_open): Seek to end of file but
19178         don't cache the offset.
19179         (get_file_offset): Remove function.
19180         (do_ftell): Use cached offset when available.
19181         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19182         don't cache the offset.
19183         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19184         case.
19185         (do_one_test): Call it.
19186         (do_ftell_test): Fix up expected old offset for a+ mode.
19187         * libio/wfileops.c (do_ftell_wide): Used cached offset when
19188         available.
19190         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19191         up test status with function return status.
19192         (do_write_test): Likewise.
19193         (do_append_test): Likewise.
19195         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19196         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19197         Remove.
19199 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19201         * math/gen-libm-test.pl (parse_args): Handle results specified for
19202         each rounding mode separately.
19203         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19204         tests and results from lrint_tonearest_test_data,
19205         lrint_towardzero_test_data, lrint_downward_test_data and
19206         lrint_upward_test_data.
19207         (lrint_test): Use ALL_RM_TEST.
19208         (lrint_tonearest_test_data): Remove.
19209         (lrint_test_tonearest): Likewise.
19210         (lrint_towardzero_test_data): Likewise.
19211         (lrint_test_towardzero): Likewise.
19212         (lrint_downward_test_data): Likewise.
19213         (lrint_test_downward): Likewise.
19214         (lrint_upward_test_data): Likewise.
19215         (lrint_test_upward): Likewise.
19216         (llrint_test_data): Merge in per-rounding-mode tests and results
19217         from llrint_tonearest_test_data, llrint_towardzero_test_data,
19218         llrint_downward_test_data and llrint_upward_test_data.
19219         (llrint_test): Use ALL_RM_TEST.
19220         (llrint_tonearest_test_data): Remove.
19221         (llrint_test_tonearest): Likewise.
19222         (llrint_towardzero_test_data): Likewise.
19223         (llrint_test_towardzero): Likewise.
19224         (llrint_downward_test_data): Likewise.
19225         (llrint_test_downward): Likewise.
19226         (llrint_upward_test_data): Likewise.
19227         (llrint_test_upward): Likewise.
19228         (rint_test_data): Merge in per-rounding-mode tests and results
19229         from rint_tonearest_test_data, rint_towardzero_test_data,
19230         rint_downward_test_data and rint_upward_test_data.  Add
19231         per-rounding-mode results for tests not in those arrays.
19232         (rint_test): Use ALL_RM_TEST.
19233         (rint_tonearest_test_data): Remove.
19234         (rint_test_tonearest): Likewise.
19235         (rint_towardzero_test_data): Likewise.
19236         (rint_test_towardzero): Likewise.
19237         (rint_downward_test_data): Likewise.
19238         (rint_test_downward): Likewise.
19239         (rint_upward_test_data): Likewise.
19240         (rint_test_upward): Likewise.
19241         (main): Don't call removed functions.
19243 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19245         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19246         "Compiled on ..." crapola.  It is anti-useful.
19248 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
19250         * scripts/evaluate-test.sh: Handle fourth argument to determine
19251         whether test run should stop on failure.
19252         * Makeconfig (stop-on-test-failure): New variable.
19253         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19254         $(stop-on-test-failure).
19255         * Makefile (tests): Give a summary of results from testing and
19256         exit with failure status if they include an ERROR or FAIL.
19257         (xtests): Likewise.
19258         * manual/install.texi (Configuring and compiling): Mention
19259         stop-on-test-failure=y.
19260         * INSTALL: Regenerated.
19262 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19264         * scripts/versionlist.awk: New file.
19265         * Makerules [$(build-shared) = yes]
19266         (postclean-generated): Add Versions.def, not Versions.def.v and
19267         Versions.def.v.i.
19268         ($(common-objpfx)Versions.def.v.i): Target removed.
19269         ($(common-objpfx)Versions.def): New target.
19270         ($(common-objpfx)Versions.all): Depend on that rather that
19271         $(common-objpfx)Versions.def.v.
19272         * Versions.def: File removed.
19274         * Makeconfig (+gccwarn): Add -Wundef.
19275         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19276         a dl-sysdep.h breaking its contract.
19277         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19278         * include/stackinfo.h: New file.
19279         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19280         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19281         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19282         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19283         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19284         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19285         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19286         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19287         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19288         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19289         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19290         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19291         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19292         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19293         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19295 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19297         [BZ #16707]
19298         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19299         implementation.
19300         * math/libm-test.inc (round_test_data): Add more tests.
19302         [BZ #16706]
19303         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19304         implementation.
19305         * math/libm-test.inc (nearbyint_test_data): Add more tests.
19307         [BZ #16701]
19308         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19309         implementation.
19310         * math/libm-test.inc (ceil_test_data): Add more tests.
19312         * math/libm-test.inc (trunc_test_data): Add more tests related to
19313         BZ#16414.
19315 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19317         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19318         with #if rather than #ifdef.
19319         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19321 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
19323         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19324         first.  Disable AVX-512 GCC support if assembler doesn't support
19325         it.
19326         * sysdeps/x86_64/configure: Regenerated.
19328 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
19330         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19331         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19332         (__old_pthread_attr_setstack): Likewise.
19333         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19334         [!_STACK_GROWS_DOWN]: Likewise.
19336 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
19338         * config.make.in (have-bash2): Delete.
19339         * configure.ac (libc_cv_have_bash2): Delete.
19340         * configure: Regenerate.
19341         * elf/Makefile (common-ldd-rewrite): Rename to ...
19342         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
19343         (sh-ldd-rewrite): Delete.
19344         (bash-ldd-rewrite): Delete.
19345         (have-bash2): Delete checks.
19346         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19347         ldd-rewrite.
19349         * config.make.in (have-ksh): Delete.
19350         (KSH): Delete.
19351         * configure.ac (libc_cv_have_ksh): Delete.
19352         * configure: Regenerate.
19354         * elf/Makefile: Delete $(have-ksh) check.
19355         ($(objpfx)sotruss): Change KSH to BASH.
19356         * elf/sotruss.ksh: Rename to ...
19357         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
19358         function style to match POSIX.  Drop ksh vim mode setting.
19360         * manual/time.texi (Specifying the Time Zone with TZ): Change
19361         Tuesday to Thursday.
19363         * debug/tst-longjmp_chk2.c: Update header comment.
19364         (stackoverflow_handler): Add comment.  Call assert on pass value.
19366 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
19368         [BZ #16194]
19369         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19370         (HAVE_AVX512_ASM_SUPPORT): Likewise.
19371         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19372         (La_x86_64_vector): Add zmm.
19373         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19374         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19375         ($(objpfx)tst-audit10): New target.
19376         ($(objpfx)tst-audit10.out): Likewise.
19377         (tst-audit10-ENV): New.
19378         (AVX512-CFLAGS): Likewise.
19379         (CFLAGS-tst-audit10.c): Likewise.
19380         (CFLAGS-tst-auditmod10a.c): Likewise.
19381         (CFLAGS-tst-auditmod10b.c): Likewise.
19382         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19383         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19384         * sysdeps/x86_64/configure: Regenerated.
19385         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19386         AVX-512 zmm register support.
19387         (_dl_x86_64_save_sse): Likewise.
19388         (_dl_x86_64_restore_sse): Likewise.
19389         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19390         size vector registers.
19391         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19392         (ZMM_SIZE): Likewise.
19393         * sysdeps/x86_64/tst-audit10.c: New file.
19394         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19395         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19397 2014-03-13  Roland McGrath  <roland@hack.frob.com>
19399         * configure.ac (HAVE_EHDR_START): New check.
19400         * configure: Regenerated.
19401         * config.h.in (HAVE_EHDR_START): New #undef.
19402         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19403         assuming the lowest-addressed segment maps the start of the file.
19405 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
19407         * INSTALL: Regenerated.
19409 2014-03-13  Will Newton  <will.newton@linaro.org>
19411         * manual/setjmp.texi (System V contexts): Improve
19412         clarity and grammar of documentation.
19414 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19416         [BZ #16381]
19417         * elf/Makefile (tests): Add tst-pie2.
19418         (tests-pie): Add tst-pie2.
19419         * elf/tst-pie2.c: New file.
19420         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19421         for ET_EXEC.
19422         * elf/rtld.c (map_doit): Load executable as lt_executable.
19423         (dl_main): Likewise.
19425 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
19427         [BZ #16642]
19428         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19429         (__ASSUME_PSELECT): Undefine.
19431 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19433         [BZ #16689]
19434         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19435         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19436         static build.
19437         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19438         selector for static builds.
19440 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19442         [BZ #16695]
19443         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19444         key in the buffer.
19446 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19448         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19449         IFUNC selector for static builds.
19451 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
19453         * sysdeps/mips/math_private.h [__mips_hard_float]
19454         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19455         libc_feresetround_mips_ctx.
19456         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19457         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19458         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19460         [BZ #16677]
19461         * math/s_nextafter.c (__nextafter): Do not return value from
19462         overflowing computation.
19463         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19464         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19465         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19466         Likewise.
19467         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19468         Likewise.
19469         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19470         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19472 2014-03-11  Roland McGrath  <roland@hack.frob.com>
19474         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19475         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19476         Move sfi_sp use from the load-multiple (that no longer sets sp) to
19477         the new mov targetting sp.
19479 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19481         [BZ #16683]
19482         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19483         Define it for static builds as well.
19484         (NO_BZERO_IMPL): Likewise.
19486 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19488         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19489         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19490         multiarch strspn for PPC64.
19491         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19492         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19494         (__libc_ifunc_impl_list): Likewise.
19495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19496         multiarch optimizations
19497         * string/strspn.c (strspn): Using macro to redefine symbol name.
19499 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19500             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19502         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19503         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19504         multiarch strncat for PPC64.
19505         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19506         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19508         (__libc_ifunc_impl_list): Likewise.
19509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19510         multiarch optimizations
19512 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19514         [BZ #16639]
19515         * nscd/nscd.service: Make service type forking.
19517 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19519         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19520         sign in non default rounding modes.
19521         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19523 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
19525         * math/libm-test.inc (ALL_RM_TEST): New macro.
19526         (ceil_test): Use ALL_RM_TEST.
19527         (cimag_test): Likewise.
19528         (conj_test): Likewise.
19529         (copysign_test): Likewise.
19530         (cproj_test): Likewise.
19531         (creal_test): Likewise.
19532         (fabs_test): Likewise.
19533         (floor_test): Likewise.
19534         (fmax_test): Likewise.
19535         (fmin_test): Likewise.
19536         (fmod_test): Likewise.
19537         (fpclassify_test): Likewise.
19538         (frexp_test): Likewise.
19539         (ilogb_test): Likewise.
19540         (isfinite_test): Likewise.
19541         (finite_test): Likewise.
19542         (isgreater_test): Likewise.
19543         (isgreaterequal_test): Likewise.
19544         (isinf_test): Likewise.
19545         (isless_test): Likewise.
19546         (islessequal_test): Likewise.
19547         (islessgreater_test): Likewise.
19548         (isnan_test): Likewise.
19549         (isnormal_test): Likewise.
19550         (issignaling_test): Likewise.
19551         (isunordered_test): Likewise.
19552         (logb_test): Likewise.
19553         (logb_downward_test_data): Remove.
19554         (logb_test_downward): Likewise.
19555         (lround_test): Use ALL_RM_TEST.
19556         (llround_test): Likewise.
19557         (modf_test): Likewise.
19558         (nexttoward_test): Likewise.
19559         (remainder_test): Likewise.
19560         (drem_test): Likewise.
19561         (remainder_tonearest_test_data): Likewise.
19562         (remainder_test_tonearest): Likewise.
19563         (drem_test_tonearest): Likewise.
19564         (remainder_towardzero_test_data): Likewise.
19565         (remainder_test_towardzero): Likewise.
19566         (drem_test_towardzero): Likewise.
19567         (remainder_downward_test_data): Likewise.
19568         (remainder_test_downward): Likewise.
19569         (drem_test_downward): Likewise.
19570         (remainder_upward_test_data): Likewise.
19571         (remainder_test_upward): Likewise.
19572         (drem_test_upward): Likewise.
19573         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
19574         (round_test): Use ALL_RM_TEST.
19575         (signbit_test): Likewise.
19576         (trunc_test): Likewise.
19577         (significand_test): Likewise.
19578         (main): Don't call removed functions.
19580 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19582         [BZ #16674]
19583         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19584         || __USE_XOPEN2K8].
19585         (ILL_ILLOPN): Likewise.
19586         (ILL_ILLADR): Likewise.
19587         (ILL_ILLTRP): Likewise.
19588         (ILL_PRVOPC): Likewise.
19589         (ILL_PRVREG): Likewise.
19590         (ILL_COPROC): Likewise.
19591         (ILL_BADSTK): Likewise.
19592         (FPE_INTDIV): Likewise.
19593         (FPE_INTOVF): Likewise.
19594         (FPE_FLTDIV): Likewise.
19595         (FPE_FLTOVF): Likewise.
19596         (FPE_FLTUND): Likewise.
19597         (FPE_FLTRES): Likewise.
19598         (FPE_FLTINV): Likewise.
19599         (FPE_FLTSUB): Likewise.
19600         (SEGV_MAPERR): Likewise.
19601         (SEGV_ACCERR): Likewise.
19602         (BUS_ADRALN): Likewise.
19603         (BUS_ADRERR): Likewise.
19604         (BUS_OBJERR): Likewise.
19605         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19606         (TRAP_TRACE): Likewise.
19607         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19608         __USE_XOPEN2K8].
19609         (CLD_KILLED): Likewise.
19610         (CLD_DUMPED): Likewise.
19611         (CLD_TRAPPED): Likewise.
19612         (CLD_STOPPED): Likewise.
19613         (CLD_CONTINUED): Likewise.
19614         (POLL_IN): Likewise.
19615         (POLL_OUT): Likewise.
19616         (POLL_MSG): Likewise.
19617         (POLL_ERR): Likewise.
19618         (POLL_PRI): Likewise.
19619         (POLL_HUP): Likewise.
19620         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19621         Likewise.
19622         (ILL_ILLOPN): Likewise.
19623         (ILL_ILLADR): Likewise.
19624         (ILL_ILLTRP): Likewise.
19625         (ILL_PRVOPC): Likewise.
19626         (ILL_PRVREG): Likewise.
19627         (ILL_COPROC): Likewise.
19628         (ILL_BADSTK): Likewise.
19629         (FPE_INTDIV): Likewise.
19630         (FPE_INTOVF): Likewise.
19631         (FPE_FLTDIV): Likewise.
19632         (FPE_FLTOVF): Likewise.
19633         (FPE_FLTUND): Likewise.
19634         (FPE_FLTRES): Likewise.
19635         (FPE_FLTINV): Likewise.
19636         (FPE_FLTSUB): Likewise.
19637         (SEGV_MAPERR): Likewise.
19638         (SEGV_ACCERR): Likewise.
19639         (BUS_ADRALN): Likewise.
19640         (BUS_ADRERR): Likewise.
19641         (BUS_OBJERR): Likewise.
19642         (BUS_MCEERR_AR): Likewise.
19643         (BUS_MCEERR_AO): Likewise.
19644         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19645         (TRAP_TRACE): Likewise.
19646         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19647         __USE_XOPEN2K8].
19648         (CLD_KILLED): Likewise.
19649         (CLD_DUMPED): Likewise.
19650         (CLD_TRAPPED): Likewise.
19651         (CLD_STOPPED): Likewise.
19652         (CLD_CONTINUED): Likewise.
19653         (POLL_IN): Likewise.
19654         (POLL_OUT): Likewise.
19655         (POLL_MSG): Likewise.
19656         (POLL_ERR): Likewise.
19657         (POLL_PRI): Likewise.
19658         (POLL_HUP): Likewise.
19659         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19660         (ILL_ILLOPN): Likewise.
19661         (ILL_ILLADR): Likewise.
19662         (ILL_ILLTRP): Likewise.
19663         (ILL_PRVOPC): Likewise.
19664         (ILL_PRVREG): Likewise.
19665         (ILL_COPROC): Likewise.
19666         (ILL_BADSTK): Likewise.
19667         (FPE_INTDIV): Likewise.
19668         (FPE_INTOVF): Likewise.
19669         (FPE_FLTDIV): Likewise.
19670         (FPE_FLTOVF): Likewise.
19671         (FPE_FLTUND): Likewise.
19672         (FPE_FLTRES): Likewise.
19673         (FPE_FLTINV): Likewise.
19674         (FPE_FLTSUB): Likewise.
19675         (SEGV_MAPERR): Likewise.
19676         (SEGV_ACCERR): Likewise.
19677         (BUS_ADRALN): Likewise.
19678         (BUS_ADRERR): Likewise.
19679         (BUS_OBJERR): Likewise.
19680         (BUS_MCEERR_AR): Likewise.
19681         (BUS_MCEERR_AO): Likewise.
19682         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19683         (TRAP_TRACE): Likewise.
19684         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19685         __USE_XOPEN2K8].
19686         (CLD_KILLED): Likewise.
19687         (CLD_DUMPED): Likewise.
19688         (CLD_TRAPPED): Likewise.
19689         (CLD_STOPPED): Likewise.
19690         (CLD_CONTINUED): Likewise.
19691         (POLL_IN): Likewise.
19692         (POLL_OUT): Likewise.
19693         (POLL_MSG): Likewise.
19694         (POLL_ERR): Likewise.
19695         (POLL_PRI): Likewise.
19696         (POLL_HUP): Likewise.
19697         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19698         Likewise.
19699         (ILL_ILLOPN): Likewise.
19700         (ILL_ILLADR): Likewise.
19701         (ILL_ILLTRP): Likewise.
19702         (ILL_PRVOPC): Likewise.
19703         (ILL_PRVREG): Likewise.
19704         (ILL_COPROC): Likewise.
19705         (ILL_BADSTK): Likewise.
19706         (ILL_BADIADDR): Likewise.
19707         (ILL_BREAK): Likewise.
19708         (FPE_INTDIV): Likewise.
19709         (FPE_INTOVF): Likewise.
19710         (FPE_FLTDIV): Likewise.
19711         (FPE_FLTOVF): Likewise.
19712         (FPE_FLTUND): Likewise.
19713         (FPE_FLTRES): Likewise.
19714         (FPE_FLTINV): Likewise.
19715         (FPE_FLTSUB): Likewise.
19716         (FPE_DECOVF): Likewise.
19717         (FPE_DECDIV): Likewise.
19718         (FPE_DECERR): Likewise.
19719         (FPE_INVASC): Likewise.
19720         (FPE_INVDEC): Likewise.
19721         (SEGV_MAPERR): Likewise.
19722         (SEGV_ACCERR): Likewise.
19723         (SEGV_PSTKOVF): Likewise.
19724         (BUS_ADRALN): Likewise.
19725         (BUS_ADRERR): Likewise.
19726         (BUS_OBJERR): Likewise.
19727         (BUS_MCEERR_AR): Likewise.
19728         (BUS_MCEERR_AO): Likewise.
19729         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19730         (TRAP_TRACE): Likewise.
19731         (TRAP_BRANCH): Likewise.
19732         (TRAP_HWBKPT): Likewise.
19733         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19734         __USE_XOPEN2K8].
19735         (CLD_KILLED): Likewise.
19736         (CLD_DUMPED): Likewise.
19737         (CLD_TRAPPED): Likewise.
19738         (CLD_STOPPED): Likewise.
19739         (CLD_CONTINUED): Likewise.
19740         (POLL_IN): Likewise.
19741         (POLL_OUT): Likewise.
19742         (POLL_MSG): Likewise.
19743         (POLL_ERR): Likewise.
19744         (POLL_PRI): Likewise.
19745         (POLL_HUP): Likewise.
19746         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19747         (ILL_ILLOPN): Likewise.
19748         (ILL_ILLADR): Likewise.
19749         (ILL_ILLTRP): Likewise.
19750         (ILL_PRVOPC): Likewise.
19751         (ILL_PRVREG): Likewise.
19752         (ILL_COPROC): Likewise.
19753         (ILL_BADSTK): Likewise.
19754         (FPE_INTDIV): Likewise.
19755         (FPE_INTOVF): Likewise.
19756         (FPE_FLTDIV): Likewise.
19757         (FPE_FLTOVF): Likewise.
19758         (FPE_FLTUND): Likewise.
19759         (FPE_FLTRES): Likewise.
19760         (FPE_FLTINV): Likewise.
19761         (FPE_FLTSUB): Likewise.
19762         (SEGV_MAPERR): Likewise.
19763         (SEGV_ACCERR): Likewise.
19764         (BUS_ADRALN): Likewise.
19765         (BUS_ADRERR): Likewise.
19766         (BUS_OBJERR): Likewise.
19767         (BUS_MCEERR_AR): Likewise.
19768         (BUS_MCEERR_AO): Likewise.
19769         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19770         (TRAP_TRACE): Likewise.
19771         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19772         __USE_XOPEN2K8].
19773         (CLD_KILLED): Likewise.
19774         (CLD_DUMPED): Likewise.
19775         (CLD_TRAPPED): Likewise.
19776         (CLD_STOPPED): Likewise.
19777         (CLD_CONTINUED): Likewise.
19778         (POLL_IN): Likewise.
19779         (POLL_OUT): Likewise.
19780         (POLL_MSG): Likewise.
19781         (POLL_ERR): Likewise.
19782         (POLL_PRI): Likewise.
19783         (POLL_HUP): Likewise.
19784         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19785         (ILL_ILLOPN): Likewise.
19786         (ILL_ILLADR): Likewise.
19787         (ILL_ILLTRP): Likewise.
19788         (ILL_PRVOPC): Likewise.
19789         (ILL_PRVREG): Likewise.
19790         (ILL_COPROC): Likewise.
19791         (ILL_BADSTK): Likewise.
19792         (FPE_INTDIV): Likewise.
19793         (FPE_INTOVF): Likewise.
19794         (FPE_FLTDIV): Likewise.
19795         (FPE_FLTOVF): Likewise.
19796         (FPE_FLTUND): Likewise.
19797         (FPE_FLTRES): Likewise.
19798         (FPE_FLTINV): Likewise.
19799         (FPE_FLTSUB): Likewise.
19800         (SEGV_MAPERR): Likewise.
19801         (SEGV_ACCERR): Likewise.
19802         (BUS_ADRALN): Likewise.
19803         (BUS_ADRERR): Likewise.
19804         (BUS_OBJERR): Likewise.
19805         (BUS_MCEERR_AR): Likewise.
19806         (BUS_MCEERR_AO): Likewise.
19807         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19808         (TRAP_TRACE): Likewise.
19809         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19810         __USE_XOPEN2K8].
19811         (CLD_KILLED): Likewise.
19812         (CLD_DUMPED): Likewise.
19813         (CLD_TRAPPED): Likewise.
19814         (CLD_STOPPED): Likewise.
19815         (CLD_CONTINUED): Likewise.
19816         (POLL_IN): Likewise.
19817         (POLL_OUT): Likewise.
19818         (POLL_MSG): Likewise.
19819         (POLL_ERR): Likewise.
19820         (POLL_PRI): Likewise.
19821         (POLL_HUP): Likewise.
19822         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19823         (ILL_ILLOPN): Likewise.
19824         (ILL_ILLADR): Likewise.
19825         (ILL_ILLTRP): Likewise.
19826         (ILL_PRVOPC): Likewise.
19827         (ILL_PRVREG): Likewise.
19828         (ILL_COPROC): Likewise.
19829         (ILL_BADSTK): Likewise.
19830         (FPE_INTDIV): Likewise.
19831         (FPE_INTOVF): Likewise.
19832         (FPE_FLTDIV): Likewise.
19833         (FPE_FLTOVF): Likewise.
19834         (FPE_FLTUND): Likewise.
19835         (FPE_FLTRES): Likewise.
19836         (FPE_FLTINV): Likewise.
19837         (FPE_FLTSUB): Likewise.
19838         (SEGV_MAPERR): Likewise.
19839         (SEGV_ACCERR): Likewise.
19840         (BUS_ADRALN): Likewise.
19841         (BUS_ADRERR): Likewise.
19842         (BUS_OBJERR): Likewise.
19843         (BUS_MCEERR_AR): Likewise.
19844         (BUS_MCEERR_AO): Likewise.
19845         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19846         (TRAP_TRACE): Likewise.
19847         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19848         __USE_XOPEN2K8].
19849         (CLD_KILLED): Likewise.
19850         (CLD_DUMPED): Likewise.
19851         (CLD_TRAPPED): Likewise.
19852         (CLD_STOPPED): Likewise.
19853         (CLD_CONTINUED): Likewise.
19854         (POLL_IN): Likewise.
19855         (POLL_OUT): Likewise.
19856         (POLL_MSG): Likewise.
19857         (POLL_ERR): Likewise.
19858         (POLL_PRI): Likewise.
19859         (POLL_HUP): Likewise.
19860         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19861         (ILL_ILLOPN): Likewise.
19862         (ILL_ILLADR): Likewise.
19863         (ILL_ILLTRP): Likewise.
19864         (ILL_PRVOPC): Likewise.
19865         (ILL_PRVREG): Likewise.
19866         (ILL_COPROC): Likewise.
19867         (ILL_BADSTK): Likewise.
19868         (ILL_DBLFLT): Likewise.
19869         (ILL_HARDWALL): Likewise.
19870         (FPE_INTDIV): Likewise.
19871         (FPE_INTOVF): Likewise.
19872         (FPE_FLTDIV): Likewise.
19873         (FPE_FLTOVF): Likewise.
19874         (FPE_FLTUND): Likewise.
19875         (FPE_FLTRES): Likewise.
19876         (FPE_FLTINV): Likewise.
19877         (FPE_FLTSUB): Likewise.
19878         (SEGV_MAPERR): Likewise.
19879         (SEGV_ACCERR): Likewise.
19880         (BUS_ADRALN): Likewise.
19881         (BUS_ADRERR): Likewise.
19882         (BUS_OBJERR): Likewise.
19883         (BUS_MCEERR_AR): Likewise.
19884         (BUS_MCEERR_AO): Likewise.
19885         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19886         (TRAP_TRACE): Likewise.
19887         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19888         __USE_XOPEN2K8].
19889         (CLD_KILLED): Likewise.
19890         (CLD_DUMPED): Likewise.
19891         (CLD_TRAPPED): Likewise.
19892         (CLD_STOPPED): Likewise.
19893         (CLD_CONTINUED): Likewise.
19894         (POLL_IN): Likewise.
19895         (POLL_OUT): Likewise.
19896         (POLL_MSG): Likewise.
19897         (POLL_ERR): Likewise.
19898         (POLL_PRI): Likewise.
19899         (POLL_HUP): Likewise.
19900         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19901         (ILL_ILLOPN): Likewise.
19902         (ILL_ILLADR): Likewise.
19903         (ILL_ILLTRP): Likewise.
19904         (ILL_PRVOPC): Likewise.
19905         (ILL_PRVREG): Likewise.
19906         (ILL_COPROC): Likewise.
19907         (ILL_BADSTK): Likewise.
19908         (FPE_INTDIV): Likewise.
19909         (FPE_INTOVF): Likewise.
19910         (FPE_FLTDIV): Likewise.
19911         (FPE_FLTOVF): Likewise.
19912         (FPE_FLTUND): Likewise.
19913         (FPE_FLTRES): Likewise.
19914         (FPE_FLTINV): Likewise.
19915         (FPE_FLTSUB): Likewise.
19916         (SEGV_MAPERR): Likewise.
19917         (SEGV_ACCERR): Likewise.
19918         (BUS_ADRALN): Likewise.
19919         (BUS_ADRERR): Likewise.
19920         (BUS_OBJERR): Likewise.
19921         (BUS_MCEERR_AR): Likewise.
19922         (BUS_MCEERR_AO): Likewise.
19923         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19924         (TRAP_TRACE): Likewise.
19925         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19926         __USE_XOPEN2K8].
19927         (CLD_KILLED): Likewise.
19928         (CLD_DUMPED): Likewise.
19929         (CLD_TRAPPED): Likewise.
19930         (CLD_STOPPED): Likewise.
19931         (CLD_CONTINUED): Likewise.
19932         (POLL_IN): Likewise.
19933         (POLL_OUT): Likewise.
19934         (POLL_MSG): Likewise.
19935         (POLL_ERR): Likewise.
19936         (POLL_PRI): Likewise.
19937         (POLL_HUP): Likewise.
19938         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19939         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19941         [BZ #16670]
19942         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19943         before #include of <time.h>.
19944         [!__USE_XOPEN2K] (__need_timespec): Likewise.
19945         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19946         (test-xfail-UNIX98/sched.h/conform): Likewise.
19948 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19950         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19951         error absence of trapping exception support.
19952         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19954 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19956         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19957         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19958         * timezone/Makefile (testdata): Move definition above include of
19959         Rules.
19960         (test-zones): New variable.
19961         (tests-special): Add zone files.
19962         (build-testdata): Use $(evaluate-test).
19964         * elf/Makefile (tests-special): Rename tests to end with .out.
19965         ($(objpfx)noload-mem): Likewise.
19966         ($(objpfx)tst-leaks1-mem): Likewise.
19967         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19968         * iconv/Makefile (xtests-special): Change test-iconvconfig to
19969         $(objpfx)test-iconvconfig.out.
19970         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
19971         set -e inside subshell and redirect output to file.
19972         * iconvdata/Makefile (generated): Rename tests to end with .out.
19973         Correct type.
19974         (tests-special): Rename tests to end with .out.
19975         ($(objpfx)mtrace-tst-loading): Likewise.
19976         * intl/Makefile (generated): Likewise.
19977         (tests-special): Likewise.
19978         ($(objpfx)mtrace-tst-gettext): Likewise.
19979         * misc/Makefile (generated): Likewise.
19980         (tests-special): Likewise.
19981         ($(objpfx)tst-error1-mem): Likewise.
19982         * nptl/Makefile (tests-special): Likewise.
19983         ($(objpfx)tst-stack3-mem): Likewise.
19984         (generated): Likewise.
19985         * posix/Makefile (generated): Likewise.
19986         (tests-special): Likewise.
19987         (xtests-special): Likewise.
19988         ($(objpfx)tst-fnmatch-mem): Likewise.
19989         ($(objpfx)bug-regex2-mem): Likewise.
19990         ($(objpfx)bug-regex14-mem): Likewise.
19991         ($(objpfx)bug-regex21-mem): Likewise.
19992         ($(objpfx)bug-regex31-mem): Likewise.
19993         ($(objpfx)tst-vfork3-mem): Likewise.
19994         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19995         ($(objpfx)tst-pcre-mem): Likewise.
19996         ($(objpfx)tst-boost-mem): Likewise.
19997         ($(objpfx)bug-ga2-mem): Likewise.
19998         ($(objpfx)bug-glob2-mem): Likewise.
19999         * resolv/Makefile (generate): Likewise.
20000         (tests-special): Likewise.
20001         (xtests-special): Likewise.
20002         (generated): Likewise.
20003         ($(objpfx)mtrace-tst-leaks): Likewise.
20004         ($(objpfx)mtrace-tst-leaks2): Likewise.
20006         * scripts/merge-test-results.sh: New file.
20007         * Makefile (tests-special-notdir): New variable.
20008         (tests): Run merge-test-results.sh.
20009         (xtests): Likewise.
20010         * Rules (tests-special-notdir): New variable.
20011         (xtests-special-notdir): Likewise.
20012         (tests): Run merge-test-results.sh
20013         (xtests): Likewise.
20015         * Makeconfig (test-xfail-name): New variable.
20016         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20017         compute variable name for expected failures.
20018         * conform/Makefile (conformtest-headers-data): New variable.
20019         (conformtest-standards): Likewise.
20020         (conformtest-headers-ISO): Likewise.
20021         (conformtest-headers-ISO99): Likewise.
20022         (conformtest-headers-ISO11): Likewise.
20023         (conformtest-headers-POSIX): Likewise.
20024         (conformtest-headers-XPG3): Likewise.
20025         (conformtest-headers-XPG4): Likewise.
20026         (conformtest-headers-UNIX98): Likewise.
20027         (conformtest-headers-XOPEN2K): Likewise.
20028         (conformtest-headers-POSIX2008): Likewise.
20029         (conformtest-headers-XOPEN2K8): Likewise.
20030         (conformtest-header-list-base): Likewise.
20031         (conformtest-header-list-tests): Likewise.
20032         (conformtest-header-base): Likewise.
20033         (conformtest-header-tests): Likewise.
20034         (tests-special): Add $(conformtest-header-list-tests).  If
20035         [$(fast-check) && !$(cross-compiling)], add
20036         $(conformtest-header-tests) instead of
20037         $(objpfx)run-conformtest.out.
20038         (generated): Add $(conformtest-header-list-base).  If
20039         [$(fast-check) && !$(cross-compiling)], add
20040         $(conformtest-header-base).  Remove previous setting.
20041         ($(conformtest-header-list-tests)): New target.
20042         (test-xfail-run-conformtest): Remove variable.
20043         ($(objpfx)run-conformtest.out): Remove target.
20044         (test-xfail-ISO11/complex.h/conform): New variable.
20045         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20046         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20047         (test-xfail-XPG3/varargs.h/conform): Likewise.
20048         (test-xfail-XPG4/varargs.h/conform): Likewise.
20049         (test-xfail-UNIX98/varargs.h/conform): Likewise.
20050         (test-xfail-XPG4/ndbm.h/conform): Likewise.
20051         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20052         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20053         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20054         (test-xfail-XPG3/fcntl.h/conform): Likewise.
20055         (test-xfail-XPG3/ftw.h/conform): Likewise.
20056         (test-xfail-XPG3/grp.h/conform): Likewise.
20057         (test-xfail-XPG3/langinfo.h/conform): Likewise.
20058         (test-xfail-XPG3/limits.h/conform): Likewise.
20059         (test-xfail-XPG3/pwd.h/conform): Likewise.
20060         (test-xfail-XPG3/search.h/conform): Likewise.
20061         (test-xfail-XPG3/signal.h/conform): Likewise.
20062         (test-xfail-XPG3/stdio.h/conform): Likewise.
20063         (test-xfail-XPG3/stdlib.h/conform): Likewise.
20064         (test-xfail-XPG3/string.h/conform): Likewise.
20065         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20066         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20067         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20068         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20069         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20070         (test-xfail-XPG3/sys/types.h/conform): Likewise.
20071         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20072         (test-xfail-XPG3/termios.h/conform): Likewise.
20073         (test-xfail-XPG3/time.h/conform): Likewise.
20074         (test-xfail-XPG3/unistd.h/conform): Likewise.
20075         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20076         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20077         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20078         (test-xfail-XPG4/netdb.h/conform): Likewise.
20079         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20080         (test-xfail-XPG4/signal.h/conform): Likewise.
20081         (test-xfail-XPG4/stdio.h/conform): Likewise.
20082         (test-xfail-XPG4/stdlib.h/conform): Likewise.
20083         (test-xfail-XPG4/stropts.h/conform): Likewise.
20084         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20085         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20086         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20087         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20088         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20089         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20090         (test-xfail-XPG4/sys/time.h/conform): Likewise.
20091         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20092         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20093         (test-xfail-XPG4/termios.h/conform): Likewise.
20094         (test-xfail-XPG4/ucontext.h/conform): Likewise.
20095         (test-xfail-XPG4/unistd.h/conform): Likewise.
20096         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20097         (test-xfail-POSIX/sched.h/conform): Likewise.
20098         (test-xfail-POSIX/signal.h/conform): Likewise.
20099         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20100         (test-xfail-POSIX/tar.h/conform): Likewise.
20101         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20102         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20103         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20104         (test-xfail-UNIX98/netdb.h/conform): Likewise.
20105         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20106         (test-xfail-UNIX98/sched.h/conform): Likewise.
20107         (test-xfail-UNIX98/signal.h/conform): Likewise.
20108         (test-xfail-UNIX98/stdio.h/conform): Likewise.
20109         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20110         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20111         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20112         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20113         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20114         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20115         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20116         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20117         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20118         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20119         (test-xfail-UNIX98/unistd.h/conform): Likewise.
20120         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20121         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20122         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20123         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20124         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20125         (test-xfail-XOPEN2K/math.h/conform): Likewise.
20126         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20127         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20128         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20129         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20130         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20131         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20132         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20133         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20134         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20135         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20136         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20137         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20138         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20139         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20140         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20141         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20142         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20143         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20144         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20145         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20146         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20147         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20148         (test-xfail-POSIX2008/signal.h/conform): Likewise.
20149         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20150         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20151         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20152         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20153         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20154         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20155         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20156         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20157         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20158         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20159         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20160         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20161         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20162         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20163         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20164         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20165         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20166         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20167         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20168         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20169         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20170         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20171         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20172         (conformtest-cc-flags): Likewise.
20173         ($(conformtest-header-tests): New target.
20174         * conform/check-header-lists.sh: New file.
20175         * conform/run-conformtest.sh: Remove.
20177         * conform/conformtest.pl: Allow ' and \ in values given for
20178         constants.
20179         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20180         inclusion.
20181         [POSIX] (sys/types.h): Likewise.
20182         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20183         inclusion.
20184         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20185         inclusion.
20186         * conform/data/signal.h-data (SIGIO): Remove expectation.
20187         [XPG3] (SIGBUS): Do not expect.
20188         [POSIX || XPG3] (SIGPOLL): Likewise.
20189         [POSIX || XPG3] (SIGPROF): Likewise.
20190         [POSIX || XPG3] (SIGSYS): Likewise.
20191         [XPG3] (SIGTRAP): Likewise.
20192         [POSIX || XPG3] (SIGURG): Likewise.
20193         [POSIX || XPG3] (SIGVTALRM): Likewise.
20194         [POSIX || XPG3] (SIGXCPU): Likewise.
20195         [POSIX || XPG3] (SIGXFSZ): Likewise.
20196         [POSIX] (SA_SIGINFO): Expect.
20197         [XPG3] (siginfo_t): Do not expect type or contents.
20198         [POSIX] (si_pid): Do not expect element.
20199         [POSIX] (si_uid): Likewise.
20200         [POSIX] (si_addr): Likewise.
20201         [POSIX] (si_status): Likewise.
20202         [POSIX] (si_band): Likewise.
20203         [XPG4] (si_value): Likewise.
20204         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20205         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20206         [POSIX || XPG3] (ILL_ILLADR): Likewise.
20207         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20208         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20209         [POSIX || XPG3] (ILL_PRVREG): Likewise.
20210         [POSIX || XPG3] (ILL_COPROC): Likewise.
20211         [POSIX || XPG3] (ILL_BADSTK): Likewise.
20212         [POSIX || XPG3] (FPE_INTDIV): Likewise.
20213         [POSIX || XPG3] (FPE_INTOVF): Likewise.
20214         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20215         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20216         [POSIX || XPG3] (FPE_FLTUND): Likewise.
20217         [POSIX || XPG3] (FPE_FLTRES): Likewise.
20218         [POSIX || XPG3] (FPE_FLTINV): Likewise.
20219         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20220         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20221         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20222         [POSIX || XPG3] (BUS_ADRALN): Likewise.
20223         [POSIX || XPG3] (BUS_ADRERR): Likewise.
20224         [POSIX || XPG3] (BUS_OBJERR): Likewise.
20225         [POSIX || XPG3] (CLD_EXITED): Likewise.
20226         [POSIX || XPG3] (CLD_KILLED): Likewise.
20227         [POSIX || XPG3] (CLD_DUMPED): Likewise.
20228         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20229         [POSIX || XPG3] (CLD_STOPPED): Likewise.
20230         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20231         [POSIX || XPG3] (POLL_IN): Likewise.
20232         [POSIX || XPG3] (POLL_OUT): Likewise.
20233         [POSIX || XPG3] (POLL_MSG): Likewise.
20234         [POSIX || XPG3] (POLL_ERR): Likewise.
20235         [POSIX || XPG3] (POLL_PRI): Likewise.
20236         [POSIX || XPG3] (POLL_HUP): Likewise.
20237         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20238         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20239         (SIG*): Do not allow.
20240         [XPG3] (si_*): Likewise.
20241         [XPG3] (SI_*): Likewise.
20242         [XPG3 || XPG4] (sigev_*): Likewise.
20243         [XPG3 || XPG4] (SIGEV_*): Likewise.
20244         [XPG3 || XPG4] (sival_*): Likewise.
20245         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20246         [POSIX || XPG3] (BUS_*): Likewise.
20247         [POSIX || XPG3] (CLD_*): Likewise.
20248         [POSIX || XPG3] (FPE_*): Likewise.
20249         [POSIX || XPG3] (ILL_*): Likewise.
20250         [POSIX || XPG3] (POLL_*): Likewise.
20251         [POSIX || XPG3] (SEGV_*): Likewise.
20252         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20253         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20254         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20255         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20256         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20257         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20258         Specify type and value.
20259         (TVERSLEN): Likewise.
20260         (REGTYPE): Likewise.
20261         (AREGTYPE): Likewise.
20262         (LNKTYPE): Likewise.
20263         (SYMTYPE): Likewise.
20264         (CHRTYPE): Likewise.
20265         (BLKTYPE): Likewise.
20266         (DIRTYPE): Likewise.
20267         (FIFOTYPE): Likewise.
20268         (CONTTYPE): Likewise.
20269         (TSUID): Likewise.
20270         (TSGID): Likewise.
20271         (TSVTX): Likewise.
20272         (TUREAD): Likewise.
20273         (TUWRITE): Likewise.
20274         (TUEXEC): Likewise.
20275         (TGREAD): Likewise.
20276         (TGWRITE): Likewise.
20277         (TGEXEC): Likewise.
20278         (TOREAD): Likewise.
20279         (TOWRITE): Likewise.
20280         (TOEXEC): Likewise.
20281         [POSIX] (TSVTX): Expect constant.
20283 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
20285         * Makefile (tests): Change dependencies to ....
20286         (tests-special): ... additions to this variable.
20287         (tests): Depend on $(tests-special).
20288         * Makerules (check-abi-list): New variable.
20289         (check-abi): Depend on $(check-abi-list).
20290         [$(subdir) = elf] (tests-special): Add
20291         $(objpfx)check-abi-libc.out.
20292         [$(build-shared) = yes && subdir] (tests-special): Add
20293         $(check-abi-list).
20294         [$(build-shared) = yes && subdir] (tests): Do not depend on
20295         check-abi.
20296         * Rules (tests): Depend on $(tests-special).
20297         (xtests): Depend on $(xtests-special).
20298         * catgets/Makefile (tests): Change dependencies to ....
20299         (tests-special): ... additions to this variable.
20300         * conform/Makefile (tests): Change dependencies to ....
20301         (tests-special): ... additions to this variable.
20302         * elf/Makefile (tests): Change dependencies to ....
20303         (tests-special): ... additions to this variable.
20304         * grp/Makefile (tests): Change dependencies to ....
20305         (tests-special): ... additions to this variable.
20306         * iconv/Makefile (xtests): Change dependencies to ....
20307         (xtests-special): ... additions to this variable.
20308         * iconvdata/Makefile (tests): Change dependencies to ....
20309         (tests-special): ... additions to this variable.
20310         * intl/Makefile (tests): Change dependencies to ....
20311         (tests-special): ... additions to this variable.  Also add
20312         $(objpfx)tst-gettext.out.
20313         * io/Makefile (tests): Change dependencies to ....
20314         (tests-special): ... additions to this variable.
20315         * libio/Makefile (tests): Change dependencies to ....
20316         (tests-special): ... additions to this variable.
20317         * malloc/Makefile (tests): Change dependencies to ....
20318         (tests-special): ... additions to this variable.
20319         * misc/Makefile (tests): Change dependencies to ....
20320         (tests-special): ... additions to this variable.
20321         * nptl/Makefile (tests): Change dependencies to ....
20322         (tests-special): ... additions to this variable.
20323         * nptl_db/Makefile (tests): Change dependencies to ....
20324         (tests-special): ... additions to this variable.
20325         * posix/Makefile (tests): Change dependencies to ....
20326         (tests-special): ... additions to this variable.
20327         (xtests): Change dependencies to ....
20328         (xtests-special): ... additions to this variable.
20329         * resolv/Makefile (tests): Change dependencies to ....
20330         (tests-special): ... additions to this variable.
20331         (xtests): Change dependencies to ....
20332         (xtests-special): ... additions to this variable.
20333         * stdio-common/Makefile (tests): Change dependencies to ....
20334         (tests-special): ... additions to this variable.
20335         (do-tst-unbputc): Remove target.
20336         (do-tst-printf): Likewise.
20337         * stdlib/Makefile (tests): Change dependencies to ....
20338         (tests-special): ... additions to this variable.
20339         * string/Makefile (tests): Change dependencies to ....
20340         (tests-special): ... additions to this variable.
20341         * sysdeps/x86/Makefile (tests): Change dependencies to ....
20342         (tests-special): ... additions to this variable.
20344         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20345         whole file.
20346         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20347         whole file.
20348         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20349         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20351         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20352         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20353         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20354         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20355         * conform/data/libgen.h-data [XPG3]: Likewise.
20356         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20357         * conform/data/ndbm.h-data [XPG3]: Likewise.
20358         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20359         * conform/data/netdb.h-data [XPG3]: Likewise.
20360         * conform/data/netinet/in.h-data [XPG3]: Likewise.
20361         * conform/data/poll.h-data [XPG3]: Likewise.
20362         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20363         * conform/data/strings.h-data [XPG3]: Likewise.
20364         * conform/data/stropts.h-data [XPG3]: Likewise.
20365         * conform/data/sys/mman.h-data [XPG3]: Likewise.
20366         * conform/data/sys/resource.h-data [XPG3]: Likewise.
20367         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20368         Likewise.
20369         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20370         * conform/data/sys/time.h-data [XPG3]: Likewise.
20371         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20372         * conform/data/sys/uio.h-data [XPG3]: Likewise.
20373         * conform/data/sys/un.h-data [XPG3]: Likewise.
20374         * conform/data/syslog.h-data [XPG3]: Likewise.
20375         * conform/data/ucontext.h-data [XPG3]: Likewise.
20376         * conform/data/utmpx.h-data [XPG3]: Likewise.
20377         * conform/data/varargs.h-data [UNIX98]: Enable file.
20379         * manual/Makefile (INSTALL_INFO): Remove variable setting.
20381         * math/libm-test.inc (struct test_f_f_data): Move expected results
20382         into structure for each rounding mode.
20383         (struct test_ff_f_data): Likewise.
20384         (struct test_ff_f_data_nexttoward): Likewise.
20385         (struct test_fi_f_data): Likewise.
20386         (struct test_fl_f_data): Likewise.
20387         (struct test_if_f_data): Likewise.
20388         (struct test_fff_f_data): Likewise.
20389         (struct test_c_f_data): Likewise.
20390         (struct test_f_f1_data): Likewise.
20391         (struct test_fF_f1_data): Likewise.
20392         (struct test_ffI_f1_data): Likewise.
20393         (struct test_c_c_data): Likewise.
20394         (struct test_cc_c_data): Likewise.
20395         (struct test_f_i_data): Likewise.
20396         (struct test_ff_i_data): Likewise.
20397         (struct test_f_l_data): Likewise.
20398         (struct test_f_L_data): Likewise.
20399         (struct test_fFF_11_data): Likewise.
20400         (RM_): New macro.
20401         (RM_FE_DOWNWARD): Likewise.
20402         (RM_FE_TONEAREST): Likewise.
20403         (RM_FE_TOWARDZERO): Likewise.
20404         (RM_FE_UPWARD): Likewise.
20405         (RUN_TEST_LOOP_f_f): Update references to expected results.
20406         (RUN_TEST_LOOP_2_f): Likewise.
20407         (RUN_TEST_LOOP_fff_f): Likewise.
20408         (RUN_TEST_LOOP_c_f): Likewise.
20409         (RUN_TEST_LOOP_f_f1): Likewise.
20410         (RUN_TEST_LOOP_fF_f1): Likewise.
20411         (RUN_TEST_LOOP_fI_f1): Likewise.
20412         (RUN_TEST_LOOP_ffI_f1): Likewise.
20413         (RUN_TEST_LOOP_c_c): Likewise.
20414         (RUN_TEST_LOOP_cc_c): Likewise.
20415         (RUN_TEST_LOOP_f_i): Likewise.
20416         (RUN_TEST_LOOP_f_i_tg): Likewise.
20417         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20418         (RUN_TEST_LOOP_f_b): Likewise.
20419         (RUN_TEST_LOOP_f_b_tg): Likewise.
20420         (RUN_TEST_LOOP_f_l): Likewise.
20421         (RUN_TEST_LOOP_f_L): Likewise.
20422         (RUN_TEST_LOOP_fFF_11): Likewise.
20423         * math/gen-libm-test.pl (parse_args): Output four copies of
20424         expected results for each test.
20426         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20427         (__ASSUME_UTIMES): Remove.
20428         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20429         (__ASSUME_UTIMES): Likewise.
20431         * math/gen-auto-libm-tests.c: Update comment on output format.
20432         (output_for_one_input_case): Generate before-rounding and
20433         after-rounding information as conditions on output flags not
20434         floating-point format.
20435         * math/auto-libm-test-out: Regenerated.
20436         * math/gen-libm-test.pl (cond_value): New function.
20437         (or_cond_value): Use cond_value.
20438         (generate_testfile): Handle conditional exceptions.
20440 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
20442         * math/libm-test.inc (max_valid_error): New variable.
20443         (init_max_error): Take new argument specifying whether function
20444         results are exactly determined.  Set max_valid_error and bound
20445         other variables for errors based on this argument.
20446         (set_max_error): Do not record results above max_valid_error.
20447         (check_float_internal): Only accept errors of up to 0.5ulps if
20448         also at most max_valid_error.
20449         (START): Take new argument EXACT and pass it to init_max_error.
20450         (acos_test): Update call to START.
20451         (acos_test_tonearest): Likewise.
20452         (acos_test_towardzero): Likewise.
20453         (acos_test_downward): Likewise.
20454         (acos_test_upward): Likewise.
20455         (acosh_test): Likewise.
20456         (asin_test): Likewise.
20457         (asin_test_tonearest): Likewise.
20458         (asin_test_towardzero): Likewise.
20459         (asin_test_downward): Likewise.
20460         (asin_test_upward): Likewise.
20461         (asinh_test): Likewise.
20462         (atan_test): Likewise.
20463         (atanh_test): Likewise.
20464         (atan2_test): Likewise.
20465         (cabs_test): Likewise.
20466         (cacos_test): Likewise.
20467         (cacosh_test): Likewise.
20468         (carg_test): Likewise.
20469         (casin_test): Likewise.
20470         (casinh_test): Likewise.
20471         (catan_test): Likewise.
20472         (catanh_test): Likewise.
20473         (cbrt_test): Likewise.
20474         (ccos_test): Likewise.
20475         (ccosh_test): Likewise.
20476         (ceil_test): Likewise.
20477         (cexp_test): Likewise.
20478         (cimag_test): Likewise.
20479         (clog_test): Likewise.
20480         (clog10_test): Likewise.
20481         (conj_test): Likewise.
20482         (copysign_test): Likewise.
20483         (cos_test): Likewise.
20484         (cos_test_tonearest): Likewise.
20485         (cos_test_towardzero): Likewise.
20486         (cos_test_downward): Likewise.
20487         (cos_test_upward): Likewise.
20488         (cosh_test): Likewise.
20489         (cosh_test_tonearest): Likewise.
20490         (cosh_test_towardzero): Likewise.
20491         (cosh_test_downward): Likewise.
20492         (cosh_test_upward): Likewise.
20493         (cpow_test): Likewise.
20494         (cproj_test): Likewise.
20495         (creal_test): Likewise.
20496         (csin_test): Likewise.
20497         (csinh_test): Likewise.
20498         (csqrt_test): Likewise.
20499         (ctan_test): Likewise.
20500         (ctan_test_tonearest): Likewise.
20501         (ctan_test_towardzero): Likewise.
20502         (ctan_test_downward): Likewise.
20503         (ctan_test_upward): Likewise.
20504         (ctanh_test): Likewise.
20505         (ctanh_test_tonearest): Likewise.
20506         (ctanh_test_towardzero): Likewise.
20507         (ctanh_test_downward): Likewise.
20508         (ctanh_test_upward): Likewise.
20509         (erf_test): Likewise.
20510         (erfc_test): Likewise.
20511         (exp_test): Likewise.
20512         (exp_test_tonearest): Likewise.
20513         (exp_test_towardzero): Likewise.
20514         (exp_test_downward): Likewise.
20515         (exp_test_upward): Likewise.
20516         (exp10_test): Likewise.
20517         (exp10_test_tonearest): Likewise.
20518         (exp10_test_towardzero): Likewise.
20519         (exp10_test_downward): Likewise.
20520         (exp10_test_upward): Likewise.
20521         (pow10_test): Likewise.
20522         (exp2_test): Likewise.
20523         (expm1_test): Likewise.
20524         (expm1_test_tonearest): Likewise.
20525         (expm1_test_towardzero): Likewise.
20526         (expm1_test_downward): Likewise.
20527         (expm1_test_upward): Likewise.
20528         (fabs_test): Likewise.
20529         (fdim_test): Likewise.
20530         (floor_test): Likewise.
20531         (fma_test): Likewise.
20532         (fma_test_towardzero): Likewise.
20533         (fma_test_downward): Likewise.
20534         (fma_test_upward): Likewise.
20535         (fmax_test): Likewise.
20536         (fmin_test): Likewise.
20537         (fmod_test): Likewise.
20538         (fpclassify_test): Likewise.
20539         (frexp_test): Likewise.
20540         (hypot_test): Likewise.
20541         (ilogb_test): Likewise.
20542         (isfinite_test): Likewise.
20543         (finite_test): Likewise.
20544         (isgreater_test): Likewise.
20545         (isgreaterequal_test): Likewise.
20546         (isinf_test): Likewise.
20547         (isless_test): Likewise.
20548         (islessequal_test): Likewise.
20549         (islessgreater_test): Likewise.
20550         (isnan_test): Likewise.
20551         (isnormal_test): Likewise.
20552         (issignaling_test): Likewise.
20553         (isunordered_test): Likewise.
20554         (j0_test): Likewise.
20555         (j1_test): Likewise.
20556         (jn_test): Likewise.
20557         (ldexp_test): Likewise.
20558         (lgamma_test): Likewise.
20559         (gamma_test): Likewise.
20560         (lrint_test): Likewise.
20561         (lrint_test_tonearest): Likewise.
20562         (lrint_test_towardzero): Likewise.
20563         (lrint_test_downward): Likewise.
20564         (lrint_test_upward): Likewise.
20565         (llrint_test): Likewise.
20566         (llrint_test_tonearest): Likewise.
20567         (llrint_test_towardzero): Likewise.
20568         (llrint_test_downward): Likewise.
20569         (llrint_test_upward): Likewise.
20570         (log_test): Likewise.
20571         (log10_test): Likewise.
20572         (log1p_test): Likewise.
20573         (log2_test): Likewise.
20574         (logb_test): Likewise.
20575         (logb_test_downward): Likewise.
20576         (lround_test): Likewise.
20577         (llround_test): Likewise.
20578         (modf_test): Likewise.
20579         (nearbyint_test): Likewise.
20580         (nextafter_test): Likewise.
20581         (nexttoward_test): Likewise.
20582         (pow_test): Likewise.
20583         (pow_test_tonearest): Likewise.
20584         (pow_test_towardzero): Likewise.
20585         (pow_test_downward): Likewise.
20586         (pow_test_upward): Likewise.
20587         (remainder_test): Likewise.
20588         (drem_test): Likewise.
20589         (remainder_test_tonearest): Likewise.
20590         (drem_test_tonearest): Likewise.
20591         (remainder_test_towardzero): Likewise.
20592         (drem_test_towardzero): Likewise.
20593         (remainder_test_downward): Likewise.
20594         (drem_test_downward): Likewise.
20595         (remainder_test_upward): Likewise.
20596         (drem_test_upward): Likewise.
20597         (remquo_test): Likewise.
20598         (rint_test): Likewise.
20599         (rint_test_tonearest): Likewise.
20600         (rint_test_towardzero): Likewise.
20601         (rint_test_downward): Likewise.
20602         (rint_test_upward): Likewise.
20603         (round_test): Likewise.
20604         (scalb_test): Likewise.
20605         (scalbn_test): Likewise.
20606         (scalbln_test): Likewise.
20607         (signbit_test): Likewise.
20608         (sin_test): Likewise.
20609         (sin_test_tonearest): Likewise.
20610         (sin_test_towardzero): Likewise.
20611         (sin_test_downward): Likewise.
20612         (sin_test_upward): Likewise.
20613         (sincos_test): Likewise.
20614         (sinh_test): Likewise.
20615         (sinh_test_tonearest): Likewise.
20616         (sinh_test_towardzero): Likewise.
20617         (sinh_test_downward): Likewise.
20618         (sinh_test_upward): Likewise.
20619         (sqrt_test): Likewise.
20620         (sqrt_test_tonearest): Likewise.
20621         (sqrt_test_towardzero): Likewise.
20622         (sqrt_test_downward): Likewise.
20623         (sqrt_test_upward): Likewise.
20624         (tan_test): Likewise.
20625         (tan_test_tonearest): Likewise.
20626         (tan_test_towardzero): Likewise.
20627         (tan_test_downward): Likewise.
20628         (tan_test_upward): Likewise.
20629         (tanh_test): Likewise.
20630         (tgamma_test): Likewise.
20631         (trunc_test): Likewise.
20632         (y0_test): Likewise.
20633         (y1_test): Likewise.
20634         (yn_test): Likewise.
20635         (significand_test): Likewise.
20637         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20638         individual tests in comment.
20639         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20640         (prev_max_error): New variable.
20641         (prev_real_max_error): Likewise.
20642         (prev_imag_max_error): Likewise.
20643         (compare_ulp_data): Don't refer to test names in comment.
20644         (find_test_ulps): Remove function.
20645         (find_function_ulps): Likewise.
20646         (find_complex_function_ulps): Likewise.
20647         (init_max_error): Take function name as argument.  Look up ulps
20648         for that function.
20649         (print_ulps): Remove function.
20650         (print_max_error): Use prev_max_error instead of calling
20651         find_function_ulps.
20652         (print_complex_max_error): Use prev_real_max_error and
20653         prev_imag_max_error instead of calling find_complex_function_ulps.
20654         (check_float_internal): Take max_ulp parameter instead of calling
20655         find_test_ulps.  Don't call print_ulps.
20656         (check_float): Update call to check_float_internal.
20657         (check_complex): Update calls to check_float_internal.
20658         (START): Pass argument to init_max_error.
20659         * math/gen-libm-test.pl (%results): Don't include "kind"
20660         information.
20661         (parse_ulps): Don't handle ulps of individual tests.
20662         (print_ulps_file): Likewise.
20663         (output_ulps): Likewise.
20664         * math/README.libm-test: Update.
20665         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20666         individual tests.
20667         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20668         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20669         * sysdeps/arm/libm-test-ulps: Likewise.
20670         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20671         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20672         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20673         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20674         * sysdeps/microblaze/libm-test-ulps: Likewise.
20675         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20676         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20677         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20678         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20679         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20680         * sysdeps/sh/libm-test-ulps: Likewise.
20681         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20682         * sysdeps/tile/libm-test-ulps: Likewise.
20683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20685 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
20687         * math/libm-test.inc (print_complex_max_error): Check separately
20688         whether real and imaginary errors are within allowed range and
20689         pass 0 to print_complex_function_ulps instead of value within
20690         allowed range.
20692 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20694         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20695         formatting.
20696         (get_handles_fopen): Likewise.
20697         (do_write_test): Likewise.
20699         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20701         * libio/fileops.c (do_ftell): Use cached offset when
20702         available.
20703         * libio/iofwide.c (do_ftell_wide): Likewise.
20704         * libio/iofdopen.c (_IO_new_fdopen): Don't use
20705         _IO_file_attach.
20706         * libio/wfileops.c (_IO_fwide): Don't cache offset.
20708         [BZ #16532]
20709         * libio/libioP.h (get_file_offset): New function.
20710         * libio/fileops.c (get_file_offset): Likewise.
20711         (do_ftell): Likewise.
20712         (_IO_new_file_seekoff): Split out ftell logic.
20713         * libio/wfileops.c (do_ftell_wide): Likewise.
20714         (_IO_wfile_seekoff): Split out ftell logic.
20715         * libio/tst-ftell-active-handler.c: New test case.
20716         * libio/Makefile (tests): Add it.
20718 2014-03-03  Roland McGrath  <roland@hack.frob.com>
20720         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20721         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20723 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20725         [BZ #16639]
20726         * nscd/connections.c (nscd_init): Call do_exit.
20727         (start_threads): Call do_exit and notify_parent.
20728         (begin_drop_privileges): Call do_exit.
20729         (finish_drop_privileges): Likewise.
20730         * nscd/selinux.c (preserve_capabilities): Likewise.
20731         (install_real_capabilities): Likewise.
20732         (nscd_selinux_enabled): Likewise.
20733         (avc_create_thread): Likewise.
20734         (avc_alloc_lock): Likewise.
20735         (nscd_avc_init): Likewise.
20736         * nscd/nscd.c (parent_fd): New static variable.
20737         (main): Create a pipe between parent and child processes.
20738         Skip closing parent_fd.
20739         (monitor_child): New function.
20740         (do_exit): Likewise.
20741         (notify_parent): Likewise.
20742         * nscd/nscd.h (notify_parent): Likewise.
20743         (do_exit): Likewise.
20745 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
20747         * malloc/malloc.c (__libc_calloc): Revert last change.
20749 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20753 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20755         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20757         implementation.
20758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20759         (__libc_ifunc_impl_list): Likewise.
20760         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20761         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20762         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20763         * string/strrchr.c: Define STRRCHR.
20765 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
20767         * benchtest/bench-strtok.c (simple_strtok): Delete.
20768         (strtok_string): Use as benchmark.
20769         * string/strtok (STRTOK): New macro.
20771 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
20773         * manual/threads.texi: Add header and standard comments to all
20774         functions.
20776         * elf/dl-lookup.c (check_match): New function.
20777         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20778         (do_lookup_x): Remove nested function check_match. Use non-nested
20779         function check_match.
20781 2014-02-28  Roland McGrath  <roland@hack.frob.com>
20783         * csu/Makefile (generated, before-compile): Use += rather than =.
20784         * catgets/Makefile (generated, generated-dirs): Likewise.
20785         * debug/Makefile (generated): Likewise.
20786         * dlfcn/Makefile (generated): Likewise.
20787         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20788         * iconvdata/Makefile (before-compile, generated): Likewise.
20789         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20790         * libio/Makefile (generated): Likewise.
20791         * malloc/Makefile (generated): Likewise.
20792         * manual/Makefile (generated, generated-dirs): Likewise.
20793         * misc/Makefile (generated): Likewise.
20794         * posix/Makefile (generated): Likewise.
20795         * resolv/Makefile (generated): Likewise.
20796         * sunrpc/Makefile (generated, generated-dirs): Likewise.
20797         * timezone/Makefile (generated, generated-dirs): Likewise.
20799         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20801 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20803         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20804         power8 implementation.
20805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20806         file: POWER8 llround ifunc implementation.
20807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20808         (__lllround): Add POWER8 implementation.
20809         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20810         POWER8 llround implementation.
20812         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20813         power8 implementation.
20814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20815         file: POWER8 llrint ifunc implementation.
20816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20817         Add POWER8 implementation.
20818         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20819         POWER8 llrint implementation.
20821         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20822         power8 implementation.
20823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20824         file: POWER8 finite ifunc implementation.
20825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20826         Add POWER8 implementation.
20827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20828         Likewise.
20829         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20830         POWER8 finite implementation.
20831         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20833         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20834         power8 implementation.
20835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20836         file: POWER8 isinf ifunc implementation.
20837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20838         POWER8 implementation.
20839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20840         Likewise.
20841         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20842         isinf implementation.
20843         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20845         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20846         (INIT_ARCH): Add hwcap2 initialization.
20847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20848         power8 implementation.
20849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20850         file: POWER8 isnan ifunc implementation.
20851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20852         POWER8 implementation.
20853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20854         Likewise.
20855         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20856         isnan implementation.
20857         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20859 2014-02-27  Joey Ye  <joey.ye@arm.com>
20861         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20862         (_FP_NANFRAC_Q): Set to zero.
20864 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20866         [BZ #16623]
20867         * math/auto-libm-test-in: New test inputs.
20868         * math/auto-libm-test-out: Regenerate.
20869         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20870         and DA.
20871         (__cos): Likewise.
20872         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20874 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
20876         * scripts/evaluate-test.sh: Take new argument indicating whether
20877         failure is expected.
20878         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20879         indicating whether failure is expected.
20880         * conform/Makefile (test-xfail-run-conformtest): New variable.
20881         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20882         level.
20883         * posix/Makefile (test-xfail-annexc): New variable.
20884         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20886 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
20888         * argp/Makefile: Include Makeconfig immediately after defining
20889         subdir.
20890         * assert/Makefile: Likewise.
20891         * benchtests/Makefile: Likewise.
20892         * catgets/Makefile: Likewise.
20893         * conform/Makefile: Likewise.
20894         * crypt/Makefile: Likewise.
20895         * csu/Makefile: Likewise.
20896         (all): Remove target.
20897         * ctype/Makefile: Include Makeconfig immediately after defining
20898         subdir.
20899         * debug/Makefile: Likewise.
20900         * dirent/Makefile: Likewise.
20901         * dlfcn/Makefile: Likewise.
20902         * gmon/Makefile: Likewise.
20903         * gnulib/Makefile: Likewise.
20904         * grp/Makefile: Likewise.
20905         * gshadow/Makefile: Likewise.
20906         * hesiod/Makefile: Likewise.
20907         * hurd/Makefile: Likewise.
20908         (all): Remove target.
20909         * iconvdata/Makefile: Include Makeconfig immediately after
20910         defining subdir.
20911         * inet/Makefile: Likewise.
20912         * intl/Makefile: Likewise.
20913         * io/Makefile: Likewise.
20914         * libio/Makefile: Likewise.
20915         (all): Remove target.
20916         * locale/Makefile: Include Makeconfig immediately after defining
20917         subdir.
20918         * login/Makefile: Likewise.
20919         * mach/Makefile: Likewise.
20920         (all): Remove target.
20921         * malloc/Makefile: Include Makeconfig immediately after defining
20922         subdir.
20923         (all): Remove target.
20924         * manual/Makefile: Include Makeconfig immediately after defining
20925         subdir.
20926         * math/Makefile: Likewise.
20927         * misc/Makefile: Likewise.
20928         * nis/Makefile: Likewise.
20929         * nss/Makefile: Likewise.
20930         * po/Makefile: Likewise.
20931         (all): Remove target.
20932         * posix/Makefile: Include Makeconfig immediately after defining
20933         subdir.
20934         * pwd/Makefile: Likewise.
20935         * resolv/Makefile: Likewise.
20936         * resource/Makefile: Likewise.
20937         * rt/Makefile: Likewise.
20938         * setjmp/Makefile: Likewise.
20939         * shadow/Makefile: Likewise.
20940         * signal/Makefile: Likewise.
20941         * socket/Makefile: Likewise.
20942         * soft-fp/Makefile: Likewise.
20943         * stdio-common/Makefile: Likewise.
20944         * stdlib/Makefile: Likewise.
20945         * streams/Makefile: Likewise.
20946         * string/Makefile: Likewise.
20947         * sunrpc/Makefile: Likewise.
20948         (all): Remove target.
20949         * sysvipc/Makefile: Include Makeconfig immediately after defining
20950         subdir.
20951         * termios/Makefile: Likewise.
20952         * time/Makefile: Likewise.
20953         * timezone/Makefile: Likewise.
20954         (all): Remove target.
20955         * wcsmbs/Makefile: Include Makeconfig immediately after defining
20956         subdir.
20957         * wctype/Makefile: Likewise.
20959 2014-02-26  Steve Ellcey  <sellcey@mips.com>
20961         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20962         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20963         (libc_feholdexcept_setround_mips): Ditto.
20964         (libc_feholdsetround): New.
20965         (libc_feholdsetroundf): New.
20966         (libc_feholdsetroundl): New.
20967         (libc_feupdateenv_test_mips): New.
20968         (libc_feupdateenv_test): New.
20969         (libc_feupdateenv_testf): New.
20970         (libc_feupdateenv_testl): New.
20971         (libc_feresetround): New.
20972         (libc_feresetroundf): New.
20973         (libc_feresetroundl): New.
20974         (libc_fetestexcept_mips): New.
20975         (libc_fetestexcept): New.
20976         (libc_fetestexceptf): New.
20977         (libc_fetestexceptl): New.
20978         (HAVE_RM_CTX): New.
20979         (libc_feholdexcept_setround_mips_ctx): New.
20980         (libc_feholdexcept_setround_ctx): New.
20981         (libc_feholdexcept_setroundf_ctx): New.
20982         (libc_feholdexcept_setroundl_ctx): New.
20983         (libc_fesetenv_mips_ctx): New.
20984         (libc_fesetenv_ctx): New.
20985         (libc_fesetenv_ctxf): New.
20986         (libc_fesetenv_ctxl): New.
20987         (libc_feupdateenv_mips_ctx): New.
20988         (libc_feupdateenv_ctx): New.
20989         (libc_feupdateenvf_ctx): New.
20990         (libc_feupdateenvl_ctx): New.
20991         (libc_feholdsetround_mips_ctx): New.
20992         (libc_feholdsetround_ctx): New.
20993         (libc_feholdsetroundf_ctx): New.
20994         (libc_feholdsetroundl_ctx): New.
20995         (libc_feresetround_mips_ctx): New.
20996         (libc_feresetround_ctx): New.
20997         (libc_feresetroundf_ctx): New.
20998         (libc_feresetroundl_ctx): New.
21000 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
21002         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21004         * manual/ipc.texi: New file.
21005         * manual/Makefile (chapters): Add ipc.
21006         * manual/job.texi: Add "Inter-Process Communication" to next.
21007         * manual/process.texi: Add "Inter-Process Communication" to prev.
21009 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21013 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
21015         * malloc/malloc.c (__libc_calloc): Simplify implementation.
21017         * manual/arith.texi: Fix spaces after sentences.
21018         * manual/charset.texi: Likewise.
21019         * manual/errno.texi: Likewise.
21020         * manual/install.texi: Likewise.
21021         * manual/llio.texi: Likewise.
21022         * manual/locale.texi: Likewise.
21023         * manual/maint.texi: Likewise.
21024         * manual/math.texi: Likewise.
21025         * manual/memory.texi: Likewise.
21026         * manual/message.texi: Likewise.
21027         * manual/probes.texi: Likewise.
21028         * manual/resource.texi: Likewise.
21029         * manual/signal.texi: Likewise.
21030         * manual/socket.texi: Likewise.
21031         * manual/stdio.texi: Likewise.
21032         * manual/string.texi: Likewise.
21033         * manual/time.texi: Likewise.
21034         * manual/users.texi: Likewise.
21036 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
21038         [BZ #16632]
21039         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21040         _DEFAULT_SOURCE is defined.
21042 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
21043             Carlos O'Donell  <carlos@redhat.com>
21045         [BZ #16613]
21046         * elf/dl-tls.c (_dl_count_modids): New function.
21047         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21048         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21049         audit library and increment generation counter.
21050         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21051         * elf/tst-audit9.c: New file.
21052         * elf/tst-auditmod9a.c: New file.
21053         * elf/tst-auditmod9b.c: New file.
21054         * elf/Makefile: Add rules to build and run tst-audit9.
21056 2014-02-25  Florian Weimer  <fweimer@redhat.com>
21058         [BZ #15347]
21059         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21061 2014-02-25  Will Newton  <will.newton@linaro.org>
21063         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21064         (__longjmp): Restore sp and lr before restoring callee
21065         saved registers.  Add longjmp and longjmp_target
21066         SystemTap probe point.
21067         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21068         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21069         Define to zero to match jmpbuf layout.
21070         * sysdeps/arm/setjmp.S: Include stap-probe.h.
21071         (__sigsetjmp): Save sp and lr before saving callee
21072         saved registers.  Add setjmp SystemTap probe point.
21074 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21076         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21078 2014-02-24  Andreas Schwab  <schwab@suse.de>
21080         [BZ #15804]
21081         * elf/pldd.c (wait_for_ptrace_stop): New function.
21082         (main): Call it after attaching.
21084 2014-02-22  Roland McGrath  <roland@hack.frob.com>
21086         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21087         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21088         Versions files is now verboten.
21089         * hurd/Versions (libc: GLIBC_2.0):
21090         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21091         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21092         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21093         * mach/Versions: Likewise.
21095         * csu/Versions: Remove unused %include.
21096         * resolv/Versions: Likewise.
21098 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
21100         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21101         ($(objpfx)check-local-headers.out): Likewise.
21102         ($(objpfx)begin-end-check.out): Likewise.
21103         * Makerules (check-abi-%.out): Likewise.
21104         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21105         ($(objpfx)test2.cat): Likewise.
21106         ($(objpfx)de/libc.cat): Likewise.
21107         ($(objpfx)test-gencat.out): Likewise.
21108         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21109         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21110         ($(objpfx)noload-mem): Likewise.
21111         ($(objpfx)tst-pathopt.out): Likewise.
21112         ($(objpfx)tst-rtld-load-self.out): Likewise.
21113         ($(objpfx)tst-array1-cmp.out): Likewise.
21114         ($(objpfx)tst-array1-static-cmp.out): Likewise.
21115         ($(objpfx)tst-array2-cmp.out): Likewise.
21116         ($(objpfx)tst-array3-cmp.out): Likewise.
21117         ($(objpfx)tst-array4-cmp.out): Likewise.
21118         ($(objpfx)tst-array5-cmp.out): Likewise.
21119         ($(objpfx)tst-array5-static-cmp.out): Likewise.
21120         ($(objpfx)check-textrel.out): Likewise.
21121         ($(objpfx)check-execstack.out): Likewise.
21122         ($(objpfx)check-localplt.out): Likewise.
21123         ($(objpfx)order2-cmp.out): Likewise.
21124         ($(objpfx)tst-leaks1-mem): Likewise.
21125         ($(objpfx)tst-leaks1-static-mem): Likewise.
21126         ($(objpfx)tst-initorder-cmp.out): Likewise.
21127         ($(objpfx)tst-initorder2-cmp.out): Likewise.
21128         ($(objpfx)tst-unused-dep.out): Likewise.
21129         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21130         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21131         * iconv/Makefile (test-iconvconfig): Likewise.
21132         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21133         ($(objpfx)iconv-test.out): Likewise.
21134         ($(objpfx)tst-tables.out): Likewise.
21135         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21136         ($(objpfx)tst-gettext.out): Likewise.
21137         ($(objpfx)tst-translit.out): Likewise.
21138         ($(objpfx)tst-gettext2.out): Likewise.
21139         ($(objpfx)tst-gettext4.out): Likewise.
21140         ($(objpfx)tst-gettext6.out): Likewise.
21141         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21142         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21143         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21144         ($(objpfx)tst-fopenloc-mem.out): Likewise.
21145         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21146         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21147         * posix/Makefile ($(objpfx)globtest.out): Likewise.
21148         ($(objpfx)wordexp-tst.out): Likewise.
21149         ($(objpfx)annexc.out): Likewise.
21150         ($(objpfx)tst-fnmatch-mem): Likewise.
21151         ($(objpfx)bug-regex2-mem): Likewise.
21152         ($(objpfx)bug-regex14-mem): Likewise.
21153         ($(objpfx)bug-regex21-mem): Likewise.
21154         ($(objpfx)bug-regex31-mem): Likewise.
21155         ($(objpfx)tst-vfork3-mem): Likewise.
21156         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21157         ($(objpfx)tst-pcre-mem): Likewise.
21158         ($(objpfx)tst-boost-mem): Likewise.
21159         ($(objpfx)tst-getconf.out): Likewise.
21160         ($(objpfx)bug-ga2-mem): Likewise.
21161         ($(objpfx)bug-glob2-mem): Likewise.
21162         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21163         ($(objpfx)mtrace-tst-leaks2): Likewise.
21164         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21165         ($(objpfx)tst-printf.out): Likewise.
21166         ($(objpfx)tst-setvbuf1.out): Likewise.
21167         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21168         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21169         ($(objpfx)tst-fmtmsg.out): Likewise.
21170         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21171         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21173         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21174         * bits/sigaction.h [__USE_MISC]: Likewise.
21175         * bits/waitstatus.h: Update #endif comments.
21176         * ctype/ctype.h: Likewise.
21177         * dirent/dirent.h: Likewise.
21178         [__USE_MISC]: Remove redundant conditionals.
21179         * grp/grp.h: Update #endif comments.
21180         [__USE_GNU]: Remove redundant conditionals.
21181         [__USE_MISC]: Likewise.
21182         * inet/netinet/in.h [__USE_GNU]: Likewise.
21183         * io/sys/stat.h [__USE_MISC]: Likewise.
21184         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21185         * libio/bits/stdio.h: Update #endif comments.
21186         [__USE_MISC]: Remove redundant conditionals.
21187         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21188         * libio/stdio.h: Update #endif comments.
21189         [__USE_MISC]: Remove redundant conditionals.
21190         * math/bits/math-finite.h [__USE_MISC]: Likewise.
21191         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21192         * math/math.h: Update #else and #endif comments.
21193         [__USE_MISC]: Remove redundant conditionals.
21194         * misc/sys/uio.h: Update #endif comments.
21195         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21196         * posix/glob.h [__USE_MISC]: Likewise.
21197         * posix/sys/types.h: Update #endif comments.
21198         [__USE_MISC]: Remove redundant conditionals.
21199         * posix/sys/wait.h: Update #endif comments.
21200         [__USE_MISC]: Remove redundant conditionals.
21201         * posix/unistd.h: Update #endif comments.
21202         [__USE_MISC]: Remove redundant conditionals.
21203         * pwd/pwd.h [__USE_GNU]: Likewise.
21204         [__USE_MISC]: Likewise.
21205         * resolv/netdb.h [__USE_GNU]: Likewise.
21206         * signal/signal.h: Update #endif comments.
21207         [__USE_MISC]: Remove redundant conditionals.
21208         * stdlib/stdlib.h: Update #else and #endif comments.
21209         [__USE_MISC]: Remove redundant conditionals.
21210         [__USE_GNU]: Likewise.
21211         * string/bits/string2.h [__USE_MISC]: Likewise.
21212         * string/string.h: Update #endif comments.
21213         [__USE_MISC]: Remove redundant conditionals.
21214         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21215         Likewise.
21216         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21217         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21218         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21219         Likewise.
21220         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21221         Likewise.
21222         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21223         comments.
21224         [__USE_MISC]: Remove redundant conditionals.
21225         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21226         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21227         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21228         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21229         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21230         Likewise.
21231         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21232         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21233         Likewise.
21234         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21235         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21236         Likewise.
21237         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21238         Likewise.
21239         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21240         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21241         Likewise.
21242         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21243         Likewise.
21244         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21245         * sysdeps/x86/bits/string.h: Update #endif comments.
21246         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21247         conditionals.
21248         * time/sys/time.h: Update #endif comments.
21249         * time/time.h: Likewise.
21250         [__USE_MISC]: Remove redundant conditionals.
21252 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
21254         [BZ #16600]
21255         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21257 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
21259         * Versions.def (librt): Add GLIBC_2.17.
21261 2014-02-21  Adam Conrad  <adconrad@0c3.net>
21263         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21264         synonym for _SYS_AUXV_H to allow direct inclusion.
21265         * sysdeps/sparc/bits/hwcap.h: Likewise.
21266         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21267         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21268         * sysdeps/sparc/sysdep.h: Likewise.
21270 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21272         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21274 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21276         * benchtests/bench-strrchr.c: Print length instead of position.
21278 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
21280         [BZ #16611]
21281         * sysdeps/unix/sysv/linux/kernel-features.h
21282         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21283         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21284         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21285         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21286         Likewise.
21287         [__i386__ || __powerpc__ || __sh__ || __sparc__]
21288         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21289         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21290         (__ASSUME_SENDMMSG): Define instead of using previous
21291         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21292         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21293         (__ASSUME_SENDMMSG_SYSCALL): Define.
21294         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21295         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21296         Likewise.
21297         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21298         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21299         Likewise.
21300         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21301         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21302         Likewise.
21303         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21304         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21305         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21306         [__ASSUME_SENDMMSG]: Change conditionals to
21307         [__ASSUME_SENDMMSG_SOCKETCALL].
21308         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21309         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21310         Define.
21311         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21312         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21313         Likewise.
21314         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21315         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21316         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21317         [!__ASSUME_SENDMMSG]: Change conditional to
21318         [!__ASSUME_SENDMMSG_SOCKETCALL].
21319         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21320         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21321         Define.
21323         [BZ #16610]
21324         * sysdeps/unix/sysv/linux/kernel-features.h
21325         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21326         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21327         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21328         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21329         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21330         [__i386__ || __sparc__]
21331         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21332         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21333         (__ASSUME_RECVMMSG): Define instead of using previous
21334         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21335         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21336         (__ASSUME_RECVMMSG_SYSCALL): Define.
21337         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21338         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21339         Likewise.
21340         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21341         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21342         Likewise.
21343         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21344         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21345         Likewise.
21346         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__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/microblaze/kernel-features.h
21352         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21353         Define.
21354         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21355         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21356         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21357         Likewise.
21358         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21359         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21360         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21361         [!__ASSUME_RECVMMSG]: Change condition to
21362         [!__ASSUME_RECVMMSG_SOCKETCALL].
21363         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21364         (__ASSUME_RECVMMSG_SYSCALL): Define.
21366         [BZ #16609]
21367         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21368         __powerpc__ || __s390__ || __sh__ || __sparc__]
21369         (__ASSUME_SOCKETCALL): Define.
21370         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21371         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21372         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21373         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21374         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21375         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21376         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21377         (__ASSUME_ACCEPT4): Define instead of using previous
21378         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21379         __powerpc__ || __sparc__ || __s390__)] condition.
21380         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21381         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21382         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21383         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21384         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21385         [!__ASSUME_ACCEPT4]: Change condition to
21386         [!__ASSUME_ACCEPT4_SOCKETCALL].
21387         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21388         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
21389         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21390         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21391         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21392         __ASSUME_ACCEPT4_SYSCALL.
21393         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21394         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21395         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21396         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21397         __ASSUME_ACCEPT4_SYSCALL.
21398         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21399         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21400         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21401         [__ASSUME_ACCEPT4]: Change condition to
21402         [__ASSUME_ACCEPT4_SOCKETCALL].
21403         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21404         (__ASSUME_SOCKETCALL): Define.
21405         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21406         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21407         (__ASSUME_SOCKETCALL): Define.
21408         (__ASSUME_ACCEPT4): Remove.
21409         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21410         Define.
21411         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21412         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21413         Likewise.
21414         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21415         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21417         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21418         macro.
21419         (HWCAP_ARM_LPAE): Likewise.
21420         (HWCAP_ARM_EVTSTRM): Likewise.
21421         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21422         Add vpfd32, lpae and evtstrm.
21423         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21424         Increase to 22.
21426 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
21428         * math/auto-libm-test-in: Add tests of clog10.
21429         * math/auto-libm-test-out: Regenerated.
21430         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21431         * sysdeps/i386/fpu/libm-test-ulps: Update.
21432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21434 2014-02-18  Andreas Schwab  <schwab@suse.de>
21436         [BZ #16574]
21437         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21438         Store non-zero if the second buffer was newly allocated.
21439         (send_dg): Likewise.
21440         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21441         to send_vc and send_dg.
21442         (res_nsend): Pass NULL for ansp2_malloced.
21443         * resolv/res_query.c (__libc_res_nquery): Add parameter
21444         answerp2_malloced and pass it down to __libc_res_nsend.
21445         (res_nquery): Pass additional NULL to __libc_res_nquery.
21446         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21447         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
21448         second answer buffer if answerp2_malloced was set.
21449         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21450         (__libc_res_nquerydomain): Add parameter
21451         answerp2_malloced and pass it down to __libc_res_nquery.
21452         (res_nquerydomain): Pass additional NULL to
21453         __libc_res_nquerydomain.
21454         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21455         additional NULL to __libc_res_nsend and __libc_res_nquery.
21456         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21457         additional NULL to __libc_res_nsearch.
21458         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
21459         parameter of __libc_res_nsearch to check for separately allocated
21460         second buffer.
21461         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21462         __libc_res_nquery.
21463         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21464         additional NULL to __libc_res_nquery.
21465         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21466         __libc_res_nsearch.
21467         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21468         * include/resolv.h: Update prototypes of __libc_res_nquery,
21469         __libc_res_nsearch, __libc_res_nsend.
21471 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
21473         * math/auto-libm-test-in: Add tests of fma.
21474         * math/auto-libm-test-out: Regenerated.
21475         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21476         (fma_towardzero_test_data): Likewise.
21477         (fma_downward_test_data): Likewise.
21478         (fma_upward_test_data): Likewise.
21479         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21480         mpc_mode.
21481         (rounding_modes): Add values for new field.
21482         (func_calc_method): Add value mpfr_fff_f.
21483         (func_calc_desc): Add mpfr_fff_f union field.
21484         (test_function): Add field exact_args.
21485         (FUNC): Add macro argument EXACT_ARGS.
21486         (FUNC_mpfr_f_f): Update call to FUNC.
21487         (FUNC_mpfr_f_f): Likewise.
21488         (FUNC_mpfr_ff_f): Likewise.
21489         (FUNC_mpfr_if_f): Likewise.
21490         (FUNC_mpc_c_f): Likewise.
21491         (FUNC_mpc_c_c): Likewise.
21492         (test_functions): Add fma.  Update calls to FUNC.
21493         (handle_input_arg): Add argument exact_args.
21494         (add_test): Update call to handle_input_arg.
21495         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
21496         (output_for_one_input_case): Update call to calc_generic_results.
21497         Recalculate exact zero results in each rounding mode.
21499         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21500         non-negative before setting low bit.
21501         * math/auto-libm-test-in: Mark one asin test possibly having
21502         spurious underflow.
21503         * math/auto-libm-test-out: Regenerated.
21504         * sysdeps/i386/fpu/libm-test-ulps: Update.
21505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21507 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
21509         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21510         * sysdeps/unix/sysv/linux/microblaze: Move directory from
21511         ports/sysdeps/unix/sysv/linux/microblaze.
21512         * README: Add missing listing for microblaze*-*-linux-gnu.
21514 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
21516         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21517         duplicate code
21519 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
21521         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21522         * sysdeps/unix/sysv/linux/ia64: Move directory from
21523         ports/sysdeps/unix/sysv/linux/ia64.
21524         * README: Update listing for ia64-*-linux-gnu.
21526 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
21527             Joseph Myers  <joseph@codesourcery.com>
21529         * Makeconfig (test-name): New variable.
21530         (evaluate-test): Likewise.
21531         * Makerules (do-test-clean): Remove .test-result files.
21532         (common-mostlyclean): Likewise.
21533         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21534         * scripts/evaluate-test.sh: New file.
21536 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
21538         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21539         separate $(objpfx)tst-fopenloc-cmp.out and
21540         $(objpfx)tst-fopenloc-mem.out targets.
21541         (tests): Update dependencies.
21542         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21543         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21544         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21545         (tst-rxspencer-no-utf8-ARGS): New variable.
21546         (tst-rxspencer-no-utf8-ENV): Likewise.
21547         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21548         instead of $(objpfx)tst-rxspencer-mem.
21549         ($(objpfx)tst-rxspencer-mem): Change target to
21550         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
21551         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21552         * posix/tst-rxspencer-no-utf8.c: New file.
21554         * elf/Makefile ($(objpfx)order.out): Remove rule.
21555         [$(run-built-tests) = yes] (tests): Depend on
21556         $(objpfx)order-cmp.out.
21557         ($(objpfx)order-cmp.out): New rule.
21558         [$(run-built-tests) = yes] (tests): Depend on
21559         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21560         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21561         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21562         $(objpfx)tst-array5-static-cmp.out.
21563         ($(objpfx)tst-array1.out): Remove rule.
21564         ($(objpfx)tst-array1-cmp.out): New rule.
21565         ($(objpfx)tst-array1-static.out): Remove rule.
21566         ($(objpfx)tst-array1-static-cmp.out): New rule.
21567         ($(objpfx)tst-array2.out): Remove rule.
21568         ($(objpfx)tst-array2-cmp.out): New rule.
21569         ($(objpfx)tst-array3.out): Remove rule.
21570         ($(objpfx)tst-array3-cmp.out): New rule.
21571         ($(objpfx)tst-array4.out): Remove rule.
21572         ($(objpfx)tst-array4-cmp.out): New rule.
21573         ($(objpfx)tst-array5.out): Remove rule.
21574         ($(objpfx)tst-array5-cmp.out): New rule.
21575         ($(objpfx)tst-array5-static.out): Remove rule.
21576         ($(objpfx)tst-array5-static-cmp.out): New rule.
21577         [$(run-built-tests) = yes] (tests): Depend on
21578         $(objpfx)order2-cmp.out.
21579         ($(objpfx)order2.out): Remove rule.
21580         ($(objpfx)order2-cmp.out): New rule.
21581         ($(objpfx)tst-initorder.out): Remove rule.
21582         [$(run-built-tests) = yes] (tests): Depend on
21583         $(objpfx)tst-initorder-cmp.out.
21584         ($(objpfx)tst-initorder-cmp.out): New rule.
21585         ($(objpfx)tst-initorder2.out): Remove rule.
21586         [$(run-built-tests) = yes] (tests): Depend on
21587         $(objpfx)tst-initorder2-cmp.out.
21588         ($(objpfx)tst-initorder2-cmp.out): New rule.
21589         [$(run-built-tests) = yes] (tests): Depend on
21590         $(objpfx)tst-unused-dep-cmp.out.
21591         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21592         ($(objpfx)tst-unused-dep-cmp.out): New rule.
21593         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21594         on $(objpfx)tst-setvbuf1-cmp.out.
21595         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21596         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21597         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21598         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21599         ($(objpfx)tst-svc.out): Remove rule.
21600         ($(objpfx)tst-svc-cmp.out): New rule.
21602 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
21604         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21605         * ctype/ctype.h [__USE_MISC]: Likewise.
21606         * dirent/dirent.h [__USE_MISC]: Likewise.
21607         * grp/grp.h [__USE_MISC]: Likewise.
21608         * io/fcntl.h [__USE_MISC]: Likewise.
21609         * io/sys/stat.h [__USE_MISC]: Likewise.
21610         * libio/stdio.h [__USE_MISC]: Likewise.
21611         * posix/unistd.h [__USE_MISC]: Likewise.
21612         * pwd/pwd.h [__USE_MISC]: Likewise.
21613         * stdlib.h [__USE_MISC]: Likewise.
21614         * string/bits/string2.h [__USE_MISC]: Likewise.
21615         * string/string.h [__USE_MISC]: Likewise.
21616         * time/time.h [__USE_MISC]: Likewise.
21618 2014-02-13  Andreas Schwab  <schwab@suse.de>
21620         [BZ #16574]
21621         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21622         second answer buffer if it was separately allocated.
21624 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
21626         * sysdeps/mips/math-tests.h: Include <features.h>.
21627         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21628         (ROUNDING_TESTS_long_double): Do not define.
21629         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21630         (EXCEPTION_TESTS_long_double): Likewise.
21631         * sysdeps/mips/mips64/libm-test-ulps: Update.
21633         * include/features.h (__USE_BSD): Remove macro definitions.
21634         (__USE_SVID): Likewise.
21635         (_BSD_SOURCE): Likewise.
21636         (_SVID_SOURCE): Likewise.
21637         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21638         from definition of _DEFAULT_SOURCE.
21639         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21640         [_DEFAULT_SOURCE].
21641         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21642         * bits/mman.h [__USE_BSD]: Likewise.
21643         * bits/termios.h [__USE_BSD]: Likewise.
21644         * bits/waitstatus.h [__USE_BSD]: Likewise.
21645         * ctype/ctype.h [__USE_SVID]: Likewise.
21646         * dirent/dirent.h [__USE_BSD]: Likewise.
21647         * grp/grp.h [__USE_SVID]: Likewise.
21648         [__USE_BSD]: Likewise.
21649         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21650         * io/fcntl.h [__USE_BSD]: Likewise.
21651         * io/ftw.h [__USE_BSD]: Likewise.
21652         * io/sys/stat.h [__USE_BSD]: Likewise.
21653         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21654         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21655         * libio/stdio.h [__USE_SVID]: Likewise.
21656         [__USE_BSD]: Likewise.
21657         * math/math.h [__USE_SVID]: Likewise.
21658         [__USE_BSD]: Likewise.
21659         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21660         * misc/bits/syslog.h [__USE_BSD]: Likewise.
21661         * misc/search.h [__USE_SVID]: Likewise.
21662         * misc/sys/mman.h [__USE_BSD]: Likewise.
21663         * misc/sys/syslog.h [__USE_BSD]: Likewise.
21664         * misc/sys/uio.h [__USE_BSD]: Likewise.
21665         * posix/bits/unistd.h [__USE_BSD]: Likewise.
21666         * posix/glob.h [__USE_BSD]: Likewise.
21667         * posix/regex.h [__USE_BSD]: Likewise.
21668         * posix/sys/types.h [__USE_BSD]: Likewise.
21669         [__USE_SVID]: Likewise.
21670         * posix/sys/utsname.h [__USE_SVID]: Likewise.
21671         * posix/sys/wait.h [__USE_BSD]: Likewise.
21672         [__USE_SVID]: Likewise.
21673         * posix/unistd.h [__USE_BSD]: Likewise.
21674         [__USE_SVID]: Likewise.
21675         * pwd/pwd.h [__USE_SVID]: Likewise.
21676         * resolv/netdb.h [__USE_BSD]: Likewise.
21677         * setjmp/setjmp.h [__USE_BSD]: Likewise.
21678         * signal/signal.h [__USE_BSD]: Likewise.
21679         [__USE_SVID]: Likewise.
21680         * socket/sys/socket.h [__USE_BSD]: Likewise.
21681         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21682         * stdlib/stdlib.h [__USE_BSD]: Likewise.
21683         [__USE_SVID]: Likewise.
21684         * string/bits/string2.h [__USE_BSD]: Likewise.
21685         [__USE_SVID]: Likewise.
21686         * string/bits/string3.h [__USE_BSD]: Likewise.
21687         * string/endian.h [__USE_BSD]: Likewise.
21688         * string/string.h [__USE_SVID]: Likewise.
21689         [__USE_BSD]: Likewise.
21690         * string/strings.h [__USE_BSD]: Likewise.
21691         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21692         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21693         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21694         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21695         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21696         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21697         Likewise.
21698         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21699         Likewise.
21700         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21701         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21702         Likewise.
21703         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21704         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21705         Likewise.
21706         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21707         Likewise.
21708         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21709         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21710         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21711         Likewise.
21712         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21713         Likewise.
21714         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21715         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21716         * termios/termios.h [__USE_BSD]: Likewise.
21717         * time/sys/time.h [__USE_BSD]: Likewise.
21718         * time/time.h [__USE_BSD]: Likewise.
21719         [__USE_SVID]: Likewise.
21721         * Makefile (subdir_targets): Remove subdir_lint.out.
21723         * stdio-common/Makefile (do-tst-unbputc): Remove target.
21724         (do-tst-printf): Likewise.
21725         (tests): Depend directly on $(objpfx)tst-unbputc.out and
21726         $(objpfx)tst-printf.out.
21728         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21730         * Makerules (check-abi-%): Change target to
21731         $(objpfx)check-abi-%.out.
21732         (check-abi target): Update dependencies.
21733         (check-abi-pattern variable): Redirect output of diff to $@.
21734         (check-abi variable): Likewise.
21735         * elf/Makefile (check-abi): Update dependencies.
21737         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21738         unused.
21739         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21740         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21741         subnormal range.
21742         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21743         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21744         value has largest subnormal exponent.
21745         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21746         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21747         * sysdeps/aarch64/soft-fp/sfp-machine.h
21748         (_FP_TININESS_AFTER_ROUNDING): New macro.
21749         * sysdeps/alpha/soft-fp/sfp-machine.h
21750         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21751         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21752         Likewise.
21753         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21754         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21755         * sysdeps/mips/soft-fp/sfp-machine.h
21756         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21757         * sysdeps/powerpc/soft-fp/sfp-machine.h
21758         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21759         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21760         Likewise.
21761         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21762         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21763         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21764         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21765         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21766         Likewise.
21768 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
21770         [BZ #16545]
21771         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21772         model 1.
21774 2014-02-12  Richard Henderson  <rth@redhat.com>
21776         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21777         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21778         * sysdeps/unix/sysv/linux/alpha: Move directory from
21779         ports/sysdeps/unix/sysv/linux/alpha.
21780         * README: Update listing for alpha-*-linux-gnu.
21782 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
21784         * include/features.h: Update comment documenting feature test
21785         macros.
21786         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
21787         _DEFAULT_SOURCE.
21788         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21789         (_SVID_SOURCE): Likewise.
21790         (_DEFAULT_SOURCE): Update description of default features.
21791         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21792         with _GNU_SOURCE.
21793         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21794         (S_ISVTX): Likewise.
21795         * manual/math.texi (Mathematical Constants): Likewise.
21796         * manual/signal.texi (Interrupted Primitives): Likewise.
21797         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21798         * math/test-matherr.c (_SVID_SOURCE): Do not define.
21799         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21800         Don't refer to _SVID_SOURCE in warning text.
21802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21804         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21805         already defined.
21806         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21807         * sysdeps/mips/dl-lookup.c: Remove.
21808         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21810 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21812         [BZ #16447]
21813         * math/auto-libm-test-in: Add testcase for expl.
21814         * math/auto-libm-test-out: Regenerate.
21815         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21816         calculation of unsafe.
21817         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21819 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21821         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21822         * sysdeps/unix/sysv/linux/aarch64: Move directory from
21823         ports/sysdeps/unix/sysv/linux/aarch64.
21824         * README: Update listing for aarch64*-*-linux-gnu.
21826 2014-02-11  Will Newton  <will.newton@linaro.org>
21828         * manual/probes.texi (Mathematical Function Probes): Use
21829         "triggered" instead of "hit".
21831         * manual/probes.texi (Internal Probes): Add documentation
21832         of setjmp, longjmp and longjmp_target probes.
21834         * include/stap-probe.h: Add comment about probe argument
21835         format.
21837         * malloc/mtrace.c (attribute_hidden): Remove unused macro
21838         definition.  (tr_where, tr_freehook, tr_mallochook,
21839         tr_reallochook, tr_memalignhook): Use ANSI protoype.
21841 2014-02-11  David S. Miller  <davem@davemloft.net>
21843         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21844         processing int_tests.
21846 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
21848         * sysdeps/mips: Move directory from ports/sysdeps/mips.
21849         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21850         * sysdeps/unix/sysv/linux/mips: Move directory from
21851         ports/sysdeps/unix/sysv/linux/mips.
21852         * README: Update listing for mips-*-linux-gnu and
21853         mips64-*-linux-gnu.
21855 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
21857         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21858         * sysdeps/unix/sysv/linux/m68k: Move directory from
21859         ports/sysdeps/unix/sysv/linux/m68k.
21860         * README: Update listing for m68k-*-linux-gnu.
21862 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
21864         * sysdeps/tile: Move directory from ports/sysdeps/tile.
21865         * sysdeps/unix/sysv/linux/generic: Move directory from
21866         ports/sysdeps/unix/sysv/linux/generic.
21867         * sysdeps/unix/sysv/linux/tile: Move directory from
21868         ports/sysdeps/unix/sysv/linux/tile.
21869         * README: Update listing for tile*-*-linux-gnu.
21871 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
21873         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21874         __builtin_expect.
21875         * benchtests/bench-memmem.c (simple_memmem): Likewise.
21876         * catgets/open_catalog.c (__open_catalog): Likewise.
21877         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21878         * debug/confstr_chk.c: Likewise.
21879         * debug/fread_chk.c (__fread_chk): Likewise.
21880         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21881         * debug/getgroups_chk.c: Likewise.
21882         * debug/mbsnrtowcs_chk.c: Likewise.
21883         * debug/mbsrtowcs_chk.c: Likewise.
21884         * debug/mbstowcs_chk.c: Likewise.
21885         * debug/memcpy_chk.c: Likewise.
21886         * debug/memmove_chk.c: Likewise.
21887         * debug/mempcpy_chk.c: Likewise.
21888         * debug/memset_chk.c: Likewise.
21889         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21890         * debug/strcat_chk.c (__strcat_chk): Likewise.
21891         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21892         * debug/strncat_chk.c (__strncat_chk): Likewise.
21893         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21894         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21895         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21896         * debug/wcpncpy_chk.c: Likewise.
21897         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21898         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21899         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21900         * debug/wcsncpy_chk.c: Likewise.
21901         * debug/wcsnrtombs_chk.c: Likewise.
21902         * debug/wcsrtombs_chk.c: Likewise.
21903         * debug/wcstombs_chk.c: Likewise.
21904         * debug/wmemcpy_chk.c: Likewise.
21905         * debug/wmemmove_chk.c: Likewise.
21906         * debug/wmempcpy_chk.c: Likewise.
21907         * debug/wmemset_chk.c: Likewise.
21908         * dirent/scandirat.c (SCANDIRAT): Likewise.
21909         * dlfcn/dladdr1.c (dladdr1): Likewise.
21910         * dlfcn/dladdr.c (dladdr): Likewise.
21911         * dlfcn/dlclose.c (dlclose_doit): Likewise.
21912         * dlfcn/dlerror.c (__dlerror): Likewise.
21913         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21914         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21915         * dlfcn/dlopen.c (dlopen_doit): Likewise.
21916         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21917         * dlfcn/dlsym.c (dlsym_doit): Likewise.
21918         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21919         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21920         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21921         Likewise.
21922         * elf/dl-conflict.c: Likewise.
21923         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21924         * elf/dl-dst.h: Likewise.
21925         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21926         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21927         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21928         * elf/dl-init.c (call_init, _dl_init): Likewise.
21929         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21930         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21931         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21932         Likewise.
21933         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21934         Likewise.
21935         * elf/dl-minimal.c (__libc_memalign): Likewise.
21936         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21937         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21938         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21939         * elf/dl-sym.c (do_sym): Likewise.
21940         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21941         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21942         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21943         * elf/dl-writev.h (_dl_writev): Likewise.
21944         * elf/ldconfig.c (search_dir): Likewise.
21945         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21946         (dl_main): Likewise.
21947         * elf/setup-vdso.h (setup_vdso): Likewise.
21948         * grp/compat-initgroups.c (compat_call): Likewise.
21949         * grp/fgetgrent.c (fgetgrent): Likewise.
21950         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21951         * grp/putgrent.c (putgrent): Likewise.
21952         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21953         Likewise.
21954         * hurd/hurdinit.c: Likewise.
21955         * iconvdata/8bit-gap.c (struct): Likewise.
21956         * iconvdata/ansi_x3.110.c : Likewise.
21957         * iconvdata/big5.c : Likewise.
21958         * iconvdata/big5hkscs.c : Likewise.
21959         * iconvdata/cp1255.c: Likewise.
21960         * iconvdata/cp1258.c : Likewise.
21961         * iconvdata/cp932.c : Likewise.
21962         * iconvdata/euc-cn.c: Likewise.
21963         * iconvdata/euc-jisx0213.c : Likewise.
21964         * iconvdata/euc-jp.c: Likewise.
21965         * iconvdata/euc-jp-ms.c : Likewise.
21966         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21967         * iconvdata/gb18030.c : Likewise.
21968         * iconvdata/gbbig5.c (const): Likewise.
21969         * iconvdata/gbgbk.c: Likewise.
21970         * iconvdata/gbk.c : Likewise.
21971         * iconvdata/ibm1364.c : Likewise.
21972         * iconvdata/ibm930.c : Likewise.
21973         * iconvdata/ibm932.c: Likewise.
21974         * iconvdata/ibm933.c : Likewise.
21975         * iconvdata/ibm935.c : Likewise.
21976         * iconvdata/ibm937.c : Likewise.
21977         * iconvdata/ibm939.c : Likewise.
21978         * iconvdata/ibm943.c: Likewise.
21979         * iconvdata/iso_11548-1.c: Likewise.
21980         * iconvdata/iso-2022-cn.c : Likewise.
21981         * iconvdata/iso-2022-cn-ext.c : Likewise.
21982         * iconvdata/iso-2022-jp-3.c: Likewise.
21983         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21984         * iconvdata/iso-2022-kr.c : Likewise.
21985         * iconvdata/iso646.c (gconv_end): Likewise.
21986         * iconvdata/iso_6937-2.c : Likewise.
21987         * iconvdata/iso_6937.c : Likewise.
21988         * iconvdata/iso8859-1.c: Likewise.
21989         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21990         * iconvdata/shift_jisx0213.c : Likewise.
21991         * iconvdata/sjis.c : Likewise.
21992         * iconvdata/t.61.c : Likewise.
21993         * iconvdata/tcvn5712-1.c : Likewise.
21994         * iconvdata/tscii.c: Likewise.
21995         * iconvdata/uhc.c : Likewise.
21996         * iconvdata/unicode.c (gconv_end): Likewise.
21997         * iconvdata/utf-16.c (gconv_end): Likewise.
21998         * iconvdata/utf-32.c (gconv_end): Likewise.
21999         * iconvdata/utf-7.c (base64): Likewise.
22000         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22001         * iconv/gconv_close.c (__gconv_close): Likewise.
22002         * iconv/gconv_open.c (__gconv_open): Likewise.
22003         * iconv/gconv_simple.c (internal_ucs4_loop_single)
22004         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22005         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22006         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22007         (ucs4le_internal_loop_single): Likewise.
22008         * iconv/iconv.c (iconv): Likewise.
22009         * iconv/iconv_close.c: Likewise.
22010         * iconv/loop.c (SINGLE): Likewise.
22011         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22012         * include/atomic.h: Likewise.
22013         * inet/inet6_option.c (option_alloc): Likewise.
22014         * intl/bindtextdom.c (set_binding_values): Likewise.
22015         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22016         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22017         * intl/localealias.c (read_alias_file): Likewise.
22018         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22019         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22020         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22021         * libio/fmemopen.c (fmemopen): Likewise.
22022         * libio/iofgets.c (_IO_fgets): Likewise.
22023         * libio/iofgets_u.c (fgets_unlocked): Likewise.
22024         * libio/iofgetws.c (fgetws): Likewise.
22025         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22026         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22027         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22028         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22029         * locale/findlocale.c (_nl_find_locale): Likewise.
22030         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22031         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22032         Likewise.
22033         * locale/setlocale.c (setlocale): Likewise.
22034         * login/programs/pt_chown.c (main): Likewise.
22035         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22036         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22037         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22038         (mmap, mmap64, mremap, munmap): Likewise.
22039         * math/e_exp2l.c: Likewise.
22040         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22041         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22042         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22043         * math/s_catan.c (__catan): Likewise.
22044         * math/s_catanf.c (__catanf): Likewise.
22045         * math/s_catanh.c (__catanh): Likewise.
22046         * math/s_catanhf.c (__catanhf): Likewise.
22047         * math/s_catanhl.c (__catanhl): Likewise.
22048         * math/s_catanl.c (__catanl): Likewise.
22049         * math/s_ccosh.c (__ccosh): Likewise.
22050         * math/s_ccoshf.c (__ccoshf): Likewise.
22051         * math/s_ccoshl.c (__ccoshl): Likewise.
22052         * math/s_cexp.c (__cexp): Likewise.
22053         * math/s_cexpf.c (__cexpf): Likewise.
22054         * math/s_cexpl.c (__cexpl): Likewise.
22055         * math/s_clog10.c (__clog10): Likewise.
22056         * math/s_clog10f.c (__clog10f): Likewise.
22057         * math/s_clog10l.c (__clog10l): Likewise.
22058         * math/s_clog.c (__clog): Likewise.
22059         * math/s_clogf.c (__clogf): Likewise.
22060         * math/s_clogl.c (__clogl): Likewise.
22061         * math/s_csin.c (__csin): Likewise.
22062         * math/s_csinf.c (__csinf): Likewise.
22063         * math/s_csinh.c (__csinh): Likewise.
22064         * math/s_csinhf.c (__csinhf): Likewise.
22065         * math/s_csinhl.c (__csinhl): Likewise.
22066         * math/s_csinl.c (__csinl): Likewise.
22067         * math/s_csqrt.c (__csqrt): Likewise.
22068         * math/s_csqrtf.c (__csqrtf): Likewise.
22069         * math/s_csqrtl.c (__csqrtl): Likewise.
22070         * math/s_ctan.c (__ctan): Likewise.
22071         * math/s_ctanf.c (__ctanf): Likewise.
22072         * math/s_ctanh.c (__ctanh): Likewise.
22073         * math/s_ctanhf.c (__ctanhf): Likewise.
22074         * math/s_ctanhl.c (__ctanhl): Likewise.
22075         * math/s_ctanl.c (__ctanl): Likewise.
22076         * math/w_pow.c: Likewise.
22077         * math/w_powf.c: Likewise.
22078         * math/w_powl.c: Likewise.
22079         * math/w_scalb.c (sysv_scalb): Likewise.
22080         * math/w_scalbf.c (sysv_scalbf): Likewise.
22081         * math/w_scalbl.c (sysv_scalbl): Likewise.
22082         * misc/error.c (error_tail): Likewise.
22083         * misc/pselect.c (__pselect): Likewise.
22084         * nis/nis_callback.c (__nis_create_callback): Likewise.
22085         * nis/nis_call.c (__nisfind_server): Likewise.
22086         * nis/nis_creategroup.c (nis_creategroup): Likewise.
22087         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22088         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22089         * nis/nis_getservlist.c (nis_getservlist): Likewise.
22090         * nis/nis_lookup.c (nis_lookup): Likewise.
22091         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22092         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22093         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22094         * nis/nis_xdr.c (xdr_endpoint): Likewise.
22095         * nis/nss_compat/compat-grp.c (getgrent_next_file)
22096         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22097         * nis/nss_compat/compat-initgroups.c (add_group)
22098         (internal_getgrent_r): Likewise.
22099         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22100         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22101         * nis/nss_compat/compat-spwd.c (getspent_next_file)
22102         (internal_getspnam_r): Likewise.
22103         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22104         (_nss_nis_getaliasbyname_r): Likewise.
22105         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22106         (_nss_nis_getntohost_r): Likewise.
22107         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22108         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22109         (_nss_nis_getgrgid_r): Likewise.
22110         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22111         (internal_nis_gethostent_r, internal_gethostbyname2_r)
22112         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22113         (_nss_nis_gethostbyname4_r): Likewise.
22114         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22115         (initgroups_netid): Likewise.
22116         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22117         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22118         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22119         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22120         (_nss_nis_getprotobynumber_r): Likewise.
22121         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22122         (_nss_nis_getsecretkey): Likewise.
22123         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22124         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22125         (_nss_nis_getpwuid_r): Likewise.
22126         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22127         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22128         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22129         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22130         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22131         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22132         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22133         Likewise.
22134         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22135         (_nss_nisplus_getntohost_r): Likewise.
22136         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22137         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22138         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22139         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22140         Likewise.
22141         * nis/nss_nisplus/nisplus-initgroups.c
22142         (_nss_nisplus_initgroups_dyn): Likewise.
22143         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22144         (_nss_nisplus_getnetbyaddr_r): Likewise.
22145         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22146         (_nss_nisplus_getprotobynumber_r): Likewise.
22147         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22148         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22149         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22150         Likewise.
22151         * nis/nss_nisplus/nisplus-service.c
22152         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22153         (_nss_nisplus_getservbyport_r): Likewise.
22154         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22155         (_nss_nisplus_getspnam_r): Likewise.
22156         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22157         Likewise.
22158         * nscd/aicache.c (addhstaiX): Likewise.
22159         * nscd/cache.c (cache_search, prune_cache): Likewise.
22160         * nscd/connections.c (register_traced_file, send_ro_fd)
22161         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22162         (main_loop_epoll): Likewise.
22163         * nscd/grpcache.c (addgrbyX): Likewise.
22164         * nscd/hstcache.c (addhstbyX): Likewise.
22165         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22166         * nscd/mem.c (gc, mempool_alloc): Likewise.
22167         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22168         (addinnetgrX): Likewise.
22169         * nscd/nscd-client.h (__nscd_acquire_maplock)
22170         (__nscd_drop_map_ref): Likewise.
22171         * nscd/nscd_getai.c (__nscd_getai): Likewise.
22172         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22173         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22174         Likewise.
22175         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22176         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22177         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22178         (__nscd_get_map_ref): Likewise.
22179         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22180         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22181         Likewise.
22182         * nscd/pwdcache.c (addpwbyX): Likewise.
22183         * nscd/selinux.c (preserve_capabilities): Likewise.
22184         * nscd/servicescache.c (addservbyX): Likewise.
22185         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22186         * posix/fnmatch.c (fnmatch): Likewise.
22187         * posix/getopt.c (_getopt_internal_r): Likewise.
22188         * posix/glob.c (glob, glob_in_dir): Likewise.
22189         * posix/wordexp.c (exec_comm_child): Likewise.
22190         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22191         (getanswer_r, gaih_getanswer_slice): Likewise.
22192         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22193         * resolv/res_init.c: Likewise.
22194         * resolv/res_mkquery.c (res_nmkquery): Likewise.
22195         * resolv/res_query.c (__libc_res_nquery): Likewise.
22196         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22197         Likewise.
22198         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22199         * stdio-common/perror.c (perror): Likewise.
22200         * stdio-common/printf_fp.c (___printf_fp): Likewise.
22201         * stdio-common/tmpnam.c (tmpnam): Likewise.
22202         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22203         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22204         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22205         Likewise.
22206         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22207         * stdlib/putenv.c (putenv): Likewise.
22208         * stdlib/setenv.c (__add_to_environ): Likewise.
22209         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22210         * stdlib/strtol_l.c (INTERNAL): Likewise.
22211         * string/memmem.c (memmem): Likewise.
22212         * string/strerror.c (strerror): Likewise.
22213         * string/strnlen.c (__strnlen): Likewise.
22214         * string/test-memmem.c (simple_memmem): Likewise.
22215         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22216         * sunrpc/pm_getport.c (__get_socket): Likewise.
22217         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22218         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22219         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22220         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22221         Likewise.
22222         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22223         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22224         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22225         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22226         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22227         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22228         Likewise.
22229         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22230         Likewise.
22231         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22232         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22233         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22234         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22235         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22237         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22238         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22239         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22240         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22241         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22242         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22243         Likewise.
22244         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22245         Likewise.
22246         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22247         Likewise.
22248         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22249         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22250         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22251         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22252         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22253         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22254         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22255         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22256         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22257         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22258         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22259         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22260         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22261         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22262         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22263         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22264         Likewise.
22265         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22266         Likewise.
22267         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22268         Likewise.
22269         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22270         Likewise.
22271         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22272         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22273         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22274         Likewise.
22275         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22276         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22277         * sysdeps/posix/opendir.c (__opendirat): Likewise.
22278         * sysdeps/posix/sleep.c: Likewise.
22279         * sysdeps/posix/tempname.c: Likewise.
22280         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22281         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22282         Likewise.
22283         * sysdeps/powerpc/powerpc32/dl-machine.h
22284         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22285         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22286         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22287         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22288         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22289         Likewise.
22290         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22291         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22292         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22293         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22294         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22295         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22296         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22297         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22298         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22299         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22300         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22301         (elf_machine_lazy_rel): Likewise.
22302         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22303         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22304         (elf_machine_lazy_rel): Likewise.
22305         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22306         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22307         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22308         * sysdeps/unix/grantpt.c (grantpt): Likewise.
22309         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22310         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22311         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22312         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22313         Likewise.
22314         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22315         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22316         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22317         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22318         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22319         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22320         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22321         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22322         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22323         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22324         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22325         Likewise.
22326         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22327         (__posix_fallocate64_l64): Likewise.
22328         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22329         (posix_fallocate): Likewise.
22330         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22331         Likewise.
22332         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22333         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22334         (getifaddrs_internal): Likewise.
22335         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22336         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22337         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22338         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22339         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22340         (__posix_fallocate64_l64): Likewise.
22341         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22342         Likewise.
22343         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22344         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22345         (__get_clockfreq): Likewise.
22346         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22347         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22348         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22349         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22350         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22351         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22352         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22353         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22354         Likewise.
22355         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22356         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22357         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22358         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22359         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22360         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22361         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22362         Likewise.
22363         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22364         (posix_fallocate): Likewise.
22365         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22366         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22367         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22368         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22369         (elf_machine_rela, elf_machine_rela_relative)
22370         (elf_machine_lazy_rel): Likewise.
22371         * time/asctime.c (asctime_internal): Likewise.
22372         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22373         * time/tzset.c (__tzset_parse_tz): Likewise.
22374         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22375         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22376         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22377         * wcsmbs/wcsmbsload.h: Likewise.
22379         [BZ #15894]
22380         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22382         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22383         (arena_get2): Remove THREAD_STATS conditionals.
22384         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22385         (__malloc_stats, int): Likewise.
22387 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
22389         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22390         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
22392         * manual/setjmp.texi: Fix typos/grammar errors.
22394         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22395         Only return early when n is <= 0.  Delete unused return statement.
22397         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22398         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22399         * debug/tst-longjmp_chk3.c: New file.
22401         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22402         (test_main): Replace code with set_fortify_handler call.
22403         * debug/test-strcpy_chk.c: Likewise.
22404         * debug/tst-chk1.c: Likewise.
22405         * debug/tst-longjmp_chk.c: Likewise.
22406         * test-skeleton.c: Include fcntl.h & paths.h
22407         (set_fortify_handler): Define.
22409         * debug/tst-longjmp_chk.c: Add header comment and include
22410         ../test-skeleton.c.
22411         (do_test): Mark static.
22412         (TEST_FUNCTION): Define.
22414         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22415         (IP_PMTUDISC_INTERFACE): Likewise.
22416         (IP_MULTICAST_IF): Likewise.
22417         (IP_MULTICAST_TTL): Likewise.
22418         (IP_MULTICAST_LOOP): Likewise.
22419         (IP_ADD_MEMBERSHIP): Likewise.
22420         (IP_DROP_MEMBERSHIP): Likewise.
22421         (IP_UNBLOCK_SOURCE): Likewise.
22422         (IP_BLOCK_SOURCE): Likewise.
22423         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22424         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22425         (IP_MSFILTER): Likewise.
22426         (MCAST_JOIN_GROUP): Likewise.
22427         (MCAST_BLOCK_SOURCE): Likewise.
22428         (MCAST_UNBLOCK_SOURCE): Likewise.
22429         (MCAST_LEAVE_GROUP): Likewise.
22430         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22431         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22432         (MCAST_MSFILTER): Likewise.
22433         (IP_MULTICAST_ALL): Likewise.
22434         (IP_UNICAST_IF): Likewise.
22436         * timezone/Makefile: Delete $(have-ksh) check.
22437         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22438         * timezone/tzselect.ksh: Add +x mode bits.
22440         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22441         (ANON_INODE_FS_MAGIC): Likewise.
22442         (BDEVFS_MAGIC): Likewise.
22443         (BINFMTFS_MAGIC): Likewise.
22444         (BTRFS_TEST_MAGIC): Likewise.
22445         (CRAMFS_MAGIC_WEND): Likewise.
22446         (DEBUGFS_MAGIC): Likewise.
22447         (ECRYPTFS_SUPER_MAGIC): Likewise.
22448         (EXT3_SUPER_MAGIC): Likewise.
22449         (EXT4_SUPER_MAGIC): Likewise.
22450         (FUTEXFS_SUPER_MAGIC): Likewise.
22451         (HOSTFS_SUPER_MAGIC): Likewise.
22452         (HUGETLBFS_MAGIC): Likewise.
22453         (MINIX3_SUPER_MAGIC): Likewise.
22454         (MTD_INODE_FS_MAGIC): Likewise.
22455         (NILFS_SUPER_MAGIC): Likewise.
22456         (OPENPROM_SUPER_MAGIC): Likewise.
22457         (PIPEFS_MAGIC): Likewise.
22458         (PSTOREFS_MAGIC): Likewise.
22459         (QNX6_SUPER_MAGIC): Likewise.
22460         (RAMFS_MAGIC): Likewise.
22461         (REISERFS_SUPER_MAGIC_STRING): Likewise.
22462         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22463         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22464         (SECURITYFS_MAGIC): Likewise.
22465         (SELINUX_MAGIC): Likewise.
22466         (SMACK_MAGIC): Likewise.
22467         (SOCKFS_MAGIC): Likewise.
22468         (SQUASHFS_MAGIC): Likewise.
22469         (STACK_END_MAGIC): Likewise.
22470         (TMPFS_MAGIC): Likewise.
22471         (USBDEVICE_SUPER_MAGIC): Likewise.
22472         (V9FS_MAGIC): Likewise.
22473         (XENFS_SUPER_MAGIC): Likewise.
22474         (CRAMFS_MAGIC): Fix typo in comment.
22475         (EXT2_SUPER_MAGIC): Update comment.
22476         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22478 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
22480         * sysdeps/arm: Move directory from ports/sysdeps/arm.
22481         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22482         * sysdeps/unix/sysv/linux/arm: Move directory from
22483         ports/sysdeps/unix/sysv/linux/arm.
22484         * README: Update listing for arm-*-linux-gnueabi.
22486         * README: Remove mention of am33.
22488 2014-02-07  Roland McGrath  <roland@hack.frob.com>
22490         * bits/sigset.h (__sigemptyset): Use a statement expression rather
22491         than the comma operator, to avoid "rhs of comma has no effect"
22492         compiler warnings.
22493         (__sigfillset, __sigandset, __sigorset): Likewise.
22494         * include/signal.h (__sigemptyset): Likewise.
22495         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22497 2014-02-07  Allan McRae  <allan@archlinux.org>
22499         * version.h (RELEASE): Set to "development".
22500         (VERSION): Set to "2.19.90"
22501         * NEWS: Add 2.20 section.
22503 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
22505         [BZ #16529]
22506         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22508 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22510         * manual/contrib.texi: Update entry for Carlos O'Donell,
22511         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22513 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
22515         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22517         * sysdeps/unix/sysv/linux/kernel-features.h
22518         [__LINUX_KERNEL_VERSION >= 0x020621]
22519         (__ASSUME_PROC_PID_TASK_COMM): Define.
22521 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22523         [BZ #16398]
22524         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22525         conversion when destination buffer does not have enough space.
22526         * libio/tst-ftell-partial-wide.c: New test case.
22527         * libio/Makefile (tests): Add tst-ftell-partial-wide.
22529         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22530         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
22531         Leonard and Allan McRae.
22533 2014-02-04  David S. Miller  <davem@davemloft.net>
22535         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22536         32-bit.
22538 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22541         New file
22542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22543         New file
22544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22545         New file.
22546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22547         New file.
22548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22549         New file.
22550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22551         New file.
22552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22553         New file.
22554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22555         New file.
22556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22557         New file.
22558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22559         New file.
22560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22561         New file.
22562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22563         New file.
22564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22565         New file.
22567 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22569         * nptl/shlib-versions: Change powerpc*le start to 2.17.
22570         * shlib-versions: Likewise.
22572 2014-02-04  Roland McGrath  <roland@hack.frob.com>
22573             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22575         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22576         (abilist-pattern): New variable, set to %-le.abilist.
22578         * Makerules (abilist-pattern): New variable.
22579         (vpath): Use $(abilist-pattern) in place of %.abilist.
22580         (check-abi-% pattern rule): Likewise.
22581         (check-abi, update-abi): Likewise.
22583 2014-02-04  Eric Wong  <normalperson@yhbt.net>
22585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22587 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
22589         * manual/startup.texi: Add next, previous, and top entries for
22590         the `Program Arguments' and `Environment Variables' nodes.
22592 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
22594         * manual/macros.texi: Add comments before MTASC-safety macros.
22596         * manual/users.texi: Document MTASC-safety properties.
22598         * manual/threads.texi (pthread_key_create, pthread_key_delete)
22599         (pthread_getspecific, pthread_setspecific): Format with
22600         @deftypefun, and add @safety note.
22601         * manual/signal.texi: Move comments that analyze the above
22602         functions to their home place.
22604 2014-02-03  Allan McRae  <allan@archlinux.org>
22606         * po/sl.po: Update Slovenian translation from translation project.
22608 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
22610         * manual/time.texi (timegm): Add missing blank after @c.
22611         Reported by Joseph Myers <joseph@codesourcery.com>.
22613 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
22615         * manual/check-safety.sh: New.
22616         * manual/Makefile ($(objpfx)stamp-summary): Run it.
22618         * manual/terminal.texi: Document MTASC-safety properties.
22620         * manual/filesys.texi: Document MTASC-safety properties.
22622         * manual/errno.texi: Document MTASC-safety properties.
22624         * manual/intro.texi: Document safety identifiers and
22625         conditionals.
22627         * manual/string.texi (wcstok): Fix prototype.
22628         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22630         * manual/time.texi: Document MTASC-safety properties.
22632         * manual/string.texi: Document MTASC-safety properties.
22634         * manual/threads.texi: Document MTASC-safety properties.
22636         * manual/stdio.texi: Document MTASC-safety properties.
22638         * manual/syslog.texi: Document MTASC-safety properties.
22640         * manual/sysinfo.texi: Document MTASC-safety properties.
22642         * manual/startup.texi: Document MTASC-safety properties.
22644         * manual/socket.texi: Document MTASC-safety properties.
22646         * manual/signal.texi: Document MTASC-safety properties.
22648 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
22650         * manual/setjmp.texi: Document MTASC-safety properties.
22652         * manual/search.texi: Document MTASC-safety properties.
22654         * manual/resource.texi: Document MTASC-safety properties.
22656         * manual/process.texi: Document MTASC-safety properties.
22658         * manual/platform.texi: Document MTASC-safety properties.
22660         * manual/pipe.texi: Document MTASC-safety properties.
22662         * manual/pattern.texi: Document MTASC-safety properties.
22664         * manual/message.texi: Document MTASC-safety properties.
22666         [BZ #12751]
22667         * manual/memory.texi: Document MTASC-safety properties.
22669         * manual/math.texi: Document MTASC-safety properties.
22671         * manual/locale.texi: Document MTASC-safety properties.
22673         * manual/llio.texi: Document MTASC-safety properties.
22675         * manual/libdl.texi: New.
22677         * manual/lang.texi: Document MTASC-safety properties.
22679         * manual/job.texi: Document MTASC-safety properties.
22681         * manual/getopt.texi: Document MTASC-safety properties.
22683         * manual/ctype.texi: Document MTASC-safety properties.
22685 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
22687         [BZ #16046]
22688         * csu/libc-tls.c (static_map): Remove variable.
22689         (__libc_setup_tls): Use main executable's link map for TLS data.
22690         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22691         casing for LM_ID_BASE and GL(dl_nns).
22692         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22693         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
22694         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22695         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22696         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22697         member.
22698         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22699         l_phnum members.
22701 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
22703         * manual/debug.texi: Document MTASC-safety properties.
22705 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
22707         [BZ #16510]
22708         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22709         of __x86_64__ when disabling x87 inline functions.
22711 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
22713         * manual/charset.texi: Document MTASC-safety properties.
22715         * manual/crypt.texi: Document MTASC-safety properties.
22717         * manual/conf.texi: Document MTASC-safety properties.
22719         * manual/arith.texi: Document MTASC-safety properties.
22721         * manual/argp.texi: Document MTASC-safety properties.
22723         * manual/macros.texi: Introduce macros to document multi
22724         thread, asynchronous signal and asynchronous cancellation
22725         safety properties.
22726         * manual/intro.texi: Introduce the properties themselves.
22728 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22730         * sysdeps/sh/sh4/Makefile: New file.
22732 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
22734         * math/gen-libm-test.pl ($srcdir): New variable.
22735         ($auto_input): Use it.
22737 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22739         [BZ #16506]
22740         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22741         access beyond array bounds when parsing netgroups file.
22743         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22744         the old buffer before realloc.
22746 2014-01-27  Allan McRae  <allan@archlinux.org>
22748         * po/fr.po: Update French translation from translation project.
22750 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22752         * sysdeps/sh/libm-test-ulps: Regenerate.
22754 2014-01-24  David S. Miller  <davem@davemloft.net>
22756         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22758 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22760         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22761         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22763 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22765         [BZ #16474]
22766         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22767         string pointers after reallocation.
22769 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22771         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22772         __SH4A__ instead of __SH_FPU_ANY__.
22774 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22776         * sysdeps/sh/fpu_control.h: New file.
22777         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22778         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22779         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22780         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22781         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22782         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22783         * sysdeps/sh/sys/ucontext.h: Remove.
22784         * sysdeps/sh/sys: Remove directory.
22786 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22788         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22789         s390/sys/ucontext.h.
22790         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22791         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22793 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
22795         [BZ #15605]
22796         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22798 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22800         [BZ#16431]
22801         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22802         Adjust the vDSO correctly for internal calls.
22803         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22805 2014-01-20  Allan McRae  <allan@archlinux.org>
22807         * po/ca.po: Update Catalan translation from translation project.
22809 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
22811         * sysdeps/s390/sotruss-lib.c: New file.
22813 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22815         [BZ#16430]
22816         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22817         (__GI___gettimeofday): Alias for a different internal symbol to avoid
22818         local calls issues by not having a PLT stub required for IFUNC calls.
22819         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22821 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
22823         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22824         * math/test-fpucw-static.c: Likewise.
22826 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22828         [BZ #16453]
22829         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22831 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22833         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22834         implementation for powerpc.
22836 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
22838         [BZ #14782]
22839         * sysdeps/posix/system.c (__libc_system): Do not enable
22840         asynchronous cancellation.
22842 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22844         [BZ #16427]
22845         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22846         handling only for numbers special also in the IEEE case.
22848 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22850         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22852 2014-01-11  Allan McRae  <allan@archlinux.org>
22854         * po/bg.po: Update Bulgarian translation from translation project.
22856         * po/de.po: Update German translation from translation project.
22858 2014-01-10  Roland McGrath  <roland@hack.frob.com>
22860         * sysdeps/generic/gcc-compat.h: New file.
22862 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22864         * benchtests/asin-inputs: Correct slow inputs.
22865         * benchtests/acos-inputs: Likewise.
22867 2014-01-10  Allan McRae  <allan@archlinux.org>
22869         * po:sv.po: Update Swedish translation from translation project.
22871         * po/vi.po: Update Vietnamese translation from translation project.
22873         * po/eo.po: Update Esperanto translation from translation project.
22875         * po/cs.po: Update Czech translation from translation project.
22877         * po/nl.po: Update Dutch translation from translation project.
22879         * po/pl.po: Update Polish translation from translation project.
22881         * po/ru.po: Update Russian translation from translation project.
22883         * po/uk.po: Update Ukrainian translation from translation project.
22885 2014-01-08  Brooks Moses  <bmoses@google.com>
22887         * elf/dl-load.c: Fix comment typo.
22889 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
22891         * po/header.pot: Rename to...
22892         * po/pot.header: ... this.
22893         * po/Makefile: Use pot.header.
22895 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
22896             Maxim Kuvyrkov  <maxim@kugelworks.com>
22898         [BZ #16394]
22899         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22900         SRC and DEST against LEN.
22902 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22904         [BZ #16414]
22905         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22906         implementation.
22907         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22909 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22913 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
22915         [BZ #16408]
22916         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22917         for large positive arguments.
22919 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
22921         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22923         * math/auto-libm-test-in: Mark various tests with
22924         xfail-rounding:ldbl-128ibm.
22925         * math/auto-libm-test-out: Regenerated.
22927         [BZ #16407]
22928         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22929         Increase overflow threshold.
22931 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
22933         [BZ #14286]
22934         * stdio-common/vfprintf.c: Check for integer overflow.
22936 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22938         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22939         the first argument and return value of __tls_get_addr_internal.
22941 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22943         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22944         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22946 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22948         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22949         * sysdeps/s390/rtld-global-offsets.sym: New file.
22950         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22951         GLIBC_2.19 symbol.
22952         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22953         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22954         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22955         ... this.
22956         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22957         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22958         ... this.
22959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22960         Regenerate.
22961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22962         Regenerate.
22963         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22964         halfs of GPRs for high_gprs contexts.
22965         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22966         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
22967         field.
22968         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22969         uc_flags field.
22970         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22971         64 bit versions:
22972         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22973         for high GPRs (uc_high_gprs) and for future extensions
22974         (__reserved).
22975         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22976         for future extensions (__reserved).
22977         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22978         64 bit versions:
22979         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22980         SC_HIGHGPRS offset definition.
22981         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22982         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22984         * Versions.def: Add GLIBC_2.19 for libpthread.
22985         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22986         siglongjmp for libpthread with GLIBC_2.19 symver.
22987         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22988         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22989         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22990         * sysdeps/s390/__longjmp.c: New file.
22991         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22992         * sysdeps/s390/longjmp.c: New file.
22993         * sysdeps/s390/setjmp.S: New file.
22994         * sysdeps/s390/sigjmp.S: New file.
22995         * sysdeps/s390/v1-longjmp.c: New file.
22996         * sysdeps/s390/v1-setjmp.h: New file.
22997         * sysdeps/s390/v1-sigjmp.c: New file.
22998         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22999         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23000         GLIBC_2.19 version.
23001         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23002         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23003         versioned symbols for ____longjmp_chk.
23004         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23005         Likewise.
23006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23007         Regenerate.
23008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23009         Regenerate.
23010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23011         Regenerate.
23012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23013         Regenerate.
23014         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23015         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23016         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23017         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23018         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23019         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23020         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23021         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23022         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23023         * sysdeps/s390/rtld-__longjmp.c: New file.
23024         * sysdeps/s390/rtld-setjmp.S: New file.
23026 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
23028         [BZ #16400]
23029         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23030         Return -__logl (x) for small positive arguments without evaluating
23031         a polynomial.
23033 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
23035         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23036         Rename to ...
23037         (__ptrace_peeksiginfo_args): ... this.
23038         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23039         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23040         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23042 2014-01-06  Allan McRae  <allan@archlinux.org>
23044         * inet/netinet/in.h: Fix typo in comment.
23046 2014-01-05  Andreas Jaeger  <aj@suse.de>
23048         * sysdeps/i386/fpu/libm-test-ulps: Update.
23050 2014-01-05  Allan McRae  <allan@archlinux.org>
23052         * po/libc.pot: Regenerated.
23054         * malloc/memusagestat.c: Fix gettext call formatting.
23056 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
23058         * nscd/nscd.c: Improve usage() output.
23060 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
23062         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23063         * sysdeps/unix/sysv/linux/configure: Regenerated.
23064         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23065         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23067 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23069         [BZ #16390]
23070         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23071         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23073 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23075         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23076         extra tokens at end of #undef directive.
23077         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23078         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23079         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23081 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23083         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23085         * math/auto-libm-test-in: Mark various tests with
23086         xfail-rounding:ldbl-128ibm.
23087         * math/auto-libm-test-out: Regenerated.
23089 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
23091         [BZ #16386]
23092         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23093         numbers with subnormal high part when calculating exponent.
23095         [BZ #16385]
23096         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23097         fabs.
23099         [BZ #16384]
23100         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23101         M_LN2l.
23102         (__ieee754_acoshl): Use __log1pl not __log1p.
23104 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
23106         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23107         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23108         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23109         (grow_heap, heap_trim, _int_new_arena, get_free_list)
23110         (reused_arena, arena_get2): Convert to GNU style.
23111         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23112         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23113         (memalign_check, __malloc_set_state): Likewise.
23114         * malloc/mallocbug.c (main): Likewise.
23115         * malloc/malloc.c (__malloc_assert, malloc_init_state)
23116         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23117         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23118         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23119         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23120         (__posix_memalign, malloc_info): Likewise.
23121         * malloc/malloc.h: Likewise.
23122         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23123         (mallochook, memalignhook, reallochook, mabort): Likewise.
23124         * malloc/mcheck.h: Likewise.
23125         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23126         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23127         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23128         * malloc/morecore.c (__default_morecore): Likewise.
23129         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23130         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23131         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23132         (print_and_abort): Likewise.
23133         * malloc/obstack.h: Likewise.
23134         * malloc/set-freeres.c (__libc_freeres): Likewise.
23135         * malloc/tst-mallocstate.c (main): Likewise.
23136         * malloc/tst-mtrace.c (main): Likewise.
23137         * malloc/tst-realloc.c (do_test): Likewise.
23139 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23141         [BZ #16366]
23142         * nscd/netgroupcache.c (do_notfound): New function.
23143         (addgetnetgrentX): Use it.
23145         [BZ # 16365]
23146         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23147         NSS_STATUS_NOTFOUND.
23149 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
23151         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23154 2014-01-01  Allan McRae  <allan@archlinux.org>
23156         * scripts/update-copyrights: Update configure input file suffix.
23158         * NEWS: Update copyright year.
23159         * catgets/gencat.c: Likewise.
23160         * csu/version.c: Likewise.
23161         * debug/catchsegv.sh: Likewise.
23162         * debug/pcprofiledump.c: Likewise.
23163         * debug/xtrace.sh: Likewise.
23164         * elf/ldconfig.c: Likewise.
23165         * elf/ldd.bash.in: Likewise.
23166         * elf/pldd.c: Likewise.
23167         * elf/sotruss.ksh: Likewise.
23168         * elf/sprof.c: Likewise.
23169         * iconv/iconv_prog.c: Likewise.
23170         * iconv/iconvconfig.c: Likewise.
23171         * locale/programs/locale.c: Likewise.
23172         * locale/programs/localedef.c: Likewise.
23173         * login/programs/pt_chown.c: Likewise.
23174         * malloc/memusage.sh: Likewise.
23175         * malloc/memusagestat.c: Likewise.
23176         * malloc/mtrace.pl: Likewise.
23177         * manual/libc.texinfo: Likewise.
23178         * nscd/nscd.c: Likewise.
23179         * nss/getent.c: Likewise.
23180         * nss/makedb.c: Likewise.
23181         * posix/getconf.c: Likewise.
23182         * scripts/test-installation.pl: Likewise.
23184         * All files with FSF copyright notices: Update copyright dates
23185         using scripts/update-copyrights.
23186         * intl/plural.c: Regenerated.
23187         * locale/programs/charmap-kw.h: Likewise.
23188         * locale/programs/locfile-kw.h: Likewise.
23190 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
23192         * sysdeps/unix/sysv/linux/configure: Regenerated.
23193         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23194         the linux/fanotify.h header.
23195         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23196         HAVE_LINUX_FANOTIFY_H is defined.
23198 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23200         * benchtests/cos-inputs: New inputs.
23201         * benchtests/sin-inputs: Likewise.
23203         * benchtests/atan-inputs: New inputs. Fix name of multiple
23204         precision fallback inputs.
23206         * benchtests/atanh-inputs: New inputs.
23207         * benchtests/tanh-inputs: Likewise.
23209         * benchtests/acosh-inputs: New inputs.
23210         * benchtests/asinh-inputs: Likewise.
23212         * benchtests/cosh-inputs: New inputs.
23213         * benchtests/sinh-inputs: Likewise.
23215         * benchtests/acos-inputs: Add more inputs.
23216         * benchtests/asin-inputs: Likewise.
23218 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
23220         [BZ #16375]
23221         * manual/arith.texi: Fix spelling.
23222         * manual/charset.texi: Likewise.
23223         * manual/errno.texi: Likewise.
23224         * manual/filesys.texi: Likewise.
23225         * manual/lang.texi: Likewise.
23226         * manual/llio.texi: Likewise.
23227         * manual/locale.texi: Likewise.
23228         * manual/message.texi: Likewise.
23229         * manual/resource.texi: Likewise.
23230         * manual/search.texi: Likewise.
23231         * manual/setjmp.texi: Likewise.
23232         * manual/stdio.texi: Likewise.
23233         * manual/string.texi: Likewise.
23234         * manual/sysinfo.texi: Likewise.
23235         * manual/time.texi: Likewise.
23237 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
23239         * po/sl.po: New file.
23241 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
23243         * .gitignore: Add core/.gdbinit/.gdb_history.
23245 2013-12-27  Allan McRae  <allan@archlinux.org>
23247         [BZ #16369]
23248         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23249         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23251 2013-12-24  Brooks Moses  <bmoses@google.com>
23253         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23254         all compilers that claim C++98 compliance, not just GCC.
23255         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23256         Likewise.
23258 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23260         * NEWS: Restore accidentally deleted bug-fix entries.
23262 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23263             Ondřej Bílka  <neleai@seznam.cz>
23265         [BZ #15073]
23266         * malloc/malloc.c (_int_free): Perform sanity check only if we
23267         have_lock.
23269 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
23271         [BZ #12986]
23272         * manual/stdio.texi (String Input Conversions): Clarify that character
23273         classes are not supported.
23275 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23279 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
23281         [BZ #16337]
23282         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23283         Calculate results for small negative arguments directly rather
23284         than using reflection formula with special underflow handling.
23286         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23287         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23288         sysdeps/unix/bsd/bsd4.4/syscalls.list.
23289         (fchflags): Likewise.
23290         (revoke): Likewise.
23291         (setlogin): Likewise.
23292         (sigaltstack): Likewise.
23293         (wait4): Likewise.
23294         (sigblock): Remove.
23295         (sigsetmask): Likewise.
23296         (wait3): Likewise.
23297         (waitpid): Likewise.
23298         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23299         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23300         file.
23301         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23302         * sysdeps/unix/bsd/Makefile: ... here.
23303         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23304         * sysdeps/unix/bsd/Versions: ... here.
23305         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23306         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23307         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23308         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23309         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23310         * sysdeps/unix/bsd/sigblock.c: ... here.
23311         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23312         * sysdeps/unix/bsd/sigsetmask.c: ... here.
23313         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23314         * sysdeps/unix/bsd/sigvec.c: ... here.
23315         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23316         * sysdeps/unix/bsd/tcdrain.c: ... here.
23317         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23318         * sysdeps/unix/bsd/tcgetattr.c: ... here.
23319         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23320         * sysdeps/unix/bsd/tcsetattr.c: ... here.
23321         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23322         * sysdeps/unix/bsd/wait.c: ... here.
23323         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23324         * sysdeps/unix/bsd/wait3.c: ... here.
23325         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23326         * sysdeps/unix/bsd/waitpid.c: ... here.
23328 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
23330         [BZ #16356]
23331         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23332         round-to-nearest for [!USE_AS_EXPM1L].
23333         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23334         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
23335         more tests of exp and exp10.  Expect some exp10 tests to miss
23336         exceptions or fail in directed rounding modes.
23337         * math/auto-libm-test-out: Regenerated.
23338         * math/libm-test.inc (exp10_tonearest_test_data): New array.
23339         (exp10_test_tonearest): New function.
23340         (exp10_towardzero_test_data): New array.
23341         (exp10_test_towardzero): New function.
23342         (exp10_downward_test_data): New array.
23343         (exp10_test_downward): New function.
23344         (exp10_upward_test_data): New array.
23345         (exp10_test_upward): New function.
23346         (main): Call the new functions.
23347         * sysdeps/i386/fpu/libm-test-ulps: Update.
23348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23350 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
23352         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23353         asinh, atan, atan2, atanh, cbrt, cos and cosh.
23354         * math/auto-libm-test-out: Regenerated.
23355         * math/libm-test.inc (acosh_test_data): Add more tests.
23356         (atanh_test_data): Likewise.
23357         (ceil_test_data): Likewise.
23358         (copysign_test_data): Likewise.
23359         * sysdeps/i386/fpu/libm-test-ulps: Update.
23360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23362         * timezone/checktab.awk: Update from tzcode 2013i.
23363         * timezone/private.h: Likewise.
23364         * timezone/scheck.c: Likewise.
23365         * timezone/tzfile.h: Likewise.
23366         * timezone/tzselect.ksh: Likewise.
23367         * timezone/zdump.c: Likewise.
23368         * timezone/zic.c: Likewise.
23370         * math/auto-libm-test-in: Add tests of cpow.
23371         * math/auto-libm-test-out: Regenerated.
23372         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23373         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23374         mpc_cc_c.
23375         (func_calc_desc): Add mpc_cc_c union field.
23376         (test_functions): Add cpow.
23377         (special_fill_2pi): New function.
23378         (special_real_inputs): Add 2pi.
23379         (calc_generic_results): Handle mpc_cc_c.
23380         * sysdeps/i386/fpu/libm-test-ulps: Update.
23381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23383         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23384         csqrt, ctan and ctanh.
23385         * math/auto-libm-test-out: Regenerated.
23386         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23387         (TEST_COND_x86): Likewise.
23388         (ccos_test_data): Use AUTO_TESTS_c_c.
23389         (ccosh_test_data): Likewise.
23390         (cexp_test_data): Likewise.
23391         (clog_test_data): Likewise.
23392         (csqrt_test_data): Likewise.
23393         (ctan_test_data): Likewise.
23394         (ctan_tonearest_test_data): Likewise.
23395         (ctan_towardzero_test_data): Likewise.
23396         (ctan_downward_test_data): Likewise.
23397         (ctan_upward_test_data): Likewise.
23398         (ctanh_test_data): Likewise.
23399         (ctanh_tonearest_test_data): Likewise.
23400         (ctanh_towardzero_test_data): Likewise.
23401         (ctanh_downward_test_data): Likewise.
23402         (ctanh_upward_test_data): Likewise.
23403         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23404         mpc_c_c.
23405         (func_calc_desc): Add mpc_c_c union field.
23406         (FUNC_mpc_c_c): New macro.
23407         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23408         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23409         ctanh.
23410         (special_fill_min_subnorm_p120): New function.
23411         (special_real_inputs): Add min_subnorm_p120.
23412         (calc_generic_results): Handle mpc_c_c.
23413         * sysdeps/i386/fpu/libm-test-ulps: Update.
23414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23416 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23418         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23419         (do_sin_slow): New functions.
23420         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23421         (cslow2, csloww1, csloww2): Use the new functions.
23423         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23424         Use M to change sign of result instead of X.  Assume X is
23425         positive.
23426         (csloww1): Likewise.
23427         (__sin): Adjust.
23428         (__cos): Adjust.
23430         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23431         arguments A and DA.
23432         (__sin): Adjust.
23433         (__cos): Likewise.
23435         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23436         (__cos): Likewise.
23437         (sloww1): Don't adjust sign of DX.
23438         (csloww1): Likewise.
23439         (sloww2): Use X directly and don't adjust sign of DX.
23440         (csloww2): Likewise.
23442 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23444         * math/auto-libm-test-in: Add tests of cabs and carg.
23445         * math/auto-libm-test-out: Regenerated.
23446         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23447         (carg_test_data): Likewise.
23448         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23449         mpc_c_f.
23450         (func_calc_desc): Add mpc_c_f union field.
23451         (test_functions): Add cabs and carg.
23452         (calc_generic_results): Handle mpc_c_f.
23454         * sysdeps/powerpc/powerpc32/libgcc-compat.S
23455         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23456         as a macro and a compat symbol.
23457         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23458         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23459         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23460         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23461         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23462         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23463         not use .hidden.
23464         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23465         Likewise.
23466         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23467         Likewise.
23468         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23469         Likewise.
23470         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23471         Likewise.
23472         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23473         Likewise.
23474         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23475         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23476         from GLIBC_2.3.2.
23478 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23482 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23484         * manual/texinfo.tex: Update to version 2013-11-26.10 with
23485         trailing whitespace removed.
23486         * scripts/config.guess: Update to version 2013-11-29.
23487         * scripts/config.sub: Update to version 2013-10-01.
23489         * math/auto-libm-test-in: Add tests of sincos.
23490         * math/auto-libm-test-out: Regenerated.
23491         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23492         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23493         mpfr_f_11.
23494         (func_calc_desc): Add mpfr_f_11 union field.
23495         (test_functions): Add sincos.
23496         (calc_generic_results): Handle mpfr_f_11.
23497         * sysdeps/i386/fpu/libm-test-ulps: Update.
23498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23500 2013-12-19  Andreas Schwab  <schwab@suse.de>
23502         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23503         CALL_MCOUNT.
23504         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23505         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23506         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23508 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23510         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23511         * sysdeps/i386/fpu/libm-test-ulps: Update.
23512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23514         [BZ #16293]
23515         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23516         round-to-nearest mode when using frndint.
23517         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23518         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23519         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23520         Likewise.
23521         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
23522         sinh test to fail.
23523         * math/auto-libm-test-out: Regenerated.
23524         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23525         (TEST_COND_x86): Likewise.
23526         (expm1_tonearest_test_data): New array.
23527         (expm1_test_tonearest): New function.
23528         (expm1_towardzero_test_data): New array.
23529         (expm1_test_towardzero): New function.
23530         (expm1_downward_test_data): New array.
23531         (expm1_test_downward): New function.
23532         (expm1_upward_test_data): New array.
23533         (expm1_test_upward): New function.
23534         (main): Run the new test functions.
23535         * sysdeps/i386/fpu/libm-test-ulps: Update.
23536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23538         * include/features.h: Update comment documenting feature test
23539         macros.  Mention _DEFAULT_SOURCE in comment.
23540         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23541         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23542         _BSD_SOURCE and _SVID_SOURCE.
23543         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23544         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23545         !_SVID_SOURCE]: Likewise.
23546         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23547         (__USE_POSIX_IMPLICITLY): Define.
23548         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23549         (_POSIX_SOURCE): Undefine and redefine.
23550         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23551         (_POSIX_C_SOURCE): Likewise.
23552         * manual/creature.texi (_DEFAULT_SOURCE): Document.
23553         (Feature Test Macros): Update documentation of default features.
23555 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23557         * benchtests/Makefile: Add bench-strtok.
23558         * benchtests/bench-strtok.c: New file: strtok benchtest.
23560 2013-12-19  Allan McRae  <allan@archlinux.org>
23562         * manual/install.texi: Suppress menu for plain text output.
23563         * INSTALL: Regenerated.
23565 2013-12-18  Brooks Moses  <bmoses@google.com>
23567         [BZ #15846]
23568         * misc/getauxval.c: Include errno.h.
23569         (__getauxval): Set errno to ENOENT if the requested type is not
23570         found.
23571         * misc/sys/auxv.h (getauxval): Document that it may set errno;
23572         don't declare with __attribute_const__.
23573         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23574         * manual/startup.texi: Document that getauxval sets errno.
23576 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23578         * math/auto-libm-test-in: Add tests of jn and yn.
23579         * math/auto-libm-test-out: Regenerated.
23580         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23581         (yn_test_data): Likewise.
23582         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23583         mpfr_if_f.
23584         (func_calc_desc): Add mpfr_if_f union field.
23585         (FUNC_mpfr_if_f): New macro.
23586         (test_functions): Add jn and yn.
23587         (calc_generic_results): Assert type of second input for
23588         mpfr_ff_f.  Handle mpfr_if_f.
23589         (output_for_one_input_case): Disable all checking for arguments
23590         fitting floating-point types in case of an integer argument.
23591         * sysdeps/i386/fpu/libm-test-ulps: Update.
23592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23595         Don't expect fegetround reference in libm.so.
23597 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23599         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23600         $(config-cflags-nofma).
23602 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23604         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23605         * math/auto-libm-test-out: Regenerated.
23607         [BZ #16338]
23608         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23609         to determine exponent and adjust argument to have exponent of -1.
23610         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23611         log2.
23612         * math/auto-libm-test-out: Regenerated.
23613         * sysdeps/i386/fpu/libm-test-ulps: Update.
23614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23616 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
23618         * manual/probes.texi: Remove cases when per-thread arenas are
23619         disabled.
23621 2013-12-18  Andreas Schwab  <schwab@suse.de>
23623         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23624         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23625         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23626         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23627         * sysdeps/i386/i686/multiarch/Makefile: Update.
23628         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23630 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23632         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23633         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23635 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
23637         [BZ #15968]
23638         Support TZ transition times < 00:00:00.
23639         This is needed for version-3 tz-format files; it supports time
23640         stamps past 2037 for America/Godthab (the only entry in the tz
23641         database for which this change is relevant).
23642         * manual/time.texi (TZ Variable): Document transition times
23643         from -167:59:59 through -00:00:01.
23644         * time/tzset.c (tz_rule): Time of day is now signed.
23645         (__tzset_parse_tz): Parse negative time of day.
23647         Document TZ transition times >= 25:00:00.
23648         * manual/time.texi (TZ Variable): Document transition times from
23649         25:00:00 through 167:59:59.  These are already supported, and this
23650         support will help with version-3 tz-format files.
23652         * manual/time.texi (TZ Variable): Modernize North America example
23653         to reflect current (i.e., 2007-and-later) daylight saving rules.
23655         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23657 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23659         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23660         * sysdeps/unix/bsd/bits/stat.h: Likewise.
23661         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23662         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23663         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23664         * sysdeps/unix/bsd/bsdstat.h: Likewise.
23665         * sysdeps/unix/bsd/clock.c: Likewise.
23666         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23667         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23668         * sysdeps/unix/bsd/init-posix.c: Likewise.
23669         * sysdeps/unix/bsd/poll.c: Likewise.
23670         * sysdeps/unix/bsd/ptsname.c: Likewise.
23671         * sysdeps/unix/bsd/seekdir.c: Likewise.
23672         * sysdeps/unix/bsd/setegid.c: Likewise.
23673         * sysdeps/unix/bsd/seteuid.c: Likewise.
23674         * sysdeps/unix/bsd/setgid.c: Likewise.
23675         * sysdeps/unix/bsd/setrgid.c: Likewise.
23676         * sysdeps/unix/bsd/setruid.c: Likewise.
23677         * sysdeps/unix/bsd/setsid.c: Likewise.
23678         * sysdeps/unix/bsd/setuid.c: Likewise.
23679         * sysdeps/unix/bsd/sigaction.c: Likewise.
23680         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23681         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23682         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23683         * sysdeps/unix/bsd/telldir.c: Likewise.
23684         * sysdeps/unix/bsd/times.c: Likewise.
23685         * sysdeps/unix/bsd/usleep.c: Likewise.
23687         * misc/Makefile (install-lib): Remove libbsd-compat.a.
23688         ($(objpfx)libbsd-compat.a): Remove rule.
23690         * include/features.h (__FAVOR_BSD): Do not define.
23691         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23692         features conflicting with POSIX.
23693         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23694         (_BSD_SOURCE): Remove description of not being a subset of other
23695         feature test macros.
23696         * manual/job.texi (getpgrp): Do not document BSD version.
23697         (getpgid): Do not document by reference to BSD getpgrp.
23698         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23699         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23700         * signal/signal.h [__FAVOR_BSD]: Likewise.
23701         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23702         instead of making contents conditional on [__FAVOR_BSD].
23703         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23705 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23709 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23711         [BZ #16314]
23712         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23713         values below 2**-450, not 2**-500.
23714         * math/auto-libm-test-in: Don't allow spurious underflow from
23715         hypot.
23716         * math/auto-libm-test-out: Regenerated.
23718         [BZ #16316]
23719         [BZ #16330]
23720         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23721         values of ha and hb and sort them after adjusting subnormal
23722         arguments.
23723         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23724         Likewise.
23725         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23726         values of ea and eb and sort them after adjusting subnormal
23727         arguments.
23728         * math/auto-libm-test-in: Do not expect some hypot tests of
23729         subnormals to fail.  Add more hypot tests.
23730         * math/auto-libm-test-out: Regenerated.
23732 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23734         [BZ #13304]
23735         * sysdeps/sh/s_fma.c: New file.
23736         * sysdeps/sh/s_fmaf.c: New file.
23737         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
23738         version.
23739         * sysdeps/sh/Implies: Add sh/soft-fp.
23741 2013-12-16  Roland McGrath  <roland@hack.frob.com>
23743         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
23744         level of indirection to members `objname', `errstring', `malloced'.
23745         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23746         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
23747         it as the __longjmp argument (just pass 1 instead).
23748         (_dl_catch_error): Initialize C with argument pointers and address of
23749         volatile local ERRCODE rather than copying values out of C at return.
23751 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
23753         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23754         * math/auto-libm-test-out: Regenerated.
23755         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23756         (hypot_test_data): Likewise.
23757         (pow_test_data): Likewise.
23758         (pow_tonearest_test_data): Likewise.
23759         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23760         mpfr_ff_f.
23761         (func_calc_desc): Add mpfr_ff_f union field.
23762         (FUNC_mpfr_ff_f): New macro.
23763         (test_functions): Add atan2, hypot and pow.
23764         (special_fill_min): New function.
23765         (special_fill_minus_min): Likewise.
23766         (special_fill_min_subnorm): Likewise.
23767         (special_fill_minus_min_subnorm): Likewise.
23768         (special_real_inputs): Add min, -min, min_subnorm and
23769         -min_subnorm.
23770         (calc_generic_results): Handle mpfr_ff_f.
23771         * sysdeps/i386/fpu/libm-test-ulps: Update.
23772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23774 2013-12-16  Will Newton  <will.newton@linaro.org>
23776         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23777         (Aligned Memory Blocks): Add documentation for aligned_alloc
23778         and suggest it as an alternative to posix_memalign.
23779         (Hooks for Malloc): Document __memalign_hook is also called
23780         for aligned_alloc.  (Summary of Malloc): Add summary for
23781         aligned alloc.  Document __memalign_hook is also called
23782         for aligned_alloc.
23784 2013-12-16  Will Newton  <will.newton@linaro.org>
23786         * manual/memory.texi (Malloc Examples): Clarify default
23787         alignment documentation.  Suggest posix_memalign rather
23788         than memalign or valloc.
23789         (Aligned Memory Blocks): Remove suggestion to use memalign
23790         or valloc.  Remove obsolete comment about BSD.
23791         Document memalign errno values and mark the function obsolete.
23792         Document posix_memalign returned error codes.  Mark valloc
23793         as obsolete.  (Hooks for Malloc): __memalign_hook is also
23794         called for posix_memalign and valloc.
23795         (Summary of Malloc): Add posix_memalign to function summary.
23796         __memalign_hook is also called for posix_memalign and valloc.
23798 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23800         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23801         TAYLOR_SIN.
23802         (__sin): Adjust.
23803         (__cos): Likewise.
23804         (sloww): Use mynumber union.  Expand ternary operator into
23805         if-else statements.
23806         (cslow): use mynumber union.
23808 2013-12-16  Allan McRae  <allan@archlinux.org>
23810         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23811         * configure: Regenerated.
23813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23815         [BZ #14120]
23816         * configure.ac: Added --enable-maintainer-mode. Check for
23817         autoconf when enabled.
23818         * configure: Regenerated.
23820         * nscd/nscd.service: New file.
23821         * nscd/nscd.tmpfiles: New file.
23823 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
23825         [BZ #12100]
23826         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23827         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23828         * sysdeps/x86_64/multiarch/strstr.c: ... here.
23829         (strstr): Add __strstr_sse2_unaligned ifunc.
23830         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23831         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23832         (strcasestr): Remove __strcasestr_sse42 ifunc.
23833         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23837 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23839         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23840         * sysdeps/sh/bits/fenv.h: ... here.
23841         * sysdeps/sh/sh4/fpu/bits: Remove directory.
23843 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23845         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23848         hypotf multiarch implementations.
23849         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23850         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23851         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23852         multiarch hypot for PPC64.
23853         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23854         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23855         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23856         multiarch hypotf for PPC64.
23858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23859         modff multiarch implementations.
23860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23863         multiarch modf for PPC64.
23864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23867         multiarch modff for PPC64.
23869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23870         and logl multiarch implementations.
23871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23874         multiarch logb for PPC64.
23875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23878         multiarch logb for PPC64.
23879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23882         multiarch logb for PPC64.
23884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23885         isinff multiarch implementation.
23886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23887         file.
23888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23890         multiarch isinf for PPC64.
23891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23892         file.
23893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23894         multiarch isinff for PPC64.
23896         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23897         finitef multiarch implementation.
23898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23899         file.
23900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23902         multiarch finite for PPC64.
23903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23904         file.
23905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23906         multiarch finitef for PPC64.
23908         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23909         lrint multiarch implementation.
23910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23911         file.
23912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23914         multiarch llrint for PPC64.
23915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23916         multiarch lrint for PPC64.
23918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23919         copysignf multiarch implementation.
23920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23921         file.
23922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23923         file.
23924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23925         multiarch copysign for PPC64.
23926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23927         multiarch copysignf for PPC64.
23929         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23930         multiarch implementation.
23931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23932         file.
23933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23934         file.
23935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23936         file.
23937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23938         file.
23939         multiarch llround for PPC64.
23940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23941         multiarch trunc for PPC64.
23942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23943         multiarch truncf for PPC64.
23945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23946         multiarch implementation.
23947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23948         file.
23949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23950         file.
23951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23952         file.
23953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23954         file.
23955         multiarch llround for PPC64.
23956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23957         multiarch round for PPC64.
23958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23959         multiarch roundf for PPC64.
23961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23962         multiarch implementation.
23963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23964         file.
23965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23966         file.
23967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23968         file.
23969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23970         file.
23971         multiarch llround for PPC64.
23972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23973         multiarch floor for PPC64.
23974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23975         multiarch floorf for PPC64.
23977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23978         multiarch implementation.
23979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23980         file.
23981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23982         file.
23983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23984         file.
23985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23986         file.
23987         multiarch llround for PPC64.
23988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23989         multiarch ceil for PPC64.
23990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23991         multiarch ceilf for PPC64.
23993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23994         multiarch implementation.
23995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23996         file.
23997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23998         file.
23999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24000         file.
24001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24002         multiarch llround for PPC64.
24003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24004         multiarch lround for PPC64.
24006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24007         multiarch implementation.
24008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24011         file.
24012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24015         multiarch isnan for PPC64.
24016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24017         multiarch isnanf for PPC64.
24019         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24020         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24021         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24022         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24023         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24026         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24027         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24028         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24029         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24031         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24032         multiarch implementations.
24033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24034         (__libc_ifunc_impl_list): Likewise.
24035         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24036         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24037         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24038         multiarch stpcpy for PPC64.
24040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24041         multiarch implementations.
24042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24043         (__libc_ifunc_impl_list): Likewise.
24044         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24045         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24046         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24047         multiarch strcpy for PPC64.
24049         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24050         redefine function name.
24051         (_wordcopy_fwd_dest_aligned): Likewise.
24052         (_wordcopy_bwd_aligned): Likewise.
24053         (_wordcopy_bwd_dest_aligned): Likewise.
24054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24055         multiarch implementations.
24056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24057         (__libc_ifunc_impl_list): Likewise.
24058         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24059         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24060         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24061         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24062         multiarch wcscpy for PPC64.
24064         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24065         multiarch implementations.
24066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24067         (__libc_ifunc_impl_list): Likewise.
24068         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24069         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24070         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24071         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24072         multiarch wcscpy for PPC64.
24074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24075         multiarch implementations.
24076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24077         (__libc_ifunc_impl_list): Likewise.
24078         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24079         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24080         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24081         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24082         multiarch wcsrchr for PPC64.
24084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24085         multiarch implementations.
24086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24087         (__libc_ifunc_impl_list): Likewise.
24088         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24089         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24090         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24091         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24092         multiarch wcschr for PPC64.
24094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24095         multiarch implementations.
24096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24097         (__libc_ifunc_impl_list): Likewise.
24098         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24099         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24100         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24101         multiarch strchrnul for PPC64.
24103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24104         implementations.
24105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24106         (__libc_ifunc_impl_list): Likewise.
24107         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24108         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24109         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24110         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24111         strchr for PPC64.
24113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24114         implementations.
24115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24116         (__libc_ifunc_impl_list): Likewise.
24117         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24118         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24119         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24120         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24121         strncmp for PPC64.
24123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24124         multiarch implementations.
24125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24126         (__libc_ifunc_impl_list): Likewise.
24127         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24128         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24129         strncasecmp for PPC64.
24130         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24131         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24132         multiarch strncasecmp_l for PPC64.
24134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24135         multiarch implementations.
24136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24137         (__libc_ifunc_impl_list): Likewise.
24138         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24139         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24140         multiarch strcasecmp for PPC64.
24141         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24142         file.
24143         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24144         multiarch strcasecmp_l for PPC64.
24146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24147         implementations.
24148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24149         (__libc_ifunc_impl_list): Likewise.
24150         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24151         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24152         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24153         strnlen for PPC64.
24155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24156         implementations.
24157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24158         (__libc_ifunc_impl_list): Likewise.
24159         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24160         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24161         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24162         strlen for PPC64.
24164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24165         implementations.
24166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24167         (__libc_ifunc_impl_list): Likewise.
24168         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24169         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24170         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24171         rawmemrchr for PPC64.
24173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24174         implementation.
24175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24176         (__libc_ifunc_impl_list): Likewise.
24177         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24178         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24179         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24180         memrchr for PPC64.
24182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24183         implementation.
24184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24185         (__libc_ifunc_impl_list): Likewise.
24186         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24187         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24188         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24189         memchr for PPC64.
24191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24192         implementation.
24193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24194         (__libc_ifunc_impl_list): Likewise.
24195         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24196         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24197         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24198         mempcpy for PPC64.
24200         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24201         avoid cretion of __bzero symbol.
24202         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24203         Likewise.
24204         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24205         Likewise.
24206         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24207         Likewise.
24208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24209         multiarch implementations.
24210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24211         (__libc_ifunc_impl_list): Likewise.
24212         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24213         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24214         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24215         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24216         bzero for PPC32.
24217         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24218         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24219         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24220         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24221         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24222         memset for PPC64.
24223         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24225         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24227         implementations.
24228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24229         (__libc_ifunc_impl_list): Likewise.
24230         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24231         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24232         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24233         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24234         memcmp for PPC64.
24236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24237         multiarch for POWER/PPC64.
24238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24239         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24240         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24241         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24242         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24243         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24244         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24245         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24246         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24247         memcpy for PPC64.
24249         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24250         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24251         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24252         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24253         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24254         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24255         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24256         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24257         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24258         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24259         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24260         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24261         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24262         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24263         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24272 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24274         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24276 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24278         * benchtests/Makefile (bench): Add exp2 and log2.
24279         (LDLIBS-bench-exp2): Add -lm.
24280         (LDLIBS-bench-log2): Likewise.
24281         * benchtests/exp2-inputs: New inputs file.
24282         * benchtests/log2-inputs: New inputs file.
24283         * benchtests/log-inputs: Add new inputs.
24284         * benchtests/tan-inputs: Likewise.
24286 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24288         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24289         definition...
24290         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24291         (csloww2): ... from here.
24293         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24294         instead of structures.
24295         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24296         (POLYNOMIAL): Likewise.
24297         (TAYLOR_SLOW): Likewise.
24298         (__sin): Likewise.
24299         (__cos): Likewise.
24300         (slow1): Likewise.
24301         (slow2): Likewise.
24302         (sloww): Likewise.
24303         (sloww1); Likewise.
24304         (sloww2): Likewise.
24305         (bsloww1): Likewise.
24306         (bsloww2): Likewise.
24307         (cslow2): Likewise.
24308         (csloww): Likewise.
24309         (csloww1): Likewise.
24310         (csloww2): Likewise.
24312 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
24314         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24315         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24316         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24317         * malloc/hooks.c (realloc_check): Likewise.
24319         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24320         * malloc/arena.c: Remove PER_THREAD conditional.
24321         [!PER_THREAD]: Remove code.
24322         (ptmalloc_unlock_all2): Likewise.
24323         (ptmalloc_init): Likewise.
24324         (_int_new_arena): Likewise.
24325         (arena_get2): Likewise.
24326         * malloc/hooks.c (__malloc_get_state): Likewise.
24327         (__malloc_set_state): Likewise.
24328         * malloc/malloc.c: Likewise.
24329         (struct malloc_state): Likewise.
24330         (struct malloc_par): Likewise.
24331         (__libc_realloc): Likewise.
24332         (__libc_mallopt): Likewise.
24334 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24336         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24338 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
24340         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24341         macro to a function.  Check for zero perturb_byte.
24342         (_int_malloc, _int_free): Remove zero perturb_byte checks.
24344         * malloc/malloc.c: (force_reg): Remove.
24345         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24346         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24347         force_reg by atomic_forced_read.
24348         * malloc/arena.c (ptmalloc_init): Likewise.
24349         * malloc/hooks.c (top_check): Likewise.
24351 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24355 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
24357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24359 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
24361         * math/auto-libm-test-in: Add tests of lgamma.
24362         * math/auto-libm-test-out: Regenerated.
24363         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24364         (M_LOG_2_SQRT_PIl): Likewise.
24365         (lgamma_test_data): Use AUTO_TESTS_f_f1.
24366         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24367         mpfr_f_f1.
24368         (func_calc_desc): Add mpfr_f_f1 union field.
24369         (ARGS1): New macro.
24370         (ARGS2): Likewise.
24371         (ARGS3): Likewise.
24372         (ARGS4): Likewise.
24373         (RET1): Likewise.
24374         (RET2): Likewise.
24375         (CALC): Likewise.
24376         (FUNC): Likewise.
24377         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24378         (test_functions): Add lgamma.
24379         (calc_generic_results): Handle mpfr_f_f1.
24380         * sysdeps/i386/fpu/libm-test-ulps: Update.
24381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24383 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24385         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24386         __mpn_add_n for PowerPC64/POWER7.
24387         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24388         __mpn_sub_n for PowerPC64/POWER7.
24390         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24391         __mpn_addmul_1 for PowerPC64.
24392         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24393         __mpn_submul_1 for PowerPC64.
24394         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24395         for PowerPC64.
24396         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24397         for PowerPC64.
24399 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
24401         [BZ #15089]
24402         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24404 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24406         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24408         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24409         add multiarch folders.
24410         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24411         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24412         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24413         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24414         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24415         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24416         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24417         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24418         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24419         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24420         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24429         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24431         New file.
24432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24433         New file.
24434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24435         multiarch __ieee754_hypot for PowerPC32.
24436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24437         New file.
24438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24439         New file.
24440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24441         multiarch __ieee754_hypotf for PowerPC32.
24443         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24444         long_double_symbol only if __logbl is defined.
24445         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24446         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24447         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24448         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24449         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24450         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24451         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24452         path for implementation.
24453         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24454         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24456         logb, and logbl multiarch implementations for PowerPC32.
24457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24458         file.
24459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24460         file.
24461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24462         multiarch logb for PowerPC32.
24463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24464         file.
24465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24466         file.
24467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24468         multiarch logbf for PowerPC32.
24469         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24471         file.
24472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24473         multiarch logbl implementation for PowerPC32.
24475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24476         and modff multiarch implementations.
24477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24478         New file.
24479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24480         New file.
24481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24482         multiarch modf for PowerPC32.
24483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24484         New file.
24485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24486         New file.
24487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24488         multiarch modff for PowerPC32.
24490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24491         and lrintf multiarch implementations.
24492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24493         New file.
24494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24495         New file.
24496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24497         multiarch lrint for PowerPC32.
24498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24499         file: multiarch lrintf for PowerPC32.
24501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24502         and lroundf multiarch implementations.
24503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24504         New file.
24505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24506         New file.
24507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24508         New file.
24509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24510         multiarch lround for PowerPC32.
24511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24512         file: multiarch lroundf for PowerPC32.
24514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24515         copysign and copysignf multiarch implementations.
24516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24517         New file.
24518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24519         New file.
24520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24521         file: multiarch copysign for PowerPC32.
24522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24523         file: multiarch copysignf for PowerPC32.
24525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24526         and truncf multiarch implementations.
24527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24528         New file.
24529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24530         file.
24531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24532         multiarch trunc for PowerPC32.
24533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24534         New file.
24535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24536         New file.
24537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24538         multiarch truncf for PowerPC32.
24540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24541         and roundf multiarch implementations.
24542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24543         New file.
24544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24545         file.
24546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24547         multiarch round for PowerPC32.
24548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24549         New file.
24550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24551         New file.
24552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24553         multiarch roundf for PowerPC32.
24555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24556         and floorf multiarch implementations.
24557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24558         New file.
24559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24560         file.
24561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24562         multiarch floor for PowerPC32.
24563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24564         New file.
24565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24566         New file.
24567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24568         multiarch floorf for PowerPC32.
24570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24571         and ceilf multiarch implementations.
24572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24573         New file.
24574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24575         file.
24576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24577         multiarch ceil for PowerPC32.
24578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24579         New file.
24580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24581         file.
24582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24583         multiarch ceilf for PowerPC32.
24585         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24586         is defined.
24587         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24588         FINITEF is defined.
24589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24590         and finitef multiarch implementations.
24591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24592         New file.
24593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24594         file.
24595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24596         multiarch finite for PowerPC32.
24597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24598         New file.
24599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24600         file: multiarch finitef for PowerPC32.
24602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24603         and isinff multiarch implementations.
24604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24605         file.
24606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24607         file.
24608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24609         multiarch isinf for PowerPC32.
24610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24611         New file.
24612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24613         multiarch isinff for PowerPC32.
24615         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24616         alias when __isnan is defined.
24617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24618         and isnanf multiarch implementations.
24619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24620         file.
24621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24622         file.
24623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24624         file.
24625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24626         file.
24627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24628         multiarch isnan for PowerPC32.
24629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24630         New file.
24631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24632         New file.
24633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24634         multiarch isnanf for PowerPC32.
24636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24637         and sqrtf multiarch implementations.
24638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24639         file.
24640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24641         file.
24642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24643         multiarch sqrt for PowerPC32.
24644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24645         file.
24646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24647         file.
24648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24649         multiarch sqrtf for PowerPC32.
24651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24652         and llroundf multiarch implementations.
24653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24654         New file.
24655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24656         New file.
24657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24658         New file.
24659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24660         file: multiarch llround for PowerPC32.
24661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24662         file: multiarch llroundf for PowerPC32.
24664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24665         multiarch PowerPC32 fpu implementations.
24666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24667         New file.
24668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24669         New file.
24670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24671         multiarch llrint for PowerPC32.
24672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24673         New file.
24674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24675         New file.
24676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24677         file.
24679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24681         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24682         file.
24683         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24684         file.
24685         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24686         file.
24687         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24688         multiarch wordcopy for PPC32.
24689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24690         wordcopy objects.
24691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24692         (__libc_ifunc_impl_list): Likewise.
24693         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24694         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24695         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24696         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24697         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24698         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24700         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24701         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24702         file.
24703         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24704         file.
24705         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24706         file.
24707         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24708         multiarch wcscpy for PPC32.
24709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24710         multiarch objects.
24711         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24712         (__libc_ifunc_impl_list): Likewise.
24713         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24714         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24715         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24716         sysdeps/powerpc/power6/wcscpy.c.
24718         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24720         file.
24721         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24722         file.
24723         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24724         file.
24725         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24726         multiarch wcsrchr for PPC32.
24727         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24728         multiarch objects.
24729         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24730         (__libc_ifunc_impl_list): Likewise.
24731         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24732         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24733         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24734         sysdeps/powerpc/power6/wcsrchr.c.
24736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24737         file.
24738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24739         file.
24740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24742         multiarch wcschr for PPc32.
24743         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24744         multiarch objects.
24745         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24746         (__libc_ifunc_impl_list): Likewise.
24747         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24748         * sysdeps/powerpc/power6/wcschr.c: ... to here.
24749         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24750         sysdeps/powerpc/power6/wcschr.c.
24752         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24753         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24754         file.
24755         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24756         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24757         file: multiarch strchr for PPC32.
24758         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24759         multiarch objects.
24760         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24761         (__libc_ifunc_impl_list): Likewise.
24763         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24764         name.
24765         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24766         file.
24767         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24768         file.
24769         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24770         multiarch strchrnul for PPC32.
24771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24772         multiarch objects.
24773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24774         (__libc_ifunc_impl_list): Likewise.
24776         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24777         file.
24778         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24779         multiarch strncasecmp for PPC32.
24780         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24781         file.
24782         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24783         multiarch strncasecmp_l for PPC32.
24784         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24785         strncasecmp multiarch objects.
24786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24787         (__libc_ifunc_impl_list): Likewise.
24789         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24790         file.
24791         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24792         multiarch strncasecmp for PPC32.
24793         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24794         New file.
24795         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24796         multiarch strcasecmp_l for PPC32.
24797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24798         multiarch objects.
24799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24800         (__libc_ifunc_impl_list): Likewise.
24802         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24803         file.
24804         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24805         file.
24806         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24807         multiarch strncmp for PPC32.
24808         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24809         multiarch objects.
24810         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24811         (__libc_ifunc_impl_list): Likewise.
24813         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24814         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24815         file.
24816         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24817         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24819         multiarch objects.
24820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24821         (__libc_ifunc_impl_list): Likewise.
24823         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24824         file.
24825         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24826         file.
24827         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24829         multiarch objects.
24830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24831         (__libc_ifunc_impl_list): Likewise.
24833         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24834         file.
24835         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24836         file.
24837         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24838         multiarch rawmemchr for PPC32.
24839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24840         multiarch objects.
24841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24842         (__libc_ifunc_impl_list): Likewise.
24844         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24845         file.
24846         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24847         file.
24848         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24849         file: memrchr multiarch for PPC32.
24850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24851         multiarch objects.
24852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24853         (__libc_ifunc_impl_list): Likewise.
24855         * string/memchr.c (__memchr): Using macro to redefine symbol name.
24856         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24857         file.
24858         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24859         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24860         multiarch memchr for PPC32.
24861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24862         multiarch objects.
24863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24864         (__libc_ifunc_impl_list): Likewise.
24866         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24867         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24868         file.
24869         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24870         file.
24871         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24872         file: multiarch mempcpy for PPC32.
24873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24874         multiarch objects.
24875         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24876         (__libc_ifunc_impl_list): Likewise.
24878         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24879         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24880         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24881         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24882         multiarch bzero for PPC32.
24883         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24884         file.
24885         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24886         file.
24887         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24888         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24889         file: multiarch memset for PPC32.
24890         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24892         memset multiarch objects.
24893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24894         (__libc_ifunc_impl_list): Likewise.
24896         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24897         file.
24898         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24899         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24900         memcmp for PPC32.
24901         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24902         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24903         multiarch objects.
24904         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24905         (__libc_ifunc_impl_list): Likewise.
24907         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24908         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24909         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24910         file.
24911         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24912         file.
24913         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24914         file.
24915         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24916         multiarch memcpy for PPC32.
24917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24918         multiarch objects.
24919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24920         (__libc_ifunc_impl_list): Likewise.
24922         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24923         support multiarch for POWER/PPC32.
24924         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24925         Likewise.
24926         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24928         Implies file to make multiarch folder appers before the fpu and
24929         default folder for power4 configuration.
24931 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24933         * scripts/bench.pl: Append volatile keyword to type.
24935 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24937         * sysdeps/sh/sotruss-lib.c: New file.
24938         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24940 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24944 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
24946         [BZ #6810]
24947         * math/w_tgamma.c: Include <errno.h>.
24948         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
24949         * math/w_tgammaf.c: Include <errno.h>.
24950         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
24951         * math/w_tgammal.c: Include <errno.h>.
24952         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
24953         * math/auto-libm-test-in: Do not allow missing errno on tgamma
24954         underflow.  Add more tgamma tests.
24955         * math/auto-libm-test-out: Regenerated.
24956         * sysdeps/i386/fpu/libm-test-ulps: Update.
24957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24959         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24960         sin, sinh, tan, tanh, tgamma, y0 and y1.
24961         * math/auto-libm-test-out: Regenerated.
24962         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24963         (TEST_COND_x86): Likewise.
24964         (M_E2l): Remove macro.
24965         (M_E3l): Likewise.
24966         (M_2_SQRT_PIl): Likewise.
24967         (M_SQRT_PIl): Likewise.
24968         (M_1_DIV_El): Likewise.
24969         (log_test_data): Use AUTO_TESTS_f_f.
24970         (log10_test_data): Likewise.
24971         (log1p_test_data): Likewise.
24972         (log2_test_data): Likewise.
24973         (sin_test_data): Likewise.
24974         (sin_tonearest_test_data): Likewise.
24975         (sin_towardzero_test_data): Likewise.
24976         (sin_downward_test_data): Likewise.
24977         (sin_upward_test_data): Likewise.
24978         (sinh_test_data): Likewise.
24979         (sinh_tonearest_test_data): Likewise.
24980         (sinh_towardzero_test_data): Likewise.
24981         (sinh_downward_test_data): Likewise.
24982         (sinh_upward_test_data): Likewise.
24983         (tan_test_data): Likewise.
24984         (tan_tonearest_test_data): Likewise.
24985         (tan_towardzero_test_data): Likewise.
24986         (tan_downward_test_data): Likewise.
24987         (tan_upward_test_data): Likewise.
24988         (tanh_test_data): Likewise.
24989         (tgamma_test_data): Likewise.
24990         (y0_test_data): Likewise.
24991         (y1_test_data): Likewise.
24992         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24993         (special_real_inputs): Add pi/4.
24994         * sysdeps/i386/fpu/libm-test-ulps: Update.
24995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24997 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24999         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25000         "longjmp_target" static probes.
25001         (__longjmp): Rename to __longjmp_symbol.
25002         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25003         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25004         on which longjmp to generate.
25005         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25006         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25007         probe.
25008         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25009         (__sigjmp_save): Rename to __sigjmp_save_symbol.
25010         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25011         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25012         and __sigjmp_save_symbol based on which sigsetjmp to generated.
25013         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25015         __longjmp_symbol based on which __longjmp to generate.
25016         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25017         probe.
25018         (setjmp): Rename to setjmp_symbol.
25019         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25020         (_setjmp): Rename to _setjmp_symbol.
25021         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25022         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25023         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25024         which setjmp to generate.
25025         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25026         "longjmp_target" static probes.
25028 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25030         * benchtests/README: Add note about output arguments.
25031         * benchtests/bench-sincos.c: Remove file.
25032         * benchtests/sincos-inputs: New file.
25033         * scripts/bench.pl: Identify output arguments and define
25034         static variables for them.
25036         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25038         [BZ #15941]
25039         * Makefile (INSTALL): Add install-plain.texi as the primary
25040         dependency.
25041         * manual/install-plain.texi: New file.
25042         * manual/install.texi: Include node directive only for
25043         non-plaintext output.
25045 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
25047         * stdlib/longlong.h: Update from GCC.
25049         [BZ #6807]
25050         [BZ #15901]
25051         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25052         * math/w_j0f.c (y0f): Likewise.
25053         * math/w_j0l.c (__y0l): Likewise.
25054         * math/w_j1.c (y1): Likewise.
25055         * math/w_j1f.c (y1f): Likewise.
25056         * math/w_j1l.c (__y1l): Likewise
25057         * math/w_jn.c (yn): Likewise.
25058         * math/w_jnf.c (ynf): Likewise.
25059         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25060         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
25061         value for Bessel function domain errors outside _SVID_ mode.
25062         Adjust sign of return value for yn (negative integer, 0).
25063         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25064         by zero in return for negative x and set sign appropriately for
25065         negative n.
25066         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25067         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25068         * math/libm-test.inc (y0_test_data): Add more tests and adjust
25069         expectations in error cases.
25070         (y1_test_data): Likewise.
25071         (yn_test_data): Likewise.
25072         * sysdeps/i386/fpu/libm-test-ulps: Update.
25073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25075 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25077         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25078         "64" to "64-v1".  Add "64-v2".
25079         (abi-64-options): Rename to ...
25080         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
25081         (abi-64-condition): Rename to ...
25082         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
25083         (abi-64-ld-soname): Rename to ...
25084         (abi-64-v1-ld-soname): ... this.
25085         (abi-64-v2-options): Define.
25086         (abi-64-v2-condition): Likewise.
25087         (abi-64-v2-ld-soname): Likewise.
25088         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25089         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25094 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25095             Alan Modra  <amodra@gmail.com>
25097         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25098         New versions for use with the ELFv2 ABI.
25099         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25100         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25101         declaration.
25102         (struct La_ppc64v2_retval): Likewise.
25103         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25104         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25105         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25106         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25107         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25108         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25109         Do not save or restore CR.
25110         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25111         (_dl_profile_resolve): Do no save or restore CR.  Support extended
25112         return values for ELFv2 ABI.  Fix location of FPR return registers.
25113         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25114         updated values for _CALL_ELF == 2.
25115         (La_regs, La_retval, int_retval): Likewise.
25117 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25119         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25120         (FRAME_MIN_SIZE_PARM): Likewise.
25121         (FRAME_BACKCHAIN): Likewise.
25122         (FRAME_CR_SAVE): Likewise.
25123         (FRAME_LR_SAVE): Likewise.
25124         (FRAME_TOC_SAVE): Likewise.
25125         (FRAME_PARM_SAVE): Likewise.
25126         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25127         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25128         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25129         (call_mcount_parm_offset): New macro.
25130         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25131         (PROF): Use symbolic stack frame offsets.
25132         (TAIL_CALL_SYSCALL_ERROR): Likewise.
25133         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25134         Redefine in terms of FRAME_MIN_SIZE.
25135         (_dl_runtime_resolve): Use symbolic stack frame offsets.
25136         (_dl_profile_resolve): Likewise.  Update comment.
25137         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25138         symbols stack frame offsets.
25139         (__sigsetjmp): Likewise.
25140         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25141         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25142         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25143         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25146         (FRAME_BACKCHAIN): Remove.
25147         (FRAME_CR_SAVE): Likewise.
25148         (FRAME_LR_SAVE): Likewise.
25149         (FRAME_COMPILER_DW): Likewise.
25150         (FRAME_LINKER_DW): Likewise.
25151         (FRAME_TOC_SAVE): Likewise.
25152         (FRAME_PARM_SAVE): Likewise.
25153         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25154         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25155         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25157         (CHECK_SP): Use symbolic stack frame offsets.
25158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25159         zone" instead of caller's parameter save area for temp storage.
25160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25161         Likewise.  Also, use symbolic stack frame offsets.
25162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25163         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25164         our own stack frame instead of the caller's.
25165         (__socket): Use symbolic stack frame offsets.
25167 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25168             Alan Modra  <amodra@gmail.com>
25170         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25171         Define.
25172         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25173         (PPC64_LOCAL_ENTRY_OFFSET): Define.
25174         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25175         New function.
25176         (elf_machine_fixup_plt): Call it.
25177         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
25178         reloc arguments.
25179         (elf_machine_rela): Update call to elf_machine_plt_conflict.
25180         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25181         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25182         r2 before calling target.
25184 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25185             Alan Modra  <amodra@gmail.com>
25187         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25188         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25189         versions of macros to support ELFv2 ABI.
25190         (LOCALENTRY): New macro.
25191         (ENTRY, EALIGN): Use it.
25192         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25193         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25194         fall through into ENTRY entry point.
25195         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25196         Only define if _CALL_ELF != 2.
25198         (elf_machine_matches_host): Verify ABI version matches.
25199         (RTLD_START): Use LOCALENTRY.
25200         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25201         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25202         (PLT_ENTRY_WORDS): New macro.
25203         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25204         (elf_machine_runtime_setup): Support ELFv2 ABI.
25205         (elf_machine_fixup_plt): Likewise.
25206         (elf_machine_plt_conflict): Likewise.
25207         (resolve_ifunc): Likewise.
25208         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25209         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25210         Likewise.
25211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25212         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25214         (makecontext): Support ELFv2 ABI.
25215         * elf/elf.h (EF_PPC64_ABI): Define.
25217 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25219         * sysdeps/powerpc/powerpc64/sysdep.h
25220         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25221         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25222         (ENTRY) [ASSEMBLER]: ... but instead here ...
25223         (EALIGN) [ASSEMBLER]: ... and here.
25224         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25225         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25226         (ENTRY_2) [!ASSEMBLER]: Use it.
25227         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25228         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
25229         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25230         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25231         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25233         Use PPC64_LOAD_FUNCPTR.
25235         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25237 2013-12-04  Alan Modra  <amodra@gmail.com>
25239         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25240         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25241         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25242         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25244         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25245         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25246         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25247         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25248         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25249         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25251 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25254         (__makecontext): Fix incorrect CFI when backtracing out of
25255         context created via makecontext.
25256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25257         (__setcontext): Fix incorrect CFI during switch to new context.
25258         (__novec_setcontext): Likewise.
25260 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25262         [BZ #4772]
25263         * time/strptime_l.c (__strptime_internal): Allow modifiers
25264         in strptime.
25265         * time/tst-strptime.c (day_tests): Add testcase.
25267 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25269         * scripts/bench.pl: Skip over blank lines.
25271 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25273         [BZ #926]
25274         * manual/time.texi (Calendar Time): Clarify what timezone functions
25275         use.
25277 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25281 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25283         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25284         implementation.
25285         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25286         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25287         * debug/memset_chk.c (__memset_chk): Likewise.
25288         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25289         * debug/strncpy_chk.c: Likewise.
25291 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25293         [BZ #15268]
25294         [BZ #15425]
25295         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25296         (__ieee754_exp): For possibly underflowing results, check size of
25297         result and force underflow exception if required.
25298         * math/auto-libm-test-in: Add more tests of exp.
25299         * math/auto-libm-test-out: Regenerated.
25300         * sysdeps/i386/fpu/libm-test-ulps: Update.
25301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25303         [BZ #16283]
25304         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25305         * math/w_exp2f.c (__exp2f): Likewise.
25306         * math/w_exp2l.c (__exp2l): Likewise.
25307         * math/auto-libm-test-in: Do not allow missing errno on exp2
25308         underflow.
25309         * math/auto-libm-test-out: Regenerated.
25311 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
25313         [BZ #16274]
25314         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25315         handle filename validation.
25316         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25317         (do_open): Delete.
25319 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25321         [BZ #6786]
25322         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25323         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25324         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25325         <float.h>.
25326         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25327         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25328         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25329         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25330         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25331         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25332         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25333         * math/auto-libm-test-in: Don't allow missing errno from erfc.
25334         Add more erfc tests.
25335         * math/auto-libm-test-out: Regenerated.
25336         * sysdeps/i386/fpu/libm-test-ulps: Update.
25337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25339         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25340         exp2, expm1, j0 and j1.
25341         * math/auto-libm-test-out: Regenerated.
25342         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25343         (erfc_test_data): Likewise.
25344         (exp_test_data): Likewise.
25345         (exp_tonearest_test_data): Likewise.
25346         (exp_towardzero_test_data): Likewise.
25347         (exp_downward_test_data): Likewise.
25348         (exp_upward_test_data): Likewise.
25349         (exp10_test_data): Likewise.
25350         (exp2_test_data): Likewise.
25351         (expm1_test_data): Likewise.
25352         (j0_test_data): Likewise.
25353         (j1_test_data): Likewise.
25354         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25355         (input_flag_type): Add flag_xfail_rounding.
25356         (input_flags): Add xfail-rounding.
25357         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25358         (output_for_one_input_case): Handle flag_xfail_rounding.
25359         * sysdeps/i386/fpu/libm-test-ulps: Update.
25360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25362 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
25364         [BZ #16289]
25365         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25366         division by 0.
25368 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25370         [BZ #16195]
25371         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25372         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25373         (STAP_PROBE0): New macro.
25374         (STAP_PROBE1): Likewise.
25375         (STAP_PROBE2): Likewise.
25376         (STAP_PROBE3): Likewise.
25377         (STAP_PROBE4): Likewise.
25379 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
25381         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25383 2013-12-02  Steve Ellcey  <sellcey@mips.com>
25385         * benchtests/Makefile (bench): Add sqrt.
25386         (LDLIBS-bench-sqrt): New.
25387         * benchtests/sqrt-input: New.
25389 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
25391         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25392         (GAIH_EAI): Likewise.
25393         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25394         (gaih_inet): Likewise.
25395         (getaddrinfo): Don't use GAIH_EAI.
25397         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25398         (struct gaih): Remove definition.
25400 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25402         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25403         Use HERRNOP directly.
25405 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25409 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
25411         * math/gen-auto-libm-tests.c (test_functions): Add more
25412         single-argument functions.
25413         (special_fill_pi_2): New function.
25414         (special_fill_minus_pi_2): Likewise.
25415         (special_fill_pi_6): Likewise.
25416         (special_fill_minus_pi_6): Likewise.
25417         (special_fill_pi_3): Likewise.
25418         (special_fill_2pi_3): Likewise.
25419         (special_fill_e): Likewise.
25420         (special_fill_1_e): Likewise.
25421         (special_fill_e_minus_1): Likewise.
25422         (special_real_inputs): Add more special inputs.
25423         (output_for_one_input_case): Do not require ERANGE on underflow to
25424         zero if round-to-nearest result does not underflow to zero, unless
25425         exact results required.
25426         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25427         atan, atanh, cbrt, cos and cosh.
25428         * math/auto-libm-test-out: Regenerated.
25429         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25430         (acos_tonearest_test_data): Likewise.
25431         (acos_towardzero_test_data): Likewise.
25432         (acos_downward_test_data): Likewise.
25433         (acos_upward_test_data): Likewise.
25434         (acosh_test_data): Likewise.
25435         (asin_test_data): Likewise.
25436         (asin_tonearest_test_data): Likewise.
25437         (asin_towardzero_test_data): Likewise.
25438         (asin_upward_test_data): Likewise.
25439         (asinh_test_data): Likewise.
25440         (atan_test_data): Likewise.
25441         (atanh_test_data): Likewise.
25442         (cbrt_test_data): Likewise.
25443         (cos_test_data): Likewise.
25444         (cos_tonearest_test_data): Likewise.
25445         (cos_towardzero_test_data): Likewise.
25446         (cos_downward_test_data): Likewise.
25447         (cos_upward_test_data): Likewise.
25448         (cosh_test_data): Likewise.
25449         (cosh_tonearest_test_data): Likewise.
25450         (cosh_towardzero_test_data): Likewise.
25451         (cosh_downward_test_data): Likewise.
25452         (cosh_upward_test_data): Likewise.
25453         * sysdeps/i386/fpu/libm-test-ulps: Update.
25454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25456 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
25458         [BZ #6787]
25459         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25460         * math/w_exp10f.c (__exp10f): Likewise.
25461         * math/w_exp10l.c (__exp10l): Likewise.
25462         * math/libm-test.inc (exp10_test_data): Add more tests and expect
25463         errno settings in existing tests.
25465         [BZ #14032]
25466         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25467         precision control set to double precision.
25468         * sysdeps/i386/fpu/w_sqrt.c: New file.
25469         * math/auto-libm-test-in: Add more tests.
25470         * math/auto-libm-test-out: Update.
25472         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25473         (sqrt_test_tonearest): New function.
25474         (sqrt_towardzero_test_data): New variable.
25475         (sqrt_test_towardzero): New function.
25476         (sqrt_downward_test_data): New variable.
25477         (sqrt_test_downward): New function.
25478         (sqrt_upward_test_data): New variable.
25479         (sqrt_test_upward): New function.
25480         (main): Call the new functions.
25482         * math/gen-auto-libm-tests.c: New file.
25483         * math/auto-libm-test-in: Likewise.
25484         * math/auto-libm-test-out: New generated file.
25485         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25486         variables.
25487         (%beautify): Add generated representations of zero.
25488         (top level): Set $auto_input and call parse_auto_input.
25489         (beautify): Remove trailing "f" from hex float constants.
25490         (parse_args): Handle XFAIL_TEST.
25491         (convert_condition): New function.
25492         (or_value): Likewise.
25493         (or_cond_value): Likewise.
25494         (generate_testfile): Handle AUTO_TESTS_* lines.
25495         (parse_auto_input): New function.
25496         * math/libm-test.inc (XFAIL_TEST): New macro.
25497         (ERRNO_UNCHANGED): Update value.
25498         (ERRNO_EDOM): Likewise.
25499         (ERRNO_ERANGE): Likewise.
25500         (IGNORE_RESULT): Likewise.
25501         (TEST_COND_flt_32): New macro.
25502         (TEST_COND_dbl_64): Likewise.
25503         (TEST_COND_ldbl_96_intel): Likewise.
25504         (TEST_COND_ldbl_96_m68k): Likewise.
25505         (TEST_COND_ldbl_128): Likewise.
25506         (TEST_COND_ldbl_128ibm): Likewise.
25507         (TEST_COND_long32): Likewise.
25508         (TEST_COND_long64): Likewise.
25509         (TEST_COND_before_rounding): Likewise.
25510         (TEST_COND_after_rounding): Likewise.
25511         (enable_test): Handle XFAIL_TEST flag.
25512         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25513         with finite results.
25514         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25515         auto-libm-test-out.
25517 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25518             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25520         [BZ #16214]
25521         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25522         __tls_get_addr_internal instead of __tls_get_offset in order to
25523         avoid GOT pointer dependency.  Make rtld export
25524         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25525         __tls_get_addr since we are a __tls_get_offset platform.
25526         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25527         GOT pointer being set up before.
25528         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25530 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
25532         * manual/math.texi (Errors in Math Functions): Document accuracy
25533         goals.
25535         [BZ #15004]
25536         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25537         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25538         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25539         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25540         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25541         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25542         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25543         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25544         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25545         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25546         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25547         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25548         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25549         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25550         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25551         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25553         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25554         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25555         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25556         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25557         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25558         Likewise.
25559         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25560         Likewise.
25561         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25562         Likewise.
25563         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25564         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25565         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25566         atomic-feupdateenv and flt-rounds.
25567         * sysdeps/powerpc/nofpu/Versions (libc): Add
25568         __atomic_feholdexcept, __atomic_feclearexcept,
25569         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25570         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25571         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25572         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25573         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25574         here.
25575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25576         Update.
25578         * manual/arith.texi (FP Exceptions): Document that exceptions may
25579         not be raised when matherr is used.
25580         (Math Error Reporting): Document overflow in directed rounding
25581         modes.  Document that errno may not be set when finite values are
25582         returned on overflow.  Document intent to set errno on underflow
25583         only for underflow to zero.
25585         [BZ #16271]
25586         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25587         round-to-nearest then adjust result for other rounding modes.
25588         * include/fenv.h (fegetround): Use libm_hidden_proto.
25589         * math/fegetround.c (fegetround): Use libm_hidden_def.
25590         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25591         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25592         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25593         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25594         Likewise.
25595         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25596         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25597         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25598         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25600 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25602         [BZ #16077]
25603         * nss/Versions (libnss_files): Add
25604         _nss_files_gethostbyname3_r.
25605         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25606         New function.
25607         (HOST_DB_LOOKUP): Remove macro.
25608         (_nss_files_gethostbyname_r): Implement function without the
25609         HOST_DB_LOOKUP macro.
25610         (_nss_files_gethostbyname2_r): Likewise.
25612 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
25614         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25616 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
25618         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25619         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25620         warning.
25622 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25624         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25625         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25626         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25627         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25628         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25629         __fe_nomask_env_priv and attribute_hidden.
25630         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25631         (libc_feupdateenv_test_ppc): Likewise.
25632         (libc_feresetround_ppc): Likewise.
25633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25634         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25635         compat_symbol macro.
25636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25637         (__fe_nomask_env): Likewise.
25638         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25640 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25642         * string/Makefile: Remove ifunc tests.
25643         * string/test-string.h: Define TEST_IFUNC.
25644         * string/test-bcopy-ifunc.c: Remove.
25645         * string/test-bzero-ifunc.c: Likewise.
25646         * string/test-memccpy-ifunc.c: Likewise.
25647         * string/test-memchr-ifunc.c: Likewise.
25648         * string/test-memcmp-ifunc.c: Likewise.
25649         * string/test-memcpy-ifunc.c: Likewise.
25650         * string/test-memmem-ifunc.c: Likewise.
25651         * string/test-memmove-ifunc.c: Likewise.
25652         * string/test-mempcpy-ifunc.c: Likewise.
25653         * string/test-memrchr-ifunc.c: Likewise.
25654         * string/test-memset-ifunc.c: Likewise.
25655         * string/test-rawmemchr-ifunc.c: Likewise.
25656         * string/test-stpcpy-ifunc.c: Likewise.
25657         * string/test-stpncpy-ifunc.c: Likewise.
25658         * string/test-strcasecmp-ifunc.c: Likewise.
25659         * string/test-strcasestr-ifunc.c: Likewise.
25660         * string/test-strcat-ifunc.c: Likewise.
25661         * string/test-strchr-ifunc.c: Likewise.
25662         * string/test-strchrnul-ifunc.c: Likewise.
25663         * string/test-strcmp-ifunc.c: Likewise.
25664         * string/test-strcpy-ifunc.c: Likewise.
25665         * string/test-strcspn-ifunc.c: Likewise.
25666         * string/test-strlen-ifunc.c: Likewise.
25667         * string/test-strncasecmp-ifunc.c: Likewise.
25668         * string/test-strncat-ifunc.c: Likewise.
25669         * string/test-strncmp-ifunc.c: Likewise.
25670         * string/test-strncpy-ifunc.c: Likewise.
25671         * string/test-strnlen-ifunc.c: Likewise.
25672         * string/test-strpbrk-ifunc.c: Likewise.
25673         * string/test-strrchr-ifunc.c: Likewise.
25674         * string/test-strspn-ifunc.c: Likewise.
25675         * string/test-strstr-ifunc.c: Likewise.
25677 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25679         * benchtests/Makefile: Remove ifunc tests.
25680         * benchtests/bench-string.h: Define TEST_IFUNC.
25681         * benchtests/bench-bcopy-ifunc.c: Remove.
25682         * benchtests/bench-bzero-ifunc.c: Likewise.
25683         * benchtests/bench-memccpy-ifunc.c: Likewise.
25684         * benchtests/bench-memchr-ifunc.c: Likewise.
25685         * benchtests/bench-memcmp-ifunc.c: Likewise.
25686         * benchtests/bench-memcpy-ifunc.c: Likewise.
25687         * benchtests/bench-memmem-ifunc.c: Likewise.
25688         * benchtests/bench-memmove-ifunc.c: Likewise.
25689         * benchtests/bench-mempcpy-ifunc.c: Likewise.
25690         * benchtests/bench-memrchr-ifunc.c: Likewise.
25691         * benchtests/bench-memset-ifunc.c: Likewise.
25692         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25693         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25694         * benchtests/bench-stpcpy-ifunc.c: Likewise.
25695         * benchtests/bench-stpncpy-ifunc.c: Likewise.
25696         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25697         * benchtests/bench-strcasestr-ifunc.c: Likewise.
25698         * benchtests/bench-strcat-ifunc.c: Likewise.
25699         * benchtests/bench-strchr-ifunc.c: Likewise.
25700         * benchtests/bench-strchrnul-ifunc.c: Likewise.
25701         * benchtests/bench-strcmp-ifunc.c: Likewise.
25702         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25703         * benchtests/bench-strcpy-ifunc.c: Likewise.
25704         * benchtests/bench-strcspn-ifunc.c: Likewise.
25705         * benchtests/bench-strlen-ifunc.c: Likewise.
25706         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25707         * benchtests/bench-strncat-ifunc.c: Likewise.
25708         * benchtests/bench-strncmp-ifunc.c: Likewise.
25709         * benchtests/bench-strncpy-ifunc.c: Likewise.
25710         * benchtests/bench-strnlen-ifunc.c: Likewise.
25711         * benchtests/bench-strpbrk-ifunc.c: Likewise.
25712         * benchtests/bench-strrchr-ifunc.c: Likewise.
25713         * benchtests/bench-strsep-ifunc.c: Likewise.
25714         * benchtests/bench-strspn-ifunc.c: Likewise.
25715         * benchtests/bench-strstr-ifunc.c: Likewise.
25717 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25719         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25721 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25723         * resolv/netdb.h: Use __glibc_reserved instead __unused.
25724         * rt/aio.h: Likewise.
25725         * sysdeps/gnu/bits/utmp.h: Likewise.
25726         * sysdeps/gnu/bits/utmpx.h: Likewise.
25727         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25728         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25729         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25730         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25731         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25732         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25733         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25734         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25735         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25736         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25737         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25738         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25739         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25741         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25742         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25743         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25744         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25745         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25746         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25747         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25748         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25749         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25750         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25751         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25752         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25753         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25754         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25755         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25756         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25757         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25758         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25759         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25760         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25761         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25762         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25763         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25764         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25765         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25766         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25767         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25768         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25770 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
25772         [BZ #16245]
25773         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25774         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25776 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
25778         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25779         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25780         Likewise.
25782 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25784         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25785         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25786         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25787         (__fesetround): Remove define.
25788         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25789         rounding and exceptions handling.
25790         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25791         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25792         (__fe_nomask_env): Likewise.
25793         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25794         __fegetround instead of fegetround.
25795         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25796         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25798 2013-11-21  Roland McGrath  <roland@hack.frob.com>
25800         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25801         it's there.
25803         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25805 2013-11-21  Meador Inge  <meadori@codesourcery.com>
25807         [BZ #11157]
25808         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25809         (encrypt_r): Likewise.
25810         * malloc/obstack.h (obstack_free): Likewise.
25811         * posix/unistd.h (encrypt): Likewise.
25813 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
25815         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25816         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25817         DL_CALL_DT_FINI() that call the functions directly.
25818         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25819         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25820         * elf/dl-fini.c: Likewise.
25822 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
25824         * malloc/hooks.c (memalign_check): Add alignment rounding.
25825         * malloc/malloc.c (_mid_memalign): New function.
25826         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25827         Implement by calling _mid_memalign.
25828         * manual/probes.texi (Memory Allocation Probes): Remove
25829         memory_valloc_retry and memory_pvalloc_retry.
25831 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25833         * locale/programs/locarchive.c (open_archive): Add const
25834         qualifier to ARCHIVEFNAME and copy default fname to
25835         DEFAULT_FNAME.
25837         [BZ #15601]
25838         * libio/tst-widetext.input: Rename Oriya to Odia.
25839         * locale/iso-639.def: Likewise.
25841         * manual/probes.texi (Mathematical Function Probes): Add
25842         documentation for sin, cos, asin and acos probes.
25843         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25844         (__sin32): Add slowasin probe.
25845         (__cos32): Add slowacos probe.
25846         (__mpsin): Add slowsin probe.
25847         (__mpcos): Add slowcos probe.
25849 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
25851         [BZ #15483]
25852         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25853         thread-local __sim_exceptions_thread and global
25854         __sim_exceptions_global.
25855         (__sim_disabled_exceptions): Change to thread-local
25856         __sim_disabled_exceptions_thread and global
25857         __sim_disabled_exceptions_global.
25858         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25859         and global __sim_round_mode_global.
25860         (__simulate_exceptions): Use thread-local floating-point state and
25861         set global state from it as needed.
25862         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25863         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25864         __sim_round_mode_thread.
25865         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25866         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25867         and global __sim_exceptions_global.
25868         (__sim_disabled_exceptions): Change to thread-local
25869         __sim_disabled_exceptions_thread and global
25870         __sim_disabled_exceptions_global.
25871         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25872         and global __sim_round_mode_global.
25873         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25874         (SIM_SET_GLOBAL): Likewise.
25875         * sysdeps/powerpc/soft-fp/sfp-machine.h
25876         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25877         __sim_round_mode_thread.
25878         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25879         __sim_disabled_exceptions_thread.
25880         (__sim_exceptions): Change to __sim_exceptions_thread.
25881         (__sim_disabled_exceptions): Change to
25882         __sim_disabled_exceptions_thread.
25883         (__sim_round_mode): Change to __sim_round_mode_thread.
25884         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25885         thread-local floating-point state and set global state from it as
25886         needed.
25887         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25888         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25889         (__sim_disabled_exceptions): Remove extern declaration.
25890         (feenableexcept): Use thread-local floating-point state and set
25891         global state from it as needed.
25892         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25893         extern declaration.
25894         (__sim_disabled_exceptions): Likewise.
25895         (__sim_round_mode): Likewise.
25896         (__fegetenv): Use thread-local floating-point state.
25897         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25898         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25899         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25900         floating-point state and set global state from it as needed.
25901         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25902         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25903         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25904         Likewise.
25905         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25906         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25907         Likewise.
25908         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25909         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25910         Use __sim_round_mode_thread.
25911         * math/test-fenv-tls.c: New file.
25912         * math/Makefile (tests): Add test-fenv-tls.
25913         ($(objpfx)test-fenv-tls): Depend on
25914         $(common-objpfx)nptl/libpthread.so.
25916 2013-11-19  Andreas Schwab  <schwab@suse.de>
25918         * locale/programs/locale.c (show_info): Decode wordarray elements.
25919         * locale/categories.def (LC_MONETARY): Add element for
25920         _NL_MONETARY_CRNCYSTR.
25921         * locale/C-monetary.c (conversion_rate): New variable.
25922         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25923         element.
25925 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
25927         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25928         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25930 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
25932         * elf/Makefile (tst-auxv): New test.
25933         * elf/tst-auxv.c: New
25934         * elf/rtld.c (dl_main): Adjust AT_EXECFN
25936 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
25938         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25939         (hidden_proto): Caller changed.
25940         (hidden_tls_proto): New macro.
25941         (libc_hidden_tls_proto): Likewise.
25942         (rtld_hidden_tls_proto): Likewise.
25943         (libm_hidden_tls_proto): Likewise.
25944         (libresolv_hidden_tls_proto): Likewise.
25945         (librt_hidden_tls_proto): Likewise.
25946         (libdl_hidden_tls_proto): Likewise.
25947         (libnss_files_hidden_tls_proto): Likewise.
25948         (libnsl_hidden_tls_proto): Likewise.
25949         (libnss_nisplus_hidden_tls_proto): Likewise.
25950         (libutil_hidden_tls_proto): Likewise.
25952 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
25954         [BZ #10253]
25955         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25956         (decompose_rpath): Defer expansion to fillin_rpath.
25957         (_dl_init_paths): Pass linkmap to fillin_rpath.
25959 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25961         * benchtests/Makefile: Add strsep.
25962         * benchtests/bench-strsep.c: New file: strsep benchtest.
25963         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25965 2013-11-18  Andreas Schwab  <schwab@suse.de>
25967         * locale/programs/locale.c (show_info) [case byte]: Check for
25968         '\377' instead of '\177'.
25969         * locale/C-monetary.c (not_available): Always use "\377".
25970         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25971         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
25972         detect unavailable sign_posn locale elements.
25973         * locale/localeconv.c (__localeconv): For grouping and
25974         mon_grouping handle "\177" and "\377" like no grouping.
25975         (INT_ELEM): New macro.  Use it to set all numeric members.
25976         * locale/programs/ld-monetary.c (monetary_read)
25977         <tok_mon_grouping>: Normalize single -1 to the empty string.
25978         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25979         Likewise.
25981 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25983         [BZ #16055]
25984         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25985         when we match (nil).
25986         * stdio-common/tst-sscanf.c (struct test): Add testcase.
25988 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
25990         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25991         (NO_TEST_INLINE): Update value.
25992         (ERRNO_UNCHANGED): Likewise.
25993         (ERRNO_EDOM): Likewise.
25994         (ERRNO_ERANGE): Likewise.
25995         (IGNORE_RESULT): Likewise.
25996         (check_float_internal): Check signs of NaN results if
25997         TEST_NAN_SIGN used.
25998         (check_complex): Pass TEST_NAN_SIGN flag through to second
25999         check_float_internal call.
26000         (copysign_test_data): Add tests with quiet NaNs as second
26001         argument.  Use TEST_NAN_SIGN.
26002         (fabs_test_data): Add test of negative quiet NaN argument.  Use
26003         TEST_NAN_SIGN.
26004         (signbit_test_data): Add tests of quiet NaN argument.
26005         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26007         * math/gen-libm-test.pl (show_exceptions): Take extra argument
26008         $ignore_result.
26009         (parse_args): Handle function results specified as IGNORE.
26010         * math/libm-test.inc (IGNORE_RESULT): New macro.
26011         (check_float_internal): Do not check numerical result if flag
26012         IGNORE_RESULT set.
26013         (check_complex): Pass through IGNORE_RESULT to second
26014         check_float_internal call.
26015         (check_int): Do not check numerical result if flag IGNORE_RESULT
26016         set.
26017         (check_long): Likewise.
26018         (check_bool): Likewise.
26019         (check_longlong): Likewise.
26020         (lrint_test_data): Add tests of infinite and NaN arguments.
26021         (lrint_tonearest_test_data): Likewise.
26022         (lrint_towardzero_test_data): Likewise.
26023         (lrint_downward_test_data): Likewise.
26024         (lrint_upward_test_data): Likewise.
26025         (llrint_test_data): Likewise.
26026         (llrint_tonearest_test_data): Likewise.
26027         (llrint_towardzero_test_data): Likewise.
26028         (llrint_downward_test_data): Likewise.
26029         (llrint_upward_test_data): Likewise.
26030         (lround_test_data): Likewise.
26031         (llround_test_data): Likewise.
26033         * math/libm-test.inc (NO_TEST_INLINE): New macro.
26034         (ERRNO_UNCHANGED): Update value.
26035         (ERRNO_EDOM): Likewise.
26036         (ERRNO_ERANGE): Likewise.
26037         (NO_TEST_INLINE_FLOAT): New macro.
26038         (NO_TEST_INLINE_DOUBLE): Likewise.
26039         (enable_test): New function.
26040         (RUN_TEST_f_f): Check enable_test before running test.
26041         (RUN_TEST_2_f): Likewise.
26042         (RUN_TEST_fff_f): Likewise.
26043         (RUN_TEST_c_f): Likewise.
26044         (RUN_TEST_f_f1): Likewise.
26045         (RUN_TEST_fF_f1): Likewise.
26046         (RUN_TEST_fI_f1): Likewise.
26047         (RUN_TEST_ffI_f1): Likewise.
26048         (RUN_TEST_c_c): Likewise.
26049         (RUN_TEST_cc_c): Likewise.
26050         (RUN_TEST_f_i): Likewise.
26051         (RUN_TEST_f_i_tg): Likewise.
26052         (RUN_TEST_ff_i_tg): Likewise.
26053         (RUN_TEST_f_b): Likewise.
26054         (RUN_TEST_f_b_tg): Likewise.
26055         (RUN_TEST_f_l): Likewise.
26056         (RUN_TEST_f_L): Likewise.
26057         (RUN_TEST_fFF_11): Likewise.
26058         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26059         conditionals.
26060         (cosh_test_data): Likewise.
26061         (exp_test_data): Likewise.
26062         (expm1_test_data): Likewise.
26063         (hypot_test_data): Likewise.
26064         (pow_test_data): Likewise.
26065         (sinh_test_data): Likewise.
26066         (tanh_test_data): Likewise.
26067         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26068         flags argument.
26070         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26071         tests with quiet NaN input and output.
26072         (acosh_test_data): Likewise.
26073         (asin_test_data): Likewise.
26074         (asinh_test_data): Likewise.
26075         (atan_test_data): Likewise.
26076         (atanh_test_data): Likewise.
26077         (atan2_test_data): Likewise.
26078         (cbrt_test_data): Likewise.
26079         (cos_test_data): Likewise.
26080         (cosh_test_data): Likewise.
26081         (erf_test_data): Likewise.
26082         (erfc_test_data): Likewise.
26083         (exp_test_data): Likewise.
26084         (exp10_test_data): Likewise.
26085         (exp2_test_data): Likewise.
26086         (expm1_test_data): Likewise.
26087         (hypot_test_data): Likewise.
26088         (j0_test_data): Likewise.
26089         (j1_test_data): Likewise.
26090         (jn_test_data): Likewise.
26091         (lgamma_test_data): Likewise.
26092         (log_test_data): Likewise.
26093         (log10_test_data): Likewise.
26094         (log1p_test_data): Likewise.
26095         (log2_test_data): Likewise.
26096         (pow_test_data): Likewise.
26097         (scalb_test_data): Likewise.
26098         (sin_test_data): Likewise.
26099         (sincos_test_data): Likewise.
26100         (sinh_test_data): Likewise.
26101         (tan_test_data): Likewise.
26102         (tanh_test_data): Likewise.
26103         (tgamma_test_data): Likewise.
26104         (y0_test_data): Likewise.
26105         (y1_test_data): Likewise.
26106         (yn_test_data): Likewise.
26108         [BZ #16167]
26109         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26110         argument being NaN and avoid computations with second argument in
26111         that case.
26112         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26113         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26114         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26116 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
26118         * locale/iso-639.def: Add Chitwani Tharu (the).
26120 2013-11-14  Andreas Schwab  <schwab@suse.de>
26122         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26123         word instead of empty string.
26125 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26128         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26130         (__fe_nomask_env): Likewise.
26132 2013-11-13  Steve Ellcey  <sellcey@mips.com>
26134         * benchtests/bench-timing.h: Include time.h.
26136 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
26138         [BZ #15997]
26139         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26140         to 3.4.0 for x32.
26141         * sysdeps/unix/sysv/linux/configure: Regenerated.
26143 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
26145         [BZ #16151]
26146         * stdlib/strtod_l.c (round_and_return): Do not consider
26147         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26148         exponent one less than half the least subnormal exponent.
26149         * stdlib/test-strtod-round-data: Add more tests.
26150         * stdlib/tst-strtod-round.c (tests): Regenerated.
26152 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26154         [BZ #14143]
26155         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26156         (__fe_mask_env): Likewise.
26157         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26158         libm_hidden_proto and add function prototype.
26159         (__fe_mask_env): Add function prototype.
26160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26161         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26163         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26165         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26167 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26169         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26170         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26172 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26174         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26175         of htab_find_slot().
26177 2013-11-11  David S. Miller  <davem@davemloft.net>
26179         [BZ #16150]
26180         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26181         symbol in the non-vis3 case in static builds.
26182         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26183         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26184         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26185         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26187 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
26189         [BZ #387]
26190         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26191         it is empty.
26193 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26195         * benchtests/Makefile: Add bench-strtod.
26196         * benchtests/bench-strtod.c: New file: strtod benchtest
26198 2013-11-11  Andreas Schwab  <schwab@suse.de>
26200         [BZ #16153]
26201         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26202         terminating NUL in key length.
26204 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26206         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26207         Add artificial ODP entry for vDSO symbol for PPC64.
26208         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26209         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26211 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26213         [BZ #15374]
26214         * nss/getent.c (services_keys): Recognize services starting with digit.
26216 2013-11-06  David S. Miller  <davem@davemloft.net>
26218         [BZ #15985]
26219         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26220         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26222 2013-11-06  Will Newton  <will.newton@linaro.org>
26224         * manual/memory.texi (Malloc Examples): Remove register
26225         keyword from examples.
26227 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
26229         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26231 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
26233         [BZ #6981]
26234         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26235         depending on [__GCC_IEC_559 > 0].
26236         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26237         depending on [__GCC_IEC_559_COMPLEX > 0].
26239 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
26241         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26242         to iso-639.def.
26244 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
26246         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26248 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
26250         [BZ #16112]
26251         * malloc/malloc (malloc_info): Do not handle first bin as
26252         special case.
26254 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
26256         * locale/iso-639.def: Add Central Nahuatl (nhn).
26258 2013-11-01  Bruno Haible  <bruno@clisp.org>
26260         [BZ #7003]
26261         * manual/math.texi (BSD Random): Specify range upper bound as
26262         in POSIX.
26264 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
26266         * locale/iso-639.def: Add Meadow Mari (mhr).
26268 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
26270         [BZ #14752], [BZ #15763]
26271         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26272         Validate name.
26273         * rt/tst_shm.c: Add test for escaping directory.
26275 2013-10-31  Andreas Schwab  <schwab@suse.de>
26277         [BZ #15917]
26278         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26279         followed by 'x' as part of digit sequence.
26280         * stdio-common/tst-sscanf.c (double_tests2): New tests.
26282 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26284         [BZ #16037]
26285         * configure.ac: allow GNU Make 4.0 and greater.
26286         * configure: Regenerated.
26288 2013-10-30  Will Newton  <will.newton@linaro.org>
26290         [BZ #16038]
26291         * malloc/hooks.c (memalign_check): Limit alignment to the
26292         maximum representable power of two.
26293         * malloc/malloc.c (__libc_memalign): Likewise.
26294         * malloc/tst-memalign.c (do_test): Add test for very
26295         large alignment values.
26296         * malloc/tst-posix_memalign.c (do_test): Likewise.
26298 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26300         [BZ #11087]
26301         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26302         (munmap_chunk): Likewise.
26303         (mremap_chunk): Likewise.
26305 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26307         [BZ #15799]
26308         * stdlib/div.c (div): Remove obsolete code.
26309         * stdlib/ldiv.c (ldiv): Likewise.
26310         * stdlib/lldiv.c (lldiv): Likewise.
26312 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26314         [BZ #16071]
26315         * nss/nss_files/files-XXX.c (get_contents_ret): New
26316         enumerator.
26317         (get_contents): New function.
26318         (internal_getent): Use it.  Expand size of LINEBUFLEN.
26320 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
26322         * configure.in: Moved to ...
26323         * configure.ac: ... here. Change reference to configure.in
26324         to configure.ac.
26325         * sysdeps/arm/preconfigure.ac: ... here.
26326         configure.in to configure.ac.
26327         * sysdeps/gnu/configure.in: Moved to ...
26328         * sysdeps/gnu/configure.ac: ... here.
26329         * sysdeps/i386/configure.in: Moved to ...
26330         * sysdeps/i386/configure.ac: ... here.
26331         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26332         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26333         * sysdeps/mach/configure.in: Moved to ...
26334         * sysdeps/mach/configure.ac: ... here.
26335         * sysdeps/mach/hurd/configure.in: Moved to ...
26336         * sysdeps/mach/hurd/configure.ac: ... here.
26337         * sysdeps/powerpc/configure.in: Moved to ...
26338         * sysdeps/powerpc/configure.ac: ... here.
26339         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26340         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26341         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26342         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26343         * sysdeps/s390/s390-32/configure.in: Moved to ...
26344         * sysdeps/s390/s390-32/configure.ac: ... here.
26345         * sysdeps/s390/s390-64/configure.in: Moved to ...
26346         * sysdeps/s390/s390-64/configure.ac: ... here.
26347         * sysdeps/sh/configure.in: Moved to ...
26348         * sysdeps/sh/configure.ac: ... here.
26349         * sysdeps/sparc/configure.in: Moved to ...
26350         * sysdeps/sparc/configure.ac: ... here.
26351         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26352         * sysdeps/unix/sysv/linux/configure.ac: ... here.
26353         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26354         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26355         * sysdeps/x86_64/configure.in: Moved to ...
26356         * sysdeps/x86_64/configure.ac: ... here.
26357         * sysdeps/x86_64/preconfigure.in: Moved to ...
26358         * sysdeps/x86_64/preconfigure.ac: ... here.
26359         * aclocal.m4: Change reference to configure.in to configure.ac.
26360         * config.h.in: Likewise.
26361         * manual/install.texi: Likewise.
26362         * manual/maint.texi: Likewise.
26363         * Makefile: Likewise.
26364         * malloc/Makefile: Likewise.
26365         * nscd/Makefile: Likewise.
26366         * Makeconfig: Change reference to configure.in and
26367         preconfigure.in to configure.ac and preconfigure.ac
26368         respectively.
26369         * INSTALL: Regenerated.
26370         * configure: Likewise.
26371         * sysdeps/gnu/configure: Likewise.
26372         * sysdeps/i386/configure: Likewise.
26373         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26374         * sysdeps/mach/configure: Likewise.
26375         * sysdeps/mach/hurd/configure: Likewise.
26376         * sysdeps/powerpc/configure: Likewise.
26377         * sysdeps/powerpc/powerpc32/configure: Likewise.
26378         * sysdeps/powerpc/powerpc64/configure: Likewise.
26379         * sysdeps/s390/s390-32/configure: Likewise.
26380         * sysdeps/s390/s390-64/configure: Likewise.
26381         * sysdeps/sh/configure: Likewise.
26382         * sysdeps/sparc/configure: Likewise.
26383         * sysdeps/unix/sysv/linux/configure: Likewise.
26384         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26385         * sysdeps/x86_64/configure: Likewise.
26386         * sysdeps/x86_64/preconfigure: Likewise.
26388 2013-10-29  Andreas Schwab  <schwab@suse.de>
26390         * stdio-common/Makefile (tst-swscanf-ENV): Define.
26392 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26394         * benchtests/pow-inputs: Add new inputs.
26396         * benchtests/exp-inputs: Add new inputs.
26398         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26399         conditional check for return value.
26400         (__cos32): Likewise.
26402 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26404         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26405         to provide a boost for large inputs with word alignment.
26406         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26407         implementation based on optimized PPC64 strcpy.
26408         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26409         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26410         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26411         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26413 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26415         [BZ #2801]
26416         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26418 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26420         [BZ #14876]
26421         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26422         * time/tst-strptime.c (day_tests): Add testcase.
26424 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26426         [BZ #14029]
26427         * manual/pattern.texi: Acknowledge that fnmatch can fail.
26429 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
26431         [BZ #16074]
26432         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26433         MAP_FAILED on error.
26435 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26437         [BZ #16072]
26438         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26439         heap for large requests.
26441 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
26443         [BZ #9954]
26444         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26445         result if the result has no associated interface.
26446         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26447         interface for all 127.X.Y.Z addresses.
26449 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
26451         * locale/iso-639.def: Add Ligurian (lij)
26453 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
26455         [BZ #15825]
26456         * sunrpc/rpc_main.c: Document rpcgen -5.
26458 2013-10-19  Michael Stahl  <mstahl@redhat.com>
26460         * elf/rtld.c (do_preload): Print the reason why preloading failed.
26462 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26464         [BZ #10278]
26465         * posix/glob.c: Match only directories when trailing slash is present.
26466         * posix/tst-gnuglob.c (my_opendir): Do not open files.
26467         (main): Add testcase.
26469 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26471         [BZ #15670]
26472         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26474 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
26476         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26477         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26478         AUTH_DES and cindex for FIPS 140-2.
26479         (DES Encryption): Add cindex FIPS 46-3.
26481         * locale/locarchive.h (struct locarhandle): Add fname.
26482         * locale/programs/localedef.c (main): Pass ARGV[remaining]
26483         if an optional argument was specified to --list-archive,
26484         otherwise NULL.
26485         * locale/programs/locarchive.c (show_archive_content): Take new
26486         argument fname and pass it via ah.fname to open_archive.
26487         * locale/programs/localedef.h: Update decl.
26488         (open_archive): If AH->fname is non-null, open that file
26489         rather than the default file name, and don't ignore ENOENT.
26490         (create_archive): Set AH.fname to NULL.
26491         (delete_locales_from_archive): Likewise.
26492         (add_locales_to_archive): Likewise.
26493         * locale/programs/locfile.c (write_all_categories): Likewise.
26495 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
26496             Aldy Hernandez  <aldyh@redhat.com>
26498         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26499         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26500         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26501         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26502         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26503         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26504         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26505         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26506         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26507         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26508         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26509         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26510         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26511         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26512         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26513         Likewise.
26514         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26515         Likewise.
26516         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26517         Likewise.
26518         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26519         Likewise.
26520         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26521         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26522         Likewise.
26523         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26524         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26525         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26526         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26527         Likewise.
26528         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26529         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26530         * sysdeps/powerpc/preconfigure: Likewise.
26531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26532         Likewise.
26533         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26534         Replace contents of file by #include of <fenv_libc.h>.
26535         * sysdeps/powerpc/soft-fp/sfp-machine.h
26536         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26537         and <sys/prctl.h>.
26538         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26539         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26540         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26541         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26542         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26543         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26545         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26546         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26547         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26548         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26549         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26551         Allow copysignl PLT reference to be missing.
26553 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
26554             Joseph Myers  <joseph@codesourcery.com
26556         [BZ #15948]
26557         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26558         single character.
26559         (add_to_tablewc): Assert sequence of wide characters is nonempty.
26561 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26563         * elf/tst-tls-dlinfo.c: Don't include tls.h.
26564         * elf/tst-tls1.c: Likewise.
26565         * elf/tst-tls10.h: Likewise.
26566         * elf/tst-tls14.c: Likewise.
26567         * elf/tst-tls2.c: Likewise.
26568         * elf/tst-tls3.c: Likewise.
26569         * elf/tst-tls4.c: Likewise.
26570         * elf/tst-tls5.c: Likewise.
26571         * elf/tst-tls6.c: Likewise.
26572         * elf/tst-tls7.c: Likewise.
26573         * elf/tst-tls8.c: Likewise.
26574         * elf/tst-tls9.c: Likewise.
26575         * elf/tst-tlsmod1.c: Likewise.
26576         * elf/tst-tlsmod13.c: Likewise.
26577         * elf/tst-tlsmod13a.c: Likewise.
26578         * elf/tst-tlsmod14a.c: Likewise.
26579         * elf/tst-tlsmod16a.c: Likewise.
26580         * elf/tst-tlsmod16b.c: Likewise.
26581         * elf/tst-tlsmod2.c: Likewise.
26582         * elf/tst-tlsmod3.c: Likewise.
26583         * elf/tst-tlsmod4.c: Likewise.
26584         * elf/tst-tlsmod5.c: Likewise.
26585         * elf/tst-tlsmod6.c: Likewise.
26587 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
26589         [BZ #12486]
26590         * malloc/malloc.c: remove checks for statistics.
26592 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26594         [BZ #15277]
26595         * inet/inet_net.c (inet_network): Detect additional invalid strings.
26596         * inet/tst-network.c: Add testcase.
26598 2013-10-17  Andreas Schwab  <schwab@suse.de>
26600         [BZ #15218]
26601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26602         to determine canonical name.
26604 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26606         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26607         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26608         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26609         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26610         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26611         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26612         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26613         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26614         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26615         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26616         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26617         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26618         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26619         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26620         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26621         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26622         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26623         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26624         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26625         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26626         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26627         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26628         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26629         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26630         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26631         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26632         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26633         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26634         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26635         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26636         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26637         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26638         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26639         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26640         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26641         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26642         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26643         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26644         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26645         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26646         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26647         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26648         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26649         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26650         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26651         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26652         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26653         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26654         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26655         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26656         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26657         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26658         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26659         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26660         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26661         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26662         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26663         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26665 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
26667         [BZ #16041]
26668         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26669         make result into a quiet NaN.
26671 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
26673         * soft-fp/adddf3.c: Fix horizontal whitespace.
26674         * soft-fp/addsf3.c: Likewise.
26675         * soft-fp/addtf3.c: Likewise.
26676         * soft-fp/divdf3.c: Likewise.
26677         * soft-fp/divsf3.c: Likewise.
26678         * soft-fp/divtf3.c: Likewise.
26679         * soft-fp/double.h: Likewise.
26680         * soft-fp/eqdf2.c: Likewise.
26681         * soft-fp/eqsf2.c: Likewise.
26682         * soft-fp/eqtf2.c: Likewise.
26683         * soft-fp/extenddftf2.c: Likewise.
26684         * soft-fp/extended.h: Likewise.
26685         * soft-fp/extendsfdf2.c: Likewise.
26686         * soft-fp/extendsftf2.c: Likewise.
26687         * soft-fp/extendxftf2.c: Likewise.
26688         * soft-fp/fixdfdi.c: Likewise.
26689         * soft-fp/fixdfsi.c: Likewise.
26690         * soft-fp/fixdfti.c: Likewise.
26691         * soft-fp/fixsfdi.c: Likewise.
26692         * soft-fp/fixsfsi.c: Likewise.
26693         * soft-fp/fixsfti.c: Likewise.
26694         * soft-fp/fixtfdi.c: Likewise.
26695         * soft-fp/fixtfsi.c: Likewise.
26696         * soft-fp/fixtfti.c: Likewise.
26697         * soft-fp/fixunsdfdi.c: Likewise.
26698         * soft-fp/fixunsdfsi.c: Likewise.
26699         * soft-fp/fixunsdfti.c: Likewise.
26700         * soft-fp/fixunssfdi.c: Likewise.
26701         * soft-fp/fixunssfsi.c: Likewise.
26702         * soft-fp/fixunssfti.c: Likewise.
26703         * soft-fp/fixunstfdi.c: Likewise.
26704         * soft-fp/fixunstfsi.c: Likewise.
26705         * soft-fp/fixunstfti.c: Likewise.
26706         * soft-fp/floatdidf.c: Likewise.
26707         * soft-fp/floatdisf.c: Likewise.
26708         * soft-fp/floatditf.c: Likewise.
26709         * soft-fp/floatsidf.c: Likewise.
26710         * soft-fp/floatsisf.c: Likewise.
26711         * soft-fp/floatsitf.c: Likewise.
26712         * soft-fp/floattidf.c: Likewise.
26713         * soft-fp/floattisf.c: Likewise.
26714         * soft-fp/floattitf.c: Likewise.
26715         * soft-fp/floatundidf.c: Likewise.
26716         * soft-fp/floatundisf.c: Likewise.
26717         * soft-fp/floatunditf.c: Likewise.
26718         * soft-fp/floatunsidf.c: Likewise.
26719         * soft-fp/floatunsisf.c: Likewise.
26720         * soft-fp/floatunsitf.c: Likewise.
26721         * soft-fp/floatuntidf.c: Likewise.
26722         * soft-fp/floatuntisf.c: Likewise.
26723         * soft-fp/floatuntitf.c: Likewise.
26724         * soft-fp/fmadf4.c: Likewise.
26725         * soft-fp/fmasf4.c: Likewise.
26726         * soft-fp/fmatf4.c: Likewise.
26727         * soft-fp/gedf2.c: Likewise.
26728         * soft-fp/gesf2.c: Likewise.
26729         * soft-fp/getf2.c: Likewise.
26730         * soft-fp/ledf2.c: Likewise.
26731         * soft-fp/lesf2.c: Likewise.
26732         * soft-fp/letf2.c: Likewise.
26733         * soft-fp/muldf3.c: Likewise.
26734         * soft-fp/mulsf3.c: Likewise.
26735         * soft-fp/multf3.c: Likewise.
26736         * soft-fp/negdf2.c: Likewise.
26737         * soft-fp/negsf2.c: Likewise.
26738         * soft-fp/negtf2.c: Likewise.
26739         * soft-fp/op-1.h: Likewise.
26740         * soft-fp/op-2.h: Likewise.
26741         * soft-fp/op-4.h: Likewise.
26742         * soft-fp/op-8.h: Likewise.
26743         * soft-fp/op-common.h: Likewise.
26744         * soft-fp/quad.h: Likewise.
26745         * soft-fp/single.h: Likewise.
26746         * soft-fp/soft-fp.h: Likewise.
26747         * soft-fp/sqrtdf2.c: Likewise.
26748         * soft-fp/sqrtsf2.c: Likewise.
26749         * soft-fp/sqrttf2.c: Likewise.
26750         * soft-fp/subdf3.c: Likewise.
26751         * soft-fp/subsf3.c: Likewise.
26752         * soft-fp/subtf3.c: Likewise.
26753         * soft-fp/truncdfsf2.c: Likewise.
26754         * soft-fp/trunctfdf2.c: Likewise.
26755         * soft-fp/trunctfsf2.c: Likewise.
26756         * soft-fp/trunctfxf2.c: Likewise.
26757         * soft-fp/unorddf2.c: Likewise.
26758         * soft-fp/unordsf2.c: Likewise.
26759         * soft-fp/unordtf2.c: Likewise.
26761 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
26763         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26764         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26766 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
26768         * elf/dl-libc.c: Clear initfini list after freeing.
26770 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
26772         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26773         * soft-fp/addsf3.c: Likewise.
26774         * soft-fp/addtf3.c: Likewise.
26775         * soft-fp/divdf3.c: Likewise.
26776         * soft-fp/divsf3.c: Likewise.
26777         * soft-fp/divtf3.c: Likewise.
26778         * soft-fp/double.h: Likewise.
26779         * soft-fp/eqdf2.c: Likewise.
26780         * soft-fp/eqsf2.c: Likewise.
26781         * soft-fp/eqtf2.c: Likewise.
26782         * soft-fp/extenddftf2.c: Likewise.
26783         * soft-fp/extended.h: Likewise.
26784         * soft-fp/extendsfdf2.c: Likewise.
26785         * soft-fp/extendsftf2.c: Likewise.
26786         * soft-fp/extendxftf2.c: Likewise.
26787         * soft-fp/fixdfdi.c: Likewise.
26788         * soft-fp/fixdfsi.c: Likewise.
26789         * soft-fp/fixdfti.c: Likewise.
26790         * soft-fp/fixsfdi.c: Likewise.
26791         * soft-fp/fixsfsi.c: Likewise.
26792         * soft-fp/fixsfti.c: Likewise.
26793         * soft-fp/fixtfdi.c: Likewise.
26794         * soft-fp/fixtfsi.c: Likewise.
26795         * soft-fp/fixtfti.c: Likewise.
26796         * soft-fp/fixunsdfdi.c: Likewise.
26797         * soft-fp/fixunsdfsi.c: Likewise.
26798         * soft-fp/fixunsdfti.c: Likewise.
26799         * soft-fp/fixunssfdi.c: Likewise.
26800         * soft-fp/fixunssfsi.c: Likewise.
26801         * soft-fp/fixunssfti.c: Likewise.
26802         * soft-fp/fixunstfdi.c: Likewise.
26803         * soft-fp/fixunstfsi.c: Likewise.
26804         * soft-fp/fixunstfti.c: Likewise.
26805         * soft-fp/floatdidf.c: Likewise.
26806         * soft-fp/floatdisf.c: Likewise.
26807         * soft-fp/floatditf.c: Likewise.
26808         * soft-fp/floatsidf.c: Likewise.
26809         * soft-fp/floatsisf.c: Likewise.
26810         * soft-fp/floatsitf.c: Likewise.
26811         * soft-fp/floattidf.c: Likewise.
26812         * soft-fp/floattisf.c: Likewise.
26813         * soft-fp/floattitf.c: Likewise.
26814         * soft-fp/floatundidf.c: Likewise.
26815         * soft-fp/floatundisf.c: Likewise.
26816         * soft-fp/floatunsidf.c: Likewise.
26817         * soft-fp/floatunsisf.c: Likewise.
26818         * soft-fp/floatuntidf.c: Likewise.
26819         * soft-fp/floatuntisf.c: Likewise.
26820         * soft-fp/floatuntitf.c: Likewise.
26821         * soft-fp/fmadf4.c: Likewise.
26822         * soft-fp/fmasf4.c: Likewise.
26823         * soft-fp/fmatf4.c: Likewise.
26824         * soft-fp/gedf2.c: Likewise.
26825         * soft-fp/gesf2.c: Likewise.
26826         * soft-fp/getf2.c: Likewise.
26827         * soft-fp/ledf2.c: Likewise.
26828         * soft-fp/lesf2.c: Likewise.
26829         * soft-fp/letf2.c: Likewise.
26830         * soft-fp/muldf3.c: Likewise.
26831         * soft-fp/mulsf3.c: Likewise.
26832         * soft-fp/multf3.c: Likewise.
26833         * soft-fp/negdf2.c: Likewise.
26834         * soft-fp/negsf2.c: Likewise.
26835         * soft-fp/negtf2.c: Likewise.
26836         * soft-fp/op-1.h: Likewise.
26837         * soft-fp/op-2.h: Likewise.
26838         * soft-fp/op-4.h: Likewise.
26839         * soft-fp/op-8.h: Likewise.
26840         * soft-fp/op-common.h: Likewise.
26841         * soft-fp/quad.h: Likewise.
26842         * soft-fp/single.h: Likewise.
26843         * soft-fp/soft-fp.h: Likewise.
26844         * soft-fp/sqrtdf2.c: Likewise.
26845         * soft-fp/sqrtsf2.c: Likewise.
26846         * soft-fp/sqrttf2.c: Likewise.
26847         * soft-fp/subdf3.c: Likewise.
26848         * soft-fp/subsf3.c: Likewise.
26849         * soft-fp/subtf3.c: Likewise.
26850         * soft-fp/truncdfsf2.c: Likewise.
26851         * soft-fp/trunctfdf2.c: Likewise.
26852         * soft-fp/trunctfsf2.c: Likewise.
26853         * soft-fp/trunctfxf2.c: Likewise.
26854         * soft-fp/unorddf2.c: Likewise.
26855         * soft-fp/unordsf2.c: Likewise.
26856         * soft-fp/unordtf2.c: Likewise.
26858 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
26860         [BZ #15672]
26861         * misc/error.c (error_tail): Fix possible buffer overflow.
26863 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
26865         [BZ #13028]
26866         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26867         address.
26869 2013-10-14  P. J. McDermott  <pj@pehjota.net>
26871         [BZ #832]
26872         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
26873         testing pipefail option.
26875 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26877         * soft-fp/double.h: Indent preprocessor directives inside #if.
26878         * soft-fp/extended.h: Likewise.
26879         * soft-fp/op-2.h: Likewise.
26880         * soft-fp/op-4.h: Likewise.
26881         * soft-fp/op-common.h: Likewise.
26882         * soft-fp/quad.h: Likewise.
26883         * soft-fp/single.h: Likewise.
26884         * soft-fp/soft-fp.h: Likewise.
26886 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
26888         * iconv/iconv_prog.c: Fix typos.
26889         * stdio-common/psiginfo-data.h: Likewise.
26891 2013-10-12   Reuben Thomas <rrt@sc3d.org>
26893         [BZ #15764]
26894         * locale/setlocale.c: Fix typo.
26896 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26898         [BZ #16036]
26899         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26900         signaling NaN arguments.
26901         * soft-fp/unordsf2.c (__unordsf2): Likewise.
26902         * soft-fp/unordtf2.c (__unordtf2): Likewise.
26904         [BZ #14910]
26905         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26906         unordered operands.
26907         * soft-fp/gesf2.c (__gesf2): Likewise.
26908         * soft-fp/getf2.c (__getf2): Likewise.
26909         * soft-fp/ledf2.c (__ledf2): Likewise.
26910         * soft-fp/lesf2.c (__lesf2): Likewise.
26911         * soft-fp/letf2.c (__letf2): Likewise.
26913         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26914         * soft-fp/eqsf2.c (__eqsf2): Likewise.
26915         * soft-fp/eqtf2.c (__eqtf2): Likewise.
26916         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26917         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26918         * soft-fp/fixdfti.c (__fixdfti): Likewise.
26919         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26920         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26921         * soft-fp/fixsfti.c (__fixsfti): Likewise.
26922         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26923         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26924         * soft-fp/fixtfti.c (__fixtfti): Likewise.
26925         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26926         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26927         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26928         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26929         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26930         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26931         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26932         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26933         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26934         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26935         * soft-fp/floatdisf.c (__floatdisf): Likewise.
26936         * soft-fp/floatsisf.c (__floatsisf): Likewise.
26937         * soft-fp/floattidf.c (__floattidf): Likewise.
26938         * soft-fp/floattisf.c (__floattisf): Likewise.
26939         * soft-fp/floattitf.c (__floattitf): Likewise.
26940         * soft-fp/floatundidf.c (__floatundidf): Likewise.
26941         * soft-fp/floatundisf.c (__floatundisf): Likewise.
26942         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26943         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26944         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26945         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26946         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26947         * soft-fp/gesf2.c (__gesf2): Likewise.
26948         * soft-fp/getf2.c (__getf2): Likewise.
26949         * soft-fp/ledf2.c (__ledf2): Likewise.
26950         * soft-fp/lesf2.c (__lesf2): Likewise.
26951         * soft-fp/letf2.c (__letf2): Likewise.
26953         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26954         Undefine and redefine.
26955         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26956         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26957         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26958         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26959         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26960         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26961         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26962         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26963         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26964         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26965         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26966         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26967         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26968         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26969         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26971         [BZ #16032]
26972         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26973         without decrementing exponent if mantissa >= that for the
26974         denominator, not >.
26975         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26976         denominator, not >.  Decrement exponent in < case instead of
26977         incrementing in >= case.
26978         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26979         without decrementing exponent if mantissa >= that for the
26980         denominator, not >.
26982         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26983         computing saturated result for unsigned overflow.
26985 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26986             Jeff Law  <law@redhat.com>
26988         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26989         (atan2Mp): Add systemtap probe marker.
26990         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26991         (__ieee754_log): Add systemtap probe marker.
26992         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26993         (atanMp): Add systemtap probe marker.
26994         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26995         (tanMp): Add systemtap probe marker.
26996         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26997         (__slowexp): Add systemtap probe marker.
26998         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26999         (__slowpow): Add systemtap probe marker.
27000         * manual/probes.texi: Document probes.
27002 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
27004         [BZ #15362]
27005         * libio/fileops.c (_IO_new_file_write): Return count of bytes
27006         written.
27007         (_IO_new_file_xsputn): Don't return EOF if nothing has been
27008         written.
27009         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27010         written to buffer but not flushed.
27011         * libio/iofwrite_u.c:  Likewise.
27012         * libio/iopadn.c:  Return bytes returned even if EOF was
27013         encountered.
27014         * libio/iowpadn.c:  Likewise.
27015         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27016         if _IO_padn does not write the whole buffer.
27017         [!COMPILE_WPRINTF] (PAD): Likewise.
27019 2013-10-10  David S. Miller  <davem@davemloft.net>
27021         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27022         directory block.
27024 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27026         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
27027         instead of FSF address.
27028         * soft-fp/fixdfti.c: Likewise.
27029         * soft-fp/fixsfti.c: Likewise.
27030         * soft-fp/fixtfti.c: Likewise.
27031         * soft-fp/fixunsdfti.c: Likewise.
27032         * soft-fp/fixunssfti.c: Likewise.
27033         * soft-fp/fixunstfti.c: Likewise.
27034         * soft-fp/floattidf.c: Likewise.
27035         * soft-fp/floattisf.c: Likewise.
27036         * soft-fp/floattitf.c: Likewise.
27037         * soft-fp/floatuntidf.c: Likewise.
27038         * soft-fp/floatuntisf.c: Likewise.
27039         * soft-fp/floatuntitf.c: Likewise.
27040         * soft-fp/trunctfxf2.c: Likewise.
27042         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
27043         * soft-fp/fixdfti.c: Likewise.
27044         * soft-fp/fixsfti.c: Likewise.
27045         * soft-fp/fixtfti.c: Likewise.
27046         * soft-fp/fixunsdfti.c: Likewise.
27047         * soft-fp/fixunssfti.c: Likewise.
27048         * soft-fp/fixunstfti.c: Likewise.
27049         * soft-fp/floattidf.c: Likewise.
27050         * soft-fp/floattisf.c: Likewise.
27051         * soft-fp/floattitf.c: Likewise.
27052         * soft-fp/floatuntidf.c: Likewise.
27053         * soft-fp/floatuntisf.c: Likewise.
27054         * soft-fp/floatuntitf.c: Likewise.
27055         * soft-fp/trunctfxf2.c: Likewise.
27057 2013-10-10  David S. Miller  <davem@davemloft.net>
27059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27061 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
27063         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27064         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27065         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27066         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27067         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27068         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27069         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27071         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27072         for NaNs before doing comparisons on argument.
27073         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27074         Likewise.
27076 2013-10-10  Will Newton  <will.newton@linaro.org>
27078         * malloc/hooks.c (memalign_check): Ensure the value of bytes
27079         passed to _int_memalign does not overflow.
27081 2013-10-10  Torvald Riegel  <triegel@redhat.com>
27083         * scripts/bench.pl: Add include-sources directive.
27084         * benchtests/README: Update documentation.
27086 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27088         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27089         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27090         instead of FP_INIT_ROUNDMODE.
27091         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27092         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27094         [BZ #16034]
27095         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
27096         copy class of input value.
27097         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
27098         not handle exceptions.
27099         * soft-fp/negsf2.c (__negsf2): Likewise.
27100         * soft-fp/negtf2.c (__negtf2): Likewise.
27101         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27103 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
27105         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27106         semicolon.  From Linux kernel.
27108 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
27110         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27112 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
27114         [BZ #156]
27115         * manual/socket.texi: Added statement about buffer
27116         for gethostbyname2_r.
27118 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
27120         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27121         Use .p2align directive instead, throughout.
27122         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27123         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27124         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27125         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27126         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27127         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27128         * sysdeps/x86_64/strchr.S: Likewise.
27129         * sysdeps/x86_64/strrchr.S: Likewise.
27131 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27133         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27135         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27137         * sysdeps/generic/math_private.h (__mpsin1): Remove
27138         declaration.
27139         (__mpcos1): Likewise.
27140         (__mpsin): New argument __range_reduce.
27141         (__mpcos): Likewise.
27142         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27143         (slow): Use __mpsin and __mpcos.
27144         (slow1): Likewise.
27145         (slow2): Likewise.
27146         (sloww): Likewise.
27147         (sloww1): Likewise.
27148         (sloww2): Likewise.
27149         (bsloww): Likewise.
27150         (bsloww1): Likewise.
27151         (bsloww2): Likewise.
27152         (cslow2): Likewise.
27153         (csloww): Likewise.
27154         (csloww1): Likewise.
27155         (csloww2): Likewise.
27156         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27157         range_reduce.  Merge in __mpsin1.
27158         (__mpcos): Likewise.
27159         (__mpsin1): Remove.
27160         (__mpcos1): Likewise.
27162 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
27164         * locale/loadlocale.c (_nl_intern_locale_data): Use
27165         LOCFILE_ALIGNED_P.
27166         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27167         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27168         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27169         obstack data is appropriately aligned.
27170         (obstack_int32_grow_fast): Likewise.
27171         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27172         * locale/programs/locfile.c (add_locale_uint32): Likewise.
27173         (add_locale_uint32_array): Likewise.
27175 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27177         * benchtests/Makefile: Remove ARGLIST and RET variables.
27178         ($(objpfx)bench-%.c): Pass only function name to the script.
27179         * benchtests/README: Update documentation.
27180         * benchtests/acos-inputs: Add new directives.
27181         * benchtests/acosh-inputs: Likewise.
27182         * benchtests/asin-inputs: Likewise.
27183         * benchtests/asinh-inputs: Likewise.
27184         * benchtests/atan-inputs: Likewise.
27185         * benchtests/atanh-inputs: Likewise.
27186         * benchtests/cos-inputs: Likewise.
27187         * benchtests/cosh-inputs: Likewise.
27188         * benchtests/exp-inputs: Likewise.
27189         * benchtests/log-inputs: Likewise.
27190         * benchtests/pow-inputs: Likewise.
27191         * benchtests/rint-inputs: Likewise.
27192         * benchtests/sin-inputs: Likewise.
27193         * benchtests/sinh-inputs: Likewise.
27194         * benchtests/tan-inputs: Likewise.
27195         * benchtests/tanh-inputs: Likewise.
27196         * scripts/bench.pl: Add support for new directives.
27198 2013-10-07  Alan Modra  <amodra@gmail.com>
27200         * README: Fix careless merge.
27202 2013-10-05  Alan Modra  <amodra@gmail.com>
27204         * NEWS: Mention powerpc64le support and bugs fixed.
27205         * README: Both big-endian and little-endian powerpc64 supported.
27207 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27209         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27210         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27211         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27212         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27214 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
27216         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27217         match prototype.
27219 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
27221         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27222         Move -mhard-float appending from
27223         ports/sysdeps/powerpc/powerpc32/Makefile.
27224         [$(with-fp) = yes] (ASFLAGS): Likewise.
27225         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27226         * sysdeps/powerpc/nofpu: Move directory from
27227         ports/sysdeps/powerpc/nofpu.
27228         * sysdeps/powerpc/soft-fp: Move directory from
27229         ports/sysdeps/powerpc/soft-fp.
27230         * sysdeps/powerpc/powerpc32/405: Move directory from
27231         ports/sysdeps/powerpc/powerpc32/405.
27232         * sysdeps/powerpc/powerpc32/440: Move directory from
27233         ports/sysdeps/powerpc/powerpc32/440.
27234         * sysdeps/powerpc/powerpc32/464: Move directory from
27235         ports/sysdeps/powerpc/powerpc32/464.
27236         * sysdeps/powerpc/powerpc32/476: Move directory from
27237         ports/sysdeps/powerpc/powerpc32/476.
27238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27239         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27241         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27243         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27245         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27247         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27248         * README: Update for powerpc-*-linux-gnu software floating point
27249         support in libc.
27251         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27252         case to powerpc/powerpc32*.
27253         * sysdeps/unix/sysv/linux/configure: Regenerated.
27255         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27256         (_FPU_MASK_OM): Define as 0x04.
27257         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27258         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27259         0x00c10080.
27260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27261         0x0000003c.
27262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27265         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27266         getcontext_e500.
27267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27268         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27269         setcontext_e500.
27270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27271         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27272         and setcontext_e500.
27274 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
27276         * locale/iso-3166.def: Update iso-1366.def and related occurrences
27278 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27280         * manual/threads.texi (Default Thread Attributes): Fix typo.
27282 2013-10-04  Will Newton  <will.newton@linaro.org>
27284         * malloc/Makefile: Add tst-memalign.
27285         * malloc/tst-memalign.c: New file.
27287         * malloc/tst-posix_memalign.c: Add comments.
27288         (do_test): Add comments and call free on all potentially
27289         allocated pointers. Add space after cast.
27291         * malloc/tst-pvalloc.c: Add comments.
27292         (do_test): Add comments and call free on all potentially
27293         allocated pointers. Remove duplicate check for NULL pointer.
27294         Add space after cast.
27296         * malloc/tst-valloc.c: Add comments.
27297         (do_test): Add comments and call free on all potentially
27298         allocated pointers. Remove duplicate check for NULL pointer.
27299         Add space after cast.
27301 2013-10-04  Alan Modra  <amodra@gmail.com>
27303         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27304         Use stdint types in rather than __attribute__((mode())).
27305         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27307 2013-10-04  Alan Modra  <amodra@gmail.com>
27309         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27310         Correct handling of unaligned relocs for little-endian.
27311         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27313 2013-10-04  Alan Modra  <amodra@gmail.com>
27315         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27316         * configure: Regenerate.
27317         * nptl/shlib-versions: Powerpc*le starts at 2.18.
27318         * shlib-versions: Likewise.
27320 2013-10-04  Alan Modra  <amodra@gmail.com>
27322         * string/tester.c (test_memrchr): Increment reported test cycle.
27324 2013-10-04  Alan Modra  <amodra@gmail.com>
27326         * string/test-memcpy.c (do_one_test): When reporting errors, print
27327         string address and don't overrun end of string.
27329 2013-10-04  Alan Modra  <amodra@gmail.com>
27331         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27332         insrdi.  Make better use of reg selection to speed exit slightly.
27333         Schedule entry path a little better.  Remove useless "are we done"
27334         checks on entry to main loop.  Handle wrapping around zero address.
27335         Correct main loop count.  Handle single left-over word from main
27336         loop inline rather than by using loop_small.  Remove extra word
27337         case in loop_small caused by wrong loop count.  Add little-endian
27338         support.
27339         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27340         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
27341         cache hint.
27342         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27343         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27344         support.  Avoid rlwimi.
27345         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27347 2013-10-04  Alan Modra  <amodra@gmail.com>
27349         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27350         insrdi.  Formatting.
27351         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27352         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27353         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27354         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27355         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27356         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27358 2013-10-04  Alan Modra  <amodra@gmail.com>
27360         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27361         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27362         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27363         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27364         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27365         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27366         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27367         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27368         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
27369         use of regs.  Use power7 mtocrf.  Tidy function tails.
27371 2013-10-04  Alan Modra  <amodra@gmail.com>
27373         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27374         Formatting.  Consistently use rXXX register defines or rN defines.
27375         Use early exit labels that avoid restoring unused non-volatile regs.
27376         Make cr field use more consistent with rWORDn compares.  Rename
27377         regs used as shift registers for unaligned loop, using rN defines
27378         for short lifetime/multiple use regs.
27379         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27380         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
27381         addi 1,1,64 to pop stack frame.  Simplify return value code.
27382         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27384 2013-10-04  Alan Modra  <amodra@gmail.com>
27386         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27387         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
27388         rather than rlwimi.
27389         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27390         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27391         little-endian support.  Correct typos.
27392         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
27393         rather than rlwimi.
27394         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
27395         in loop and entry code to keep "and." results.
27396         (strchr): Add little-endian support.  Comment.  Move cntlzd
27397         earlier in tail.
27398         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27400 2013-10-04  Alan Modra  <amodra@gmail.com>
27402         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27403         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27404         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27405         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27407 2013-10-04  Alan Modra  <amodra@gmail.com>
27409         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27410         (rTMP): Define as r11.
27411         (strcmp): Add little-endian support.  Optimise tail.
27412         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27413         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27414         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27415         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27416         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27417         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27418         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27420 2013-10-04  Alan Modra  <amodra@gmail.com>
27422         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27423         little-endian support.  Remove unnecessary "are we done" tests.
27424         Handle "s" wrapping around zero and extremely large "size".
27425         Correct main loop count.  Handle single left-over word from main
27426         loop inline rather than by using small_loop.  Correct comments.
27427         Delete "zero" tail, use "end_max" instead.
27428         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27430 2013-10-04  Alan Modra  <amodra@gmail.com>
27432         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27433         support.  Don't branch over align.
27434         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27435         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27436         support.  Rearrange tmp reg use to suit.  Comment.
27437         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27439 2013-10-04  Alan Modra  <amodra@gmail.com>
27441         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27443 2013-10-04  Alan Modra  <amodra@gmail.com>
27445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27446         conditional form of branch and link when obtaining pc.
27447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27449 2013-10-04  Alan Modra  <amodra@gmail.com>
27451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27452         HIWORD/LOWORD.
27453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27456 2013-10-04  Alan Modra  <amodra@gmail.com>
27458         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27459         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27460         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27461         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27462         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27463         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27464         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27465         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27466         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27467         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27469 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27470             Alistair Popple <alistair@ozlabs.au.ibm.com>
27471             Alan Modra <amodra@gmail.com>
27473         [BZ #15723]
27474         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27475         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27476         _dl_hwcap access for little-endian.
27477         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
27478         destroy vmx regs when saving unaligned.
27479         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27480         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
27481         destroy vmx regs when saving unaligned.
27483 2013-10-04  Alan Modra  <amodra@gmail.com>
27485         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27486         Don't use a union to pack hi/low value.
27488 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27490         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27491         for little-endian.
27492         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27493         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27494         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27495         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27496         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27498 2013-10-04  Alan Modra  <amodra@gmail.com>
27500         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27501         constants to usual value for .cst8 section, and remove redundant
27502         high address load.
27503         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27504         constant for 0x1p52.  Load little-endian words of double from
27505         correct stack offsets.
27507 2013-10-04  Alan Modra  <amodra@gmail.com>
27509         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27510         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27511         words of double from correct stack offsets.
27512         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27513         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27514         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27515         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27516         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27517         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27518         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27519         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27520         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27521         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27522         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27523         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27524         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27525         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27526         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27527         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27528         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27530 2013-10-04  Alan Modra  <amodra@gmail.com>
27532         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27533         64-bit int/double union.
27534         (_FPU_SETCW): Likewise.
27535         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27536         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27538 2013-10-04  Alan Modra  <amodra@gmail.com>
27540         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27541         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27543 2013-10-04  Alan Modra  <amodra@gmail.com>
27545         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27546         use vector int constants.
27547         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27549 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27551         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27552         array with long long.
27553         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27554         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27555         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27556         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27557         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27558         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27559         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27560         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27561         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27562         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27563         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27564         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27565         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27567 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27569         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27570         (__signbit): Likewise.  Correct for little-endian.
27571         (__signbitl): Call __signbit.
27572         (lrint): Correct for little-endian.
27573         (lrintf): Call lrint.
27575 2013-10-04  Alan Modra  <amodra@gmail.com>
27577         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27578         union 32-bit int array member with 64-bit int array.
27579         (t515, tm256): Double rather than long double.
27580         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27582 2013-10-04  Alan Modra  <amodra@gmail.com>
27584         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27585         Delete.
27586         (IEEE854_LONG_DOUBLE_BIAS): Delete.
27587         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27588         version of math_ldbl.h.
27590 2013-10-04  Alan Modra  <amodra@gmail.com>
27592         [BZ #15734], [BZ #15735]
27593         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27594         all uses of ieee875 long double macros and unions.  Simplify test
27595         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
27596         ldbl_extract_mantissa value for ix,iy exponents.  Properly
27597         normalize after ldbl_extract_mantissa, and don't add hidden bit
27598         already handled.  Don't treat low word of ieee854 mantissa like
27599         low word of IBM long double and mask off bit when testing for
27600         zero.
27601         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27602         all uses of ieee875 long double macros and unions.  Simplify tests
27603         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
27604         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
27605         two1022, instead use their values.  Recognise that tests for large
27606         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
27607         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27608         Rewrite all uses of ieee875 long double macros and unions.  Simplify
27609         test for 0.0L and nan.  Correct negation.
27610         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27611         ieee875 long double macros and unions.  Correct output for large
27612         magnitude x.  Correct absolute value calculation.
27613         (__erfcl): Likewise.
27614         * math/libm-test.inc: Add tests for errors discovered in IBM long
27615         double versions of fmodl, remainderl, erfl and erfcl.
27617 2013-10-04  Alan Modra  <amodra@gmail.com>
27619         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27620         all uses of ieee854 long double macros and unions.  Simplify tests
27621         for long doubles that are fully specified by the high double.
27622         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27623         Likewise.
27624         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27625         Remove dead code too.
27626         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27627         (__ieee754_ynl): Likewise.
27628         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27629         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27630         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27631         Remove dead code too.
27632         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27633         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27634         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27635         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27636         Simplify.
27637         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27638         Simplify.
27639         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27640         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27641         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27642         Comment on variable precision.
27643         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27644         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27645         Likewise.
27646         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27647         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27648         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27649         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27650         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27652 2013-10-04  Alan Modra  <amodra@gmail.com>
27654         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27655         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27656         all uses of ieee854 long double macros and unions.
27657         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27658         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27659         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27660         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27661         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27662         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27663         Likewise.
27664         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27665         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27666         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27667         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27668         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27669         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27670         Simplify sign and nan test too.
27671         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27672         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27673         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27674         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27675         Likewise.
27676         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27677         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27678         Likewise.
27679         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27680         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27681         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27682         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27683         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27684         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27686 2013-10-04  Alan Modra  <amodra@gmail.com>
27688         * stdio-common/printf_size.c (__printf_size): Don't use
27689         union ieee854_long_double in fpnum union.
27690         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
27691         signbit macro to retrieve sign from long double.
27692         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27693         retrieve sign from long double.
27694         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27695         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27696         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27697         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27698         * math/test-misc.c (main): Don't use union ieee854_long_double.
27700 2013-10-04  Alan Modra  <amodra@gmail.com>
27702         [BZ #15680]
27703         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27704         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27705         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27706         calculation.  Remove unnecessary test for denormal exponent.
27707         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27708         Correct handling of denormals.  Avoid undefined shift behaviour.
27709         Correct normalisation of low mantissa when low double is denormal.
27710         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27711         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
27712         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27713         Correct normalisation of low mantissa.  Test for overflow of high
27714         mantissa and normalise.
27715         (ldbl_nearbyint): Use more readable constant for two52.
27716         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27717         (__mpn_construct_long_double): Fix test for overflow of high
27718         mantissa and correct normalisation.  Avoid undefined shift.
27720 2013-10-04  Alan Modra  <amodra@gmail.com>
27722         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27723         (union ibm_extended_long_double): Define as an array of ieee754_double.
27724         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27725         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27726         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27727         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27728         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27729         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27730         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27731         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27732         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27733         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27734         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27736 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
27738         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27739         page size instead of calling getpagesize.
27741         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27742         (LOCFILE_ALIGN_MASK): Likewise.
27743         (LOCFILE_ALIGN_UP): Likewise.
27744         (LOCFILE_ALIGNED_P): Likewise.
27745         * locale/programs/ld-collate.c (collate_output): Use the new
27746         macros instead of __alignof__ (int32_t).
27747         * locale/weight.h (findidx): Likewise.
27749 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
27751         [BZ #431]
27752         * manual/string.texi: Fix strncat and wcsncat.
27754 2013-10-03  Brooks Moses  <bmoses@google.com>
27756         [BZ #15915]
27757         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27758         * Makerules: ...here, and adjust associated comments.
27760 2013-10-02  Will Newton  <will.newton@linaro.org>
27762         * malloc/Makefile: Add tst-pvalloc.
27763         * malloc/tst-pvalloc.c: New file.
27765 2013-10-02  Will Newton  <will.newton@linaro.org>
27767         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27768         improve test coverage.
27770 2013-10-02  Will Newton  <will.newton@linaro.org>
27772         * malloc/Makefile: Add tst-posix_memalign.
27773         * malloc/tst-posix_memalign.c: New file.
27775 2013-10-01  Eric Blake  <eblake@redhat.com>
27777         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27778         Use __THROWNL rather than __THROW on static functions.
27780 2013-09-30  Petr Machata  <pmachata@redhat.com>
27782         * elf/elf.h (R_AARCH64_ABS16): New macro.
27783         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27784         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27785         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27786         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27787         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27788         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27789         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27790         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27791         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27792         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27793         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27794         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27795         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27796         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27797         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27798         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27799         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27800         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27801         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27802         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27803         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27804         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27805         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27806         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27807         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27808         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27809         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27810         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27811         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27812         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27813         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27814         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27815         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27816         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27817         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27818         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27819         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27820         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27821         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27822         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27823         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27824         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27825         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27826         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27827         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27828         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27829         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27830         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27831         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27832         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27833         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27834         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27835         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27836         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27837         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27838         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27839         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27840         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27841         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27842         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27843         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27844         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27845         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27846         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27847         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27848         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27849         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27850         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27851         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27852         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27853         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27854         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27855         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27856         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27857         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27858         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27859         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27860         (R_AARCH64_TLSDESC_LDR): Likewise.
27861         (R_AARCH64_TLSDESC_ADD): Likewise.
27862         (R_AARCH64_TLSDESC_CALL): Likewise.
27864 2013-09-30  Andreas Schwab  <schwab@suse.de>
27866         [BZ #15048]
27867         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27868         the nss database lookup.
27869         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27870         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27872 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
27874         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27876 2013-09-28  P. J. McDermott  <pj@pehjota.net>
27878         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27879         ${Bash-specific parameter/pattern/string} parameter expansion.
27880         * sysdeps/unix/make-syscalls.sh: Likewise.
27882 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27884         * sysdeps/sh/stackguard-macros.h: New file.
27886 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
27888         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27889         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27890         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27891         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27892         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27893         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27895 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27897         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27898         Fix thread ID register.
27900 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
27902         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27903         [POSIX || UNIX98]: Require rather than permitting all symbols from
27904         <time.h>.
27905         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27906         element of struct sched_param.
27907         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27908         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27909         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27910         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27911         constant.
27913 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
27915         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27916         argument calculation.
27918 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27920         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27921         Expect macro.
27922         [POSIX] (pthread_attr_t): Do not require type.
27923         [POSIX] (pthread_cond_t): Likewise.
27924         [POSIX] (pthread_condattr_t): Likewise.
27925         [POSIX] (pthread_key_t): Likewise.
27926         [POSIX] (pthread_mutex_t): Likewise.
27927         [POSIX] (pthread_mutexattr_t): Likewise.
27928         [POSIX] (pthread_once_t): Likewise.
27929         [POSIX] (pthread_t): Likewise.
27930         [POSIX-based standards] (pthread_atfork): Expect function.
27932 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27933             Richard Sandiford  <richard@codesourcery.com>
27935         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27936         (swap_endianness_p): New extern variable.
27937         (set_big_endian): New inline function.
27938         (maybe_swap_uint32): Likewise.
27939         (maybe_swap_uint32_array): Likewise.
27940         (maybe_swap_uint32_obstack): Likewise.
27941         * locale/programs/locfile.c: Include <stdbool.h>.
27942         (swap_endianness_p): New variable.
27943         (add_locale_uint32): Call maybe_swap_uint32.
27944         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27945         (write_locale_data): Call maybe_swap_uint32_array.
27946         * locale/programs/ld-collate.c (obstack_int32_grow): Call
27947         maybe_swap_uint32.
27948         (obstack_int32_grow_fast): Likewise.
27949         (output_weightwc): Call maybe_swap_uint32_obstack.
27950         (collate_output): Likewise.
27951         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27952         (OPT_LITTLE_ENDIAN): Likewise.
27953         (options): Add --little-endian and --big-endian options.
27954         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27955         * locale/programs/locarchive.c: Include "locfile.h".
27956         (GET): New macro.
27957         (SET): Likewise.
27958         (INC): Likewise.
27959         (create_archive): Use the new macros to access fields of
27960         structures directly mapped from or written to locale archives.
27961         (oldlocrecentcmp): Likewise.
27962         (enlarge_archive): Likewise.
27963         (insert_name): Likewise.
27964         (add_alias): Likewise.
27965         (add_locale): Likewise.
27966         (delete_locales_from_archive): Likewise.
27967         (show_archive_content): Likewise.
27968         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
27969         locale data.
27971 2013-09-24  Roland McGrath  <roland@hack.frob.com>
27973         * manual/freemanuals.texi: Updated from (newly) canonical copy at
27974         http://www.gnu.org/doc/freemanuals.texi.
27975         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27977 2013-09-24  Will Newton  <will.newton@linaro.org>
27979         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27980         macro.
27982 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
27984         * locale/hashval.h (compute_hashval): Interpret bytes of key as
27985         unsigned char.
27987 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
27989         * manual/threads.texi (POSIX Threads): Fix a typo.
27991 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27993         [BZ #14547]
27994         * string/tst-strcoll-overflow.c: New test case.
27995         * string/Makefile (xtests): Add tst-strcoll-overflow.
27996         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27997         cache if string sizes may cause integer overflow.
27999         [BZ #14547]
28000         * string/strcoll_l.c (coll_seq): New members rule, idx,
28001         save_idx and back_us.
28002         (get_next_seq_nocache): New function.
28003         (do_compare_nocache): New function.
28004         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28005         when malloc fails.
28007 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
28009         [BZ #15754]
28010         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28011         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28012         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28014         [BZ #15754]
28015         * elf/Makefile (tests): Add tst-ptrguard1.
28016         (tests-static): Add tst-ptrguard1-static.
28017         (tst-ptrguard1-ARGS): Define.
28018         (tst-ptrguard1-static-ARGS): Define.
28019         * elf/tst-ptrguard1.c: New file.
28020         * elf/tst-ptrguard1-static.c: New file.
28021         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28022         * sysdeps/i386/stackguard-macros.h: Likewise.
28023         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28024         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28025         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28026         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28027         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28028         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28030 2013-09-23  Hector Marco  <hecmargi@upv.es>
28031             Ismael Ripoll  <iripoll@disca.upv.es>
28032             Carlos O'Donell  <carlos@redhat.com>
28034         [BZ #15754]
28035         * sysdeps/generic/stackguard-macros.h: Define
28036         __pointer_chk_guard_local and POINTER_CHK_GUARD.
28037         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28038         Define __pointer_chk_guard_local.
28039         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28040         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28042 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
28044         [BZ #15859]
28045         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28047 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
28049         * include/string.h (__ffs): Declare as hidden.
28050         * string/ffs.c (__ffs): Define as hidden.
28051         * sysdeps/i386/ffs.c (__ffs): Likewise.
28052         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28053         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28054         * sysdeps/s390/ffs.c (__ffs): Likewise.
28055         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28057 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
28059         * NEWS: Mention malloc probes.
28061         * malloc/arena.c (new_heap): New memory_heap_new probe.
28062         (grow_heap): New memory_heap_more probe.
28063         (shrink_heap): New memory_heap_less probe.
28064         (heap_trim): New memory_heap_free probe.
28065         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28066         (systrim): New memory_sbrk_less probe.
28067         * manual/probes.texi: Document them.
28069         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28070         * manual/probes.texi: Document it.
28072         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28073         (__libc_realloc): Add memory_realloc_retry probe.
28074         (__libc_memalign): Add memory_memalign_retry probe.
28075         (__libc_valloc): Add memory_valloc_retry probe.
28076         (__libc_pvalloc): Add memory_pvalloc_retry probe.
28077         (__libc_calloc): Add memory_calloc_retry probe.
28078         * manual/probes.texi: Document them.
28080         * malloc/arena.c (get_free_list): Add probe
28081         memory_arena_reuse_free_list.
28082         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28083         and memory_arena_reuse.
28084         (arena_get2) [!PER_THREAD]: Likewise.
28085         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28086         memory_arena_reuse_realloc.
28087         * manual/probes.texi: Document them.
28089         * malloc/malloc.c (__libc_free): Add
28090         memory_mallopt_free_dyn_thresholds probe.
28091         (__libc_mallopt): Add multiple memory_mallopt probes.
28092         * manual/probes.texi: Document them.
28094         * malloc/malloc.c: Include stap-probe.h.
28095         (__libc_mallopt): Add memory_mallopt probe.
28096         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28097         * manual/probes.texi: New.
28098         * manual/Makefile (chapters): Add probes.
28099         * manual/threads.texi: Set next node.
28101 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
28103         [BZ #15963, #13985]
28104         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28105         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28106         Add `Chinese' to `nan' entry name.
28108 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28110         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28111         (POLYNOMIAL): Likewise.
28112         (TAYLOR_SINCOS): Likewise.
28113         (TAYLOR_SLOW): Likewise.
28114         (__sin): Use TAYLOR_SINCOS.
28115         (__cos): Likewise.
28116         (slow): Use TAYLOR_SLOW.
28117         (sloww): Likewise.
28118         (bsloww): Likewise.
28119         (csloww): Likewise.
28121 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28123         * stdlib/strtod_l.c: Fix buffer overrun.
28125 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28127         * benchtests/Makefile (bench): Add sincos.
28128         * benchtests/bench-sincos.c: New file.
28130         * math/libm-test.inc (cos_test_data): New test inputs.
28131         (sin_test_data): Likewise.
28133         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28134         macro.
28135         (__sin): Use it.
28136         (__cos): Likewise.
28137         (slow1): Likewise.
28138         (slow2): Likewise.
28139         (sloww1): Likewise.
28140         (sloww2): Likewise.
28141         (bsloww1): Likewise.
28142         (bsloww2): Likewise.
28143         (cslow2): Likewise.
28144         (csloww1): Likewise.
28145         (csloww2): Likewise.
28147         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28148         function.
28149         (__sin): Use it.
28150         (__cos): Likewise.
28152         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28153         gotos.
28154         (__cos): Likewise.
28156 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
28158         * config.h.in (HAVE_MIPS_NAN2008): New macro.
28159         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28160         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28161         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28162         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28163         * elf/cache.c (print_entry): Handle the new cache flags.
28165 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28166             Aldy Hernandez  <aldyh@redhat.com>
28168         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28169         Change condition to [_SOFT_FLOAT].
28170         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28171         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28172         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28173         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28174         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28175         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28176         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28177         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28178         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28179         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28182         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28183         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28184         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28185         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28186         declaration.
28188 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28190         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28191         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28192         (__longjmp): Use LOAD_GP to load saved GPRs.
28193         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28194         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28195         (__sigsetjmp): Use SAVE_GP to save GPRs.
28197         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28198         Do not append -msoft-float.
28199         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28201 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28203         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28205 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
28207         [BZ #15966]
28208         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28209         (_FPU_GETCW): Use initial "__" on variable and field names but not
28210         on macro parameter name.
28211         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
28212         parentheses around reference to macro parameter.
28214 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
28216         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28217         prototype.
28218         (ctype_startup): Use uint32_t in cast and sizeof for
28219         ctype->charnames.
28221 2013-09-11  Jia Liu  <proljc@gmail.com>
28223         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28224         __daddr_t_defined.
28225         [__FreeBSD__]: Likewise.
28227 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
28229         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28230         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28231         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28232         (strchr): Remove __strchr_sse42 ifunc selection.
28233         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28234         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28236 2013-09-11  Will Newton  <will.newton@linaro.org>
28238         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28239         parameter to RES. Remove hardcoded 1000 value.
28240         * benchtests/bench-skeleton.c (main): Pass RES parameter
28241         to TIMING_INIT and multiply result by 1000.
28243 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28247 2013-09-11  Andreas Schwab  <schwab@suse.de>
28249         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28250         if not defined.
28251         (O_TMPFILE) [__USE_GNU]: Define.
28252         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28253         Define.
28255 2013-09-11  Will Newton  <will.newton@linaro.org>
28257         [BZ #15857]
28258         * malloc/malloc.c (__libc_memalign): Check the value of bytes
28259         does not overflow.
28261 2013-09-11  Will Newton  <will.newton@linaro.org>
28263         [BZ #15856]
28264         * malloc/malloc.c (__libc_valloc): Check the value of bytes
28265         does not overflow.
28267 2013-09-11  Will Newton  <will.newton@linaro.org>
28269         [BZ #15855]
28270         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28271         does not overflow.
28273 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
28275         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28276         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28277         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28278         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28279         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28281 2013-09-10  Allan McRae  <allan@archlinux.org>
28283         [BZ #15748]
28284         * manual/arith.texi (Parsing of Floats): Clarify
28285         cross-reference.
28287         [BZ #15849]
28288         * manual/install.texi (Running make install): Mention
28289         --enable-pt-chown.
28290         * INSTALL: Regenerated.
28292 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
28294         * csu/init-first.c (_init): Remove the !SHARED condition around
28295         FPU control word initialization.
28296         * elf/dl-support.c (_dl_fpu_control): New variable.
28297         (_dl_aux_init) <AT_FPUCW>: Initialize it.
28298         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28299         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28300         * math/test-fpucw-static.c: New file.
28301         * math/test-fpucw-ieee.c: New file.
28302         * math/test-fpucw-ieee-static.c: New file.
28303         * math/Makefile (tests): Add `test-fpucw-ieee' and
28304         `$(tests-static)'.
28305         (tests-static): New variable.
28306         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28307         dependency to...
28308         [($(build-shared),yes)]
28309         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28310         ... this.
28311         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28312         New dependency.
28314 2013-09-09  Allan McRae  <allan@archlinux.org>
28316         [BZ #15939]
28317         * manual/string.texi (Collation Functions): Fix typo in
28318         strcoll example.
28319         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28321         [BZ #15893]
28322         * stdlib/isomac.c (get_null_defines): Fix memory leak.
28324         [BZ #15892]
28325         * libio/memstream.c (open_memstream): Fix memory leak.
28326         * libio/wmemstream.c (open_wmemstream): Likewise.
28328         [BZ #15895]
28329         * nscd/netgroupcache.c: Fix nesting of ifdefs.
28331 2013-09-09  Will Newton  <will.newton@linaro.org>
28333         * malloc/Makefile: Add tst-realloc to tests.
28334         * malloc/tst-realloc.c: New file.
28336 2013-09-09  Allan McRae  <allan@archlinux.org>
28338         [BZ #15844]
28339         * COPYING: Update from GNU website to fix FSF address.
28340         * COPYING.LIB: Likewise.
28342 2013-09-06  David S. Miller  <davem@davemloft.net>
28344         * po/zh_TW.po: Update Chinese (traditional) translation from
28345         translation project.
28347 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
28348             Joseph Myers  <joseph@codesourcery.com>
28350         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28351         "localeinfo.h".
28352         (obstack_chunk_alloc): New macro.
28353         (obstack_chunk_free): Likewise.
28354         (record_offset): New function.
28355         (init_locale_data): Likewise.
28356         (align_locale_data): Likewise.
28357         (add_locale_empty): Likewise.
28358         (add_locale_raw_data): Likewise.
28359         (add_locale_raw_obstack): Likewise.
28360         (add_locale_string): Likewise.
28361         (add_locale_wstring): Likewise.
28362         (add_locale_uint32): Likewise.
28363         (add_locale_uint32_array): Likewise.
28364         (add_locale_char): Likewise.
28365         (start_locale_structure): Likewise.
28366         (end_locale_structure): Likewise.
28367         (start_locale_prelude): Likewise.
28368         (end_locale_prelude): Likewise.
28369         (write_locale_data): Take locale_file structure rather than an
28370         iovec.
28371         * locale/programs/locfile.h: Include "obstack.h".
28372         (struct locale_file): Change to store locale file contents instead
28373         of header.
28374         (init_locale_data): New prototype.
28375         (align_locale_data): Likewise.
28376         (add_locale_empty): Likewise.
28377         (add_locale_raw_data): Likewise.
28378         (add_locale_raw_obstack): Likewise.
28379         (add_locale_string): Likewise.
28380         (add_locale_wstring): Likewise.
28381         (add_locale_uint32): Likewise.
28382         (add_locale_uint32_array): Likewise.
28383         (add_locale_char): Likewise.
28384         (start_locale_structure): Likewise.
28385         (end_locale_structure): Likewise.
28386         (start_locale_prelude): Likewise.
28387         (end_locale_prelude): Likewise.
28388         (write_locale_data): Update prototype.
28389         * locale/programs/3level.h (struct TABLE): Remove result field.
28390         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28391         Use new locale_file interface.
28392         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28393         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28394         * locale/programs/ld-address.c (address_output): Use new
28395         locale_file interface.
28396         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28397         NO_ADD_LOCALE.
28398         (collate_finish): Don't call collseq_table_finalize.
28399         (collate_output): Use new locale_file interface.
28400         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28401         in file.
28402         (NO_FINALIZE): Change to NO_ADD_LOCALE.
28403         (TABLE): Move defines earlier in file.
28404         (ELEMENT): Likewise.
28405         (DEFAULT): Likewise.
28406         (wctrans_table_add): Move macro and inline function earlier in
28407         file.
28408         (struct wctype_table): Move type earlier in file.
28409         (add_locale_wctype_table): New static prototype.
28410         (struct locale_ctype_t): Use logical types instead of struct iovec
28411         pointers for members.
28412         (ctype_output): Use new locale_file interface.
28413         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
28414         new locale_file interface.
28415         (allocate_arrays): Update for use of new locale_file interface.
28416         * locale/programs/ld-identification.c (identification_output): Use
28417         new locale_file interface.
28418         * locale/programs/ld-measurement.c (measurement_output): Likewise.
28419         * locale/programs/ld-messages.c (messages_output): Likewise.
28420         * locale/programs/ld-monetary.c (monetary_output): Likewise.
28421         * locale/programs/ld-name.c (name_output): Likewise.
28422         * locale/programs/ld-numeric.c (numeric_output): Likewise.
28423         * locale/programs/ld-paper.c (paper_output): Likewise.
28424         * locale/programs/ld-telephone.c (telephone_output): Likewise.
28425         * locale/programs/ld-time.c (time_output): Likewise.
28427 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28429         * benchtests/Makefile: Add memrchr benchmark.
28430         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28431         benchmark as memrchr.
28432         * benchtests/bench-memrchr-ifunc.c: New file.
28433         * benchtests/bench-memrchr.c: New file.
28435 2013-09-06   Will Newton  <will.newton@linaro.org>
28437         * benchtests/Makefile (string-bench): Add memcpy.
28439 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
28440             Cong Wang  <amwang@redhat.com>
28442         [BZ #15850]
28443         * sysdeps/unix/sysv/linux/bits/in.h
28444         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28445         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28446         before __USE_KERNEL_IPV6_DEFS uses.
28447         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28448         IPPROTO_BEETPH.
28449         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28450         sockaddr_in6, or ipv6_mreq.
28452 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28454         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28455         memory access for final bytes in some large inputs.
28456         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28458 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28460         * string/test-memrchr.c: New file.
28461         * string/test-memrchr-ifunc.c: New file.
28462         * string/Makefile: Add new memrchr testcase.
28464 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
28466         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28467         fanotify_init returns EPERM.
28469 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28471         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28472         errors.
28473         (top level): Treat second token from macro or constant entries for
28474         allowed headers as allowed.
28475         * include/complex.h: Condition internal declarations on
28476         [!_ISOMAC].
28477         * include/fenv.h: Condition include of <stdbool.h> and internal
28478         declarations on [!_ISOMAC].
28480 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
28482         [BZ #15923]
28483         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28485 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28487         * configure.in (--enable-versioning): Remove configure option.
28488         (libc_cv_asm_symver_directive): Remove configure test.
28489         (libc_cv_ld_version_script_option): Likewise.
28490         (VERSIONING): Remove variable and AC_SUBST.
28491         (DO_VERSIONING): Remove AC_DEFINE.
28492         * configure: Regenerated.
28493         * config.h.in (DO_VERSIONING): Remove macro.
28494         * Makerules [$(versioning) = yes]: Change conditionals to
28495         [$(build-shared) = yes].
28496         * config.make.in (versioning): Remove variable.
28497         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28498         [$(build-shared) = yes].
28499         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28500         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28501         * elf/Makefile [$(versioning) = yes]: Change conditionals to
28502         [$(build-shared) = yes].
28503         * extra-lib.mk [$(versioning) = yes]: Likewise.
28504         * hurd/Makefile [$(versioning) = yes]: Likewise.
28505         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28506         [SHARED].
28507         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28508         [SHARED].
28509         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28510         [SHARED && !NO_HIDDEN].
28511         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28512         [SHARED].
28513         [SHARED && DO_VERSIONING]: Likewise..
28514         * libio/Makefile [$(versioning) = yes]: Change conditionals to
28515         [$(build-shared) = yes].
28516         * manual/install.texi (--disable-versioning): Remove
28517         documentation.
28518         * INSTALL: Regenerated.
28519         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28520         to [SHARED].
28521         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28522         [$(build-shared) = yes].
28523         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28524         * sysdeps/i386/i686/multiarch/strstr-c.c
28525         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28526         [SHARED && !NO_HIDDEN].
28527         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28528         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28529         * sysdeps/powerpc/powerpc32/dl-machine.c
28530         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28531         * sysdeps/powerpc/powerpc32/sysdep.h
28532         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28533         to [SHARED && PIC && !NO_HIDDEN].
28534         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28535         conditional to [SHARED].
28537 2013-09-04   Will Newton  <will.newton@linaro.org>
28539         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28540         * benchtests/bench-string.h: Include bench-timing.h instead
28541         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28542         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28543         call to HP_TIMING_DIFF_INIT.
28544         * benchtests/bench-memccpy.c: Use bench-timing.h macros
28545         instead of hp-timing.h macros.
28546         * benchtests/bench-memchr.c: Likewise.
28547         * benchtests/bench-memcmp.c: Likewise.
28548         * benchtests/bench-memcpy.c: Likewise.
28549         * benchtests/bench-memmem.c: Likewise.
28550         * benchtests/bench-memmove.c: Likewise.
28551         * benchtests/bench-memset.c: Likewise.
28552         * benchtests/bench-rawmemchr.c: Likewise.
28553         * benchtests/bench-strcasecmp.c: Likewise.
28554         * benchtests/bench-strcasestr.c: Likewise.
28555         * benchtests/bench-strcat.c: Likewise.
28556         * benchtests/bench-strchr.c: Likewise.
28557         * benchtests/bench-strcmp.c: Likewise.
28558         * benchtests/bench-strcpy.c: Likewise.
28559         * benchtests/bench-strcpy_chk.c: Likewise.
28560         * benchtests/bench-strlen.c: Likewise.
28561         * benchtests/bench-strncasecmp.c: Likewise.
28562         * benchtests/bench-strncat.c: Likewise.
28563         * benchtests/bench-strncmp.c: Likewise.
28564         * benchtests/bench-strncpy.c: Likewise.
28565         * benchtests/bench-strnlen.c: Likewise.
28566         * benchtests/bench-strpbrk.c: Likewise.
28567         * benchtests/bench-strrchr.c: Likewise.
28568         * benchtests/bench-strspn.c: Likewise.
28569         * benchtests/bench-strstr.c: Likewise.
28571 2013-09-04  Will Newton  <will.newton@linaro.org>
28573         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28575 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
28577         [BZ #15427]
28578         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28579         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28580         * math/libm-test.inc (lgamma_test_data): Add more tests.
28581         * sysdeps/i386/fpu/libm-test-ulps: Update.
28582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28584 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
28586         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28588         Add ifunc.
28589         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28590         Add strcmp-sse2-unaligned
28591         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28593 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28595         * Versions.def (libc): Add GLIBC_2.19.
28597 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28599         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28600         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28602 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
28604         [BZ #14155]
28605         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28606         intermediate calculations in recurrence.
28607         (__ieee754_ynf): Likewise.
28608         * math/libm-test.inc (jn_test_data): Do not allow spurious
28609         underflow exception.  Add more tests.
28610         (yn_test_data): Add more tests.
28611         * sysdeps/i386/fpu/libm-test-ulps: Update.
28612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28614 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
28616         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28618 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28620         * csu/init-first.c: Fix then/than typos.
28621         * locale/programs/ld-collate.c: Likewise.
28622         * locale/programs/linereader.h: Likewise.
28623         * manual/charset.texi: Likewise.
28624         * manual/filesys.texi: Likewise.
28625         * manual/stdio.texi: Likewise.
28626         * manual/string.texi: Likewise.
28627         * stdlib/fmtmsg.c: Likewise.
28628         * sysdeps/i386/stpncpy.S: Likewise.
28629         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28630         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28631         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28632         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28634 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28636         * elf/dl-open.c: Fix typos.
28637         * iconvdata/gbbig5.c: Likewise.
28638         * iconvdata/iso-2022-jp.c: Likewise.
28639         * iconv/gconv_int.h: Likewise.
28640         * iconv/loop.c: Likewise.
28641         * nis/rpcsvc/nis.h: Likewise.
28642         * resolv/ns_name.c: Likewise.
28643         * stdio-common/vfscanf.c: Likewise.
28644         * streams/stropts.h: Likewise.
28645         * sunrpc/rpc_thread.c: Likewise.
28646         * sysdeps/i386/strpbrk.S: Likewise.
28647         * sysdeps/ieee754/k_standard.c: Likewise.
28648         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28649         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28650         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28651         * sysdeps/mach/hurd/profil.c: Likewise.
28652         * sysdeps/s390/dl-procinfo.h: Likewise.
28653         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28654         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28655         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28656         * sysdeps/x86_64/dl-trampoline.S: Likewise.
28657         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28659 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
28661         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28662         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28664 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
28666         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28667         aix specific files.
28668         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28669         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28670         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28671         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28672         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28673         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28674         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28675         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28677 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28678             Roland McGrath  <roland@hack.frob.com>
28680         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28681         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28683 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28685         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28686         __executable_start symbol instead of _start.
28688 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28690         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28691         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28692         Move macros to...
28693         * sysdeps/gnu/ldsodefs.h: ... this new file.
28695         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28696         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28697         instead of ELFOSABI_LINUX.
28699         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28700         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28701         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28702         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28703         Likewise.
28704         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28705         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28706         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28707         Likewise.
28708         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28709         (ibm_extended_long_double): Add ieee_nan member.
28710         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28711         (do_test): New function.
28713         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28714         TEST_TRUNC.
28715         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28716         functions, renamed from truncdfsf_test, trunctfsf_test,
28717         trunctfdf_test.
28718         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28719         functions.
28720         (do_test): Run all these.
28722 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
28724         * argp/argp-help.c: Fix typos.
28725         * argp/argp-parse.c: Likewise.
28726         * debug/backtracesyms.c: Likewise.
28727         * elf/elf.h: Likewise.
28728         * malloc/malloc.c: Likewise.
28729         * nis/nis_print.c: Likewise.
28730         * resolv/res_comp.c: Likewise.
28731         * stdlib/stdlib.h: Likewise.
28732         * sunrpc/clnt_tcp.c: Likewise.
28733         * sunrpc/clnt_udp.c: Likewise.
28734         * sunrpc/clnt_unix.c: Likewise.
28735         * sysdeps/unix/bsd/ptsname.c: Likewise.
28736         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28737         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28739         Likewise.
28740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28741         Likewise.
28742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28743         Likewise.
28744         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28746 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28748         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28751 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
28753         [BZ #15897]
28754         * dlfcn/Makefile (tests): Add bug-dl-leaf.
28755         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28756         ($(objpfx)bug-dl-leaf): New rule.
28757         ($(objpfx)bug-dl-leaf.so): Likewise.
28758         ($(objpfx)bug-dl-leaf.out): Likewise.
28759         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28760         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28761         * dlfcn/bug-dl-leaf.c: New test.
28762         * dlfcn/bug-dl-leaf-lib.c: Likewise.
28763         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28764         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28765         (dlclose): Likewise.
28766         (dlmopen): Likewise.
28768 2013-08-27  Roland McGrath  <roland@hack.frob.com>
28770         * include/netdb.h [!_ISOMAC]:
28771         Don't include <tls.h>.
28772         (h_errno, __libc_h_errno): Move declaration and macros out of
28773         [_LIBC_REENTRANT].
28775         * include/resolv.h [_RESOLV_H_]:
28776         Don't include <tls.h>.
28777         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28778         * resolv/res_libc.c: Don't include <tls.h>.
28779         (_res): Use __attribute__ ((nocommon)) in place of
28780         __attribute__ ((section (".bss"))).
28782         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28783         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28785         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28787         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28788         only under [SIOCGIFCONF && SIOCGIFNETMASK].
28790         * resolv/res_mkquery.c: Include <sys/time.h>.
28792         * inet/ifreq.c: Moved to ...
28793         * sysdeps/unix/ifreq.c: ... here.
28794         * inet/ifreq.c: New file, true stub version.
28796         * socket/sa_len.c: New file.
28797         * socket/Makefile (aux): Add it.
28798         * sysdeps/unix/sysv/linux/Makefile
28799         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28800         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28801         and #include <socket/sa_len.c>.
28802         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28803         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28805         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28806         * bits/socket.h: ... here.
28808         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28809         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28810         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28812 2013-08-27  Andreas Schwab  <schwab@suse.de>
28814         [BZ #15736]
28815         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28816         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28817         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28818         * string/test-strcasecmp.c (test_main): Run tests in several
28819         locales.
28820         * string/test-strncasecmp.c (test_main): Likewise.
28822         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28823         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28824         to __strcasecmp_nonascii and __strncasecmp_nonascii.
28825         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28826         (__strncasecmp_ssse3) [PIC]: Likewise.
28828 2013-08-26  Roland McGrath  <roland@hack.frob.com>
28830         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28832         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28833         instead of explicitly declaring xdecrypt.
28834         * nis/nss_nis/nis-publickey.c: Likewise.
28836 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28838         [BZ #15890]
28839         * nscd/aicache.c: Include res_hconf.h.
28840         (addhstaiX): Initialize res_hconf.
28842 2013-08-26  Andreas Schwab  <schwab@suse.de>
28844         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28845         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28847 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28849         * nscd/aicache.c (addhstaiX): Fix indentation.
28851 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
28853         * configure.ac: Quote $build_pt_chown test.
28854         * configure: Regenerated.
28856 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
28858         [BZ #15532]
28859         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28860         * math/s_cexpf.c (__cexpf): Likewise.
28861         * math/s_cexpl.c (__cexpl): Likewise.
28862         * math/libm-test.inc (cexp_test_data): Correct expected return
28863         value for NaN + i0.  Add another test.
28865 2013-08-22  David S. Miller  <davem@davemloft.net>
28867         * po/ca.po: Update Catalan translation from translation project.
28868         * po/uk.po: Add Ukrainian translations from translation project.
28870 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
28872         [BZ #15797]
28873         * math/s_fdim.c (__fdim): Check for infinite arguments if result
28874         is infinite, not alongside NaN test.
28875         * math/s_fdimf.c (__fdimf): Likewise.
28876         * math/s_fdiml.c (__fdiml): Likewise.
28877         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
28878         errno is unchanged.
28880 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
28882         * argp/argp-help.c: Fix typos.
28883         * crypt/speeds.c: Likewise.
28884         * csu/check_fds.c: Likewise.
28885         * elf/dl-load.c: Likewise.
28886         * elf/dl-open.c: Likewise.
28887         * elf/reldep3.c: Likewise.
28888         * elf/reldep.c: Likewise.
28889         * elf/sprof.c: Likewise.
28890         * iconv/iconv_charmap.c: Likewise.
28891         * iconv/skeleton.c: Likewise.
28892         * iconv/strtab.c: Likewise.
28893         * io/lockf64.c: Likewise.
28894         * libio/libioP.h: Likewise.
28895         * resolv/gai_notify.c: Likewise.
28896         * resolv/ns_name.c: Likewise.
28897         * resolv/ns_samedomain.c: Likewise.
28898         * resolv/res_send.c: Likewise.
28899         * stdlib/random.c: Likewise.
28900         * sunrpc/rpc/xdr.h: Likewise.
28901         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28902         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28903         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28904         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28905         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28906         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28907         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28908         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28909         * sysdeps/mach/hurd/check_fds.c: Likewise.
28910         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28911         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28912         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28913         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28914         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28915         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28916         * sysdeps/pthread/aio_notify.c: Likewise.
28917         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28918         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28919         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28920         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28921         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28923 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28925         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28926         version if bit_Slow_SSE4_2 is set.
28927         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28928         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28930 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28932         [BZ #15867]
28933         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28934         trampoline stack frame information.
28935         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28936         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28937         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28938         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28939         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28940         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28941         (_libc_vdso_platform_setup): Initialize the signal trampolines.
28942         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28943         sa_flags value.
28944         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28945         interrupting a syscall and set with option SA_SIGINFO.
28947 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28949         [BZ #15531]
28950         * math/s_cproj.c (__cproj): Only return an infinity if one part of
28951         argument is infinite.
28952         * math/s_cprojf.c (__cprojf): Likewise.
28953         * math/s_cprojl.c (__cprojl): Likewise.
28954         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28955         * math/libm-test.inc (cproj_test_data): Add more tests.
28957         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28959         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28960         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28961         size.  Use __ffs to determine corresponding shift.
28963 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28964             Roland McGrath  <roland@hack.frob.com>
28966         * Makefile (INSTALL): Remove trailing blank lines from output of
28967         makeinfo.
28969 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28971         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28972         Align 32 bit compat elf_greg to 8 bytes.
28974 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
28976         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28978 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28980         * string/strcoll_l.c (coll_seq): New structure.
28981         (get_next_seq_cached): New function.
28982         (get_next_seq): New function.
28983         (do_compare): New function.
28984         (STRCOLL): Use GNU style definition.  Simplify implementation
28985         by using get_next_seq, get_next_seq_cached and do_compare.
28987 2013-08-16  Florian Weimer  <fweimer@redhat.com>
28989         [BZ #14699]
28990         CVE-2013-4237
28991         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28992         member.
28993         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28994         member.
28995         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28996         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28997         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
28998         conditional.
28999         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29000         GETDENTS_64BIT_ALIGNED.
29001         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29002         * manual/filesys.texi (Reading/Closing Directory): Document
29003         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
29004         strongly.
29005         * manual/conf.texi (Limits for Files): Add portability note to
29006         NAME_MAX, PATH_MAX.
29007         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29009 2013-08-13  Andreas Schwab  <schwab@suse.de>
29011         [BZ #15749]
29012         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29013         of fabs.
29014         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29015         LDBL_MAX_EXP >= 16384]: Add tests for it.
29017 2013-08-12  David S. Miller  <davem@davemloft.net>
29019         * version.h (RELEASE): Set to "development".
29020         (VERSION): Set to "2.18.90".
29021         * NEWS: Add 2.19 section.
29023 2013-08-03  David S. Miller  <davem@davemloft.net>
29025         * po/ko.po: Update Korean translation from translation project.
29027 2013-08-01  David S. Miller  <davem@davemloft.net>
29029         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
29030         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29031         Bilka.
29033 2013-07-30  David S. Miller  <davem@davemloft.net>
29035         * po/fr.po: Update French translation from translation project.
29037 2013-07-28  David S. Miller  <davem@davemloft.net>
29039         * po/cs.po: Update Czech translation from translation project.
29041         * po/sv.po: Update Swedish translation from translation project.
29043 2013-07-27  David S. Miller  <davem@davemloft.net>
29045         * po/eo.po: Update Esperanto translation from translation project.
29047         * po/vi.po: Update Vietnamese translation from translation project.
29049         * po/de.po: Update German translation from translation project.
29051 2013-07-26  David S. Miller  <davem@davemloft.net>
29053         * po/bg.po: Update Bulgarian translation from translation project.
29055         * po/nl.po: Update Dutch translation from translation project.
29056         * po/pl.po: Update Polish translation from translation project.
29057         * po/ru.po: Update Russian translation from translation project.
29059 2013-07-24  David S. Miller  <davem@davemloft.net>
29061         * po/libc.pot: Update.
29063 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29065         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29066         variable page size.
29067         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29068         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29069         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29071 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29073         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29075 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29076             Andreas Schwab  <schwab@suse.de>
29077             Roland McGrath  <roland@hack.frob.com>
29078             Joseph Myers  <joseph@codesourcery.com>
29079             Carlos O'Donell  <carlos@redhat.com>
29081         [BZ #15755]
29082         * config.h.in: Define HAVE_PT_CHOWN.
29083         * config.make.in (build-pt-chown): New variable.
29084         * configure.in (--enable-pt_chown): New configure option.
29085         * configure: Regenerate.
29086         * login/Makefile: Include Makeconfig.  Build pt_chown only if
29087         build-pt-chown is enabled.
29088         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29089         pt_chown to fix pty ownership.
29090         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29091         CLOSE_ALL_FDS.
29092         * manual/install.texi (Configuring and compiling): Mention
29093         --enable-pt_chown. Add @findex for grantpt.
29094         * INSTALL: Regenerate.
29096 2013-07-20  David S. Miller  <davem@davemloft.net>
29098         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29099         difference between 32-bit and 64-bit.
29101 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
29103         [BZ #15711]
29104         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29105         Avoid system header dependency with -ffreestanding.
29106         ($(objpfx)bits/syscall%d): Likewise.
29108 2013-07-13  David S. Miller  <davem@davemloft.net>
29110         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29111         underflows from atanl/atan2l due to bug 15319.
29112         (casinh_test_data): Likewise.
29114 2013-07-07  David S. Miller  <davem@davemloft.net>
29116         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29118 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
29120         * sysdeps/i386/fpu/libm-test-ulps: Update.
29121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29123 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29125         * configure.in (--enable-lock-elision): Fix message text.
29126         * INSTALL: Regenerate.
29127         * configure: Regenerate.
29129 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29133 2013-07-03  Andreas Jaeger  <aj@suse.de>
29135         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29136         define.
29137         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29138         (ptrace_peeksiginfo_args): Add.
29139         (__ptrace_peeksiginfo_flags): Add.
29140         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29141         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29142         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29144 2013-07-03  Allan McRae  <allan@archlinux.org>
29146         * sysdeps/i386/fpu/libm-test-ulps: Update.
29148 2013-07-02  David S. Miller  <davem@davemloft.net>
29150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29152 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
29154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29156 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29158         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29161 2013-07-02  Andi Kleen <ak@linux.intel.com>
29163         * config.h.in (ENABLE_LOCK_ELISION): Add.
29164         * configure.in (--enable-lock-elision): Add option.
29165         * manual/install.texi: Document --enable lock elision.
29166         * configure: Regenerate
29167         * INSTALL: Regenerate.
29169 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
29171         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29172         SSE4.2 strcasecmp for libc.a.
29173         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29175 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29177         [BZ #13304]
29178         * soft-fp/op-common.h (_FP_FMA): New macro.
29179         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29180         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
29181         (_FP_MUL_MEAT_1_imm): ... here.
29182         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
29183         (_FP_MUL_MEAT_1_wide): ... here.
29184         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
29185         (_FP_MUL_MEAT_1_hard): ... here.
29186         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29187         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
29188         (_FP_MUL_MEAT_2_wide): ... here.
29189         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
29190         (_FP_MUL_MEAT_2_wide_3mul): ... here.
29191         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
29192         (_FP_MUL_MEAT_2_gmp): ... here.
29193         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29194         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
29195         (_FP_MUL_MEAT_4_wide): ... here.
29196         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
29197         (_FP_MUL_MEAT_4_gmp): ... here.
29198         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29199         (_FP_WFRACBITS_DW_S): Likewise.
29200         (_FP_WFRACXBITS_DW_S): Likewise.
29201         (_FP_HIGHBIT_DW_S): Likewise.
29202         (FP_FMA_S): Likewise.
29203         (_FP_FRAC_HIGH_DW_S): Likewise.
29204         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29205         (_FP_WFRACBITS_DW_D): Likewise.
29206         (_FP_WFRACXBITS_DW_D): Likewise.
29207         (_FP_HIGHBIT_DW_D): Likewise.
29208         (FP_FMA_D): Likewise.
29209         (_FP_FRAC_HIGH_DW_D): Likewise.
29210         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29211         (_FP_WFRACBITS_DW_E): Likewise.
29212         (_FP_WFRACXBITS_DW_E): Likewise.
29213         (_FP_HIGHBIT_DW_E): Likewise.
29214         (FP_FMA_E): Likewise.
29215         (_FP_FRAC_HIGH_DW_E): Likewise.
29216         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29217         (_FP_WFRACBITS_DW_Q): Likewise.
29218         (_FP_WFRACXBITS_DW_Q): Likewise.
29219         (_FP_HIGHBIT_DW_Q): Likewise.
29220         (FP_FMA_Q): Likewise.
29221         (_FP_FRAC_HIGH_DW_Q): Likewise.
29222         * soft-fp/fmasf4.c: New file.
29223         * soft-fp/fmadf4.c: Likewise.
29224         * soft-fp/fmatf4.c: Likewise.
29226 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29229         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29230         Silvermont.
29231         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29232         macro.
29233         (index_Slow_SSE4_2): Likewise.
29234         (index_Prefer_PMINUB_for_stringop): Likewise.
29235         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29236         bit_Slow_SSE4_2 is set.
29237         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29238         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29240 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29242         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29243         rtld_global._dl_hwcap2.
29244         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29245         POWER8.
29246         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29247         POWER8 feature descriptions defined in _dl_hwcap2.
29248         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29249         string handling for POWER8 feature bits.
29250         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29251         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29252         _dl_powerpc_cap_flags.
29253         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29254         * sysdeps/powerpc/rtld-global-offsets.sym
29255         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29256         _dl_hwcap2 in the rtld_global_ro structure.
29258 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29260         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29261         hardware capabilities in support of AT_HWCAP2.
29262         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29263         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29264         GLRO(dl_hwcap2).
29265         (_dl_show_auxv): Add support for calling _dl_procinfo to display
29266         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
29267         explicitly the unknown a_type display mechanism is used.
29268         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29269         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29270         struct member.
29271         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29272         to macro prototype for AT_HWCAP2 support.
29273         * sysdeps/i386/dl-procinfo.h: Likewise.
29274         * sysdeps/s390/dl-procinfo.h: Likewise.
29275         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29276         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
29277         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
29278         return -1 for unknown a_type display fallback.
29279         * sysdeps/sparc/dl-procinfo.h: Likewise.
29280         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29281         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29283 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
29285         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29286         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29288 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
29290         [BZ #12492]
29291         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29292         mprotect making __stack_prot writable.
29294 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
29295             Joseph Myers  <joseph@codesourcery.com>
29297         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29298         as being properly aligned.
29300 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
29302         * dlfcn/modstatic5.c: New file.
29303         * dlfcn/tststatic5.c: New file.
29304         * dlfcn/Makefile (tests): Add tststatic5.
29305         (tests-static): Likewise.
29306         (modules-names): Add modstatic5.
29307         (tststatic5-ENV): New variable.
29308         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29310         [BZ #15022]
29311         * elf/dl-support.c (_dl_main_map): New variable.
29312         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29313         (_dl_nns, _dl_load_adds): Set to 1.
29314         (_dl_initial_searchlist): Refer to _dl_main_map.
29315         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29316         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29317         call to _dl_get_origin.
29318         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29319         around call_map.
29320         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29321         * dlfcn/modstatic3.c: New file.
29322         * dlfcn/tststatic3.c: New file.
29323         * dlfcn/tststatic4.c: New file.
29324         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29325         (tests-static): Likewise.
29326         (modules-names): Add modstatic3.
29327         (tststatic3-ENV, tststatic4-ENV): New variables.
29328         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29329         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29331 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
29333         * configure.in (CC): Require GCC version 4.4 or later.
29334         * configure: Regenerated.
29335         * manual/install.texi (Tools for Compilation): Update GCC version
29336         requirement.
29337         * INSTALL: Regenerated.
29339 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29341         [BZ #15674]
29342         * string/test-memcmp.c (check2): New.
29343         (main): Call check2.
29345         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29347 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
29349         [BZ #15022]
29350         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29351         over to...
29352         (dl_open_worker) [!SHARED]: ... here.
29354 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29356         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29358 2013-06-25  Richard Henderson  <rth@redhat.com>
29360         * locale/programs/locarchive.c: Include <libc-internal.h>
29362 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
29364         * manual/texinfo.tex: Update to version 2013-06-21.17, with
29365         trailing whitespace removed.
29367 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29369         [BZ #10283]
29370         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29371         * locale/programs/locarchive.c: Include libc-mmap.h.
29372         (prepare_address_space): Take two new outputs (the mmap base and len).
29373         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
29374         values.
29375         (create_archive): Declare new mmap base and len values for
29376         prepare_address_space, and store the result in ah.
29377         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29378         (enlarge_archive): If ah->mmap_base is not NULL, use that and
29379         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29380         Declare new mmap base and len values for
29381         prepare_address_space, and store the result in new_ah.
29382         (open_archive): Declare new mmap base and len values for
29383         prepare_address_space, and store the result in ah.
29384         (close_archive): If ah->mmap_base is not NULL, use that and
29385         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29386         * sysdeps/generic/libc-mmap.h: New file.
29388 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29390         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29391         (ALIGN_UP): Likewise.
29392         (PTR_ALIGN_DOWN): Likewise.
29393         (PTR_ALIGN_UP): Likewise.
29395 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29397         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29398         entry mapped to PPC_PLATFORM_POWER8.
29399         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29400         POWER8.
29401         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29402         (_dl_string_platform): Add case for exporting platform position for
29403         POWER8.
29404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29405         search path to sysdeps/powerpc/powerpc32/power8 directory.
29406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29407         search path to sysdeps/powerpc/powerpc64/power8 directory.
29408         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29409         power7 directories.
29410         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29411         power7 directories.
29413 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29415         * INSTALL: Regenerate.
29417         * nscd/connections.c (nscd_init): Fix comment.
29419 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
29421         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29423         [BZ #15667]
29424         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29425         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29427 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29429         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29430         DL_DST_REQ_STATIC.
29431         (DL_DST_REQ_STATIC): Remove macro.
29433 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
29435         [BZ #7006]
29436         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29437         with a shift of 0 bits.
29439 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29441         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29442         $(tststatic-ENV).
29444 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29446         [BZ #15655]
29447         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29449 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29451         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29452         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29453         accepts -fno-tree-loop-distribute-patterns.
29454         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29455         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29456         recursive call.
29457         * string/memset.c (memset): Likewise.
29458         * string/test-memmove.c (simple_memmove): Disable loop transformation
29459         to library calls.
29460         * string/test-memset.c (simple_memset): Likewise.
29461         * benchtests/bench-memmove.c (simple_memmove): Likewise.
29462         * benchtests/bench-memset.c (simple_memset): Likewise.
29463         * configure: Regenerated.
29465 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
29467         * math/test-misc.c (main): Ignore fesetround failure when failures
29468         of subsequent rounding tests would be ignored.
29470         [BZ #15654]
29471         * math/fedisblxcpt.c (fedisableexcept): Return 0.
29472         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29473         * math/fegetenv.c (__fegetenv): Return 0.
29474         * math/fegetexcept.c (fegetexcept): Return 0.
29475         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29476         FE_TONEAREST.
29477         * math/feholdexcpt.c (feholdexcept): Return 0.
29478         * math/fesetenv.c (__fesetenv): Return 0.
29479         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29480         argument FE_TONEAREST.
29481         * math/feupdateenv.c (__feupdateenv): Return 0.
29482         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29484 2013-06-18  Roland McGrath  <roland@hack.frob.com>
29486         * elf/rtld-Rules (rtld-compile-command.S): New variable.
29487         (rtld-compile-command.s, rtld-compile-command.c): New variables.
29488         ($(objpfx)rtld-%.os rules): Use them.
29490 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29492         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29493         fields.
29495 2013-06-17  Roland McGrath  <roland@hack.frob.com>
29497         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29498         length of target pattern, then descending length of dependency pattern.
29499         * configure.in (AWK): Require gawk 3.1.2 or newer.
29500         * manual/install.texi (Tools for Compilation): Say that we do.
29501         * configure: Regenerated.
29503         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29504         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29505         * scripts/sysd-rules.awk: ... this new script.
29506         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29507         than a glob-style pattern.
29509 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
29511         * math/test-misc.c (main): Do not treat incorrectly rounded
29512         conversions as failure unless ROUNDING_TESTS passes.
29514 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
29516         [BZ #15631]
29517         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29518         restore exception state around main square root computation, then
29519         check for inexactness explicitly.
29521         * math/libm-test.inc (fma_test_data): Add another test.
29523 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29525         * manual/threads.texi (Non-POSIX Extensions): New document
29526         node.  Document pthread_getattr_default_np and
29527         pthread_setattr_default_np.
29529         * Versions.def (libpthread): Add GLIBC_2.18.
29530         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29532         Likewise.
29533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29534         Likewise.
29535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29536         Likewise.
29537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29538         Likewise.
29539         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29540         Likewise.
29541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29542         Likewise.
29543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29544         Likewise.
29545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29546         Likewise.
29547         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29548         Likewise.
29550 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29553         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29555 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29556             H.J. Lu  <hjl.tools@gmail.com>
29558         [BZ #15627]
29559         * sysdeps/x86_64/rtld-memset.c: Remove file.
29560         * sysdeps/x86_64/rtld-memset.S: New file.
29562 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
29564         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29565         (test_in_one_mode): Take arguments for whether the rounding mode
29566         is supported for each floating-point type.
29567         (do_test): Pass new arguments to test_in_one_mode using
29568         ROUNDING_TESTS.
29570 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29572         * posix/tst-waitid.c (do_test): Distinguish different instances of
29573         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
29574         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29575         before entering the kernel for waitpid.
29577 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29579         * NEWS: Fix note on clock function precision.  Text by Roland
29580         McGrath.
29582 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29584         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29585         it into place only when and if the sanity check passes.
29587 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
29589         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29590         output for whether conversion result is exact.  Take argument
29591         indicating whether type is IBM long double.
29592         (round_for_all): Change need_exact field to ibm_ld.
29593         * stdlib/tst-strtod-round.c (struct exactness): New type.
29594         (struct test): Change bool ld_ok field to struct exactness exact.
29595         (TEST): Update all definitions for change to field.
29596         (tests): Regenerate array contents.
29597         (test_in_one_mode): Take pointer to new field instead of old ld_ok
29598         field value.  Check for IBM long double here.
29599         (do_test): Update calls to test_in_one_mode.
29601 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29603         [BZ #12515]
29604         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29605         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29607 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29609         [BZ #15605]
29610         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29611         generated by the compiler on loop optimizations.
29612         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29613         general definitions.
29615 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
29617         * math/bug-nextafter.c: Include <math-tests.h>.
29618         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29619         the relevant type.
29620         * math/bug-nexttoward.c: Include <math-tests.h>.
29621         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29622         the relevant type.
29623         * math/test-misc.c: Include <math-tests.h>.
29624         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29625         the relevant type.
29627 2013-06-12  Andreas Jaeger  <aj@suse.de>
29629         * po/ia.po: Update Interlingua translation from translation
29630         project.
29632 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29634         * include/fenv.h: Include stdbool.h.
29635         (struct rm_ctx): New structure.
29636         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29637         Define macro.
29638         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29639         (SET_RESTORE_ROUNDF): Likewise.
29640         (SET_RESTORE_ROUNDL): Likewise.
29641         (SET_RESTORE_ROUND_NOEX): Likewise.
29642         (SET_RESTORE_ROUND_NOEXF): Likewise.
29643         (SET_RESTORE_ROUND_NOEXL): Likewise.
29644         (SET_RESTORE_ROUND_53BIT): Likewise.
29645         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29646         (libc_feresetround_noexf_ctx): Likewise.
29647         (libc_feresetround_noexl_ctx): Likewise.
29648         (libc_feholdsetround_53bit_ctx): Likewise.
29649         (libc_feresetround_53bit_ctx): Likewise.
29650         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29651         (libc_feholdexcept_setround_sse_ctx): New function.
29652         (libc_fesetenv_sse_ctx): Likewise.
29653         (libc_feupdateenv_sse_ctx): Likewise.
29654         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29655         (libc_feholdexcept_setround_387_ctx): Likewise.
29656         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29657         (libc_feholdsetround_387_prec_ctx): Likewise.
29658         (libc_feholdsetround_387_ctx): Likewise.
29659         (libc_feholdsetround_387_53bit_ctx): Likewise.
29660         (libc_feholdsetround_sse_ctx): Likewise.
29661         (libc_feresetround_sse_ctx): Likewise.
29662         (libc_feresetround_387_ctx): Likewise.
29663         (libc_feupdateenv_387_ctx): Likewise.
29664         (libc_feholdexcept_setroundf_ctx): Define macro.
29665         (libc_fesetenvf_ctx): Likewise.
29666         (libc_feupdateenvf_ctx): Likewise.
29667         (libc_feholdsetroundf_ctx): Likewise.
29668         (libc_feresetroundf_ctx): Likewise.
29669         (libc_feholdexcept_setround_ctx): Likewise.
29670         (libc_fesetenv_ctx): Likewise.
29671         (libc_feupdateenv_ctx): Likewise.
29672         (libc_feholdsetround_ctx): Likewise.
29673         (libc_feresetround_ctx): Likewise.
29674         (libc_feholdexcept_setroundl_ctx): Likewise.
29675         (libc_feupdateenvl_ctx): Likewise.
29676         (libc_feholdsetroundl_ctx): Likewise.
29677         (libc_feresetroundl_ctx): Likewise.
29678         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29679         (libc_feresetround_53bit_ctx): Likewise.
29681 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29683         * locale/iso-639.def: Convert to UTF-8.
29685 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
29687         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29688         (EXCEPTION_TESTS_double): Likewise.
29689         (EXCEPTION_TESTS_long_double): Likewise.
29690         (EXCEPTION_TESTS): Likewise.
29691         * math/libm-test.inc (test_exceptions): Only test exceptions if
29692         EXCEPTION_TESTS (FLOAT).
29694 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29696         * benchtests/Makefile (string-bench): Add strcpy_chk and
29697         stpcpy_chk.
29698         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29699         * benchtests/bench-stpcpy_chk.c: New file.
29700         * benchtests/bench-strcpy_chk-ifunc.c: New file.
29701         * benchtests/bench-strcpy_chk.c: New file.
29702         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29703         code.
29704         (do_test): Likewise.
29706 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29708         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29709         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29710         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29711         with tabs where appropriate.
29712         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29713         dl-procinfo.h.
29714         [PPC_PLATFORM_PPC440]: Likewise.
29715         [PPC_PLATFORM_PPC464]: Likewise.
29716         [PPC_PLATFORM_PPC476]: Likewise.
29717         (_dl_string_platform): Add support for detecting ppc405, ppc440,
29718         ppc464, and ppc476 platform strings merging from ports/
29719         dl-procinfo.h.
29721 2013-06-11  Andreas Schwab  <schwab@suse.de>
29723         [BZ #14991]
29724         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29725         (from_ucs4_idx): Regenerate.
29726         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29727         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29728         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29729         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29730         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29731         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29732         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29733         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29734         from FROM_LOOP and TO_LOOP specific macros.
29735         (BODY): Handle combining characters.
29736         * iconvdata/BIG5HKSCS.irreversible: Update.
29737         * iconvdata/BIG5HKSCS.precomposed: New file.
29738         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29739         characters.
29740         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29742 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29744         * include/sys/time.h: Fix indentation and add copyright header.
29746         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29747         (do_test): Likewise.
29748         * string/test-memchr.c (do_one_test): Likewise.
29749         (do_test): Likewise.
29750         * string/test-memcmp.c (do_one_test): Likewise.
29751         (do_test): Likewise.
29752         * string/test-memcpy.c (do_one_test): Likewise.
29753         (do_test): Likewise.
29754         * string/test-memmem.c (do_one_test): Likewise.
29755         (do_test): Likewise.
29756         (do_random_tests): Likewise.
29757         * string/test-memmove.c (do_one_test): Likewise.
29758         (do_test): Likewise.
29759         * string/test-memset.c (do_one_test): Likewise.
29760         (do_test): Likewise.
29761         * string/test-rawmemchr.c (do_one_test): Likewise.
29762         (do_test): Likewise.
29763         * string/test-strcasecmp.c (do_one_test): Likewise.
29764         (do_test): Likewise.
29765         * string/test-strcasestr.c (do_one_test): Likewise.
29766         (do_test): Likewise.
29767         * string/test-strcat.c (do_one_test): Likewise.
29768         (do_test): Likewise.
29769         * string/test-strchr.c (do_one_test): Likewise.
29770         (do_test): Likewise.
29771         * string/test-strcmp.c (do_one_test): Likewise.
29772         (do_test): Likewise.
29773         * string/test-strcpy.c (do_one_test): Likewise.
29774         (do_test): Likewise.
29775         * string/test-string.h: Likewise.
29776         (test_init): Likewise.
29777         * string/test-strlen.c (do_one_test): Likewise.
29778         (do_test): Likewise.
29779         * string/test-strncasecmp.c (do_one_test): Likewise.
29780         (do_test): Likewise.
29781         * string/test-strncat.c (do_one_test): Likewise.
29782         (do_test): Likewise.
29783         * string/test-strncmp.c (do_one_test): Likewise.
29784         (do_test_limit): Likewise.
29785         (do_test): Likewise.
29786         * string/test-strncpy.c (do_one_test): Likewise.
29787         (do_test): Likewise.
29788         * string/test-strnlen.c (do_one_test): Likewise.
29789         (do_test): Likewise.
29790         * string/test-strpbrk.c (do_one_test): Likewise.
29791         (do_test): Likewise.
29792         * string/test-strrchr.c (do_one_test): Likewise.
29793         (do_test): Likewise.
29794         * string/test-strspn.c (do_one_test): Likewise.
29795         (do_test): Likewise.
29796         * string/test-strstr.c (do_one_test): Likewise.
29797         (do_test): Likewise.
29799         * benchtests/Makefile (string-bench): Add string benchmarks.
29800         * benchtests/bench-bcopy-ifunc.c: New file.
29801         * benchtests/bench-bcopy.c: New file.
29802         * benchtests/bench-bzero-ifunc.c: New file.
29803         * benchtests/bench-bzero.c: New file.
29804         * benchtests/bench-memccpy-ifunc.c: New file.
29805         * benchtests/bench-memccpy.c: New file.
29806         * benchtests/bench-memchr-ifunc.c: New file.
29807         * benchtests/bench-memchr.c: New file.
29808         * benchtests/bench-memcmp-ifunc.c: New file.
29809         * benchtests/bench-memcmp.c: New file.
29810         * benchtests/bench-memmem-ifunc.c: New file.
29811         * benchtests/bench-memmem.c: New file.
29812         * benchtests/bench-memmove-ifunc.c: New file.
29813         * benchtests/bench-memmove.c: New file.
29814         * benchtests/bench-mempcpy-ifunc.c: New file.
29815         * benchtests/bench-mempcpy.c: New file.
29816         * benchtests/bench-memset-ifunc.c: New file.
29817         * benchtests/bench-memset.c: New file.
29818         * benchtests/bench-rawmemchr-ifunc.c: New file.
29819         * benchtests/bench-rawmemchr.c: New file.
29820         * benchtests/bench-stpcpy-ifunc.c: New file.
29821         * benchtests/bench-stpcpy.c: New file.
29822         * benchtests/bench-stpncpy-ifunc.c: New file.
29823         * benchtests/bench-stpncpy.c: New file.
29824         * benchtests/bench-strcasecmp-ifunc.c: New file.
29825         * benchtests/bench-strcasecmp.c: New file.
29826         * benchtests/bench-strcasestr-ifunc.c: New file.
29827         * benchtests/bench-strcasestr.c: New file.
29828         * benchtests/bench-strcat-ifunc.c: New file.
29829         * benchtests/bench-strcat.c: New file.
29830         * benchtests/bench-strchr-ifunc.c: New file.
29831         * benchtests/bench-strchr.c: New file.
29832         * benchtests/bench-strchrnul-ifunc.c: New file.
29833         * benchtests/bench-strchrnul.c: New file.
29834         * benchtests/bench-strcmp-ifunc.c: New file.
29835         * benchtests/bench-strcmp.c: New file.
29836         * benchtests/bench-strcpy-ifunc.c: New file.
29837         * benchtests/bench-strcpy.c: New file.
29838         * benchtests/bench-strcspn-ifunc.c: New file.
29839         * benchtests/bench-strcspn.c: New file.
29840         * benchtests/bench-strlen-ifunc.c: New file.
29841         * benchtests/bench-strlen.c: New file.
29842         * benchtests/bench-strncasecmp-ifunc.c: New file.
29843         * benchtests/bench-strncasecmp.c: New file.
29844         * benchtests/bench-strncat-ifunc.c: New file.
29845         * benchtests/bench-strncat.c: New file.
29846         * benchtests/bench-strncmp-ifunc.c: New file.
29847         * benchtests/bench-strncmp.c: New file.
29848         * benchtests/bench-strncpy-ifunc.c: New file.
29849         * benchtests/bench-strncpy.c: New file.
29850         * benchtests/bench-strnlen-ifunc.c: New file.
29851         * benchtests/bench-strnlen.c: New file.
29852         * benchtests/bench-strpbrk-ifunc.c: New file.
29853         * benchtests/bench-strpbrk.c: New file.
29854         * benchtests/bench-strrchr-ifunc.c: New file.
29855         * benchtests/bench-strrchr.c: New file.
29856         * benchtests/bench-strspn-ifunc.c: New file.
29857         * benchtests/bench-strspn.c: New file.
29858         * benchtests/bench-strstr-ifunc.c: New file.
29859         * benchtests/bench-strstr.c: New file.
29861         * benchtests/Makefile: Disable parallel execution of targets.
29862         (string-bench): Add memcpy.
29863         (benchset): New variable to store a list of benchmark sets.
29864         (bench-func): Renamed from bench.
29865         (bench-set): New target.
29866         (bench): Depend on bench-func and bench-set.
29867         * benchtests/README: Add section on benchmark sets.
29868         * benchtests/bench-memcpy-ifunc.c: New file.
29869         * benchtests/bench-memcpy.c: New file.
29870         * benchtests/bench-string.h: New file.
29872 2013-06-11  Andreas Schwab  <schwab@suse.de>
29874         [BZ #15577]
29875         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29876         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29877         values in the triple.
29878         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29879         terminator in the group key.
29881 2013-06-11  Andreas Jaeger  <aj@suse.de>
29883         * po/zh_TW.po: Update Chinese (traditional) translation from
29884         translation project.
29886 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29888         * include/time.h (__clock_gettime): Add libc_hidden_proto.
29889         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29890         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
29891         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29892         (clock_getcpuclockid): Likewise.
29893         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29894         Add weak_alias and libc_hidden_def.
29895         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29896         * rt/clock_gettime.c (clock_gettime): Rename to
29897         __clock_gettime.  Add weak_alias and libc_hidden_def.
29898         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29899         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29900         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
29901         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29902         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29903         Likewise.
29904         * rt/clock_settime.c (clock_settime): Rename to
29905         __clock_settime.  Add weak_alias and libc_hidden_def.
29906         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29908 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
29910         * mach/err_boot.sub: Remove trailing whitespace.
29911         * mach/err_ipc.sub: Likewise.
29912         * mach/err_mach.sub: Likewise.
29914         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29915         (ROUNDING_TESTS_double): Likewise.
29916         (ROUNDING_TESTS_long_double): Likewise.
29917         (ROUNDING_TESTS): Likewise.
29918         * math/libm-test.inc: Include <math-tests.h>.
29919         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29920         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29921         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29922         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29924 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29926         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29927         of assigning.
29929 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
29931         * sysdeps/gnu/errlist.awk: Do not generate space at end of
29932         otherwise empty TRANS lines.
29933         * sysdeps/gnu/errlist.c: Regenerated.
29935         * catgets/gencat.c (error_print): Use (void) in function
29936         definition.
29937         * crypt/crypt_util.c (__init_des): Likewise.
29938         * crypt/speeds.c (Stop): Likewise.
29939         (main): Likewise.
29940         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29941         * inet/ruserpass.c (token): Likewise.
29942         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29943         * intl/localealias.c (extend_alias_table): Likewise.
29944         * intl/plural-exp.c (init_germanic_plural): Likewise.
29945         * libio/fcloseall.c (__fcloseall): Likewise.
29946         * libio/genops.c (_IO_flush_all): Likewise.
29947         (_IO_flush_all_linebuffered): Likewise.
29948         (_IO_cleanup): Likewise.
29949         (_IO_iter_begin): Likewise.
29950         (_IO_iter_end): Likewise.
29951         (_IO_list_lock): Likewise.
29952         (_IO_list_unlock): Likewise.
29953         (_IO_list_resetlock): Likewise.
29954         * libio/getchar.c (getchar): Likewise.
29955         * libio/getchar_u.c (getchar_unlocked): Likewise.
29956         * libio/getwchar.c (getwchar): Likewise.
29957         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29958         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29959         * login/getpt.c (__getpt): Likewise.
29960         * login/tst-utmp.c (main): Likewise.
29961         * malloc/hooks.c (__malloc_check_init): Likewise.
29962         * malloc/malloc.c (__malloc_stats): Likewise.
29963         * malloc/mtrace.c (tr_break): Likewise.
29964         (mtrace): Likewise.
29965         (muntrace): Likewise.
29966         * misc/fstab.c (endfsent): Likewise.
29967         * misc/getclktck.c (__getclktck): Likewise.
29968         * misc/getdtsz.c (__getdtablesize): Likewise.
29969         * misc/gethostid.c (gethostid): Likewise.
29970         * misc/getpagesize.c (__getpagesize): Likewise.
29971         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29972         (__get_nprocs): Likewise.
29973         (__get_phys_pages): Likewise.
29974         (__get_avphys_pages): Likewise.
29975         * misc/getttyent.c (getttyent): Likewise.
29976         (setttyent): Likewise.
29977         (endttyent): Likewise.
29978         * misc/getusershell.c (getusershell): Likewise.
29979         (endusershell): Likewise.
29980         (setusershell): Likewise.
29981         (initshells): Likewise.
29982         * misc/hsearch.c (__hdestroy): Likewise.
29983         * misc/sync.c (sync): Likewise.
29984         * misc/syslog.c (closelog_internal): Likewise.
29985         (closelog): Likewise.
29986         * misc/ttyslot.c (ttyslot): Likewise.
29987         * misc/vhangup.c (vhangup): Likewise.
29988         * posix/fork.c (__fork): Likewise.
29989         * posix/getegid.c (__getegid): Likewise.
29990         * posix/geteuid.c (__geteuid): Likewise.
29991         * posix/getgid.c (__getgid): Likewise.
29992         * posix/getpid.c (__getpid): Likewise.
29993         * posix/getppid.c (__getppid): Likewise.
29994         * posix/getuid.c (__getuid): Likewise.
29995         * posix/pause.c (pause): Likewise.
29996         * posix/setpgrp.c (setpgrp): Likewise.
29997         * posix/setsid.c (__setsid): Likewise.
29998         * posix/test-vfork.c (noop): Likewise.
29999         * resolv/gethnamaddr.c (_endhtent): Likewise.
30000         (_gethtent): Likewise.
30001         (ht_endhostent): Likewise.
30002         (gethostent): Likewise.
30003         (dns_service): Likewise.
30004         * stdlib/drand48.c (drand48): Likewise.
30005         * stdlib/lrand48.c (lrand48): Likewise.
30006         * stdlib/mrand48.c (mrand48): Likewise.
30007         * stdlib/rand.c (rand): Likewise.
30008         * stdlib/random.c (__random): Likewise.
30009         * stdlib/setenv.c (clearenv): Likewise.
30010         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30011         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30012         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30013         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30014         (__get_nprocs): Likewise.
30015         (__get_phys_pages): Likewise.
30016         (__get_avphys_pages): Likewise.
30017         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30018         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30019         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30020         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30021         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30022         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30023         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30024         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30025         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30026         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30027         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30028         * sysdeps/mach/hurd/sync.c (sync): Likewise.
30029         * sysdeps/posix/clock.c (clock): Likewise.
30030         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30031         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30032         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30033         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30034         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30035         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30036         (__get_nprocs_conf): Likewise.
30037         (__get_phys_pages): Likewise.
30038         (__get_avphys_pages): Likewise.
30039         * time/clock.c (clock): Likewise.
30040         * time/tzset.c (__tzname_max): Likewise.
30042 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
30044         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30045         (__bswap_32): Do not use "register".
30046         * crypt/crypt.c (_ufc_doit_r): Likewise.
30047         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30048         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30049         * gmon/gmon.c (__monstartup): Likewise.
30050         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30051         * hurd/hurdmalloc.c (more_memory): Likewise.
30052         (malloc): Likewise.
30053         (free): Likewise.
30054         (realloc): Likewise.
30055         (malloc_fork_prepare): Likewise.
30056         (malloc_fork_parent): Likewise.
30057         (malloc_fork_child): Likewise.
30058         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30059         (_svcauth_des): Likewise.
30060         * inet/inet_lnaof.c (inet_lnaof): Likewise.
30061         * inet/inet_net.c (inet_network): Likewise.
30062         * inet/inet_netof.c (inet_netof): Likewise.
30063         * inet/rcmd.c (__validuser2_sa): Likewise.
30064         * io/fts.c (fts_open): Likewise.
30065         (fts_load): Likewise.
30066         (fts_close): Likewise.
30067         (fts_read): Likewise.
30068         (fts_children): Likewise.
30069         (fts_build): Likewise.
30070         (fts_stat): Likewise.
30071         (fts_sort): Likewise.
30072         (fts_alloc): Likewise.
30073         (fts_lfree): Likewise.
30074         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30075         (_IO_file_xsgetn): Likewise.
30076         (_IO_file_xsgetn_mmap): Likewise.
30077         * libio/iofopncook.c (_IO_cookie_read): Likewise.
30078         (_IO_cookie_write): Likewise.
30079         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30080         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30081         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30082         * malloc/obstack.c (_obstack_begin): Likewise.
30083         (_obstack_begin_1): Likewise.
30084         (_obstack_newchunk): Likewise.
30085         (_obstack_allocated_p): Likewise.
30086         (obstack_free): Likewise.
30087         (_obstack_memory_used): Likewise.
30088         * misc/getttyent.c (getttynam): Likewise.
30089         (getttyent): Likewise.
30090         (skip): Likewise.
30091         (value): Likewise.
30092         * misc/getusershell.c (initshells): Likewise.
30093         * misc/syslog.c (__vsyslog_chk): Likewise.
30094         * misc/ttyslot.c (ttyslot): Likewise.
30095         * nis/nis_hash.c (__nis_hash): Likewise.
30096         * posix/fnmatch_loop.c (FCT): Likewise.
30097         * posix/getconf.c (print_all): Likewise.
30098         (main): Likewise.
30099         * posix/getopt.c (exchange): Likewise.
30100         * posix/glob.c (globfree): Likewise.
30101         (prefix_array): Likewise.
30102         (__glob_pattern_type): Likewise.
30103         * resolv/arpa/nameser.h (NS_GET16): Likewise.
30104         (NS_GET32): Likewise.
30105         (NS_PUT16): Likewise.
30106         (NS_PUT32): Likewise.
30107         * resolv/gethnamaddr.c (getanswer): Likewise.
30108         (gethostbyname2): Likewise.
30109         (gethostbyaddr): Likewise.
30110         (_gethtent): Likewise.
30111         (_gethtbyname2): Likewise.
30112         (_gethtbyaddr): Likewise.
30113         * resolv/ns_print.c (dst_s_get_int16): Likewise.
30114         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30115         * resolv/res_init.c (__res_vinit): Likewise.
30116         (net_mask): Likewise.
30117         * resolv/res_mkquery.c (outchar): Likewise.
30118         (PRINT): Likewise.
30119         * stdio-common/printf_fp.c (outchar): Likewise.
30120         (PRINT): Likewise.
30121         * stdio-common/printf_fphex.c (outchar): Likewise.
30122         (PRINT): Likewise.
30123         * stdio-common/printf_size.c (outchar): Likewise.
30124         (PRINT): Likewise.
30125         * stdio-common/test_rdwr.c (main): Likewise.
30126         * stdio-common/tfformat.c (matches): Likewise.
30127         * stdio-common/vfprintf.c (outchar): Likewise.
30128         (printf_unknown): Likewise.
30129         (buffered_vfprintf): Likewise.
30130         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30131         * stdio-common/xbug.c (AppendToBuffer): Likewise.
30132         (ReadFile): Likewise.
30133         * stdlib/qsort.c (SWAP): Likewise.
30134         (_quicksort): Likewise.
30135         * stdlib/setenv.c (__add_to_environ): Likewise.
30136         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30137         * stdlib/strtol_l.c (__strtol_l): Likewise.
30138         * stdlib/tst-strtod.c (main): Likewise.
30139         * stdlib/tst-strtol.c (main): Likewise.
30140         * stdlib/tst-strtoll.c (main): Likewise.
30141         * string/bits/string2.h (__strcmp_cc): Likewise.
30142         (__strcmp_cg): Likewise.
30143         (__strcspn_c1): Likewise.
30144         (__strcspn_c2): Likewise.
30145         (__strcspn_c3): Likewise.
30146         (__strspn_c1): Likewise.
30147         (__strspn_c2): Likewise.
30148         (__strspn_c3): Likewise.
30149         (__strsep_1c): Likewise.
30150         (__strsep_2c): Likewise.
30151         (__strsep_3c): Likewise.
30152         * string/memccpy.c (__memccpy): Likewise.
30153         * string/stpcpy.c (__stpcpy): Likewise.
30154         * string/strcmp.c (strcmp): Likewise.
30155         * string/strrchr.c (strrchr): Likewise.
30156         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30157         Likewise.
30158         * sysdeps/mach/hurd/getcwd.c
30159         (_hurd_canonicalize_directory_name_internal): Likewise.
30160         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30161         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30162         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30163         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30164         Likewise, in both definitions.
30165         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30166         definitions.
30167         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30168         64] (__bswap_64): Likewise.
30169         * time/test_time.c (main): Likewise.
30170         * time/tzfile.c (__tzfile_read): Likewise.
30171         (__tzfile_compute): Likewise.
30172         * time/tzset.c (__tzset_parse_tz): Likewise.
30173         (tzset_internal): Likewise.
30174         (compute_change): Likewise.
30175         * wcsmbs/wcscat.c (__wcscat): Likewise.
30176         * wcsmbs/wcschr.c (wcschr): Likewise.
30177         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30178         * wcsmbs/wcscspn.c (wcscspn): Likewise.
30179         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30180         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30181         * wcsmbs/wcsspn.c (wcsspn): Likewise.
30182         * wcsmbs/wcsstr.c (wcsstr): Likewise.
30183         * wcsmbs/wmemchr.c (wmemchr): Likewise.
30184         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30185         * wcsmbs/wmemset.c (wmemset): Likewise.
30187 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
30189         * scripts/config.guess: Update to version 2013-05-16.
30190         * scripts/config.sub: Update to version 2013-04-24.
30191         * scripts/install-sh: Update to version 2011-11-20.07.
30192         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30193         * scripts/move-if-change: Update to version 2012-01-06 07:23.
30195 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
30197         * debug/fgetws_u_chk.c: Fix leading whitespaces.
30198         * elf/sln.c: Likewise.
30199         * hurd/hurd/ioctl.h: Likewise.
30200         * hurd/hurdmalloc.c: Likewise.
30201         * hurd/xattr.c: Likewise.
30202         * include/shlib-compat.h: Likewise.
30203         * inet/ruserpass.c: Likewise.
30204         * libio/iofgets_u.c: Likewise.
30205         * libio/iofgetws_u.c: Likewise.
30206         * locale/programs/ld-identification.c: Likewise.
30207         * locale/programs/ld-time.c: Likewise.
30208         * mach/msg-destroy.c: Likewise.
30209         * nss/nss_files/files-netgrp.c: Likewise.
30210         * resolv/res_data.c: Likewise.
30211         * soft-fp/op-1.h: Likewise.
30212         * soft-fp/op-2.h: Likewise.
30213         * soft-fp/op-4.h: Likewise.
30214         * soft-fp/op-common.h: Likewise.
30215         * stdio-common/printf_fphex.c: Likewise.
30216         * stdlib/strtod_l.c: Likewise.
30217         * sunrpc/rpc/clnt.h: Likewise.
30218         * sysdeps/generic/framestate.c: Likewise.
30219         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30220         * sysdeps/i386/bsd-setjmp.S: Likewise.
30221         * sysdeps/i386/__longjmp.S: Likewise.
30222         * sysdeps/i386/setjmp.S: Likewise.
30223         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30224         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30225         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30226         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30227         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30228         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30229         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30230         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30231         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30232         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30233         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30234         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30235         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30236         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30237         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30238         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30239         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30240         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30241         * sysdeps/ieee754/support.c: Likewise.
30242         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30243         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30244         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30245         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30246         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30247         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30248         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30249         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30250         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30251         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30252         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30253         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30254         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30255         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30256         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30257         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30258         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30261 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
30263         * posix/transbug.c: Remove executable mode.
30265 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
30267         * crypt/speeds.c: Remove trailing whitespace.
30268         * dlfcn/default.c: Likewise.
30269         * elf/ifuncdep2.c: Likewise.
30270         * elf/ifuncmain1.c: Likewise.
30271         * elf/ifuncmain1vis.c: Likewise.
30272         * elf/testobj.h: Likewise.
30273         * elf/tst-stackguard1.c: Likewise.
30274         * gmon/sys/gmon.h: Likewise.
30275         * hurd/hurdmsg.c: Likewise.
30276         * hurd/new-fd.c: Likewise.
30277         * hurd/ports-get.c: Likewise.
30278         * iconvdata/ibm1008_420.c: Likewise.
30279         * inet/tst-getni1.c: Likewise.
30280         * inet/tst-getni2.c: Likewise.
30281         * libio/ioungetc.c: Likewise.
30282         * libio/wfiledoalloc.c: Likewise.
30283         * manual/libm-err-tab.pl: Likewise.
30284         * math/w_dremf.c: Likewise.
30285         * misc/ftruncate.c: Likewise.
30286         * posix/bug-glob2.c: Likewise.
30287         * posix/tst-pcre.c: Likewise.
30288         * posix/wait4.c: Likewise.
30289         * resolv/README: Likewise.
30290         * resolv/res_debug.h: Likewise.
30291         * resolv/tst-inet_ntop.c: Likewise.
30292         * setjmp/bug269-setjmp.c: Likewise.
30293         * soft-fp/extended.h: Likewise.
30294         * soft-fp/op-1.h: Likewise.
30295         * soft-fp/op-2.h: Likewise.
30296         * soft-fp/op-4.h: Likewise.
30297         * soft-fp/op-8.h: Likewise.
30298         * soft-fp/testit.c: Likewise.
30299         * stdio-common/bug16.c: Likewise.
30300         * stdlib/random.c: Likewise.
30301         * sunrpc/rpcsvc/rquota.x: Likewise.
30302         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30303         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30304         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30305         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30306         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30307         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30308         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30309         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30310         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30311         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30312         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30313         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30314         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30315         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30316         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30317         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30318         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30319         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30320         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30321         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30322         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30323         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30324         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30325         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30326         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30327         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30328         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30329         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30330         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30331         * sysdeps/ieee754/s_lib_version.c: Likewise.
30332         * sysdeps/mach/hurd/check_fds.c: Likewise.
30333         * sysdeps/mach/hurd/getsockname.c: Likewise.
30334         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30335         * sysdeps/mach/hurd/recvfrom.c: Likewise.
30336         * sysdeps/powerpc/bits/link.h: Likewise.
30337         * sysdeps/powerpc/dl-procinfo.c: Likewise.
30338         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30339         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30340         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30341         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30342         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30343         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30344         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30345         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30346         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30347         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30348         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30349         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30350         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30351         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30352         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30353         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30354         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30355         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30356         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30357         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30358         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30359         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30360         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30361         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30362         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30363         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30364         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30365         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30366         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30367         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30368         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30369         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30370         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30371         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30372         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30373         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30374         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30375         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30376         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30377         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30378         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30379         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30380         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30381         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30382         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30383         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30384         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30385         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30386         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30387         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30388         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30389         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30390         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30391         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30392         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30393         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30394         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30395         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30396         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30397         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30398         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30399         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30400         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30401         * sysdeps/powerpc/sysdep.h: Likewise.
30402         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30403         * sysdeps/s390/s390-64/sub_n.S: Likewise.
30404         * sysdeps/sh/dl-trampoline.S: Likewise.
30405         * sysdeps/sh/memset.S: Likewise.
30406         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30407         * sysdeps/sh/strlen.S: Likewise.
30408         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30409         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30410         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30411         * sysdeps/sparc/sparc32/rem.S: Likewise.
30412         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30413         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30414         * sysdeps/sparc/sparc32/strchr.S: Likewise.
30415         * sysdeps/sparc/sparc32/udiv.S: Likewise.
30416         * sysdeps/sparc/sparc32/urem.S: Likewise.
30417         * sysdeps/sparc/sparc64/add_n.S: Likewise.
30418         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30419         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30420         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30421         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30422         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30423         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30424         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30425         * sysdeps/unix/bsd/times.c: Likewise.
30426         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30427         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30431         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30432         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30433         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30434         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30435         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30436         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30437         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30438         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30439         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30440         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30441         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30442         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30443         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30444         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30445         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30446         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30447         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30448         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30449         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30450         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30451         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30452         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30453         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30454         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30455         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30456         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30457         * sysdeps/x86_64/strcspn.S: Likewise.
30459 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30461         * locale/C-translit.h: Revert #include <stdint.h> because this is a
30462         generated file.  Regenerate properly from gen-translit.pl.
30463         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
30464         locale/C-translit.h.
30466 2013-06-05  Andreas Schwab  <schwab@suse.de>
30468         [BZ #15100]
30469         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30470         week as 6 instead of -1.
30471         * time/tst-strptime.c (day_tests): Add test case.
30473 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30475         * sysdeps/generic/math_private.h
30476         (libc_feholdexcept_setround_53bit): Replace with
30477         libc_feholdsetround_53bit.
30478         (libc_feupdateenv_53bit): Replace with
30479         libc_feresetround_53bit.
30480         (SET_RESTORE_ROUND_53BIT): Adjust.
30482 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30484         * string/test-strchrnul.c: Add copyright header.
30486         * posix/tst-getaddrinfo4.c: Increase test timeout.
30488 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
30490         [BZ #15536]
30491         * math/libm-test.inc (MAX_EXP): Remove
30492         (MIN_EXP): Define.
30493         (ulp): Use MIN_EXP - MANT_DIG.
30494         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30496 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
30498         * po/be.po: Revert last change.
30499         * po/zh_CN.po: Likewise.
30500         * po/header.pot: Likewise.
30502 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
30504         * Makefile ($(common-objpfx)linkobj/libc.so): Define
30505         link-libc-deps to empty as target-specific variable.
30506         * Makerules (link-libc-args): New variable.
30507         (libc-for-link): Likewise.
30508         (link-libc-deps): Likewise.
30509         (lib%.so): Depend on $(link-libc-deps).  Link with
30510         $(link-libc-args).
30511         (build-module): Link with $(link-libc-args).
30512         (build-module-asneeded): Likewise.
30513         (build-module-helper-objlist): Filter out $(link-libc-deps) from
30514         list of objects.
30515         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30516         target-specific variable.
30517         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30518         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30519         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30520         libc.
30521         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30522         libc and ld.so.
30523         ($(objpfx)libpcprofile.so): Likewise.
30524         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30525         libc_nonshared.a.
30526         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30527         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30528         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30529         $(link-libc-deps).
30530         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30531         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30532         * login/Makefile ($(objpfx)libutil.so): Likewise.
30533         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30534         * math/Makefile ($(objpfx)libm.so): Likewise.
30535         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30536         $(objpfx)libnsl.so): Define libc-for-link as target-specific
30537         variable instead of depending directly on libc.
30538         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30539         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30540         $(link-libc-deps).
30541         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30542         libc.
30543         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30544         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30545         ($(objpfx)libanl.so): Likewise.
30546         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30547         ld.so.
30548         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30549         $(link-libc-deps).
30550         * sysdeps/i386/fpu/Makefile: Remove file.
30551         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30552         ($(objpfx)libm.so): Remove dependency on ld.so.
30554 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
30556         [BZ # 15553]
30557         * nis/yp_xdr.c (XDRMAXNAME): Define.
30558         (XDRMAXRECORD): Define.
30559         (xdr_domainname): Use XDRMAXNAME.
30560         (xdr_mapname): Likewise.
30561         (xdr_peername): Likewise.
30562         (xdr_keydat): Use XDRMAXRECORD.
30563         (xdr_valdat): Likewise.
30565 2013-05-30  Jeff Law  <law@redhat.com>
30567         [BZ #14256]
30568         * manual/errno.texi (ESTALE): Update to account for more than
30569         just NFS file systems.
30570         * sysdeps/gnu/errlist.c: Regenerated.
30572 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30574         [BZ #15465]
30575         * elf/Makefile (tests): Add tst-null-argv.
30576         (modules-names):  Add tst-null-argv-lib.
30577         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30578         (tst-null-argv-ENV): Set environment for tst-null-argv.
30579         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30580         (RTLD_PROGNAME): New macro.
30581         * elf/tst-null-argv.c: New test case.
30582         * elf/tst-null-argv-lib.c: Library for test case.
30583         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30584         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30585         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30586         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30587         * elf/dl-init.c (call_init): Likewise.
30588         (_dl_init): Likewise.
30589         * elf/dl-load.c (print_search_path): Likewise.
30590         (_dl_map_object): Likewise.
30591         * elf/dl-lookup.c (do_lookup_x): Likewise.
30592         (add_dependency): Likewise.
30593         (_dl_lookup_symbol_x): Likewise.
30594         (_dl_debug_bindings): Likewise.
30595         * elf/dl-open.c (_dl_show_scope): Likewise.
30596         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30597         * elf/dl-version.c (match_symbol): Likewise.
30598         (_dl_check_map_versions): Likewise.
30599         * elf/rtld.c (dl_main): Likewise.
30600         (print_unresolved): Use RTLD_PROGNAME.
30601         (print_missing_version): Likewise.
30602         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30603         (elf_machine_rela): Likewise.
30604         * sysdeps/powerpc/powerpc32/dl-machine.c
30605         (__process_machine_rela): Likewise.
30606         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30607         Likewise.
30608         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30609         Likewise.
30610         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30611         Likewise.
30612         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30613         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30614         Likewise.
30615         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30616         Likewise.
30617         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30619 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
30621         * po/be.po: Add descriptive title.
30622         * po/zh_CN.po: Likewise.
30623         * po/header.pot: Likewise.
30625 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
30627         * locale/programs/locarchive.c (create_archive): Inlucde fname in
30628         error message.
30629         (enlarge_archive): Likewise.
30631 2013-05-28  Ben North  <ben@redfrontdoor.org>
30633         * manual/arith.texi (frexp): It is the magnitude of the return
30634         value which lies in [0.5, 1), not the return value itself.
30636 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30640 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
30642         * stdio-common/bug26.c (main): Correct fscanf template.
30644         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30645         declare _dl_skip_args.
30647         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30648         Don't declare.
30650         * manual/platform.texi: Add missing @end deftypefun.
30652 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30654         [BZ #15529]
30655         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30656         bit of mantissa of 2^16382.
30657         * math/libm-test.inc (hypot_test_data): Add more tests.
30659         * math/libm-test.inc: Add drem and pow10 to list of tested
30660         functions.
30661         (pow10_test): New function.
30662         (drem_test): Likewise.
30663         (drem_test_tonearest): Likewise.
30664         (drem_test_towardzero): Likewise.
30665         (drem_test_downward): Likewise.
30666         (drem_test_upward): Likewise.
30667         (main): Call the new functions.
30669         * math/libm-test.inc (finite_test_data): Remove.
30670         (finite_test): Run tests from isfinite_test_data.
30671         (gamma_test_data): Remove.
30672         (gamma_test): Run tests from lgamma_test_data.
30673         * sysdeps/i386/fpu/libm-test-ulps: Update.
30674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30676 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30678         * manual/platform.texi: Add PowerPC PPR function set documentation.
30679         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30680         implementation.
30682 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
30684         * math/libm-test.inc (MAX_EXP): Define.
30685         (ULPDIFF): Define.
30686         (ulp): New function.
30687         (check_float_internal): Use ULPDIFF.
30688         (cpow_test): Disable failing test.
30689         (check_ulp): Test ulp() implemetnation.
30690         (main): Call check_ulp before starting tests.
30692 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30694         * math/gen-libm-test.pl (generate_testfile): Do not handle
30695         START_DATA and END_DATA.
30696         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30697         END_DATA.
30698         (acos_tonearest_test_data): Likewise.
30699         (acos_towardzero_test_data): Likewise.
30700         (acos_downward_test_data): Likewise.
30701         (acos_upward_test_data): Likewise.
30702         (acosh_test_data): Likewise.
30703         (asin_test_data): Likewise.
30704         (asin_tonearest_test_data): Likewise.
30705         (asin_towardzero_test_data): Likewise.
30706         (asin_downward_test_data): Likewise.
30707         (asin_upward_test_data): Likewise.
30708         (asinh_test_data): Likewise.
30709         (atan_test_data): Likewise.
30710         (atanh_test_data): Likewise.
30711         (atan2_test_data): Likewise.
30712         (cabs_test_data): Likewise.
30713         (cacos_test_data): Likewise.
30714         (cacosh_test_data): Likewise.
30715         (carg_test_data): Likewise.
30716         (casin_test_data): Likewise.
30717         (casinh_test_data): Likewise.
30718         (catan_test_data): Likewise.
30719         (catanh_test_data): Likewise.
30720         (cbrt_test_data): Likewise.
30721         (ccos_test_data): Likewise.
30722         (ccosh_test_data): Likewise.
30723         (ceil_test_data): Likewise.
30724         (cexp_test_data): Likewise.
30725         (cimag_test_data): Likewise.
30726         (clog_test_data): Likewise.
30727         (clog10_test_data): Likewise.
30728         (conj_test_data): Likewise.
30729         (copysign_test_data): Likewise.
30730         (cos_test_data): Likewise.
30731         (cos_tonearest_test_data): Likewise.
30732         (cos_towardzero_test_data): Likewise.
30733         (cos_downward_test_data): Likewise.
30734         (cos_upward_test_data): Likewise.
30735         (cosh_test_data): Likewise.
30736         (cosh_tonearest_test_data): Likewise.
30737         (cosh_towardzero_test_data): Likewise.
30738         (cosh_downward_test_data): Likewise.
30739         (cosh_upward_test_data): Likewise.
30740         (cpow_test_data): Likewise.
30741         (cproj_test_data): Likewise.
30742         (creal_test_data): Likewise.
30743         (csin_test_data): Likewise.
30744         (csinh_test_data): Likewise.
30745         (csqrt_test_data): Likewise.
30746         (ctan_test_data): Likewise.
30747         (ctan_tonearest_test_data): Likewise.
30748         (ctan_towardzero_test_data): Likewise.
30749         (ctan_downward_test_data): Likewise.
30750         (ctan_upward_test_data): Likewise.
30751         (ctanh_test_data): Likewise.
30752         (ctanh_tonearest_test_data): Likewise.
30753         (ctanh_towardzero_test_data): Likewise.
30754         (ctanh_downward_test_data): Likewise.
30755         (ctanh_upward_test_data): Likewise.
30756         (erf_test_data): Likewise.
30757         (erfc_test_data): Likewise.
30758         (exp_test_data): Likewise.
30759         (exp_tonearest_test_data): Likewise.
30760         (exp_towardzero_test_data): Likewise.
30761         (exp_downward_test_data): Likewise.
30762         (exp_upward_test_data): Likewise.
30763         (exp10_test_data): Likewise.
30764         (exp2_test_data): Likewise.
30765         (expm1_test_data): Likewise.
30766         (fabs_test_data): Likewise.
30767         (fdim_test_data): Likewise.
30768         (finite_test_data): Likewise.
30769         (floor_test_data): Likewise.
30770         (fma_test_data): Likewise.
30771         (fma_towardzero_test_data): Likewise.
30772         (fma_downward_test_data): Likewise.
30773         (fma_upward_test_data): Likewise.
30774         (fmax_test_data): Likewise.
30775         (fmin_test_data): Likewise.
30776         (fmod_test_data): Likewise.
30777         (fpclassify_test_data): Likewise.
30778         (frexp_test_data): Likewise.
30779         (gamma_test_data): Likewise.
30780         (hypot_test_data): Likewise.
30781         (ilogb_test_data): Likewise.
30782         (isfinite_test_data): Likewise.
30783         (isgreater_test_data): Likewise.
30784         (isgreaterequal_test_data): Likewise.
30785         (isinf_test_data): Likewise.
30786         (isless_test_data): Likewise.
30787         (islessequal_test_data): Likewise.
30788         (islessgreater_test_data): Likewise.
30789         (isnan_test_data): Likewise.
30790         (isnormal_test_data): Likewise.
30791         (issignaling_test_data): Likewise.
30792         (isunordered_test_data): Likewise.
30793         (j0_test_data): Likewise.
30794         (j1_test_data): Likewise.
30795         (jn_test_data): Likewise.
30796         (ldexp_test_data): Likewise.
30797         (lgamma_test_data): Likewise.
30798         (lrint_test_data): Likewise.
30799         (lrint_tonearest_test_data): Likewise.
30800         (lrint_towardzero_test_data): Likewise.
30801         (lrint_downward_test_data): Likewise.
30802         (lrint_upward_test_data): Likewise.
30803         (llrint_test_data): Likewise.
30804         (llrint_tonearest_test_data): Likewise.
30805         (llrint_towardzero_test_data): Likewise.
30806         (llrint_downward_test_data): Likewise.
30807         (llrint_upward_test_data): Likewise.
30808         (log_test_data): Likewise.
30809         (log10_test_data): Likewise.
30810         (log1p_test_data): Likewise.
30811         (log2_test_data): Likewise.
30812         (logb_test_data): Likewise.
30813         (logb_downward_test_data): Likewise.
30814         (lround_test_data): Likewise.
30815         (llround_test_data): Likewise.
30816         (modf_test_data): Likewise.
30817         (nearbyint_test_data): Likewise.
30818         (nextafter_test_data): Likewise.
30819         (nexttoward_test_data): Likewise.
30820         (pow_test_data): Likewise.
30821         (pow_tonearest_test_data): Likewise.
30822         (pow_towardzero_test_data): Likewise.
30823         (pow_downward_test_data): Likewise.
30824         (pow_upward_test_data): Likewise.
30825         (remainder_test_data): Likewise.
30826         (remainder_tonearest_test_data): Likewise.
30827         (remainder_towardzero_test_data): Likewise.
30828         (remainder_downward_test_data): Likewise.
30829         (remainder_upward_test_data): Likewise.
30830         (remquo_test_data): Likewise.
30831         (rint_test_data): Likewise.
30832         (rint_tonearest_test_data): Likewise.
30833         (rint_towardzero_test_data): Likewise.
30834         (rint_downward_test_data): Likewise.
30835         (rint_upward_test_data): Likewise.
30836         (round_test_data): Likewise.
30837         (scalb_test_data): Likewise.
30838         (scalbn_test_data): Likewise.
30839         (scalbln_test_data): Likewise.
30840         (signbit_test_data): Likewise.
30841         (sin_test_data): Likewise.
30842         (sin_tonearest_test_data): Likewise.
30843         (sin_towardzero_test_data): Likewise.
30844         (sin_downward_test_data): Likewise.
30845         (sin_upward_test_data): Likewise.
30846         (sincos_test_data): Likewise.
30847         (sinh_test_data): Likewise.
30848         (sinh_tonearest_test_data): Likewise.
30849         (sinh_towardzero_test_data): Likewise.
30850         (sinh_downward_test_data): Likewise.
30851         (sinh_upward_test_data): Likewise.
30852         (sqrt_test_data): Likewise.
30853         (tan_test_data): Likewise.
30854         (tan_tonearest_test_data): Likewise.
30855         (tan_towardzero_test_data): Likewise.
30856         (tan_downward_test_data): Likewise.
30857         (tan_upward_test_data): Likewise.
30858         (tanh_test_data): Likewise.
30859         (tgamma_test_data): Likewise.
30860         (trunc_test_data): Likewise.
30861         (y0_test_data): Likewise.
30862         (y1_test_data): Likewise.
30863         (yn_test_data): Likewise.
30864         (significand_test_data): Likewise.
30866         * math/gen-libm-test.pl (@functions): Remove variable.
30867         (generate_testfile): Don't handle START and END lines.
30868         * math/libm-test.inc (START): New macro.
30869         (END): Likewise.
30870         (END_COMPLEX): Likewise.
30871         (acos_test): Use END macro without arguments.
30872         (acos_test_tonearest): Likewise.
30873         (acos_test_towardzero): Likewise.
30874         (acos_test_downward): Likewise.
30875         (acos_test_upward): Likewise.
30876         (acosh_test): Likewise.
30877         (asin_test): Likewise.
30878         (asin_test_tonearest): Likewise.
30879         (asin_test_towardzero): Likewise.
30880         (asin_test_downward): Likewise.
30881         (asin_test_upward): Likewise.
30882         (asinh_test): Likewise.
30883         (atan_test): Likewise.
30884         (atanh_test): Likewise.
30885         (atan2_test): Likewise.
30886         (cabs_test): Likewise.
30887         (cacos_test): Use END_COMPLEX macro without arguments.
30888         (cacosh_test): Likewise.
30889         (carg_test): Use END macro without arguments.
30890         (casin_test): Use END_COMPLEX macro without arguments.
30891         (casinh_test): Likewise.
30892         (catan_test): Likewise.
30893         (catanh_test): Likewise.
30894         (cbrt_test): Use END macro without arguments.
30895         (ccos_test): Use END_COMPLEX macro without arguments.
30896         (ccosh_test): Likewise.
30897         (ceil_test): Use END macro without arguments.
30898         (cexp_test): Use END_COMPLEX macro without arguments.
30899         (cimag_test): Use END macro without arguments.
30900         (clog_test): Use END_COMPLEX macro without arguments.
30901         (clog10_test): Likewise.
30902         (conj_test): Likewise.
30903         (copysign_test): Use END macro without arguments.
30904         (cos_test): Likewise.
30905         (cos_test_tonearest): Likewise.
30906         (cos_test_towardzero): Likewise.
30907         (cos_test_downward): Likewise.
30908         (cos_test_upward): Likewise.
30909         (cosh_test): Likewise.
30910         (cosh_test_tonearest): Likewise.
30911         (cosh_test_towardzero): Likewise.
30912         (cosh_test_downward): Likewise.
30913         (cosh_test_upward): Likewise.
30914         (cpow_test): Use END_COMPLEX macro without arguments.
30915         (cproj_test): Likewise.
30916         (creal_test): Use END macro without arguments.
30917         (csin_test): Use END_COMPLEX macro without arguments.
30918         (csinh_test): Likewise.
30919         (csqrt_test): Likewise.
30920         (ctan_test): Likewise.
30921         (ctan_test_tonearest): Likewise.
30922         (ctan_test_towardzero): Likewise.
30923         (ctan_test_downward): Likewise.
30924         (ctan_test_upward): Likewise.
30925         (ctanh_test): Likewise.
30926         (ctanh_test_tonearest): Likewise.
30927         (ctanh_test_towardzero): Likewise.
30928         (ctanh_test_downward): Likewise.
30929         (ctanh_test_upward): Likewise.
30930         (erf_test): Use END macro without arguments.
30931         (erfc_test): Likewise.
30932         (exp_test): Likewise.
30933         (exp_test_tonearest): Likewise.
30934         (exp_test_towardzero): Likewise.
30935         (exp_test_downward): Likewise.
30936         (exp_test_upward): Likewise.
30937         (exp10_test): Likewise.
30938         (exp2_test): Likewise.
30939         (expm1_test): Likewise.
30940         (fabs_test): Likewise.
30941         (fdim_test): Likewise.
30942         (finite_test): Likewise.
30943         (floor_test): Likewise.
30944         (fma_test): Likewise.
30945         (fma_test_towardzero): Likewise.
30946         (fma_test_downward): Likewise.
30947         (fma_test_upward): Likewise.
30948         (fmax_test): Likewise.
30949         (fmin_test): Likewise.
30950         (fmod_test): Likewise.
30951         (fpclassify_test): Likewise.
30952         (frexp_test): Likewise.
30953         (gamma_test): Likewise.
30954         (hypot_test): Likewise.
30955         (ilogb_test): Likewise.
30956         (isfinite_test): Likewise.
30957         (isgreater_test): Likewise.
30958         (isgreaterequal_test): Likewise.
30959         (isinf_test): Likewise.
30960         (isless_test): Likewise.
30961         (islessequal_test): Likewise.
30962         (islessgreater_test): Likewise.
30963         (isnan_test): Likewise.
30964         (isnormal_test): Likewise.
30965         (issignaling_test): Likewise.
30966         (isunordered_test): Likewise.
30967         (j0_test): Likewise.
30968         (j1_test): Likewise.
30969         (jn_test): Likewise.
30970         (ldexp_test): Likewise.
30971         (lgamma_test): Likewise.
30972         (lrint_test): Likewise.
30973         (lrint_test_tonearest): Likewise.
30974         (lrint_test_towardzero): Likewise.
30975         (lrint_test_downward): Likewise.
30976         (lrint_test_upward): Likewise.
30977         (llrint_test): Likewise.
30978         (llrint_test_tonearest): Likewise.
30979         (llrint_test_towardzero): Likewise.
30980         (llrint_test_downward): Likewise.
30981         (llrint_test_upward): Likewise.
30982         (log_test): Likewise.
30983         (log10_test): Likewise.
30984         (log1p_test): Likewise.
30985         (log2_test): Likewise.
30986         (logb_test): Likewise.
30987         (logb_test_downward): Likewise.
30988         (lround_test): Likewise.
30989         (llround_test): Likewise.
30990         (modf_test): Likewise.
30991         (nearbyint_test): Likewise.
30992         (nextafter_test): Likewise.
30993         (nexttoward_test): Likewise.
30994         (pow_test): Likewise.
30995         (pow_test_tonearest): Likewise.
30996         (pow_test_towardzero): Likewise.
30997         (pow_test_downward): Likewise.
30998         (pow_test_upward): Likewise.
30999         (remainder_test): Likewise.
31000         (remainder_test_tonearest): Likewise.
31001         (remainder_test_towardzero): Likewise.
31002         (remainder_test_downward): Likewise.
31003         (remainder_test_upward): Likewise.
31004         (remquo_test): Likewise.
31005         (rint_test): Likewise.
31006         (rint_test_tonearest): Likewise.
31007         (rint_test_towardzero): Likewise.
31008         (rint_test_downward): Likewise.
31009         (rint_test_upward): Likewise.
31010         (round_test): Likewise.
31011         (scalb_test): Likewise.
31012         (scalbn_test): Likewise.
31013         (scalbln_test): Likewise.
31014         (signbit_test): Likewise.
31015         (sin_test): Likewise.
31016         (sin_test_tonearest): Likewise.
31017         (sin_test_towardzero): Likewise.
31018         (sin_test_downward): Likewise.
31019         (sin_test_upward): Likewise.
31020         (sincos_test): Likewise.
31021         (sinh_test): Likewise.
31022         (sinh_test_tonearest): Likewise.
31023         (sinh_test_towardzero): Likewise.
31024         (sinh_test_downward): Likewise.
31025         (sinh_test_upward): Likewise.
31026         (sqrt_test): Likewise.
31027         (tan_test): Likewise.
31028         (tan_test_tonearest): Likewise.
31029         (tan_test_towardzero): Likewise.
31030         (tan_test_downward): Likewise.
31031         (tan_test_upward): Likewise.
31032         (tanh_test): Likewise.
31033         (tgamma_test): Likewise.
31034         (trunc_test): Likewise.
31035         (y0_test): Likewise.
31036         (y1_test): Likewise.
31037         (yn_test): Likewise.
31038         (significand_test): Likewise.
31040 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
31042         [BZ #15381]
31043         * libio/genops.c (_IO_no_init): Initialize wide struct info.
31045 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31047         [BZ #14894]
31048         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31049         __ppc_mdoio and __ppc_mdoom.
31050         * manual/platform.texi: Document new functions __ppc_yield,
31051         __ppc_mdoio and __ppc_mdoom.
31053 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
31055         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31056         (main): Mention "tls" pseudo-hwcap is legacy.
31057         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31059 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31061         * math/gen-libm-test.pl (parse_args): Output only string of
31062         arguments as text for test name, not full call or descriptions of
31063         tests for extra outputs.
31064         (generate_testfile): Do not pass function name to parse_args.
31065         Generate this_func variable from START.
31066         * math/libm-test.inc (struct test_f_f_data): Rename test_name
31067         field to arg_str.
31068         (struct test_ff_f_data): Likewise.
31069         (test_ff_f_data_nexttoward): Likewise.
31070         (struct test_fi_f_data): Likewise.
31071         (struct test_fl_f_data): Likewise.
31072         (struct test_if_f_data): Likewise.
31073         (struct test_fff_f_data): Likewise.
31074         (struct test_c_f_data): Likewise.
31075         (struct test_f_f1_data): Likewise.  Remove field extra_name.
31076         (struct test_fF_f1_data): Likewise.
31077         (struct test_ffI_f1_data): Likewise.
31078         (struct test_c_c_data): Rename test_name field to arg_str.
31079         (struct test_cc_c_data): Likewise.
31080         (struct test_f_i_data): Likewise.
31081         (struct test_ff_i_data): Likewise.
31082         (struct test_f_l_data): Likewise.
31083         (struct test_f_L_data): Likewise.
31084         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
31085         and extra2_name.
31086         (COMMON_TEST_SETUP): New macro.
31087         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31088         (COMMON_TEST_CLEANUP): Likewise.
31089         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31090         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
31091         macros.
31092         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31093         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
31094         macros.
31095         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31096         (RUN_TEST_fff_f): Take argument string.  Call new setup and
31097         cleanup macros.
31098         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31099         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
31100         macros.
31101         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31102         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
31103         macros.
31104         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31105         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
31106         cleanup macros.
31107         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31108         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
31109         cleanup macros.
31110         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31111         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
31112         cleanup macros.
31113         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31114         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
31115         macros.
31116         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31117         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
31118         macros.
31119         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31120         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
31121         macros.
31122         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31123         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
31124         cleanup macros.
31125         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31126         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
31127         cleanup macros.
31128         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31129         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
31130         macros.
31131         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31132         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
31133         cleanup macros.
31134         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31135         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
31136         macros.
31137         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31138         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
31139         macros.
31140         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31141         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
31142         cleanup macros.
31143         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31145 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
31147         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31148         to _sifields.sigfault.
31149         (si_addr_lsb): Define new macro.
31150         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31151         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31152         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31154 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
31156         [BZ #15441]
31157         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31158         returns -1.
31159         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31160         null return -1.
31161         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31162         loading the domain.
31164 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31166         * math/gen-libm-test.pl (parse_args): Do not include expected
31167         result in test name.
31168         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31169         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31170         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31171         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31172         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31175 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31177         * benchtests/Makefile: Sort function entries.
31179         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31180         tanh, asinh, acosh, atanh.
31181         * benchtests/acos-inputs: New file.
31182         * benchtests/acosh-inputs: New file.
31183         * benchtests/asin-inputs: New file.
31184         * benchtests/asinh-inputs: New file.
31185         * benchtests/atanh-inputs: New file.
31186         * benchtests/cosh-inputs: New file.
31187         * benchtests/log-inputs: New file.
31188         * benchtests/sinh-inputs: New file.
31189         * benchtests/tanh-inputs: New file.
31191 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
31193         [BZ #15339]
31194         * posix/tst-getaddrinfo4.c: New test.
31195         * posix/Makefile (tests): Add it.
31197 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31199         [BZ #15339]
31200         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31201         when no services were used.
31202         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31203         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31205 2013-05-21  Andreas Schwab  <schwab@suse.de>
31207         [BZ #15014]
31208         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31209         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31210         successful.
31211         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31212         redundant variable declarations and reallocation of buffer when
31213         parsing as IPv6 address.  Always set NSS status when called from
31214         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
31215         buffer too small.  Correct computation of needed size.
31216         * nss/Makefile (tests): Add test-digits-dots.
31217         * nss/test-digits-dots.c: New test.
31219 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31221         * benchtests/Makefile: Remove instructions for adding
31222         benchmark tests.
31223         * benchtests/README: New file to explain how to execute and
31224         enhance the benchmark tests.
31226 2013-05-21  Andreas Schwab  <schwab@suse.de>
31228         [BZ #15493]
31229         * setjmp/Makefile (tests): Add tst-sigsetjmp.
31230         * setjmp/tst-sigsetjmp.c: New test.
31232 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31234         * sysdeps/x86_64/memset.S (memset): New implementation.
31235         (__bzero): Likewise.
31236         (__memset_tail): New function.
31238 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31240         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31241         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31242         __memcpy_sse2_unaligned ifunc selection.
31243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31244         Add memcpy-sse2-unaligned.S.
31245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31246         Add: __memcpy_sse2_unaligned.
31248 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
31250         [BZ #15490]
31251         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31252         math_force_eval before restoring floating-point envrionment.
31253         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31254         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31255         Likewise.
31256         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31257         <math_private.h>.
31258         (__nearbyintl): Use math_force_eval before restoring
31259         floating-point environment.
31260         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31262         * math/gen-libm-test.pl (special_functions): Remove.
31263         (parse_args): Don't handle TEST_extra.  Handle functions with no
31264         return value.
31265         * math/libm-test.inc (struct test_sincos_data): Replace with
31266         struct test_fFF_11_data.
31267         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31268         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31269         (sincos_test_data): Change element type to struct
31270         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
31271         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31272         RUN_TEST_LOOP_sincos.
31273         * math/README.libm-test: Don't mention special handling of
31274         individual functions.
31275         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31276         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31277         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31278         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31279         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31282         * math/gen-libm-test.pl (get_variable): Remove function.
31283         (parse_args): Don't show pointer parameters to call in test
31284         names.  Use "extra output N" in test names for extra outputs
31285         rather than naming variables.
31287 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
31289         [BZ #15488]
31290         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31291         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31292         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31293         double tests.
31294         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31295         disable.
31296         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31297         check_long_double.
31299         * math/gen-libm-test.pl (@tests): Remove variable.
31300         ($count): Likewise.
31301         (new_test): Remove function.
31302         (show_exceptions): New function.
31303         (special_functions): Use show_exceptions instead of new_test.
31304         (parse_args): Likewise.
31305         (generate_testfile): Pass only function name in generated call to
31306         print_max_error or print_complex_max_error.
31307         (get_ulps): Do not handle complex tests specially.
31308         (output_test): Rename to ...
31309         (get_all_ulps_for_test): ... this.  Return a string rather than
31310         printing to a file.  Require ulps to be present.
31311         (output_ulps): Generate arrays rather than #defines.
31312         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31313         (struct ulp_data): New type.
31314         (BUILD_COMPLEX_ULP): Remove macro.
31315         (compare_ulp_data): New function.
31316         (find_ulps): Likewise.
31317         (find_test_ulps): Likewise.
31318         (find_function_ulps): Likewise.
31319         (find_complex_function_ulps): Likewise.
31320         (print_max_error): Determine allowed ulps using
31321         find_function_ulps.
31322         (print_complex_max_error): Determine allowed ulps using
31323         find_complex_function_ulps.
31324         (check_float_internal): Determine max ulps using find_test_ulps.
31325         (check_float): Do not take max_ulp parameter.  Update call to
31326         check_float_internal.
31327         (check_complex): Likewise.
31328         (check_int): Do not take max_ulp parameter.
31329         (check_long): Likewise.
31330         (check_bool): Likewise.
31331         (check_longlong): Likewise.
31332         (struct test_f_f_data): Remove max_ulp field.
31333         (struct test_ff_f_data): Likewise.
31334         (struct test_ff_f_data_nexttoward): Likewise.
31335         (struct test_fi_f_data): Likewise.
31336         (struct test_fl_f_data): Likewise.
31337         (struct test_if_f_data): Likewise.
31338         (struct test_fff_f_data): Likewise.
31339         (struct test_c_f_data): Likewise.
31340         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31341         (struct test_fF_f1_data): Likewise.
31342         (struct test_ffI_f1_data): Likewise.
31343         (struct test_c_c_data): Remove max_ulp field.
31344         (struct test_cc_c_data): Likewise.
31345         (struct test_f_i_data): Likewise.
31346         (struct test_ff_i_data): Likewise.
31347         (struct test_f_l_data): Likewise.
31348         (struct test_f_L_data): Likewise.
31349         (struct test_sincos_data): Likewise.
31350         (RUN_TEST_f_f): Do not handle ulps.
31351         (RUN_TEST_LOOP_f_f): Likewise.
31352         (RUN_TEST_2_f): Likewise.
31353         (RUN_TEST_LOOP_2_f): Likewise.
31354         (RUN_TEST_fff_f): Likewise.
31355         (RUN_TEST_LOOP_fff_f): Likewise.
31356         (RUN_TEST_c_f): Likewise.
31357         (RUN_TEST_LOOP_c_f): Likewise.
31358         (RUN_TEST_f_f1): Likewise.
31359         (RUN_TEST_LOOP_f_f1): Likewise.
31360         (RUN_TEST_fF_f1): Likewise.
31361         (RUN_TEST_LOOP_fF_f1): Likewise.
31362         (RUN_TEST_fI_f1): Likewise.
31363         (RUN_TEST_LOOP_fI_f1): Likewise.
31364         (RUN_TEST_ffI_f1): Likewise.
31365         (RUN_TEST_LOOP_ffI_f1): Likewise.
31366         (RUN_TEST_c_c): Likewise.
31367         (RUN_TEST_LOOP_c_c): Likewise.
31368         (RUN_TEST_cc_c): Likewise.
31369         (RUN_TEST_LOOP_cc_c): Likewise.
31370         (RUN_TEST_f_i): Likewise.
31371         (RUN_TEST_LOOP_f_i): Likewise.
31372         (RUN_TEST_f_i_tg): Likewise.
31373         (RUN_TEST_LOOP_f_i_tg): Likewise.
31374         (RUN_TEST_ff_i_tg): Likewise.
31375         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31376         (RUN_TEST_f_b): Likewise.
31377         (RUN_TEST_LOOP_f_b): Likewise.
31378         (RUN_TEST_f_b_tg): Likewise.
31379         (RUN_TEST_LOOP_f_b_tg): Likewise.
31380         (RUN_TEST_f_l): Likewise.
31381         (RUN_TEST_LOOP_f_l): Likewise.
31382         (RUN_TEST_f_L): Likewise.
31383         (RUN_TEST_LOOP_f_L): Likewise.
31384         (RUN_TEST_sincos): Likewise.
31385         (RUN_TEST_LOOP_sincos): Likewise.
31387 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
31389         [BZ #15480]
31390         [BZ #15485]
31391         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31392         main case of finite arguments, set rounding mode to FE_TONEAREST
31393         and discard exceptions.
31394         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31395         exceptions.
31396         (remainder_tonearest_test_data): New variable.
31397         (remainder_test_tonearest): New function.
31398         (remainder_towardzero_test_data): New variable.
31399         (remainder_test_towardzero): New function.
31400         (remainder_downward_test_data): New variable.
31401         (remainder_test_downward): New function.
31402         (remainder_upward_test_data): New variable.
31403         (remainder_test_upward): New function.
31404         (main): Call the new test functions.
31406         * math/libm-test.inc (struct test_f_f1_data): Remove field
31407         extra_init.
31408         (struct test_fF_f1_data): Likewise.
31409         (struct test_ffI_f1_data): Likewise.
31410         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
31411         based on value of EXTRA_EXPECTED.
31412         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31413         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
31414         EXTRA_VAR based on value of EXTRA_EXPECTED.
31415         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31416         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
31417         EXTRA_VAR based on value of EXTRA_EXPECTED.
31418         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31419         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
31420         EXTRA_VAR based on value of EXTRA_EXPECTED.
31421         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31422         * math/gen-libm-test.pl (parse_args): Don't output initializers
31423         for extra output values.
31425         * math/libm-test.inc (check_int): Expect result to be exactly
31426         equal to expected value and do not handle ulps.
31427         (check_long): Likewise.
31428         (check_longlong): Likewise.
31430         * math/libm-test.inc (ceil_test_data): Test for "inexact"
31431         exceptions.
31432         (cimag_test_data): Likewise.
31433         (conj_test_data): Likewise.
31434         (copysign_test_data): Likewise.
31435         (cproj_test_data): Likewise.
31436         (creal_test_data): Likewise.
31437         (fabs_test_data): Likewise.
31438         (fdim_test_data): Likewise.
31439         (finite_test_data): Likewise.
31440         (floor_test_data): Likewise.
31441         (fmax_test_data): Likewise.
31442         (fmin_test_data): Likewise.
31443         (fmod_test_data): Likewise.
31444         (fpclassify_test_data): Likewise.
31445         (frexp_test_data): Likewise.
31446         (ilogb_test_data): Likewise.
31447         (isfinite_test_data): Likewise.
31448         (isgreater_test_data): Likewise.
31449         (isgreaterequal_test_data): Likewise.
31450         (isinf_test_data): Likewise.
31451         (isless_test_data): Likewise.
31452         (islessequal_test_data): Likewise.
31453         (islessgreater_test_data): Likewise.
31454         (isnan_test_data): Likewise.
31455         (isnormal_test_data): Likewise.
31456         (issignaling_test_data): Likewise.
31457         (isunordered_test_data): Likewise.
31458         (ldexp_test_data): Likewise.
31459         (lrint_test_data): Likewise.
31460         (lrint_test_data) [TEST_FLOAT]: Disable one test.
31461         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31462         (lrint_tonearest_test_data): Test for "inexact" exceptions.
31463         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31464         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31465         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31466         test input.
31467         (lrint_towardzero_test_data): Test for "inexact" exceptions.
31468         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31469         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31470         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31471         that test input.
31472         (lrint_downward_test_data): Test for "inexact" exceptions.
31473         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31474         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31475         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31476         test input.
31477         (lrint_upward_test_data): Test for "inexact" exceptions.
31478         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31479         test input.
31480         (llrint_test_data): Test for "inexact" exceptions.
31481         (llrint_test_data) [TEST_FLOAT]: Disable one test.
31482         (llrint_tonearest_test_data): Test for "inexact" exceptions.
31483         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31484         (llrint_towardzero_test_data): Test for "inexact" exceptions.
31485         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31486         (llrint_downward_test_data): Test for "inexact" exceptions.
31487         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31488         (llrint_upward_test_data): Test for "inexact" exceptions.
31489         (logb_test_data): Likewise.
31490         (logb_downward_test_data): Likewise.
31491         (nextafter_test_data): Likewise.
31492         (nexttoward_test_data): Likewise.
31493         (remainder_test_data): Likewise.
31494         (remquo_test_data): Likewise.
31495         (scalbn_test_data): Likewise.
31496         (scalbln_test_data): Likewise.
31497         (signbit_test_data): Likewise.
31498         (sqrt_test_data): Likewise.
31499         (significand_test_data): Likewise.
31501 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31503         [BZ #15424]
31504         * benchtests/bench-modf.c (struct args): Mark arg0 as
31505         volatile.
31506         * scripts/bench.pl: Mark members of struct args as volatile.
31508 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31510         [BZ # 15497]
31511         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31512         negative infinity on POWER6 or lower.
31513         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31515 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31517         [BZ #15442]
31518         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31519         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31520         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31521         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31522         (_FP_SETQNAN): New macro.
31523         (_FP_SETQNAN_SEMIRAW): Likewise.
31524         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31525         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31526         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31527         (FP_EXTEND): Use _FP_FRAC_SNANP.
31528         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31529         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31530         into account.
31531         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31532         New macro.
31533         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31534         Likewise.
31536 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31538         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31539         with DIVIDE_BY_ZERO_EXCEPTION.
31540         (gamma_test_data): Likewise.
31541         (lgamma_test_data): Likewise.
31542         (log_test_data): Likewise.
31543         (log10_test_data): Likewise.
31544         (log2_test_data): Likewise.
31545         (tgamma_test_data): Likewise.
31547         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31548         (acos_test_tonearest): Likewise.
31549         (acos_test_towardzero): Likewise.
31550         (acos_test_downward): Likewise.
31551         (acos_test_upward): Likewise.
31552         (acosh_test): Likewise.
31553         (asin_test): Likewise.
31554         (asin_test_tonearest): Likewise.
31555         (asin_test_towardzero): Likewise.
31556         (asin_test_downward): Likewise.
31557         (asin_test_upward): Likewise.
31558         (asinh_test): Likewise.
31559         (atan_test): Likewise.
31560         (atanh_test): Likewise.
31561         (atan2_test): Likewise.
31562         (cabs_test): Likewise.
31563         (cacos_test): Likewise.
31564         (cacosh_test): Likewise.
31565         (casin_test): Likewise.
31566         (casinh_test): Likewise.
31567         (catan_test): Likewise.
31568         (catanh_test): Likewise.
31569         (cbrt_test): Likewise.
31570         (ccos_test): Likewise.
31571         (ccosh_test): Likewise.
31572         (cexp_test): Likewise.
31573         (clog_test): Likewise.
31574         (clog10_test): Likewise.
31575         (cos_test): Likewise.
31576         (cos_test_tonearest): Likewise.
31577         (cos_test_towardzero): Likewise.
31578         (cos_test_downward): Likewise.
31579         (cos_test_upward): Likewise.
31580         (cosh_test): Likewise.
31581         (cosh_test_tonearest): Likewise.
31582         (cosh_test_towardzero): Likewise.
31583         (cosh_test_downward): Likewise.
31584         (cosh_test_upward): Likewise.
31585         (cpow_test): Likewise.
31586         (csin_test): Likewise.
31587         (csinh_test): Likewise.
31588         (csqrt_test): Likewise.
31589         (ctan_test): Likewise.
31590         (ctan_test_tonearest): Likewise.
31591         (ctan_test_towardzero): Likewise.
31592         (ctan_test_downward): Likewise.
31593         (ctan_test_upward): Likewise.
31594         (ctanh_test): Likewise.
31595         (ctanh_test_tonearest): Likewise.
31596         (ctanh_test_towardzero): Likewise.
31597         (ctanh_test_downward): Likewise.
31598         (ctanh_test_upward): Likewise.
31599         (erf_test): Likewise.
31600         (erfc_test): Likewise.
31601         (exp_test): Likewise.
31602         (exp_test_tonearest): Likewise.
31603         (exp_test_towardzero): Likewise.
31604         (exp_test_downward): Likewise.
31605         (exp_test_upward): Likewise.
31606         (exp10_test): Likewise.
31607         (exp2_test): Likewise.
31608         (expm1_test): Likewise.
31609         (fmod_test): Likewise.
31610         (gamma_test): Likewise.
31611         (hypot_test): Likewise.
31612         (j0_test): Likewise.
31613         (j1_test): Likewise.
31614         (jn_test): Likewise.
31615         (lgamma_test): Likewise.
31616         (log_test): Likewise.
31617         (log10_test): Likewise.
31618         (log1p_test): Likewise.
31619         (log2_test): Likewise.
31620         (logb_test_downward): Likewise.
31621         (pow_test): Likewise.
31622         (pow_test_tonearest): Likewise.
31623         (pow_test_towardzero): Likewise.
31624         (pow_test_downward): Likewise.
31625         (pow_test_upward): Likewise.
31626         (remainder_test): Likewise.
31627         (remquo_test): Likewise.
31628         (sin_test): Likewise.
31629         (sin_test_tonearest): Likewise.
31630         (sin_test_towardzero): Likewise.
31631         (sin_test_downward): Likewise.
31632         (sin_test_upward): Likewise.
31633         (sincos_test): Likewise.
31634         (sinh_test): Likewise.
31635         (sinh_test_tonearest): Likewise.
31636         (sinh_test_towardzero): Likewise.
31637         (sinh_test_downward): Likewise.
31638         (sinh_test_upward): Likewise.
31639         (sqrt_test): Likewise.
31640         (tan_test): Likewise.
31641         (tan_test_tonearest): Likewise.
31642         (tan_test_towardzero): Likewise.
31643         (tan_test_downward): Likewise.
31644         (tan_test_upward): Likewise.
31645         (tanh_test): Likewise.
31646         (tgamma_test): Likewise.
31647         (y0_test): Likewise.
31648         (y1_test): Likewise.
31649         (yn_test): Likewise.
31651         * math/gen-libm-test.pl (adjust_arg): Remove function.
31652         (special_function): Remove argument $in_func.  Only handle
31653         generating output for tables of tests, not inside functions.
31654         (parse_args): Likewise.
31655         (generate_testfile): Remove variable $in_func.  Update call to
31656         parse_args.
31657         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31658         (MINUS_ZERO_INIT): Rename macro to minus_zero.
31659         (PLUS_INFTY_INIT): Rename macro to plus_infty.
31660         (MINUS_INFTY_INIT): Rename macro to minus_infty.
31661         (QNAN_VALUE_INIT): Rename macro to qnan_value.
31662         (MAX_VALUE_INIT): Rename macro to max_value.
31663         (MIN_VALUE_INIT): Rename macro to min_value.
31664         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31665         (plus_zero): Remove variable.
31666         (minus_zero): Likewise.
31667         (plus_infty): Likewise.
31668         (minus_infty): Likewise.
31669         (qnan_value): Likewise.
31670         (max_value): Likewise.
31671         (min_value): Likewise.
31672         (min_subnorm_value): Likewise.
31674 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31676         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31677         uint64_t or uint32_t usage.
31678         * crypt/sha256-block.c: Likewise.
31679         * crypt/sha256-crypt.c: Likewise.
31680         * crypt/sha256.c: Likewise.
31681         * crypt/sha512-block.c: Likewise.
31682         * crypt/sha512-crypt.c: Likewise.
31683         * crypt/sha512.c: Likewise.
31684         * debug/backtrace-tst.c: Likewise.
31685         * debug/pcprofiledump.c: Likewise.
31686         * elf/cache.c: Likewise.
31687         * elf/dl-cache.c: Likewise.
31688         * elf/dl-misc.c: Likewise.
31689         * elf/dl-profile.c: Likewise.
31690         * elf/dl-support.c: Likewise.
31691         * elf/ldconfig.c: Likewise.
31692         * elf/sprof.c: Likewise.
31693         * iconv/dummy-repertoire.c: Likewise.
31694         * iconv/iconv_charmap.c: Likewise.
31695         * iconv/skeleton.c: Likewise.
31696         * iconvdata/8bit-generic.c: Likewise.
31697         * iconvdata/cp737.h: Likewise.
31698         * iconvdata/cp775.h: Likewise.
31699         * iconvdata/ibm1008.h: Likewise.
31700         * iconvdata/ibm1025.h: Likewise.
31701         * iconvdata/ibm1046.h: Likewise.
31702         * iconvdata/ibm1097.h: Likewise.
31703         * iconvdata/ibm1112.h: Likewise.
31704         * iconvdata/ibm1122.h: Likewise.
31705         * iconvdata/ibm1123.h: Likewise.
31706         * iconvdata/ibm1124.h: Likewise.
31707         * iconvdata/ibm1129.h: Likewise.
31708         * iconvdata/ibm1130.h: Likewise.
31709         * iconvdata/ibm1132.h: Likewise.
31710         * iconvdata/ibm1133.h: Likewise.
31711         * iconvdata/ibm1137.h: Likewise.
31712         * iconvdata/ibm1140.h: Likewise.
31713         * iconvdata/ibm1141.h: Likewise.
31714         * iconvdata/ibm1142.h: Likewise.
31715         * iconvdata/ibm1143.h: Likewise.
31716         * iconvdata/ibm1144.h: Likewise.
31717         * iconvdata/ibm1145.h: Likewise.
31718         * iconvdata/ibm1146.h: Likewise.
31719         * iconvdata/ibm1147.h: Likewise.
31720         * iconvdata/ibm1148.h: Likewise.
31721         * iconvdata/ibm1149.h: Likewise.
31722         * iconvdata/ibm1153.h: Likewise.
31723         * iconvdata/ibm1154.h: Likewise.
31724         * iconvdata/ibm1155.h: Likewise.
31725         * iconvdata/ibm1156.h: Likewise.
31726         * iconvdata/ibm1157.h: Likewise.
31727         * iconvdata/ibm1158.h: Likewise.
31728         * iconvdata/ibm1160.h: Likewise.
31729         * iconvdata/ibm1161.h: Likewise.
31730         * iconvdata/ibm1162.h: Likewise.
31731         * iconvdata/ibm1163.h: Likewise.
31732         * iconvdata/ibm1164.h: Likewise.
31733         * iconvdata/ibm1166.h: Likewise.
31734         * iconvdata/ibm1167.h: Likewise.
31735         * iconvdata/ibm12712.h: Likewise.
31736         * iconvdata/ibm1390.h: Likewise.
31737         * iconvdata/ibm1399.h: Likewise.
31738         * iconvdata/ibm16804.h: Likewise.
31739         * iconvdata/ibm4517.h: Likewise.
31740         * iconvdata/ibm4899.h: Likewise.
31741         * iconvdata/ibm4909.h: Likewise.
31742         * iconvdata/ibm4971.h: Likewise.
31743         * iconvdata/ibm5347.h: Likewise.
31744         * iconvdata/ibm803.h: Likewise.
31745         * iconvdata/ibm856.h: Likewise.
31746         * iconvdata/ibm901.h: Likewise.
31747         * iconvdata/ibm902.h: Likewise.
31748         * iconvdata/ibm9030.h: Likewise.
31749         * iconvdata/ibm9066.h: Likewise.
31750         * iconvdata/ibm921.h: Likewise.
31751         * iconvdata/ibm922.h: Likewise.
31752         * iconvdata/ibm9448.h: Likewise.
31753         * iconvdata/isiri-3342.h: Likewise.
31754         * iconvdata/jis0201.h: Likewise.
31755         * include/link.h: Likewise.
31756         * include/netdb.h: Likewise.
31757         * inet/check_native.c: Likewise.
31758         * inet/check_pf.c: Likewise.
31759         * inet/getipv4sourcefilter.c: Likewise.
31760         * inet/getnameinfo.c: Likewise.
31761         * inet/getsourcefilter.c: Likewise.
31762         * inet/htonl.c: Likewise.
31763         * inet/setipv4sourcefilter.c: Likewise.
31764         * inet/setsourcefilter.c: Likewise.
31765         * inet/test-inet6_opt.c: Likewise.
31766         * inet/tst-network.c: Likewise.
31767         * locale/C-collate.c: Likewise.
31768         * locale/C-ctype.c: Likewise.
31769         * locale/C-time.c: Likewise.
31770         * locale/C-translit.h: Likewise.
31771         * locale/loadarchive.c: Likewise.
31772         * locale/programs/3level.h: Likewise.
31773         * locale/programs/charmap.c: Likewise.
31774         * locale/programs/charmap.h: Likewise.
31775         * locale/programs/ld-address.c: Likewise.
31776         * locale/programs/ld-collate.c: Likewise.
31777         * locale/programs/ld-ctype.c: Likewise.
31778         * locale/programs/ld-identification.c: Likewise.
31779         * locale/programs/ld-measurement.c: Likewise.
31780         * locale/programs/ld-messages.c: Likewise.
31781         * locale/programs/ld-monetary.c: Likewise.
31782         * locale/programs/ld-name.c: Likewise.
31783         * locale/programs/ld-numeric.c: Likewise.
31784         * locale/programs/ld-paper.c: Likewise.
31785         * locale/programs/ld-telephone.c: Likewise.
31786         * locale/programs/ld-time.c: Likewise.
31787         * locale/programs/linereader.c: Likewise.
31788         * locale/programs/locale.c: Likewise.
31789         * locale/programs/locarchive.c: Likewise.
31790         * locale/programs/locfile.h: Likewise.
31791         * locale/programs/repertoire.c: Likewise.
31792         * locale/programs/simple-hash.c: Likewise.
31793         * locale/programs/simple-hash.h: Likewise.
31794         * malloc/memusage.c: Likewise.
31795         * malloc/memusagestat.c: Likewise.
31796         * nis/nis_defaults.c: Likewise.
31797         * nis/nis_hash.c: Likewise.
31798         * nis/nis_print.c: Likewise.
31799         * nis/nis_xdr.c: Likewise.
31800         * nscd/connections.c: Likewise.
31801         * nscd/hstcache.c: Likewise.
31802         * nscd/nscd_gethst_r.c: Likewise.
31803         * nscd/nscd_getserv_r.c: Likewise.
31804         * nscd/nscd_helper.c: Likewise.
31805         * nscd/servicescache.c: Likewise.
31806         * nss/makedb.c: Likewise.
31807         * nss/nss_db/db-XXX.c: Likewise.
31808         * nss/nss_db/db-initgroups.c: Likewise.
31809         * nss/nss_db/db-netgrp.c: Likewise.
31810         * nss/nss_files/files-network.c: Likewise.
31811         * nss/nss_files/files-parse.c: Likewise.
31812         * posix/bug-regex5.c: Likewise.
31813         * posix/fnmatch_loop.c: Likewise.
31814         * posix/regcomp.c: Likewise.
31815         * posix/regexec.c: Likewise.
31816         * posix/tst-rfc3484-2.c: Likewise.
31817         * posix/tst-rfc3484-3.c: Likewise.
31818         * posix/tst-rfc3484.c: Likewise.
31819         * resolv/nss_dns/dns-canon.c: Likewise.
31820         * resolv/nss_dns/dns-network.c: Likewise.
31821         * resolv/res_init.c: Likewise.
31822         * resolv/res_mkquery.c: Likewise.
31823         * resolv/tst-aton.c: Likewise.
31824         * stdlib/cxa_atexit.c: Likewise.
31825         * stdlib/cxa_finalize.c: Likewise.
31826         * stdlib/gen-fpioconst.c: Likewise.
31827         * stdlib/strtol_l.c: Likewise.
31828         * string/tst-endian.c: Likewise.
31829         * sunrpc/auth_des.c: Likewise.
31830         * sunrpc/clnt_udp.c: Likewise.
31831         * sunrpc/rtime.c: Likewise.
31832         * sunrpc/svcauth_des.c: Likewise.
31833         * sunrpc/xdr.c: Likewise.
31834         * sunrpc/xdr_intXX_t.c: Likewise.
31835         * sunrpc/xdr_rec.c: Likewise.
31836         * sysdeps/generic/ldconfig.h: Likewise.
31837         * sysdeps/generic/ldsodefs.h: Likewise.
31838         * sysdeps/generic/memusage.h: Likewise.
31839         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31840         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31841         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31842         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31843         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31844         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31845         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31846         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31847         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31848         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31849         * sysdeps/posix/getaddrinfo.c: Likewise.
31850         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31851         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31852         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31853         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31854         * sysdeps/powerpc/test-gettimebase.c: Likewise.
31855         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31856         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31857         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31858         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31859         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31860         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31861         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31862         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31863         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31864         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31865         * sysdeps/x86_64/dl-tls.h: Likewise.
31866         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31867         * time/alt_digit.c: Likewise.
31868         * time/era.c: Likewise.
31869         * wcsmbs/tst-c16c32-1.c: Likewise.
31871 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31873         * math/libm-test.inc (struct test_sincos_data): New type.
31874         (RUN_TEST_LOOP_sincos): New macro.
31875         (sincos_test_data): New variable.
31876         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31878 2013-05-16  Richard Henderson  <rth@redhat.com>
31880         * math/atest-exp2.c (LIMB64): New macro.
31881         (CONSTSZ): New macro.
31882         (mp_exp1, mp_exp_m1, mp_log2): New variables.
31883         (hexdig): Move ...
31884         (print_mpn_fp): ... to function scope.
31885         (read_mpn_hex): Remove.
31886         (get_log2): Remove.
31887         (exp2_mpn): Use mp_log2.
31888         (main): Use mp_exp1.
31890 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31892         * math/libm-test.inc: Remove comment about not testing "inexact"
31893         exceptions.
31894         (INEXACT_EXCEPTION): New macro.
31895         (NO_INEXACT_EXCEPTION): Likewise.
31896         (INVALID_EXCEPTION_OK): Update value.
31897         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31898         (OVERFLOW_EXCEPTION_OK): Likewise.
31899         (UNDERFLOW_EXCEPTION_OK): Likewise.
31900         (IGNORE_ZERO_INF_SIGN): Likewise.
31901         (ERRNO_UNCHANGED): Likewise.
31902         (ERRNO_EDOM): Likewise.
31903         (ERRNO_ERANGE): Likewise.
31904         (test_exceptions): Handle testing "inexact" exceptions.
31905         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31906         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31907         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31908         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31909         INEXACT_EXCEPTION.
31910         (rint_towardzero_test_data): Likewise.
31911         (rint_downward_test_data): Likewise.
31912         (rint_upward_test_data): Likewise.
31914         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31915         with OVERFLOW_EXCEPTION.
31916         (exp10_test_data): Likewise.
31917         (exp2_test_data): Likewise.
31918         (expm1_test_data): Likewise.
31919         (lgamma_test_data): Likewise.
31920         (pow_test_data): Likewise.
31921         (tgamma_test_data): Likewise.
31922         (yn_test_data): Remove duplicate test of overflow.
31924         * math/libm-test.inc (struct test_cc_c_data): New type.
31925         (RUN_TEST_LOOP_cc_c): New macro.
31926         (cpow_test_data): New variable.
31927         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31929         * math/libm-test.inc (struct test_f_L_data): New type.
31930         (RUN_TEST_LOOP_f_L): New macro.
31931         (llrint_test_data): New variable.
31932         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31933         (llrint_tonearest_test_data): New variable.
31934         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31935         (llrint_towardzero_test_data): New variable.
31936         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31937         (llrint_downward_test_data): New variable.
31938         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31939         (llrint_upward_test_data): New variable.
31940         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31941         (llround_test_data): New variable.
31942         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31944 2013-05-13  Peter Collingbourne  <pcc@google.com>
31946         * math/atest-exp2.c (get_log2): Remove const attribute.
31948 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31950         * math/libm-test.inc (struct test_f_l_data): New type.
31951         (RUN_TEST_LOOP_f_l): New macro.
31952         (lrint_test_data): New variable.
31953         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31954         (lrint_tonearest_test_data): New variable.
31955         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31956         (lrint_towardzero_test_data): New variable.
31957         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31958         (lrint_downward_test_data): New variable.
31959         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31960         (lrint_upward_test_data): New variable.
31961         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31962         (lround_test_data): New variable.
31963         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31965 2013-05-15  Peter Collingbourne  <pcc@google.com>
31967         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31968         (EXTRACT_WORDS64) Use where appropriate.
31969         (INSERT_WORDS64) Likewise.
31971         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31972         constraints with x constraints.
31973         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31975         * malloc/obstack.c (_obstack_compat): Add initializer.
31977 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31979         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31980         si_trapno and add si_addr_lsb to _sifields.sigfault.
31981         (si_trapno): Remove macro.
31982         (si_addr_lsb): Define new macro.
31983         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31985 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31987         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31988         instead of TEST_f_l.
31989         (llrint_test_tonearest): Likewise.
31990         (llrint_test_towardzero): Likewise.
31991         (llrint_test_downward): Likewise.
31992         (llrint_test_upward): Likewise.
31993         (llround_test): Likewise.
31995         * math/libm-test.inc (struct test_f_i_data): Add comment.
31996         (RUN_TEST_LOOP_f_b): New macro.
31997         (RUN_TEST_LOOP_f_b_tg): Likewise.
31998         (finite_test_data): New variable.
31999         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32000         (isfinite_test_data): New variable.
32001         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32002         (isinf_test_data): New variable.
32003         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32004         (isnan_test_data): New variable.
32005         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32006         (isnormal_test_data): New variable.
32007         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32008         (issignaling_test_data): New variable.
32009         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32010         (signbit_test_data): New variable.
32011         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32013         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32014         with INVALID_EXCEPTION.
32015         (acosh_test_data): Likewise.
32016         (asin_test_data): Likewise.
32017         (atanh_test_data): Likewise.
32018         (fmod_test_data): Likewise.
32019         (log_test_data): Likewise.
32020         (log10_test_data): Likewise.
32021         (log2_test_data): Likewise.
32022         (pow_test_data): Likewise.
32023         (sqrt_test_data): Likewise.
32024         (y0_test_data): Likewise.
32025         (y1_test_data): Likewise.
32026         (yn_test_data): Likewise.
32028         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32029         function contents.
32031         * math/libm-test.inc (struct test_ff_i_data): New type.
32032         (RUN_TEST_LOOP_ff_i_tg): New macro.
32033         (isgreater_test_data): New variable.
32034         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32035         (isgreaterequal_test_data): New variable.
32036         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32037         (isless_test_data): New variable.
32038         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32039         (islessequal_test_data): New variable.
32040         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32041         (islessgreater_test_data): New variable.
32042         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32043         (isunordered_test_data): New variable.
32044         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32046 2013-05-14  David S. Miller  <davem@davemloft.net>
32048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32050 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
32052         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32054         * math/libm-test.inc (struct test_fF_f1_data): Change type of
32055         extra_test to int.
32056         (struct test_f_i_data): Change type of max_ulp to int.
32058         * math/libm-test.inc (test_ffI_f1_data): New type.
32059         (RUN_TEST_LOOP_ffI_f1): New macro.
32060         (remquo_test_data): New variable.
32061         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32063         * setjmp/tst-setjmp-fp.c: New file.
32064         * setjmp/Makefile (tests): Add tst-setjmp-fp.
32065         (link-libm): New variable.
32066         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32068         * math/libm-test.inc (struct test_f_i_data): New type.
32069         (RUN_TEST_LOOP_f_i): New macro.
32070         (RUN_TEST_LOOP_f_i_tg): Likewise.
32071         (fpclassify_test_data): New variable.
32072         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32073         (ilogb_test_data): New variable.
32074         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32076         * math/libm-test.inc (scalbln_test): Correct function name in END
32077         call.
32079         * math/libm-test.inc (struct test_f_f1_data): Add comment.
32080         (RUN_TEST_LOOP_fI_f1): New macro.
32081         (frexp_test_data): New variable.
32082         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32084         * math/libm-test.inc (struct test_fF_f1_data): New type.
32085         (RUN_TEST_LOOP_fF_f1): New macro.
32086         (modf_test_data): New variable.
32087         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32089         * math/libm-test.inc (struct test_f_f1_data): New type.
32090         (RUN_TEST_LOOP_f_f1): New macro.
32091         (gamma_test_data): New variable.
32092         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32093         (lgamma_test_data): New variable.
32094         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32096 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
32098         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32099         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32100         (main): Comment "tls" pseudo-hwcap.
32102 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
32104         * math/libm-test.inc (struct test_fl_f_data): New type.
32105         (RUN_TEST_LOOP_fl_f): New variable.
32106         (scalbln_test_data): New variable.
32107         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32109         * math/libm-test.inc (struct test_fi_f_data): New type.
32110         (RUN_TEST_LOOP_fi_f): New macro.
32111         (ldexp_test_data): New variable.
32112         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32113         (scalbn_test_data): New variable.
32114         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32116         * math/libm-test.inc (struct test_c_f_data): New type.
32117         (RUN_TEST_LOOP_c_f): New macro.
32118         (cabs_test_data): New variable.
32119         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32120         (carg_test_data): New variable.
32121         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32122         (cimag_test_data): New variable.
32123         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32124         (creal_test_data): New variable.
32125         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32127         * math/libm-test.inc (struct test_if_f_data): New type.
32128         (RUN_TEST_LOOP_if_f): New macro.
32129         (jn_test_data): New variable.
32130         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32131         (yn_test_data): New variable.
32132         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32134         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32136 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32138         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32139         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32141 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32143         * benchtests/Makefile (CPPFLAGS-nonlib): Add
32144         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32145         (bench-deps): Add bench-timing.h.
32146         * benchtests-bench-skeleton.c: Include bench-timing.h.
32147         (main): Use TIMING_* macros instead of clock_gettime.
32148         * benchtests/bench-timing.h: New file.
32150         [BZ #14582]
32151         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32152         Renamed from _LIB_VERSION.
32153         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32155 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
32157         * math/libm-test.inc (struct test_fff_f_data): New type.
32158         (RUN_TEST_LOOP_fff_f): New macro.
32159         (fma_test_data): New variable.
32160         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32161         (fma_towardzero_test_data): New variable.
32162         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32163         (fma_downward_test_data): New variable.
32164         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32165         (fma_upward_test_data): New variable.
32166         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32168         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32169         (struct test_c_c_data): New type.
32170         (RUN_TEST_LOOP_c_c): New macro.
32171         (cacos_test_data): New variable.
32172         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32173         (cacosh_test_data): New variable.
32174         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32175         (casin_test_data): New variable.
32176         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32177         (casinh_test_data): New variable.
32178         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32179         (catan_test_data): New variable.
32180         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32181         (catanh_test_data): New variable.
32182         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32183         (ccos_test_data): New variable.
32184         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32185         (ccosh_test_data): New variable.
32186         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32187         (cexp_test_data): New variable.
32188         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32189         (clog_test_data): New variable.
32190         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32191         (clog10_test_data): New variable.
32192         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32193         (conj_test_data): New variable.
32194         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32195         (cproj_test_data): New variable.
32196         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32197         (csin_test_data): New variable.
32198         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32199         (csinh_test_data): New variable.
32200         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32201         (csqrt_test_data): New variable.
32202         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32203         (ctan_test_data): New variable.
32204         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32205         (ctan_tonearest_test_data): New variable.
32206         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32207         (ctan_towardzero_test_data): New variable.
32208         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32209         (ctan_downward_test_data): New variable.
32210         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32211         (ctan_upward_test_data): New variable.
32212         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32213         (ctanh_test_data): New variable.
32214         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32215         (ctanh_tonearest_test_data): New variable.
32216         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32217         (ctanh_towardzero_test_data): New variable.
32218         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32219         (ctanh_downward_test_data): New variable.
32220         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32221         (ctanh_upward_test_data): New variable.
32222         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32223         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32224         of BUILD_COMPLEX.
32226         * math/libm-test.inc (struct test_ff_f_data): New type.
32227         (struct test_ff_f_data_nexttoward): Likewise.
32228         (RUN_TEST_LOOP_2_f): New macro.
32229         (RUN_TEST_LOOP_ff_f): Likewise.
32230         (atan2_test_data): New variable.
32231         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32232         (copysign_test_data): New variable.
32233         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32234         (fdim_test_data): New variable.
32235         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32236         (fmax_test_data): New variable.
32237         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32238         (fmin_test_data): New variable.
32239         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32240         (fmod_test_data): New variable.
32241         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32242         (hypot_test_data): New variable.
32243         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32244         (nextafter_test_data): New variable.
32245         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32246         (nexttoward_test_data): New variable.
32247         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32248         (pow_test_data): New variable.
32249         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32250         (pow_tonearest_test_data): New variable.
32251         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32252         (pow_towardzero_test_data): New variable.
32253         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32254         (pow_downward_test_data): New variable.
32255         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32256         (pow_upward_test_data): New variable.
32257         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32258         (remainder_test_data): New variable.
32259         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32260         (scalb_test_data): New variable.
32261         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32262         * sysdeps/i386/fpu/libm-test-ulps: Update.
32264 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
32266         * math/libm-test.inc (fma_test): Use max_value instead of local
32267         variable fltmax.
32268         (nextafter_test): Likewise.
32270         * math/libm-test.inc (acos_towardzero_test_data): New variable.
32271         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32272         (acos_downward_test_data): New variable.
32273         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32274         (acos_upward_test_data): New variable.
32275         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32276         (acosh_test_data): New variable.
32277         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32278         (asin_test_data): New variable.
32279         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32280         (asin_tonearest_test_data): New variable.
32281         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32282         (asin_towardzero_test_data): New variable.
32283         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32284         (asin_downward_test_data): New variable.
32285         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32286         (asin_upward_test_data): New variable.
32287         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32288         (asinh_test_data): New variable.
32289         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32290         (atan_test_data): New variable.
32291         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32292         (atanh_test_data): New variable.
32293         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32294         (cbrt_test_data): New variable.
32295         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32296         (ceil_test_data): New variable.
32297         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32298         (cos_test_data): New variable.
32299         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32300         (cos_tonearest_test_data): New variable.
32301         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32302         (cos_towardzero_test_data): New variable.
32303         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32304         (cos_downward_test_data): New variable.
32305         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32306         (cos_upward_test_data): New variable.
32307         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32308         (cosh_test_data): New variable.
32309         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32310         (cosh_tonearest_test_data): New variable.
32311         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32312         (cosh_towardzero_test_data): New variable.
32313         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32314         (cosh_downward_test_data): New variable.
32315         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32316         (cosh_upward_test_data): New variable.
32317         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32318         (erf_test_data): New variable.
32319         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32320         (erfc_test_data): New variable.
32321         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32322         (exp_test_data): New variable.
32323         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32324         (exp_tonearest_test_data): New variable.
32325         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32326         (exp_towardzero_test_data): New variable.
32327         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32328         (exp_downward_test_data): New variable.
32329         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32330         (exp_upward_test_data): New variable.
32331         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32332         (exp10_test_data): New variable.
32333         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32334         (exp2_test_data): New variable.
32335         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32336         (expm1_test_data): New variable.
32337         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32338         (fabs_test_data): New variable.
32339         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32340         (floor_test_data): New variable.
32341         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32342         (j0_test_data): New variable.
32343         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32344         (j1_test_data): New variable.
32345         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32346         (log_test_data): New variable.
32347         (log_test): Run tests with RUN_TEST_LOOP_f_f.
32348         (log10_test_data): New variable.
32349         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32350         (log1p_test_data): New variable.
32351         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32352         (log2_test_data): New variable.
32353         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32354         (logb_test_data): New variable.
32355         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32356         (logb_downward_test_data): New variable.
32357         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32358         (nearbyint_test_data): New variable.
32359         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32360         (rint_test_data): New variable.
32361         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32362         (rint_tonearest_test_data): New variable.
32363         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32364         (rint_towardzero_test_data): New variable.
32365         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32366         (rint_downward_test_data): New variable.
32367         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32368         (rint_upward_test_data): New variable.
32369         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32370         (round_test_data): New variable.
32371         (round_test): Run tests with RUN_TEST_LOOP_f_f.
32372         (sin_test_data): New variable.
32373         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32374         (sin_tonearest_test_data): New variable.
32375         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32376         (sin_towardzero_test_data): New variable.
32377         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32378         (sin_downward_test_data): New variable.
32379         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32380         (sin_upward_test_data): New variable.
32381         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32382         (sinh_test_data): New variable.
32383         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32384         (sinh_tonearest_test_data): New variable.
32385         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32386         (sinh_towardzero_test_data): New variable.
32387         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32388         (sinh_downward_test_data): New variable.
32389         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32390         (sinh_upward_test_data): New variable.
32391         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32392         (sqrt_test_data): New variable.
32393         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32394         (tan_test_data): New variable.
32395         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32396         (tan_tonearest_test_data): New variable.
32397         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32398         (tan_towardzero_test_data): New variable.
32399         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32400         (tan_downward_test_data): New variable.
32401         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32402         (tan_upward_test_data): New variable.
32403         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32404         (tanh_test_data): New variable.
32405         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32406         (tgamma_test_data): New variable.
32407         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32408         (trunc_test_data): New variable.
32409         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32410         (y0_test_data): New variable.
32411         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32412         (y1_test_data): New variable.
32413         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32414         (significand_test_data): New variable.
32415         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32417 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
32419         [BZ #12387]
32420         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32422 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32424         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32426 2013-05-10  Andreas Jaeger  <aj@suse.de>
32428         [BZ #15448]
32429         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32430         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32432 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32434         * math/gen-libm-test.pl (adjust_arg): New function.
32435         (special_functions): Handle generating output in both functions
32436         and arrays.
32437         (parse_args): Likewise.
32438         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
32439         $in_func argument to parse_args.
32440         * math/libm-test.inc (struct test_f_f_data): New type.
32441         (IF_ROUND_INIT_): New macro.
32442         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32443         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32444         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32445         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32446         (ROUND_RESTORE_): Likewise.
32447         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32448         (ROUND_RESTORE_FE_TONEAREST): Likewise.
32449         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32450         (ROUND_RESTORE_FE_UPWARD): Likewise.
32451         (RUN_TEST_LOOP_f_f): New macro.
32452         (acos_test_data): New variable.
32453         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32454         (acos_tonearest_test_data): New variable.
32455         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32457 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32459         * benchtests/bench-skeleton.c (startup): Fix coding style.
32461 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32463         [BZ #6809]
32464         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32465         negative infinity argument.
32466         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32467         negative infinity argument.
32468         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32469         negative infinity argument.
32470         * math/libm-test.inc (tgamma_test): Expect errno to be set for
32471         domain errors.
32473 2013-05-10  Florian Weimer  <fweimer@redhat.com>
32475         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32476         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32477         * iconv/iconv_prog.c (main): Likewise.
32478         * locale/programs/charmap-dir.c (charmap_readdir)
32479         (fopen_uncompressed): Likewise.
32480         * locale/programs/locfile.c (siblings_uncached)
32481         (write_locale_data): Use lstat64 instead of lstat.
32482         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32483         stat.
32485 2013-05-10  Andreas Jaeger  <aj@suse.de>
32487         [BZ #15395]
32488         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32489         localization.
32490         Include <locale.h>.
32492 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
32494         * elf/dl-close.c (_dl_close_worker): Add comments.
32496 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
32498         [BZ #15359]
32499         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32500         high part of pi/2.
32501         (__ieee754_rem_pio2l): Update comments.
32503         [BZ #15429]
32504         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32505         high part of pi/2.
32506         (__ieee754_rem_pio2l): Update comments.
32508         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32509         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32511         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32512         M_PI_4l.
32514         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32515         (M_PI_34_LOG10El): Likewise.
32516         (M_PI2_LOG10El): Likewise.
32517         (M_PI4_LOG10El): Likewise.
32518         (M_PI_LOG10El): Likewise.
32520 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32524 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
32526         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32527         (MINUS_ZERO_INIT): Likewise.
32528         (PLUS_INFTY_INIT): Likewise.
32529         (MINUS_INFTY_INIT): Likewise.
32530         (QNAN_VALUE_INIT): Likewise.
32531         (MAX_VALUE_INIT): Likewise.
32532         (MIN_VALUE_INIT): Likewise.
32533         (MIN_SUBNORM_VALUE_INIT): Likewise.
32534         (plus_zero): Initialize with PLUS_ZERO_INIT.
32535         (minus_zero): Initialize with MINUS_ZERO_INIT.
32536         (plus_infty): Initialize with PLUS_INFTY_INIT.
32537         (minus_infty): Initialize with MINUS_INFTY_INIT.
32538         (qnan_value): Initialize with QNAN_VALUE_INIT.
32539         (max_value): Initialize with MAX_VALUE_INIT.
32540         (min_value): Initialize with MIN_VALUE_INIT.
32541         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32543         * math/libm-test.inc (RUN_TEST_if_f): New macro.
32544         (jn_test): Use TEST_if_f instead of TEST_ff_f.
32545         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32546         (yn_test): Use TEST_if_f instead of TEST_ff_f.
32548         * math/libm-test.inc (RUN_TEST_f_f): New macro.
32549         (RUN_TEST_2_f): Likewise.
32550         (RUN_TEST_ff_f): Likewise.
32551         (RUN_TEST_fi_f): Likewise.
32552         (RUN_TEST_fl_f): Likewise.
32553         (RUN_TEST_fff_f): Likewise.
32554         (RUN_TEST_c_f): Likewise.
32555         (RUN_TEST_f_f1): Likewise.
32556         (RUN_TEST_fF_f1): Likewise.
32557         (RUN_TEST_fI_f1): Likewise.
32558         (RUN_TEST_ffI_f1): Likewise.
32559         (RUN_TEST_c_c): Likewise.
32560         (RUN_TEST_cc_c): Likewise.
32561         (RUN_TEST_f_i): Likewise.
32562         (RUN_TEST_f_i_tg): Likewise.
32563         (RUN_TEST_ff_i_tg): Likewise.
32564         (RUN_TEST_f_b): Likewise.
32565         (RUN_TEST_f_b_tg): Likewise.
32566         (RUN_TEST_f_l): Likewise.
32567         (RUN_TEST_f_L): Likewise.
32568         (RUN_TEST_sincos): Likewise.
32569         * math/gen-libm-test.pl (new_test): Take new argument to indicate
32570         whether to show exceptions.  Do not include ");\n" in return
32571         value.
32572         (special_functions): Output call to RUN_TEST_sincos instead of
32573         check_float calls.  Update calls to new_test.
32574         (parse_args): Output call to single RUN_TEST_* macro instead of
32575         check_* calls and other assignments.  Update calls to new_test.
32577         [BZ #2546]
32578         [BZ #2560]
32579         [BZ #5159]
32580         [BZ #15426]
32581         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32582         input to result for tgamma overflow.
32583         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32584         (gamma_coeff): New variable.
32585         (NCOEFF): New macro.
32586         (gamma_positive): New function.
32587         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32588         underflow here.  Use gamma_positive instead of exp (lgamma) for
32589         other arguments.
32590         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32591         (gamma_coeff): New variable.
32592         (NCOEFF): New macro.
32593         (gammaf_positive): New function.
32594         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32595         underflow here.  Use gamma_positive instead of exp (lgamma) for
32596         other arguments.
32597         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32598         (gamma_coeff): New variable.
32599         (NCOEFF): New macro.
32600         (gammal_positive): New function.
32601         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32602         underflow here.  Use gamma_positive instead of exp (lgamma) for
32603         other arguments.
32604         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32605         (gamma_coeff): New variable.
32606         (NCOEFF): New macro.
32607         (gammal_positive): New function.
32608         (__ieee754_gammal_r): Handle positive infinity, overflow and
32609         underflow here.  Handle NaN the same as positive infinity.  Remove
32610         check x < 0xffffffff for negative integers.  Use gamma_positive
32611         instead of exp (lgamma) for other arguments.
32612         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32613         (gamma_coeff): New variable.
32614         (NCOEFF): New macro.
32615         (gammal_positive): New function.
32616         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32617         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32618         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32619         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32620         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32621         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32622         * sysdeps/generic/math_private.h (__gamma_productf): New
32623         prototype.
32624         (__gamma_product): Likewise.
32625         (__gamma_productl): Likewise.
32626         * math/Makefile (libm-calls): Add gamma_product.
32627         * math/libm-test.inc (tgamma_test): Add more tests.
32628         * sysdeps/i386/fpu/libm-test-ulps: Update.
32629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32631 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
32633         * benchtests/bench-skeleton.c (main): Preheat CPU.
32635 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
32637         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32639 2013-05-07  Roland McGrath  <roland@hack.frob.com>
32641         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32642         and _dl_skip_args_internal.
32644 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
32646         * manual/message.texi (Message Translation): Talk about users.
32647         Message to key mapping impacts design.
32649 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32651         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32653         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32655         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32656         * sysdeps/wordsize-64/glob64.c: ... here.
32658         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32659         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32660         New macros.
32662         * debug/getlogin_r_chk.c: Moved to ...
32663         * login/getlogin_r_chk.c: ... here.
32664         * debug/Makefile (routines): Move getlogin_r_chk to ...
32665         * login/Makefile (routines): ... here.
32666         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32667         * login/Versions (libc: GLIBC_2.4): ... here.
32669         * io/poll.c (__poll): Renamed from poll.
32670         Add libc_hidden_def.
32671         (poll): Define as weak alias.
32673         * debug/ptsname_r_chk.c: Moved to ...
32674         * login/ptsname_r_chk.c: ... here.
32675         * debug/Makefile (routines): Move ptsname_r_chk to ...
32676         * login/Makefile (routines): ... here.
32677         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32678         * login/Versions (libc: GLIBC_2.4): ... here.
32680         * posix/getlogin.c: Moved to ...
32681         * login/getlogin.c: ... here.
32682         * posix/getlogin_r.c: Moved to ...
32683         * login/getlogin_r.c: ... here.
32684         * posix/getlogin_r.c: Moved to ...
32685         * login/getlogin_r.c: ... here.
32686         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32687         * login/Makefile (routines): ... here.
32688         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32689         * login/Versions (libc: GLIBC_2.0): ... here.
32691         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32692         (setrlimit): Define as weak alias.
32694         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32695         Call __ names for open, ftruncate, and close.
32696         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32697         (truncate): Define as weak alias.
32699 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
32701         * math/gen-libm-test.pl (parse_args): Initialize x before each
32702         test of frexp, modf and remquo.
32704         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32705         test signgam value.
32707 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32709         [BZ #15418]
32710         [BZ #15419]
32711         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32712         internal tests.
32713         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32715 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32717         * elf/dl-writev.h: New file.
32718         * elf/dl-misc.c: Include it.
32719         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32720         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32722 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
32724         * math/libm-test.inc (noXFails): Remove variable.
32725         (noXPasses): Likewise.
32726         (BUILD_COMPLEX_INT): Remove macro.
32727         (print_screen): Remove xfail argument.
32728         (print_screen_max_error): Likewise.
32729         (update_stats): Likewise.
32730         (print_max_error): Likewise.  Update calls to other affected
32731         functions.
32732         (print_complex_max_error): Likewise.
32733         (test_single_exception): Update calls to print_screen.
32734         (test_single_errno): Likewise.
32735         (check_float_internal): Remove xfail argument.  Update calls to
32736         other affected functions.
32737         (check_float): Likewise.
32738         (check_complex): Likewise.
32739         (check_int): Likewise.
32740         (check_long): Likewise.
32741         (check_bool): Likewise.
32742         (check_longlong): Likewise.
32743         (main): Don't print noXFails and noXPasses.
32744         * math/gen-libm-test.pl (top level): Don't mention expected
32745         failure handling in comment.
32746         (new_test): Don't handle expected failures.
32747         (parse_args): Don't mention expected failure handling in comment.
32748         (generate_testfile): Don't handle expected failures.
32749         (parse_ulps): Likewise.
32750         (print_ulps_file): Likewise.
32751         (get_failure): Remove function.
32752         (output_test): Don't handle expected failures.
32753         * make/README.libm-test: Don't mention expected failure handling.
32755         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
32756         (minus_zero): Likewise.
32757         (plus_infty): Likewise.
32758         (minus_infty): Likewise.
32759         (qnan_value): Likewise.
32760         (max_value): Likewise.
32761         (min_value): Likewise.
32762         (min_subnorm_value): Likewise.
32763         (initialize): Do not initialize those variables dynamically.
32765 2013-05-03  Roland McGrath  <roland@hack.frob.com>
32767         * io/open.c (__open_2): Moved to ...
32768         * io/open_2.c: ... this new file.
32769         * io/open64.c (__open64_2): Moved to ...
32770         * io/open64_2.c: ... this new file.
32771         * io/openat.c (__openat_2): Moved to ...
32772         * io/openat_2.c: ... this new file.
32773         * io/openat64.c (__openat64_2): Moved to ...
32774         * io/openat64_2.c: ... this new file.
32775         * io/Makefile (routines): Add them.
32776         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32777         * sysdeps/unix/sysv/linux/open_2.c: File removed.
32778         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32779         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32780         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32781         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32782         (__openat64): Add hidden_ver.
32783         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32784         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32786         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32787         Separately conditionalize setting of GLRO(dl_sysinfo) so
32788         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32789         as well, but the actual setting is only under [NEED_DL_SYSINFO].
32791 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32793         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32794         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32795         definition.
32796         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32797         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32798         (_libc_vdso_platform_setup): Add __vdso_time initialization.
32799         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32800         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32802 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
32804         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32805         test signgam value.
32807         * math/libm-test.inc (hypot_test): Do not use
32808         IGNORE_ZERO_INF_SIGN.
32810 2013-05-03  Andreas Jaeger  <aj@suse.de>
32812         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32813         Linux 3.9.
32814         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32815         (PF_MAX): Adjust for VSOCK change.
32817 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32821 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
32823         [BZ #15264]
32824         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32825         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32826         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32828 2013-05-02  David S. Miller  <davem@davemloft.net>
32830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32832 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
32834         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32836 2013-05-01  Roland McGrath  <roland@hack.frob.com>
32838         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32840 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
32842         [BZ #14952]
32843         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32844         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32845         Use __attribute__ ((__gnu_inline__)).
32846         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32847         Don't use __attribute__ ((__gnu_inline__)).
32849 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
32851         [BZ #15423]
32852         * math/s_catan.c (__catan): Handle small real or imaginary part of
32853         input specially to avoid spurious underflow.
32854         * math/s_catanf.c (__catanf): Likewise.
32855         * math/s_catanh.c (__catanh): Likewise.
32856         * math/s_catanhf.c (__catanhf): Likewise.
32857         * math/s_catanhl.c (__catanhl): Likewise.
32858         * math/s_catanl.c (__catanl): Likewise.
32859         * math/libm-test.inc (catan_test): Add more tests.
32860         (catanh_test): Likewise.
32861         * sysdeps/i386/fpu/libm-test-ulps: Update.
32862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32864 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32868 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
32870         [BZ #15416]
32871         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32872         accurately for denominator in atan2.
32873         * math/s_catanf.c (__catanf): Likewise.
32874         * math/s_catanh.c (__catanh): Likewise.
32875         * math/s_catanhf.c (__catanhf): Likewise.
32876         * math/s_catanhl.c (__catanhl): Likewise.
32877         * math/s_catanl.c (__catanl): Likewise.
32878         * math/libm-test.inc (catan_test): Add more tests.
32879         (catanh_test): Likewise.
32880         * sysdeps/i386/fpu/libm-test-ulps: Update.
32881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32883 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32885         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32887         * benchtests/Makefile (bench): Remove slow benchmarks.
32888         * benchtests/atan-inputs: Add slow benchmark inputs.
32889         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32890         (BENCH_FUNC): Accept variant offset.
32891         (VARIANT): Define.
32892         * benchtests/bench-skeleton.c (main): Run benchmark for each
32893         variant.
32894         * benchtests/cos-inputs: Add slow benchmark inputs.
32895         * benchtests/exp-inputs: Likewise.
32896         * benchtests/pow-inputs: Likewise.
32897         * benchtests/sin-inputs: Likewise.
32898         * benchtests/slowatan-inputs: Remove.
32899         * benchtests/slowatan.c: Remove.
32900         * benchtests/slowcos-inputs: Remove.
32901         * benchtests/slowcos.c: Remove.
32902         * benchtests/slowexp-inputs: Remove.
32903         * benchtests/slowexp.c: Remove.
32904         * benchtests/slowpow-inputs: Remove.
32905         * benchtests/slowpow.c: Remove.
32906         * benchtests/slowsin-inputs: Remove.
32907         * benchtests/slowsin.c: Remove.
32908         * benchtests/slowtan-inputs: Remove.
32909         * benchtests/slowtan.c: Remove.
32910         * benchtests/tan-inputs: Add slow benchmark inputs.
32911         * scripts/bench.pl: Parse comments and directives.
32913         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
32914         in CPPFLAGS.
32915         ($(objpfx)bench-%.c): Remove *-ITER.
32916         * benchtests/bench-modf.c: Remove definition of ITER.
32917         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32918         (main): Loop for DURATION seconds instead of fixed number of
32919         iterations.
32920         * scripts/bench.pl: Don't expect iterations in parameters.
32922 2013-04-29  Roland McGrath  <roland@hack.frob.com>
32924         * io/fchdir.c (__fchdir): Renamed from fchdir.
32925         (fchdir): Define as weak alias.
32927 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32929         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32930         (ERRNO_EDOM): Likewise.
32931         (ERRNO_ERANGE): Likewise.
32932         (noErrnoTests): New variable.
32933         (init_max_error): Set errno to 0.
32934         (test_single_errno): New function.
32935         (test_errno): Likewise.
32936         (check_float_internal): Call test_errno.  Set errno to 0.
32937         (check_complex): Refer to errno tests in comment.
32938         (check_int): Call test_errno.  Set errno to 0.
32939         (check_long): Likewise.
32940         (check_bool): Likewise.
32941         (check_longlong): Likewise.
32942         (cos_test): Use ERRNO_* flags for errno tests instead of
32943         check_int.
32944         (expm1_test): Likewise.
32945         (fmod_test): Likewise.
32946         (ilogb_test): Likewise.
32947         (lgamma_test): Likewise.
32948         (pow_test): Likewise.
32949         (remainder_test): Likewise.
32950         (sin_test): Likewise.
32951         (tan_test): Likewise.
32952         (yn_test): Likewise.
32953         (initialize): Set errno to 0.
32954         (main): Print number of errno tests.
32955         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32957 2013-04-29  Andreas Jaeger  <aj@suse.de>
32959         [BZ #15084]
32960         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32961         and RES_USEVC.
32963         [BZ #15085]
32964         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32965         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32966         unimplemented.
32968         [BZ #15380]
32969         * stdlib/random.c (__initstate): Return NULL if
32970         __initstate fails.
32972         [BZ #15086]
32973         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32974         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32975         RES_SNGLKUPREOP.
32977 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32981 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32983         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32984         of individual tests.
32985         (casin_test): Likewise.
32986         (casinh_test): Likewise.
32988 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
32990         [BZ #15409]
32991         * math/s_catan.c (__catan): Handle arguments with large real or
32992         imaginary part separately without squaring.
32993         * math/s_catanf.c (__catanf): Likewise.
32994         * math/s_catanh.c (__catanh): Likewise.
32995         * math/s_catanhf.c (__catanhf): Likewise.
32996         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32997         and redefine.
32998         (__catanhl): Handle arguments with large real or imaginary part
32999         separately without squaring.
33000         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33001         and redefine.
33002         (__catanl): Handle arguments with large real or imaginary part
33003         separately without squaring.
33004         * math/libm-test.inc (catan_test): Add more tests.
33005         (catanh_test): Likewise.
33006         * sysdeps/i386/fpu/libm-test-ulps: Update.
33007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33009 2013-04-27  Andreas Jaeger  <aj@suse.de>
33011         [BZ #15007]
33012         * stdlib/stdlib.h: Update guards for qecvt.
33013         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33014         <stdlib.h>.
33016 2013-04-27  Allan McRae  <allan@archlinux.org>
33018         * sysdeps/i386/fpu/libm-test-ulps: Update.
33020 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
33022         [BZ #15406]
33023         * math/s_catan.c: Include <float.h>.
33024         (__catan): Ensure underflow exception occurs for underflowed
33025         result.
33026         * math/s_catanf.c: Include <float.h>.
33027         (__catanf): Ensure underflow exception occurs for underflowed
33028         result.
33029         * math/s_catanh.c: Include <float.h>.
33030         (__catanh): Ensure underflow exception occurs for underflowed
33031         result.
33032         * math/s_catanhf.c: Include <float.h>.
33033         (__catanhf): Ensure underflow exception occurs for underflowed
33034         result.
33035         * math/s_catanhl.c: Include <float.h>.
33036         (__catanhl): Ensure underflow exception occurs for underflowed
33037         result.
33038         * math/s_catanl.c: Include <float.h>.
33039         (__catanl): Ensure underflow exception occurs for underflowed
33040         result.
33041         * math/libm-test.inc (catan_test): Add more tests.
33042         (catanh_test): Likewise.
33044         [BZ #15405]
33045         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33046         underflowed result.
33047         * math/s_ccoshf.c (__ccoshf): Likewise.
33048         * math/s_ccoshl.c (__ccoshl): Likewise.
33049         * math/s_csin.c (__csin): Likewise.
33050         * math/s_csinf.c (__csinf): Likewise.
33051         * math/s_csinh.c (__csinh): Likewise.
33052         * math/s_csinhf.c (__csinhf): Likewise.
33053         * math/s_csinhl.c (__csinhl): Likewise.
33054         * math/s_csinl.c (__csinl): Likewise.
33055         * math/libm-test.inc (ccos_test): Add more tests.
33056         (ccosh_test): Likewise.
33057         (csin_test): Likewise.
33058         (csinh_test): Likewise.
33060 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33062         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33063         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33064         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33065         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33066         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33067         powerpc/power5+/fpu folders.
33068         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33071 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33075 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
33077         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33078         additions to variable.
33079         [$(config-machine) = x86_64] (modules-names): Likewise.
33080         ($(objpfx)tst-audit3): Remove dependency.
33081         ($(objpfx)tst-audit3.out): Likewise.
33082         ($(objpfx)tst-audit4): Likewise.
33083         ($(objpfx)tst-audit4.out): Likewise.
33084         ($(objpfx)tst-audit5): Likewise.
33085         ($(objpfx)tst-audit5.out): Likewise.
33086         ($(objpfx)tst-audit6): Likewise.
33087         ($(objpfx)tst-audit6.out): Likewise.
33088         ($(objpfx)tst-audit7): Likewise.
33089         ($(objpfx)tst-audit7.out): Likewise.
33090         (tst-audit3-ENV): Remove variable.
33091         (tst-audit4-ENV): Likewise.
33092         (tst-audit5-ENV): Likewise.
33093         (tst-audit6-ENV): Likewise.
33094         (tst-audit7-ENV): Likewise.
33095         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33096         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33097         addition to variable.
33098         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33099         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33100         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33101         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33102         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33103         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33104         tst-audit3, tst-audit4 and tst-audit5.
33105         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33106         tst-audit6 and tst-audit7.
33107         [$(subdir) = elf] (modules-names): Add audit modules for those
33108         tests.
33109         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33110         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33111         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33112         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33113         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33114         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33115         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33116         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33117         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33118         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33119         [$(subdir) = elf] (tst-audit3-ENV): New variable.
33120         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33121         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33122         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33123         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33124         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33125         Likewise.
33126         [$(subdir) = elf && $(config-cflags-avx) = yes]
33127         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33128         [$(subdir) = elf && $(config-cflags-avx) = yes]
33129         (CFLAGS-tst-auditmod4a.c): Likewise.
33130         [$(subdir) = elf && $(config-cflags-avx) = yes]
33131         (CFLAGS-tst-auditmod4b.c): Likewise.
33132         [$(subdir) = elf && $(config-cflags-avx) = yes]
33133         (CFLAGS-tst-auditmod6b.c): Likewise.
33134         [$(subdir) = elf && $(config-cflags-avx) = yes]
33135         (CFLAGS-tst-auditmod6c.c): Likewise.
33136         [$(subdir) = elf && $(config-cflags-avx) = yes]
33137         (CFLAGS-tst-auditmod7b.c): Likewise.
33138         * elf/tst-audit3.c: Move to ...
33139         * sysdeps/x86_64/tst-audit3.c: ... here.
33140         * elf/tst-audit4.c: Move to ...
33141         * sysdeps/x86_64/tst-audit4.c: ... here.
33142         * elf/tst-audit5.c: Move to ...
33143         * sysdeps/x86_64/tst-audit5.c: ... here.
33144         * elf/tst-audit6.c: Move to ...
33145         * sysdeps/x86_64/tst-audit6.c: ... here.
33146         * elf/tst-audit7.c: Move to ...
33147         * sysdeps/x86_64/tst-audit7.c: ... here.
33148         * elf/tst-auditmod3a.c: Move to ...
33149         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33150         * elf/tst-auditmod3b.c: Move to ...
33151         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33152         * elf/tst-auditmod4a.c: Move to ...
33153         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33154         * elf/tst-auditmod4b.c: Move to ...
33155         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33156         * elf/tst-auditmod5a.c: Move to ...
33157         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33158         * elf/tst-auditmod5b.c: Move to ...
33159         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33160         * elf/tst-auditmod6a.c: Move to ...
33161         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33162         * elf/tst-auditmod6b.c: Move to ...
33163         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33164         * elf/tst-auditmod6c.c: Move to ...
33165         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33166         * elf/tst-auditmod7a.c: Move to ...
33167         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33168         * elf/tst-auditmod7b.c: Move to ...
33169         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33171 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
33173         [BZ #15366]
33174         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33175         define unconditionally.
33176         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33177         define unconditionally.
33178         (INT8_C, INT16_C, etc.): Likewise.
33180 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
33182         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33183         __ehdr_start with hidden visibility.
33185         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33187 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
33189         * math/libm-test.inc (cos_test): Use accurate hex constants.
33190         (sincost_test): Likewise.
33192 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
33194         * math/libm-test.inc (catan_test): Add more tests.
33195         (catanh_test): Likewise.
33197         * math/s_catanf.c (__catanf): Use suffixed floating-point
33198         constants.
33199         * math/s_catanhf.c (__catanhf): Likewise.
33200         * math/s_catanhl.c (__catanhl): Likewise.
33201         * math/s_catanl.c (__catanl): Likewise.
33203         [BZ #15394]
33204         * math/s_catan.c (__catan): Calculate imaginary part of result
33205         with log1p not log unless computing log of number close to 0.
33206         * math/s_catanf.c (__catanf): Likewise.
33207         * math/s_catanl.c (__catanl): Likewise.
33208         * math/s_catanh.c (__catanh): Calculate real part of result with
33209         log1p not log unless computing log of number close to 0.
33210         * math/s_catanhf.c (__catanhf): Likewise.
33211         * math/s_catanhl.c (__catanhl): Likewise.
33212         * math/libm-test.inc (catan_test): Add more tests.
33213         (catanh_test): Likewise.
33214         * sysdeps/i386/fpu/libm-test-ulps: Update.
33215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33217 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33219         * benchtests/Makefile: Mention files in which fast and slow
33220         paths of math functions are implemented.
33222 2013-04-23  Roland McGrath  <roland@hack.frob.com>
33224         * sysdeps/posix/timespec_get.c: New file.
33226 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33228         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33229         POWER.
33230         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33231         for POWER.
33232         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33233         powerpc/power5/fpu folders.
33234         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33235         * benchtests/Makefile: Add modf testcase.
33236         * benchtests/bench-modf.c: New file: Benchmark test for mo
33238 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33240         [BZ #14888]
33241         * time/Makefile (tests): Add tst-strptime-whitespace.
33242         * time/strptime_l.c (get_number): Use ISSPACE.
33243         (__strptime_internal): Likewise.
33244         * time/tst-strptime-whitespace.c: New test case.
33246 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
33248         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33249         member.
33250         (_nss_files_init): Set it here.
33252 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
33254         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33255         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33256         unsigned.
33258 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
33260         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33262 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33264         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33265         size just once.
33267 2013-04-21  David S. Miller  <davem@davemloft.net>
33269         * po/ru.po: Update Russion translation from translation project.
33271 2013-04-17  Adam Conrad  <adconrad@0c3.net>
33273         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33274         and setfsgid.
33276 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
33278         * configure.in: Remove i386 configure warning. Remove i386 case.
33279         * configure: Regenerate.
33280         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33281         Add example to error message.
33282         * sysdeps/i386/configure: Regenerate.
33284 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33286         * benchtests/Makefile (bench): Add cos, tan, slowcos and
33287         slowtan.
33288         * benchtests/cos-inputs: New file.
33289         * benchtests/slowcos-inputs: New file.
33290         * benchtests/slowcos.c: New file.
33291         * benchtests/slowtan-inputs: New file.
33292         * benchtests/slowtan.c: New file.
33293         * benchtests/tan-inputs: New file.
33295 2013-04-16  Roland McGrath  <roland@hack.frob.com>
33297         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33298         considered kosher.
33300 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33302         * benchtests/Makefile: Include cppflags-iterator.mk to add
33303         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33305         * Makefile.in (bench-clean): New target.
33306         * benchtests/Makefile (bench-clean): Likewise.
33308 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
33310         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33312 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
33314         * stdio-common/tstdiomisc.c: Fix coding-style violation.
33316 2013-04-15  Andreas Schwab  <schwab@suse.de>
33318         * nscd/grpcache.c (cache_addgr): Properly check for short write.
33319         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33320         * nscd/pwdcache.c (cache_addpw): Likewise.
33321         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
33322         more than recsize.
33324 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33326         * benchtests/Makefile (bench): Write all output to
33327         bench-out.tmp together.
33329 2013-04-15  Andreas Schwab  <schwab@suse.de>
33331         * nscd/nscd.c (main): Don't fork again after closing files.
33333 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33335         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33337         * benchtests/Rules (bench-deps): Collect dependencies into a
33338         single variable.  Add Makefile to dependencies.
33339         ($(objpfx)bench-%.c): Depend on bench-deps.
33341 2013-04-12  Roland McGrath  <roland@hack.frob.com>
33342             Xavier Roche  <roche+kml2@exalead.com>
33344         [BZ #15361]
33345         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33346         just that it's a file descriptor.
33347         * manual/llio.texi (Synchronizing AIO Operations): Update description
33348         for EBADF error from aio_fsync.
33350 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33352         * Rules (bench): Move target definition...
33353         * benchtests/Makefile: ... here.
33355 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
33357         * math/libm-test.inc (cos_test): Fix PI/2 test.
33358         (sincos_test): Likewise.
33359         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33360         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33362 2013-04-11  Andreas Schwab  <schwab@suse.de>
33364         [BZ #13988]
33365         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33366         accept exponent character only when digits were seen.
33367         * stdio-common/Makefile (tests): Add bug26.
33368         * stdio-common/bug26.c: New file.
33370         [BZ #14293]
33371         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33372         non-freeable.
33374 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33376         * Makeconfig (rtld-prefix): Define built linker prefix.
33377         * Rules (run-bench): Use it.
33378         * math/Makefile (run-regen-ulps): Likewise.
33380         * Rules (bench): Remove eval.
33382 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33383             Roland McGrath  <roland@hack.frob.com>
33384             Ondrej Bilka  <neleai@seznam.cz>
33386         [BZ #15346]
33387         * time/getdate.c: Include ctype.h and alloca.h.
33388         (__getdate_r): Trim leading and trailing spaces of input.
33389         * time/tst-getdate.c (tests): Add tests with leading and
33390         trailing spaces.
33392 2013-04-08  Roland McGrath  <roland@hack.frob.com>
33394         [BZ #14280]
33395         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33396         when computing value.
33398 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33400         * math/README.libm-test (How can I generate "libm-test-ulps"?):
33401         Use testrun.sh to run libm tests.
33403         [BZ #15309]
33404         * elf/dl-open.c (dl_open_worker): memset all of seen array.
33406 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
33408         [BZ #15264]
33409         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33411 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33413         * Makefile.in (regen-ulps): New target.
33414         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33415         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33416         [ifneq (no,$(PERL)] (regen-ulps): New target.
33417         [ifeq (no,$(PERL)] (regen-ulps): New target.
33418         * math/libm-test.inc (ulps_file_name): Define.
33419         (output_dir): New variable.
33420         (options): Add "output-dir" option.
33421         (parse_opt): Handle 'o' case.
33422         (main): If output_dir is non-NULL use it as a prefix
33423         otherwise use "".
33424         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33426 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33428         [BZ #10060, #10062]
33429         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33430         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33431         fail configure if __sync_val_compare_and_swap is not inlined.
33432         * sysdeps/i386/configure: Regenerate.
33433         * configure.in: Build for i686 when configured for i386.
33434         * configure: Regenerate.
33435         * README: Remove i386 reference.
33437 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33439         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33440         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33442 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33444         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33445         (lmsnanval): New variables.
33446         (F): Add conversion tests.
33447         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33448         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33450         * stdio-common/tstdiomisc.c (F): Properly collect individual
33451         tests' results.
33453         [BZ #14686, #15336]
33454         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33455         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33456         Instead, use input NaN values or generate a qNaN by arithmetic
33457         operation.  Also fix bugs to comply with the standard.
33458         * math/libm-test.inc (remainder_test): Add more tests.
33460         [BZ #15335, #15342]
33461         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33462         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33463         input NaN values or generate a qNaN by arithmetic operation.
33465         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33466         unreachable code.
33468         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33469         definitions.
33471 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
33473         [BZ #14478]
33474         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33475         underflowed result.
33476         * math/s_cexpf.c (__cexpf): Likewise.
33477         * math/s_cexpl.c (__cexpl): Likewise.
33478         * math/libm-test.inc (cexp_test): Add more tests.
33480 2013-04-03  Andreas Schwab  <schwab@suse.de>
33482         [BZ #15330]
33483         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33484         order arrays from heap if bigger than alloca cutoff.
33486 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
33488         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33489         (SNAN_TESTS_double): Refer to GCC PR56831.
33490         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33491         GCC PR56828.
33493 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33495         * Rules (bench): Move bench.out after the run is complete.
33497         * Rules (bench): Echo currently running benchmark.
33499         * benchtests/Makefile (bench): Add atan and slowatan.
33500         * benchtests/atan-inputs: New file.
33501         * benchtests/slowatan-inputs: New file.
33502         * benchtests/slowatan.c: New file.
33504         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33505         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33506         its value.
33508         [BZ #15305]
33509         * sysdeps/unix/sysv/linux/kernel-features.h
33510         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33511         __ASSUME_XFS_RESTRICTED_CHOWN.
33512         * sysdeps/unix/sysv/linux/pathconf.c
33513         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33514         Save and restore errno.
33516 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
33518         [BZ #15327]
33519         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33520         arguments using __kernel_casinh.
33521         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33522         arguments using __kernel_casinhf.
33523         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33524         arguments using __kernel_casinhl.
33525         * math/libm-test.inc (cacosh_test): Add more tests.
33526         * sysdeps/i386/fpu/libm-test-ulps: Update.
33527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33529 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33531         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33532         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33534         * bench/Makefile (bench): Add sin and slowsin.
33535         * benchtests/sin-inputs: New file.
33536         * benchtests/slowsin-inputs: New file.
33537         * benchtests/slowsin.c: New file.
33539         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33540         (bench): Add slowexp and slowpow.
33541         (exp-ITER): Increase iterations.
33542         (pow-ITER): Likewise.
33543         * benchtests/exp-inputs: Change input.
33544         * benchtests/pow-inputs: Likewise.
33545         * benchtests/slowexp-inputs: New file.
33546         * benchtests/slowexp.c: New file.
33547         * benchtests/slowpow-inputs: New file.
33548         * benchtests/slowpow.c: New file.
33550 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33552         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33553         instructions.
33554         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33555         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33556         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33557         * benchtests/Makefile: Add rint benchtest.
33558         * benchtests/rint-inputs: Input for rint benchtest.
33560 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33562         * Versions.def (libm): Add GLIBC_2.18.
33563         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33564         hidden libm prototypes.
33565         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33566         * math/Makefile (libm-calls): Add s_issignaling.
33567         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33568         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
33569         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33570         declaration.
33571         * math/math.h [__USE_GNU] (issignaling): New macro.
33572         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33573         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33574         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33575         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33576         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33577         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33578         * manual/arith.texi (issignaling): New section.
33579         * manual/libm-err-tab.pl (@all_functions): Update comment.
33580         * math/gen-libm-test.pl (parse_args): Apply special handling for
33581         issignaling.
33582         * math/libm-test.inc (print_float, issignaling_test): New
33583         functions.
33584         (check_float_internal): Add issignaling checks.
33585         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33586         default definition.
33587         * sysdeps/powerpc/math-tests.h: New file.
33588         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33589         tests.
33590         * math/test-snan.c (TEST_FUNC): Likewise.
33592 2013-03-30  David S. Miller  <davem@davemloft.net>
33594         * po/de.po: Update from translation team.
33596 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
33598         [BZ #10357]
33599         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33600         imaginary part less than 1.0 and real part less than 0.5
33601         specially.
33602         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33603         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33604         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33605         (cacos_test): Add more tests.
33606         (casin_test): Likewise.
33607         (casinh_test): Likewise.
33608         * sysdeps/i386/fpu/libm-test-ulps: Update.
33609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33611 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33613         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33614         ONE with its value.
33616         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33617         (__pow_mp): Replace ONE and MONE with their values.
33618         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33619         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33620         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33621         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33622         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33623         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33625         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33627         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33628         (__pow_mp): Replace ZERO and MZERO with their values.
33629         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33630         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33631         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33632         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33633         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33634         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33635         (__sqr): Likewise.
33637         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33639         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33641 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33643         * include/stdlib.h [!SHARED] (__call_tls_dtors):
33644         Declare with __attribute__ ((weak)).
33645         * stdlib/exit.c (__libc_atexit) [!SHARED]:
33646         Call __call_tls_dtors only if it's not NULL.
33648 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33650         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33651         didn't do it already, then set _dl_phdr and _dl_phnum based on the
33652         magic __ehdr_start linker symbol if it's defined.
33653         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33654         them up here if it was already done.
33656         * elf/dl-support.c (_dl_phdr): Make pointer to const.
33657         (_dl_aux_init): Use const in cast when setting it.
33658         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33659         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33660         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33662         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33663         Declare them here.
33664         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33665         * csu/libc-tls.c: Nor here.
33666         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33668         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33669         (__libc_message): Never call vsyslog.
33671 2013-03-28  Alan Modra  <amodra@gmail.com>
33673         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33674         Define as empty.
33675         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33676         Likewise.
33678 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33680         [BZ #15214]
33681         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33682         underflow.
33683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33685 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33687         [BZ #15304]
33688         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33689         Don't add gid passed as argument.
33691         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33693 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
33695         [BZ #15307]
33696         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33697         imaginary part between 1.0 and 1.5 and real part less than 0.5
33698         specially.
33699         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33700         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33701         * math/libm-test.inc (cacos_test): Add more tests.
33702         (casin_test): Likewise.
33703         (casinh_test): Likewise.
33704         * sysdeps/i386/fpu/libm-test-ulps: Update.
33705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33707 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33709         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33710         constants.
33711         (norm): Likewise.
33712         (denorm): Likewise.
33713         (__dbl_mp): Likewise.
33714         (add_magnitudes): Likewise.
33715         (sub_magnitudes): Likewise.
33716         (__add): Likewise.
33717         (__sub): Likewise.
33718         (__mul): Likewise.
33719         (__sqr): Likewise.
33720         (__inv): Likewise.
33721         (__dvd): Likewise.
33723         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33724         commented code.
33725         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33726         (__dubcos): Likewise.
33727         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33728         (__ieee754_acos): Likewise.
33729         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33730         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33731         (__exp1): Likewise.
33732         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33733         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33734         (log1): Likewise.
33735         (my_log2): Likewise.
33736         (checkint): Likewise.
33737         * sysdeps/ieee754/dbl-64/e_remainder.c
33738         (__ieee754_remainder): Likewise.
33739         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33740         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33741         (bsloww): Likewise.
33742         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33744         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33745         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33746         MANTISSA_STORE_T to store computations on mantissa.  Use
33747         macros for rounding and division.
33748         (denorm): Likewise.
33749         (__dbl_mp): Likewise.
33750         (add_magnitudes): Likewise.
33751         (sub_magnitudes): Likewise.
33752         (__mul): Likewise.
33753         (__sqr): Likewise.
33754         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33755         powers of two in terms of TWOPOW macro.
33756         (mp_no): Make type of mantissa as MANTISSA_T.
33757         [!RADIXI]: Define RADIXI.
33758         [!TWO52]: Define TWO52.
33759         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33761 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33763         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33764         llroundl symbol when building for PPC32.
33766 2013-03-24  Mark H Weaver  <mhw@netris.org>
33768         * manual/arith.texi (Normalization Functions): Fix prototypes for
33769         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33771 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33773         [BZ #13889]
33774         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33775         high value to check if expl overflow.
33776         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33777         to check for underflow and overflow.
33778         * math/libm-test.inc: Add exp test.
33780 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
33782         [BZ #11120]
33783         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33784         with NOT_IN_libc.
33786 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33788         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33789         symbol.
33791 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33793         * math/gen-libm-test.pl (parse_args, special_functions): Properly
33794         wrap blocks consisting of several statements.
33796         * sysdeps/generic/math-tests.h: New file.
33797         * sysdeps/i386/fpu/math-tests.h: Likewise.
33798         * math/test-snan.c: Include it.
33799         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33801 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33803         [BZ #15285]
33804         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33805         (__ieee754_j0l): Do not improve calculations using cos of twice
33806         input for inputs above LDBL_MAX / 2.0L.
33807         (__ieee754_y0l): Likewise.
33808         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33809         (__ieee754_j1l): Do not improve calculations using cos of twice
33810         input for inputs above LDBL_MAX / 2.0L.
33811         (__ieee754_y1l): Likewise.
33812         * math/libm-test.inc (j0_test): Add another test.
33813         (j1_test): Likewise.
33814         (y0_test): Likewise.
33815         (y1_test): Likewise.
33816         * sysdeps/i386/fpu/libm-test-ulps: Update.
33818 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33820         * Rules ($(objpfx)bench-%.c): Include code from a C source
33821         file.
33823 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33825         [BZ #15287]
33826         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33827         imaginary part 1.0 and real part less than 0.5 specially.
33828         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33829         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33830         * math/libm-test.inc (cacos_test): Add more tests.
33831         (casin_test): Likewise.
33832         (casinh_test): Likewise.
33833         * sysdeps/i386/fpu/libm-test-ulps: Update.
33834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33836 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33838         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33839         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33841 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
33843         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33844         * config.make.in (config-cflags-sse4): Remove variable.
33845         (config-cflags-avx): Likewise.
33846         (config-cflags-sse2avx): Likewise.
33847         (config-cflags-novzeroupper): Likewise.
33848         (config-asflags-i686): Likewise.
33849         (have-mfma4): Likewise.
33850         (have-as-vis3): Likewise.
33851         (MIG): Likewise.
33852         * configure.in (MIG): Do not AC_SUBST.
33853         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33854         (libc_cv_cc_sse4): Do not AC_SUBST.
33855         (libc_cv_cc_avx): Likewise.
33856         (libc_cv_cc_sse2avx): Likewise.
33857         (libc_cv_cc_novzeroupper): Likewise.
33858         (libc_cv_cc_fma4): Likewise.
33859         (libc_cv_as_i686): Likewise.
33860         (libc_cv_sparc_as_vis3): Likewise.
33861         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33862         LIBC_CONFIG_VAR.
33863         (config-asflags-i686): Likewise.
33864         (config-cflags-avx): Likewise.
33865         (config-cflags-sse2avx): Likewise.
33866         (have-mfma4): Likewise.
33867         (config-cflags-novzeroupper): Likewise.
33868         * sysdeps/mach/configure.in (MIG): Likewise.
33869         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33870         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33871         LIBC_CONFIG_VAR.
33872         (config-cflags-avx): Likewise.
33873         (config-cflags-sse2avx): Likewise.
33874         (have-mfma4): Likewise.
33875         (config-cflags-novzeroupper): Likewise.
33876         * configure: Regenerated.
33877         * sysdeps/i386/configure: Likewise.
33878         * sysdeps/mach/configure: Likewise.
33879         * sysdeps/sparc/configure: Likewise.
33880         * sysdeps/x86_64/configure: Likewise.
33882 2013-03-20  Roland McGrath  <roland@hack.frob.com>
33884         [BZ #14812]
33885         * locale/programs/localedef.c (options): Put N_ translation marker
33886         on argument names, not just descriptions.
33888 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33890         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33892 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
33894         [BZ #14176]
33895         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33897 2013-03-19  Roland McGrath  <roland@hack.frob.com>
33899         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33900         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33901         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33902         [!BEFORE_ABORT] (before_abort): New function.
33903         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33904         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33905         (writev_for_fatal): New function.
33906         (WRITEV_FOR_FATAL): New macro; call that.
33907         (backtrace_and_maps): New function.
33908         (BEFORE_ABORT): New macro; call that.
33909         (struct str_list): Type removed.
33910         (__libc_message, __libc_fatal): Functions removed.
33911         Include <sysdeps/posix/libc_fatal.c> instead.
33913 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
33915         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33916         constants.
33917         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33918         double constants.
33920 2013-03-19  Andreas Schwab  <schwab@suse.de>
33922         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33923         * sysdeps/gnu/configure: Regenerate.
33925         * configure.in: Substitute libc_cv_rtlddir.
33926         * configure: Regenerate.
33927         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33928         * Makeconfig (rtlddir, inst_rtlddir): New variables.
33929         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33930         * elf/Makefile (install-others, CFLAGS-interp.c)
33931         (ldso_install, common-ldd-rewrite): Likewise.
33932         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33933         $(inst_slibdir)/$(rtld-installed-name).
33934         * scripts/rellns-sh: Add -p option.
33935         * Makerules (make-shlib-link): Use rellns-sh to get relative name
33936         for source.
33938 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33940         * manual/nptl.texi: Renamed to ...
33941         * manual/threads.texi: ... this.
33942         * manual/Makefile (chapters): Update.
33944 2013-03-18  Roland McGrath  <roland@hack.frob.com>
33946         [BZ #14812]
33947         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33948         on argument names, not just descriptions.
33949         * malloc/memusagestat.c (options): Likewise.
33950         * nss/getent.c (options): Likewise.
33952 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
33954         [BZ #14812]
33955         * iconv/iconv_prog.c (options): Put N_ translation marker
33956         on argument names, not just descriptions.
33957         * iconv/iconvconfig.c (options): Likewise.
33959 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
33961         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33962         implementation which is faster on all x86_64 architectures.
33963         Tested on AMD, Intel Nehalem, SNB, IVB.
33964         * sysdeps/x86_64/strnlen.S: Likewise.
33966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33967         Remove all multiarch strlen and strnlen versions.
33968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33969         Remove strlen and strnlen related parts.
33971         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33972         Inline strlen part.
33973         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33975         * sysdeps/x86_64/multiarch/strlen.S: Remove.
33976         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33977         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33978         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33979         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33980         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33982 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
33984         * manual/memory.texi (Malloc Tunable Parameters):
33985         Sort parameters alphabetically. Add comments for missing entries.
33987 2013-03-17  David S. Miller  <davem@davemloft.net>
33989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33991 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
33993         [BZ #15283]
33994         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33995         for arguments at most half maximum finite value.
33996         * math/libm-test.inc (j0_test): Add more tests.
33997         (j1_test): Likewise.
33998         (y0_test): Likewise.
33999         (y1_test): Likewise.
34000         * sysdeps/i386/fpu/libm-test-ulps: Update.
34001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34003         [BZ #14155]
34004         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34005         1 / x and functions P and Q for arguments above 0x1p256L.
34006         (__ieee754_y0l): Likewise.
34007         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34008         (__ieee754_y1l): Likewise.
34009         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34010         (j1_test): Likewise.
34011         (y0_test): Likewise.
34012         (y1_test): Likewise.
34014 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
34016         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34017         variable.
34019 2013-03-15  Roland McGrath  <roland@hack.frob.com>
34021         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34022         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34023         zero since it's initialized to EXEC_PAGESIZE.
34025         * sysdeps/unix/sysv/linux/ldsodefs.h
34026         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34027         * sysdeps/generic/ldsodefs.h: ... here.
34029 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
34031         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34033         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34034         math/test-snan.c.
34035         * math/test-snan.c: Renamed from
34036         sysdeps/powerpc/fpu/test-powerpc-snan.c.
34037         * math/Makefile (tests): Add test-snan.
34038         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34039         test-powerpc-snan.
34041         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34042         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
34043         functions.
34044         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
34045         __builtin_nan family of functions.
34046         * math/libm-test.inc (initialize): Initialize qnan_value with
34047         __builtin_nan family of functions.
34048         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34049         Remove variables.
34050         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34051         Remove functions.
34052         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
34053         storage class.  Initialize qNaN_var and sNaN_var with
34054         __builtin_nan and __builtin_nans families of functions,
34055         respectively.
34057         * math/libm-test.inc (acosh_test): Also test with qNaN input.
34058         (sqrt_test): Remove duplicate test with qNaN input.
34059         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34060         (round_test, signbit_test, significand_test): Note missing +/-Inf
34061         as well as qNaN tests.
34063         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34064         qNaN_var.  Fix a few strings, too.
34065         * math/libm-test.inc (nan_value): Rename to qnan_value.
34066         * math/gen-libm-test.pl (%beautify): Adjust to that.
34067         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34068         * math/test-misc.c (main): Likewise.
34069         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34070         to __qnan_bytes, and __qnan_union, respectively.
34071         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34072         Likewise.
34073         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34074         and lqnanval, respectively.
34075         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34076         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34077         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34078         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34080         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34081         * math/test-misc.c (main) [__x86_64__]: Enable test for long
34082         doubles.
34084         * math/test-misc.c (main): Fix copy'n'pastos.
34085         * misc/tst-efgcvt.c (special): Likewise.
34087         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34088         Remove declarations.
34090 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34092         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34093         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34094         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34095         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34097 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34099         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34100         macro to return vdso values correctly in IFUNC implementations.
34101         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34102         Optimization by using IFUNC.
34104 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34105             Richard Henderson  <rth@redhat.com>
34106             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34108         * Makefile.in (bench): New target.
34109         * NEWS: Mention the benchmark framework.
34110         * Rules (bench): Likewise.
34111         (binaries-bench): Generate binaries for functions to
34112         benchmark.
34113         * benchtests/Makefile: New makefile for benchmark tests.
34114         * benchtests/bench-skeleton.c: New skeleton file for benchmark
34115         programs.
34116         * benchtests/exp-inputs: New input file for EXP function.
34117         * benchtests/pow-inputs: New input file for POW function.
34118         * scripts/bench.pl: New script to generate source files for
34119         benchmark programs.
34121 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34123         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34124         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34125         computations on mantissa.  Use macros for rounding and
34126         division.
34127         (denorm): Likewise.
34128         (__dbl_mp): Likewise.
34129         (add_magnitudes): Likewise.
34130         (sub_magnitudes): Likewise.
34131         (__mul): Likewise.
34132         (__sqr): Likewise.
34133         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34134         powers of two in terms of TWOPOW macro.
34135         (mp_no): Make type of mantissa as MANTISSA_T.
34136         [!RADIXI]: Define RADIXI.
34137         [!TWO52]: Define TWO52.
34138         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34140         * manual/nptl.texi (cindex): Modify threads to pthreads.
34142 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
34144         * sysdeps/x86_64/preconfigure: Regenerated.
34146 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
34148         [BZ #14155]
34149         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34150         0x1p28 and above.
34151         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34152         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34153         0x1p28 and above.
34154         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34155         * math/libm-test.inc (j0_test): Do not allow one spurious
34156         underflow exception.
34157         (y1_test): Likewise.
34159 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34161         * manual/Makefile (chapters): Add nptl.
34162         * manual/debug.texi (Debugging Support): Add link to Threads
34163         chapter.
34164         * manual/nptl.texi: New file.
34166         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34168 2013-03-14  Petr Baudis  <pasky@ucw.cz>
34170         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34171         for non-NULL pointer before the memory validity test. Pointed
34172         out by Holger Brunck <holger.brunck@keymile.com>.
34174 2013-03-13  Andreas Schwab  <schwab@suse.de>
34176         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34177         instead of .os.
34179 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
34181         * timezone/zic.c: Update from tzcode 2013b.
34183 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
34185         * manual/install.texi (Configuring and compiling):
34186         Mention i686 and i586.
34187         * INSTALL: Regenerate.
34189 2013-03-12  Roland McGrath  <roland@hack.frob.com>
34191         * sysdeps/init_array/elf-init.c: New file.
34192         * csu/elf-init.c
34193         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34194         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34196         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34197         __gmon_start__ as global, but as static with a .preinit_array pointer.
34198         * sysdeps/init_array/gmon-start.c: New file.  Use that.
34199         * sysdeps/init_array/crti.S: New file, empty except for comments.
34200         * sysdeps/init_array/crtn.S: Likewise.
34202 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
34204         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34205         definining bcopy.
34206         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34207         Remove Prefer_SSE_for_memop.
34208         * sysdeps/x86_64/multiarch/init-arch.h: Remove
34209         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34210         HAS_PREFER_SSE_FOR_MEMOP.
34211         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34212         memset-x86-64.
34213         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34214         Remove bzero, memset ifunc support.
34215         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34216         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34217         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34218         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34220 2013-03-11  Andreas Schwab  <schwab@suse.de>
34222         [BZ #15234]
34223         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34224         by SHLIB_COMPAT.
34225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34226         (GLIBC_2.16): Remove pthread_atfork.
34228 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34230         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34231         (ptestcases.h): Likewise.
34233 2013-03-08  Roland McGrath  <roland@hack.frob.com>
34235         * Makeconfig ($(common-objpfx)config.status): Depend on
34236         sysdeps/*/preconfigure{,.in} too.
34238 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
34240         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34241         (__free_hook): Use void * instead of __malloc_ptr_t.
34242         (__malloc_hook): Likewise.
34243         (__realloc_hook): Likewise.
34244         (__memalign_hook): Likewise.
34245         (__after_morecore_hook): Likewise.
34246         * malloc/arena.c (save_malloc_hook): Likewise.
34247         (save_free_hook): Likewise.
34248         * malloc/hooks.c (malloc_hook_ini): Likewise.
34249         (realloc_hook_ini): Likewise.
34250         (memalign_hook_ini): Likewise.
34251         * malloc/malloc.c (malloc_hook_ini): Likewise.
34252         (realloc_hook_ini): Likewise.
34253         (memalign_hook_ini): Likewise.
34254         (__free_hook): Likewise.
34255         (__malloc_hook): Likewise.
34256         (__realloc_hook): Likewise.
34257         (__memalign_hook): Likewise.
34258         (__libc_malloc): Likewise.
34259         (__libc_free): Likewise.
34260         (__libc_realloc): Likewise.
34261         (__libc_memalign): Likewise.
34262         (__libc_valloc): Likewise.
34263         (__libc_pvalloc): Likewise.
34264         (__libc_calloc): Likewise.
34265         (__posix_memalign): Likewise.
34266         * malloc/morecore.c (__sbrk): Likewise.
34267         (__default_morecore): Likewise.
34269         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34271         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34272         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34273         __malloc_ptrdiff_t.
34275         * malloc/malloc.h (__malloc_size_t): Remove macro.
34276         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34277         __malloc_size_t.
34278         (old_memalign_hook): Likewise.
34279         (old_realloc_hook): Likewise.
34280         (struct hdr): Likewise.
34281         (flood): Likewise.
34282         (mallochook): Likewise.
34283         (memalignhook): Likewise.
34284         (reallochook): Likewise.
34285         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34286         (tr_old_realloc_hook): Likewise.
34287         (tr_old_memalign_hook): Likewise.
34288         (tr_mallochook): Likewise.
34289         (tr_reallochook): Likewise.
34290         (tr_memalignhook): Likewise.
34292 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34294         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34295         default_ldbl_pack and using as default implementation.
34296         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34297         implementation.
34298         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34299         redundant definition.
34300         (ldbl_insert_mantissa): Likewise.
34301         (ldbl_canonicalize): Likewise.
34302         (ldbl_nearbyint): Likewise.
34303         (ldbl_pack): Rename to ldbl_pack_ppc.
34304         (ldbl_unpack): Rename to ldbl_unpack_ppc.
34305         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34306         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34308 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34310         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34311         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34312         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34313         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34314         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34315         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34316         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34317         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34319 2013-03-07  Andreas Jaeger  <aj@suse.de>
34321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34322         bits/mman-linux.h.
34324 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34326         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34327         Include mpa.h and declare __MPEXP.
34328         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34329         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34330         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34331         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34332         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34333         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34334         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34336         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34337         (__slowpow): Use long double EXPL and LOGL functions to
34338         compute POW.
34339         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34340         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34341         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34342         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34343         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34344         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34346         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34347         intermediate variable to calculate exponent.
34348         (__sqr): Likewise.
34349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34350         Likewise.
34351         (__sqr): Likewise.
34353         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34354         [!NO__SQR]: Define __sqr.
34355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34356         and NO__SQR.  Remove all code except __mul and __sqr.  Include
34357         sysdeps/ieee754/dbl-64/mpa.c.
34358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34360         [BZ #12723]
34361         * posix/Makefile (tests): Add tst-pathconf.
34362         * posix/tst-pathconf.c: New test case.
34363         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34364         _PC_PIPE_BUF.
34365         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34367 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
34369         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34371 2013-03-06  Andreas Jaeger  <aj@suse.de>
34373         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34374         definition via __MAP_ANONYMOUS.
34376         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34377         it's not part of Linux headers.
34379         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34380         (MAP_HUGE_MASK): Define.
34382         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34383         Define.
34384         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34385         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34386         Define.
34387         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34388         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34389         Define.
34390         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34391         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34392         Define.
34393         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34395         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34396         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34397         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34398         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34399         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34400         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34402         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34403         Handle f2fs.
34405         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34406         Handle f2fs and efivarfs.
34408         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34409         f2fs.
34411         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34412         (EFIVARFS_MAGIC): Add.
34413         (F2FS_LINK_MAX): Add.
34415 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34417         * stdio-common/vfprintf.c: Replace __builtin_expect with
34418         __glibc_unlikely.
34420 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
34422         [BZ #13550]
34423         * sysdeps/generic/bp-sym.h: Remove file.
34424         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34425         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34426         <bp-sym.h> and <bp-asm.h>.
34427         (__longjmp): Don't use BP_SYM.
34428         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34429         and <bp-asm.h>.
34430         (memcpy): Don't use BP_SYM.
34431         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34432         <bp-sym.h> and <bp-asm.h>.
34433         (memcpy): Don't use BP_SYM.
34434         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34435         <bp-asm.h>.
34436         (memcpy): Don't use BP_SYM.
34437         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34438         <bp-asm.h>.
34439         (memset): Don't use BP_SYM.
34440         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34441         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34442         (__bzero): Don't use BP_SYM.
34443         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34444         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34445         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34446         <bp-sym.h> and <bp-asm.h>.
34447         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34448         pointers.
34449         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34450         <bp-sym.h> and <bp-asm.h>.
34451         (memcpy): Don't use BP_SYM.
34452         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34453         <bp-sym.h> and <bp-asm.h>.
34454         (memset): Don't use BP_SYM.
34455         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34456         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34457         (__bzero): Don't use BP_SYM.
34458         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34459         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34460         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34461         <bp-sym.h> and <bp-asm.h>.
34462         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34463         pointers.
34464         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34465         <bp-sym.h> and <bp-asm.h>.
34466         (memcpy): Don't use BP_SYM.
34467         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34468         <bp-sym.h> and <bp-asm.h>.
34469         (memset): Don't use BP_SYM.
34470         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34471         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34472         (__bzero): Don't use BP_SYM.
34473         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34474         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34475         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34476         <bp-sym.h> and <bp-asm.h>.
34477         (__memchr): Don't use BP_SYM.
34478         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34479         <bp-sym.h> and <bp-asm.h>.
34480         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34481         pointers.
34482         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34483         <bp-sym.h> and <bp-asm.h>.
34484         (memcpy): Don't use BP_SYM.
34485         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34486         <bp-sym.h> and <bp-asm.h>.
34487         (__mempcpy): Don't use BP_SYM.
34488         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34489         <bp-sym.h> and <bp-asm.h>.
34490         (__memrchr): Don't use BP_SYM.
34491         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34492         <bp-sym.h> and <bp-asm.h>.
34493         (memset): Don't use BP_SYM.
34494         (__bzero): Likewise.
34495         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34496         <bp-sym.h> and <bp-asm.h>.
34497         (__rawmemchr): Don't use BP_SYM.
34498         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34499         <bp-sym.h> and <bp-asm.h>.
34500         (__STRCMP): Don't use BP_SYM.
34501         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34502         <bp-sym.h> and <bp-asm.h>.
34503         (strchr): Don't use BP_SYM.
34504         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34505         <bp-sym.h> and <bp-asm.h>.
34506         (__strchrnul): Don't use BP_SYM.
34507         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34508         <bp-sym.h> and <bp-asm.h>.
34509         (strlen): Don't use BP_SYM.
34510         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34511         <bp-sym.h> and <bp-asm.h>.
34512         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34513         pointers.
34514         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34515         <bp-sym.h> and <bp-asm.h>.
34516         (__strnlen): Don't use BP_SYM.
34517         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34518         <bp-sym.h> and <bp-asm.h>.
34519         (__GI__setjmp): Don't use BP_SYM.
34520         (_setjmp): Likewise.
34521         (__sigsetjmp): Likewise.
34522         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34523         (L(start_addresses)): Don't use BP_SYM.
34524         (_start): Likewise.
34525         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34526         <bp-asm.h>.
34527         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34528         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34529         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34530         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34531         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34532         <bp-asm.h>.
34533         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34534         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
34535         about bounded pointers.
34536         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34537         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34538         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34539         <bp-asm.h>.
34540         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34541         about bounded pointers.  Remove GKM FIXME comments.
34542         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34543         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34544         <bp-asm.h>.
34545         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34546         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
34547         Remove GKM FIXME comments.
34548         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34549         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34550         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34551         <bp-asm.h>.
34552         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34553         about bounded pointers.  Remove GKM FIXME comment.
34554         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34555         and <bp-asm.h>.
34556         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34557         pointers.
34558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34559         <bp-sym.h> and <bp-asm.h>.
34560         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34562         <bp-sym.h> and <bp-asm.h>.
34563         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34564         comment.
34566 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34568         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34569         call free(NULL).
34571 2013-03-05  David S. Miller  <davem@davemloft.net>
34573         * po/es.po: Update from translation team.
34575 2013-03-05  Andreas Jaeger  <aj@suse.de>
34577         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34578         <bits/mman-linux.h>.
34579         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34580         is fine.
34581         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34582         <bits/mman-linux.h> to end of file.
34583         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34584         is fine.
34585         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34586         <bits/mman-linux.h> to end of file.
34587         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34588         is fine.
34589         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34590         <bits/mman-linux.h> to end of file.
34592         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34593         (MCL_CURRENT, MCL_FUTURE): Define here.
34595 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34597         [BZ #15232]
34598         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34599         attribute_hidden.
34600         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34602 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34604         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34605         fourth parameter needed for rt_sigprocmask syscall.
34606         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34607         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34608         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34609         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34610         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34611         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34613 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
34615         [BZ #13550]
34616         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34617         comment about bounded pointers.
34618         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34619         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34621 2013-03-04  Andreas Jaeger  <aj@suse.de>
34623         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34624         common definitions.
34626         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34627         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34628         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34629         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34630         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34631         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34633 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34635         [BZ #15055]
34636         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34637         __ieee754_sqrl instead of __sqrl.
34639 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
34641         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34642         * sysdeps/powerpc/fpu_control.h: ... here.
34643         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34644         * sysdeps/powerpc/bits/fenvinline.h: ... here.
34645         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34646         * sysdeps/powerpc/bits/mathinline.h: ... here.
34648 2013-03-01  Roland McGrath  <roland@hack.frob.com>
34650         * elf/dl-hwcaps.c (_dl_important_hwcaps):
34651         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34652         to just [NEED_DL_SYSINFO_DSO].
34653         * elf/dl-support.c: Likewise.
34654         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34655         * elf/rtld.c (dl_main): Likewise.
34656         * elf/setup-vdso.h (setup_vdso): Likewise.
34657         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34658         * sysdeps/unix/sysv/linux/dl-sysdep.c
34659         (_dl_discover_osversion): Likewise.
34661 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
34663         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34664         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34666 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34668         * NEWS: Mention libm performance improvements and non-x86 PI
34669         futex support.
34671         * csu/libc-start.c (__pthread_initialize_minimal): Change
34672         function arguments.
34673         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34675 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
34677         [BZ #13550]
34678         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34679         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34680         <bp-sym.h> and <bp-asm.h>.
34681         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34682         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34683         and <bp-asm.h>.
34684         (memcpy): Don't use BP_SYM.
34685         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34686         <bp-asm.h>.
34687         (__mpn_add_n): Don't use BP_SYM.
34688         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34689         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34690         and <bp-asm.h>.
34691         (__mpn_addmul_1): Don't use BP_SYM.
34692         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34693         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34694         <bp-sym.h>.
34695         (_setjmp): Don't use BP_SYM.
34696         (__novmx_setjmp): Likewise.
34697         (__GI__setjmp): Likewise.
34698         (__vmx_setjmp): Likewise.
34699         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34700         <bp-sym.h>.
34701         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34702         (__bzero): Don't use BP_SYM.
34703         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34704         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34705         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34706         <bp-sym.h> and <bp-asm.h>.
34707         (memcpy): Don't use BP_SYM.
34708         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34709         <bp-sym.h> and <bp-asm.h>.
34710         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34711         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34712         <bp-sym.h> and <bp-asm.h>.
34713         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34714         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34715         <bp-asm.h>.
34716         (__mpn_lshift): Don't use BP_SYM.
34717         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34718         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34719         <bp-asm.h>.
34720         (memset): Don't use BP_SYM.
34721         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34722         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34723         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34724         <bp-asm.h>.
34725         (__mpn_mul_1): Don't use BP_SYM.
34726         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34727         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34728         <bp-sym.h> and <bp-asm.h>.
34729         (memcmp): Don't use BP_SYM.
34730         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34731         <bp-sym.h> and <bp-asm.h>.
34732         (memcpy): Don't use BP_SYM.
34733         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34734         <bp-sym.h> and <bp-asm.h>.
34735         (memset): Don't use BP_SYM.
34736         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34737         <bp-sym.h> and <bp-asm.h>.
34738         (strncmp): Don't use BP_SYM.
34739         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34740         <bp-sym.h> and <bp-asm.h>.
34741         (memcpy): Don't use BP_SYM.
34742         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34743         <bp-sym.h> and <bp-asm.h>.
34744         (memset): Don't use BP_SYM.
34745         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34746         <bp-sym.h> and <bp-asm.h>.
34747         (__memchr): Don't use BP_SYM.
34748         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34749         <bp-sym.h> and <bp-asm.h>.
34750         (memcmp): Don't use BP_SYM.
34751         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34752         <bp-sym.h> and <bp-asm.h>.
34753         (memcpy): Don't use BP_SYM.
34754         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34755         <bp-sym.h> and <bp-asm.h>.
34756         (__mempcpy): Don't use BP_SYM.
34757         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34758         <bp-sym.h> and <bp-asm.h>.
34759         (__memrchr): Don't use BP_SYM.
34760         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34761         <bp-sym.h> and <bp-asm.h>.
34762         (memset): Don't use BP_SYM.
34763         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34764         <bp-sym.h> and <bp-asm.h>.
34765         (__rawmemchr): Don't use BP_SYM.
34766         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34767         <bp-sym.h> and <bp-asm.h>.
34768         (__STRCMP): Don't use BP_SYM.
34769         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34770         <bp-sym.h> and <bp-asm.h>.
34771         (strchr): Don't use BP_SYM.
34772         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34773         <bp-sym.h> and <bp-asm.h>.
34774         (__strchrnul): Don't use BP_SYM.
34775         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34776         <bp-sym.h> and <bp-asm.h>.
34777         (strlen): Don't use BP_SYM.
34778         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34779         <bp-sym.h> and <bp-asm.h>.
34780         (strncmp): Don't use BP_SYM.
34781         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34782         <bp-sym.h> and <bp-asm.h>.
34783         (__strnlen): Don't use BP_SYM.
34784         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34785         <bp-asm.h>.
34786         (__mpn_rshift): Don't use BP_SYM.
34787         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34788         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34789         <bp-sym.h> and <bp-asm.h>.
34790         (__sigsetjmp): Don't use BP_SYM.
34791         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34792         (L(start_addresses)): Don't use BP_SYM.
34793         (_start): Likewise.
34794         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34795         <bp-asm.h>.
34796         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34797         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34798         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34799         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34800         <bp-asm.h>.
34801         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34802         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34803         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34804         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34805         <bp-asm.h>.
34806         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34807         comments.
34808         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34809         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34810         <bp-asm.h>.
34811         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
34812         FIXME comments.
34813         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34814         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34815         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34816         <bp-asm.h>.
34817         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34818         comment.
34819         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34820         and <bp-asm.h>.
34821         (strncmp): Don't use BP_SYM,
34822         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34823         <bp-asm.h>.
34824         (__mpn_sub_n): Don't use BP_SYM.
34825         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34826         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34827         and <bp-asm.h>.
34828         (__mpn_submul_1): Don't use BP_SYM.
34829         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34831         <bp-sym.h> and <bp-asm.h>.
34832         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34834         <bp-sym.h> and <bp-asm.h>.
34835         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34836         comment.
34838 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34840         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34841         Use ZK to minimize writes to Z.
34842         (sub_magnitudes): Simplify code a bit.
34843         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34844         Use ZK to minimize writes to Z.
34845         (sub_magnitudes): Simplify code a bit.
34847 2013-02-27  Roland McGrath  <roland@hack.frob.com>
34849         * csu/gmon-start.c: Add special exception to license text.
34851 2013-02-27  Richard Henderson  <rth@redhat.com>
34853         * scripts/config.guess: Update from config.git.
34854         * scripts/config.sub: Likewise.
34856 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34858         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34860         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34862         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34864         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34866         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34868 2013-02-26  Roland McGrath  <roland@hack.frob.com>
34870         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34871         [$(build-shared = yes].
34873 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34875         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34876         (__mul): Reduce iterations for calculating mantissa.
34878         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34879         MPTWO.
34880         (__mpranred): Likewise.
34882         [BZ #15160]
34883         * malloc/memusagestat.c (main): Draw graphs for heap and stack
34884         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34886 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
34888         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34889         Define __attribute__.
34891 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34893         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34894         unused.
34895         * posix/regex_internal.h (__attribute): Remove.
34896         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34897         (re_string_context_at): Likewise.
34898         (bitset_not): Use __attribute__ and mark function as possibly
34899         unused.
34900         (bitset_merge): Likewise.
34901         (bitset_mask): Likewise.
34902         (re_string_char_size_at): Likewise.
34903         (re_string_wchar_at): Likewise.
34904         (re_string_elem_size_at): Likewise.
34906 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34908         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34909         code.
34910         (cc32): Likewise.
34912         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34913         (__acr): Likewise.
34914         (__cpy): Likewise.
34915         (norm): Likewise.
34916         (denorm): Likewise.
34917         (__dbl_mp): Likewise.
34918         (add_magnitudes): Likewise.
34919         (sub_magnitudes): Likewise.
34920         (__mul): Likewise.
34921         (__inv): Likewise.
34923         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34924         style.
34926         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34927         style.
34929         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34930         code.
34932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34933         up changes with default code.
34934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34935         Likewise.
34937 2013-02-24  Allan McRae  <allan@archlinux.org>
34939         * manual/socket.texi (The Internet Namespace): Order menu items
34940         to match that in the file.
34942         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34943         node listing of the info page menu.
34945 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
34947         [BZ #13550]
34948         * sysdeps/i386/bp-asm.h: Remove file.
34949         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34950         (PARMS): Do not use macros from bp-asm.h.
34951         (S1): Likewise.
34952         (S2): Likewise.
34953         (SIZE): Likewise.
34954         (__mpn_add_n): Do not use BP_SYM
34955         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34956         "bp-asm.h".
34957         (PARMS): Do not use macros from bp-asm.h.
34958         (S1): Likewise.
34959         (SIZE): Likewise.
34960         (__mpn_addmul_1): Do not use BP_SYM
34961         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34962         "bp-asm.h".
34963         (PARMS): Do not use macros from bp-asm.h.
34964         (SIGMSK): Likewise.
34965         (_setjmp): Likewise.  Do not use BP_SYM.
34966         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34967         "bp-asm.h".
34968         (PARMS): Do not use macros from bp-asm.h.
34969         (SIGMSK): Likewise.
34970         (setjmp): Likewise.  Do not use BP_SYM.
34971         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34972         "bp-asm.h".
34973         (PARMS): Do not use macros from bp-asm.h.
34974         (__frexp): Do not use BP_SYM.
34975         (frexp): Likewise.
34976         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34977         "bp-asm.h".
34978         (PARMS): Do not use macros from bp-asm.h.
34979         (__frexpf): Do not use BP_SYM.
34980         (frexpf): Likewise.
34981         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34982         "bp-asm.h".
34983         (PARMS): Do not use macros from bp-asm.h.
34984         (__frexpl): Do not use BP_SYM.
34985         (frexpl): Likewise.
34986         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34987         "bp-asm.h".
34988         (PARMS): Do not use macros from bp-asm.h.
34989         (__remquo): Do not use BP_SYM.
34990         (remquo): Likewise.
34991         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34992         "bp-asm.h".
34993         (PARMS): Do not use macros from bp-asm.h.
34994         (__remquof): Do not use BP_SYM.
34995         (remquof): Likewise.
34996         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34997         "bp-asm.h".
34998         (PARMS): Do not use macros from bp-asm.h.
34999         (__remquol): Do not use BP_SYM.
35000         (remquol): Likewise.
35001         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35002         "bp-asm.h".
35003         (PARMS): Do not use macros from bp-asm.h.
35004         (DEST): Likewise.
35005         (SRC): Likewise.
35006         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
35007         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35008         "bp-asm.h".
35009         (PARMS): Do not use macros from bp-asm.h.
35010         (strlen): Do not use BP_SYM.
35011         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35012         "bp-asm.h".
35013         (PARMS): Do not use macros from bp-asm.h.
35014         (S1): Likewise.
35015         (S2): Likewise.
35016         (SIZE): Likewise.
35017         (__mpn_add_n): Do not use BP_SYM.
35018         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35019         "bp-asm.h".
35020         (PARMS): Do not use macros from bp-asm.h.
35021         (S1): Likewise.
35022         (SIZE): Likewise.
35023         (__mpn_addmul_1): Do not use BP_SYM.
35024         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35025         weak_alias.
35026         (bzero): Likewise.
35027         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35028         "bp-asm.h".
35029         (PARMS): Do not use macros from bp-asm.h.
35030         (S): Likewise.
35031         (SIZE): Likewise.
35032         (__mpn_lshift): Do not use BP_SYM.
35033         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35034         "bp-asm.h".
35035         (PARMS): Do not use macros from bp-asm.h.
35036         (DEST): Likewise.
35037         (SRC): Likewise.
35038         (LEN): Likewise.
35039         (memcpy): Likewise.  Do not use BP_SYM.
35040         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35041         libc_hidden_def and weak_alias.
35042         (mempcpy): Do not use BP_SYM in weak_alias.
35043         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35044         "bp-asm.h".
35045         (PARMS): Do not use macros from bp-asm.h.
35046         (DEST): Likewise.
35047         (LEN): Likewise.
35048         [!BZERO_P] (CHR): Likewise.
35049         (memset): Likewise.  Do not use BP_SYM.
35050         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35051         "bp-asm.h".
35052         (PARMS): Do not use macros from bp-asm.h.
35053         (S1): Likewise.
35054         (SIZE): Likewise.
35055         (__mpn_mul_1): Do not use BP_SYM.
35056         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35057         "bp-asm.h".
35058         (PARMS): Do not use macros from bp-asm.h.
35059         (S): Likewise.
35060         (SIZE): Likewise.
35061         (__mpn_rshift): Do not use BP_SYM.
35062         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35063         "bp-asm.h".
35064         (PARMS): Do not use macros from bp-asm.h.
35065         (STR): Likewise.
35066         (CHR): Likewise.
35067         (strchr): Likewise.  Do not use BP_SYM.
35068         (index): Do not use BP_SYM in weak_alias.
35069         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35070         "bp-asm.h".
35071         (PARMS): Do not use macros from bp-asm.h.
35072         (DEST): Likewise.
35073         (SRC): Likewise.
35074         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
35075         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35076         "bp-asm.h".
35077         (PARMS): Do not use macros from bp-asm.h.
35078         (strlen): Do not use BP_SYM.
35079         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35080         "bp-asm.h".
35081         (PARMS): Do not use macros from bp-asm.h.
35082         (S1): Likewise.
35083         (S2): Likewise.
35084         (SIZE): Likewise.
35085         (__mpn_sub_n): Do not use BP_SYM.
35086         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35087         "bp-asm.h".
35088         (PARMS): Do not use macros from bp-asm.h.
35089         (S1): Likewise.
35090         (SIZE): Likewise.
35091         (__mpn_submul_1): Do not use BP_SYM.
35092         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35093         "bp-asm.h".
35094         (PARMS): Do not use macros from bp-asm.h.
35095         (S1): Likewise.
35096         (S2): Likewise.
35097         (SIZE): Likewise.
35098         (__mpn_add_n): Do not use BP_SYM.
35099         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35100         weak_alias.
35101         (bzero): Likewise.
35102         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35103         "bp-asm.h".
35104         (PARMS): Do not use macros from bp-asm.h.
35105         (BLK2): Likewise.
35106         (LEN): Likewise.
35107         (memcmp): Do not use BP_SYM.
35108         (bcmp): Do not use BP_SYM in weak_alias.
35109         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35110         "bp-asm.h".
35111         (PARMS): Do not use macros from bp-asm.h.
35112         (DEST): Likewise.
35113         (SRC): Likewise.
35114         (LEN): Likewise.
35115         (memcpy): Likewise.  Do not use BP_SYM.
35116         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35117         "bp-asm.h".
35118         (PARMS): Do not use macros from bp-asm.h.
35119         (DEST): Likewise.
35120         (SRC): Likewise.
35121         (LEN): Likewise.
35122         (memmove): Likewise.  Do not use BP_SYM.
35123         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35124         "bp-asm.h".
35125         (PARMS): Do not use macros from bp-asm.h.
35126         (DEST): Likewise.
35127         (SRC): Likewise.
35128         (LEN): Likewise.
35129         (__mempcpy): Likewise.  Do not use BP_SYM.
35130         (mempcpy): Do not use BP_SYM in weak_alias.
35131         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35132         "bp-asm.h".
35133         (PARMS): Do not use macros from bp-asm.h.
35134         (DEST): Likewise.
35135         (LEN): Likewise.
35136         [!BZERO_P] (CHR): Likewise.
35137         (memset): Likewise.  Do not use BP_SYM.
35138         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35139         "bp-asm.h".
35140         (PARMS): Do not use macros from bp-asm.h.
35141         (STR2): Likewise.
35142         (strcmp): Do not use BP_SYM.
35143         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35144         "bp-asm.h".
35145         (PARMS): Do not use macros from bp-asm.h.
35146         (STR): Likewise.
35147         (DELIM): Likewise.
35148         [USE_AS_STRTOK_R] (SAVE): Likewise.
35149         (FUNCTION): Likewise.  Do not use BP_SYM.
35150         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35151         aliases.
35152         (strtok_r): Likewise.
35153         (__GI___strtok_r): Likewise.
35154         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35155         (PARMS): Do not use macros from bp-asm.h.
35156         (S): Likewise.
35157         (SIZE): Likewise.
35158         (__mpn_lshift): Do not use BP_SYM.
35159         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35160         (PARMS): Do not use macros from bp-asm.h.
35161         (STR): Likewise.
35162         (CHR): Likewise.
35163         (__memchr): Do not use BP_SYM.
35164         (memchr): Do not use BP_SYM in weak_alias.
35165         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35166         (PARMS): Do not use macros from bp-asm.h.
35167         (BLK2): Likewise.
35168         (LEN): Likewise.
35169         (memcmp): Do not use BP_SYM.
35170         (bcmp): Do not use BP_SYM in weak_alias.
35171         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35172         (PARMS): Do not use macros from bp-asm.h.
35173         (S1): Likewise.
35174         (SIZE): Likewise.
35175         (__mpn_mul_1): Do not use BP_SYM.
35176         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35177         "bp-asm.h".
35178         (PARMS): Do not use macros from bp-asm.h.
35179         (STR): Likewise.
35180         (CHR): Likewise.
35181         (__rawmemchr): Do not use BP_SYM.
35182         (rawmemchr): Do not use BP_SYM in weak_alias.
35183         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35184         (PARMS): Do not use macros from bp-asm.h.
35185         (S): Likewise.
35186         (SIZE): Likewise.
35187         (__mpn_rshift): Do not use BP_SYM.
35188         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35189         (PARMS): Do not use macros from bp-asm.h.
35190         (SIGMSK): Likewise.
35191         (__sigsetjmp): Likewise.  Do not use BP_SYM.
35192         * sysdeps/i386/start.S: Do not include "bp-sym.h".
35193         (_start): Do not use BP_SYM.
35194         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35195         (PARMS): Do not use macros from bp-asm.h.
35196         (DEST): Likewise.
35197         (SRC): Likewise.
35198         (__stpcpy): Likewise.  Do not use BP_SYM.
35199         (stpcpy): Do not use BP_SYM in weak_alias.
35200         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35201         "bp-asm.h".
35202         (PARMS): Do not use macros from bp-asm.h.
35203         (DEST): Likewise.
35204         (SRC): Likewise.
35205         (LEN): Likewise.
35206         (__stpncpy): Likewise.  Do not use BP_SYM.
35207         (stpncpy): Do not use BP_SYM in weak_alias.
35208         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35209         (PARMS): Do not use macros from bp-asm.h.
35210         (STR): Likewise.
35211         (CHR): Likewise.
35212         (strchr): Likewise.  Do not use BP_SYM.
35213         * sysdeps/i386/strchrnul.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         (CHR): Likewise.
35218         (__strchrnul): Likewise.  Do not use BP_SYM.
35219         (strchrnul): Do not use BP_SYM in weak_alias.
35220         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35221         "bp-asm.h".
35222         (PARMS): Do not use macros from bp-asm.h.
35223         (STOP): Likewise.
35224         (strcspn): Do not use BP_SYM.
35225         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35226         "bp-asm.h".
35227         (PARMS): Do not use macros from bp-asm.h.
35228         (STR): Likewise.
35229         (STOP): Likewise.
35230         (strpbrk): Likewise.  Do not use BP_SYM.
35231         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35232         "bp-asm.h".
35233         (PARMS): Do not use macros from bp-asm.h.
35234         (STR): Likewise.
35235         (CHR): Likewise.
35236         (strrchr): Likewise.  Do not use BP_SYM.
35237         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35238         (PARMS): Do not use macros from bp-asm.h.
35239         (SKIP): Likewise.
35240         (strspn): Do not use BP_SYM.
35241         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35242         (PARMS): Do not use macros from bp-asm.h.
35243         (STR): Likewise.
35244         (DELIM): Likewise.
35245         (SAVE): Likewise.
35246         (FUNCTION): Likewise.  Do not use BP_SYM.
35247         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35248         aliases.
35249         (strtok_r): Likewise.
35250         (__GI___strtok_r): Likewise.
35251         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35252         (PARMS): Do not use macros from bp-asm.h.
35253         (S1): Likewise.
35254         (S2): Likewise.
35255         (SIZE): Likewise.
35256         (__mpn_sub_n): Do not use BP_SYM.
35257         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35258         "bp-asm.h".
35259         (PARMS): Do not use macros from bp-asm.h.
35260         (S1): Likewise.
35261         (SIZE): Likewise.
35262         (__mpn_submul_1): Do not use BP_SYM.
35263         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35264         <bp-sym.h>.
35265         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35266         and <bp-asm.h>.
35267         (PARMS): Do not use macros from bp-asm.h.
35268         (FLAGS): Likewise.
35269         (PTID): Likewise.
35270         (TLS): Likewise.
35271         (CTID): Likewise.
35272         (__clone): Do not use BP_SYM.
35273         (clone): Do not use BP_SYM in weak_alias.
35274         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35275         and <bp-asm.h>.
35276         (PARMS): Do not use macros from bp-asm.h.
35277         (LEN): Likewise.
35278         (__mmap64): Do not use BP_SYM.
35279         (mmap64): Do not use BP_SYM in weak_alias.
35280         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35281         <bp-sym.h> and <bp-asm.h>.
35282         (PARMS): Do not use macros from bp-asm.h.
35283         (__posix_fadvise64_l64): Do not use BP_SYM.
35284         * sysdeps/unix/sysv/linux/i386/semtimedop.S
35285         (PARMS): Do not use macros from bp-asm.h.
35286         (NSOPS): Likewise.
35287         (semtimedop): Do not use BP_SYM.
35288         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35289         and <bp-asm.h>.
35291 2013-02-21  Allan McRae  <allan@archlinux.org>
35293         * manual/message.texi (Charset conversion in gettext):
35294         Move @end statement to beginning of line.
35296 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35299         static.
35300         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35301         Likewise.
35303         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35304         (denorm): Likewise.
35305         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35308 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35310         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35311         tail-call to the resolved function if pltexit isn't needed.
35313 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35316         or Y being zero as being unlikely.
35317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35318         Likewise.
35320 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
35322         * manual/nss.texi (System Databases and Name Service Switch):
35323         Remove frobnicate @pxref.
35325 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35327         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35328         __attribute__ ((unused)) to __attribute__ ((__unused__)).
35330 2013-02-20  Petr Machata  <pmachata@redhat.com>
35332         * elf/elf.h (R_ARM_TARGET1): New macro.
35333         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35334         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35335         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35336         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35337         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35338         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35339         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35340         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35341         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35342         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35343         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35344         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35345         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35346         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35347         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35348         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35349         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35350         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35351         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35352         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35353         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35354         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35355         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35356         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35357         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35358         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35359         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35360         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35361         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35362         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35363         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35364         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35365         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35366         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35367         (R_ARM_THM_GOT_BREL12): Likewise.
35368         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35369         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35370         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35371         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35372         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35373         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35374         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35375         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35376         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35378 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35380         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35381         __attribute_used__ to __attribute__ ((unused)).
35383 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35385         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35386         powerpc mpa.c.
35387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35388         comment formatting.
35389         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35391 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
35393         [BZ #13550]
35394         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35395         Remove macro.
35396         (ENTER): Remove both macro definitions.
35397         (LEAVE): Likewise.
35398         (CHECK_BOUNDS_LOW): Likewise.
35399         (CHECK_BOUNDS_HIGH): Likewise.
35400         (CHECK_BOUNDS_BOTH): Likewise.
35401         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35402         (RETURN_BOUNDED_POINTER): Likewise.
35403         (RETURN_NULL_BOUNDED_POINTER): Likewise.
35404         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35405         (POP_ERRNO_LOCATION_RETURN): Likewise.
35406         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35407         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35408         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35409         macros.
35410         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35411         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35412         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35413         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35414         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35415         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35416         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35417         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35418         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35419         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35420         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35421         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35422         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35423         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35424         removed macros.
35425         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35426         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35427         macros.
35428         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35429         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35430         * sysdeps/i386/i586/memset.S (memset): Likewise.
35431         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35432         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35433         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35434         macros.
35435         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35436         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35437         Change uses of L(2) to L(out).
35438         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35439         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35440         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35441         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35442         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35443         removed macros.
35444         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35445         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35446         macros.
35447         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35448         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35449         (RETURN): Do not use macro LEAVE.
35450         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35451         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35452         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35453         * sysdeps/i386/i686/memset.S (memset): Likewise.
35454         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35455         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35456         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35457         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35458         Likewise.
35459         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35460         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
35461         L(1_2) and L(1_3) into L(1).
35462         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35463         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35464         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35465         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35466         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35467         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35468         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35469         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35470         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35471         macros.
35472         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35473         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35474         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35475         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35476         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35477         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35478         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35479         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35480         * sysdeps/i386/strcspn.S (strcspn): Likewise.
35481         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35482         * sysdeps/i386/strrchr.S (strrchr): Likewise.
35483         * sysdeps/i386/strspn.S (strspn): Likewise.
35484         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35485         conditional code.
35486         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35487         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35488         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35489         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
35490         L(1_3) into L(1_1).
35491         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35492         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35493         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35494         macros.
35495         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35497 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
35499         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35500         macro.
35502 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35504         * math/atest-exp.c (exp_mpn): Remove ROUND.
35505         * math/atest-exp2.c (exp_mpn): Likewise.
35506         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35508         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35509         * stdlib/tst-tls-atexit-lib.c: Likewise.
35510         * stdlib/tst-tls-atexit.c: Likewise.
35512 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35514         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35515         and __attribute_alloc_size__.
35517 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35519         * include/programs/xmalloc.h: Change __attribute_alloc_size to
35520         __attribute_alloc_size__.
35521         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35522         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35524 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35526         * include/programs/xmalloc.h: New file.
35527         * catgets/gencat.c: Include it.
35528         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35529         * elf/pldd.c: Likewise.
35530         * iconv/iconv_charmap.c: Likewise.
35531         * iconv/iconvconfig.c: Likewise.
35532         * iconv/strtab.c: Likewise.
35533         * locale/programs/locale.c: Likewise.
35534         * locale/programs/localedef.h: Likewise.
35535         * locale/programs/simple-hash.c: Likewise.
35536         * nscd/nscd.h: Likewise.
35537         * nss/makedb.c: Likewise.
35538         * sysdeps/generic/ldconfig.h: Likewise.
35540 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35542         * Versions.def: Add GLIBC_2.18.
35543         * include/link.h (struct link_map): New member l_tls_dtor_count.
35544         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35545         (__call_tls_dtors): Likewise.
35546         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35547         __cxa_thread_atexit_impl.
35548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35549         Likewise.
35550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35551         Likewise.
35552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35553         Likewise.
35554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35555         Likewise.
35556         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35558         Likewise.
35559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35560         Likewise.
35561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35563         Likewise.
35564         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35565         (tests): Add test case tst-tls-atexit.
35566         (modules-names): Add shared library for tst-tls-atexit.
35567         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35568         (GLIBC_PRIVATE): Add __call_tls_dtors.
35569         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35570         for libstdc++.
35571         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35572         * stdlib/tst-tls-atexit.c: New test case.
35573         * stdlib/tst-tls-atexit-lib.c: New test case.
35575         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35577         * elf/Versions (ld): Add _dl_find_dso_for_object.
35578         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35579         * elf/dl-open.c (_dl_find_dso_for_object): New function.
35580         (dl_open_worker): Use _dl_find_dso_for_object.
35581         * elf/dl-sym.c (do_sym): Likewise.
35582         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35584 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35586         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35587         Syntactic changes only.
35588         (_dl_runtime_profile): Do a tail-call to the resolved function.
35590 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
35592         [BZ #13550]
35593         * sysdeps/x86_64/bp-asm.h: Remove file.
35594         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35595         <bp-sym.h> and <bp-asm.h>.
35596         (__clone): Do not use BP_SYM.
35597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35598         <bp-sym.h> and <bp-asm.h>.
35599         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35600         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35601         "bp-asm.h".
35602         (_setjmp): Do not use BP_SYM.
35603         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35604         "bp-asm.h".
35605         (setjmp): Do not use BP_SYM.
35606         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35607         libc_hidden_def.
35608         (mempcpy): Do not use BP_SYM in weak_alias.
35609         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35610         "bp-asm.h".
35611         (strchr): Do not use BP_SYM.
35612         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35613         "bp-asm.h".
35614         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35615         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35616         (_start): Do not use BP_SYM.
35617         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35618         "bp-asm.h".
35619         (strcat): Do not use BP_SYM.
35620         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35621         "bp-asm.h".
35622         (STRCMP): Do not use BP_SYM.
35623         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35624         "bp-asm.h".
35625         (STRCPY): Do not use BP_SYM.
35626         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35627         "bp-asm.h".
35628         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35629         "bp-asm.h".
35630         (FUNCTION): Do not use BP_SYM.
35631         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35632         weak_alias.
35633         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35635 2013-02-17  Andreas Jaeger  <aj@suse.de>
35637         * time/Versions: Sort entries.
35638         * string/Versions: Likewise.
35639         * resolv/Versions: Likewise.
35640         * posix/Versions: Likewise.
35641         * iconv/Versions: Likewise.
35642         * elf/Versions: Likewise.
35643         * wcsmbs/Versions: Likewise.
35645 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35647         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35648         loop termination condition.
35650         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35651         variable to calculate EZ.
35652         (__sqr): Likewise.
35654         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35655         the lower precision input.
35657 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
35659         [BZ #13550]
35660         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35661         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35662         (run-via-rtld-prefix): Do not handle %-bp tests.
35663         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35664         (all-object-suffixes): Remove .ob.
35665         (bppfx): Remove variable.
35666         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35667         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35668         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35669         [$(build-bounded) = yes] (libtype.ob): Likewise.
35670         * Makerules (elide-routines.ob): Remove variable.
35671         (do-tests-clean): Do not handle *-bp.out.
35672         (common-mostlyclean): Do not handle *-bp and *-bp.out.
35673         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35674         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35675         (tests): Do not include $(tests-bp.out).
35676         (xtests): Do not include $(xtests-bp.out).
35677         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35678         [$(build-bounded) = yes] ($(addprefix
35679         $(objpfx),$(binaries-bounded))): Remove rule.
35680         ($(objpfx)%-bp.out): Remove rule.
35681         * config.make.in (build-bounded): Remove variable.
35682         * crypt/Makefile [$(build-bounded) = yes]
35683         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35684         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35685         append to variable.
35686         [$(build-bounded) = yes] (install-lib): Likewise.
35687         [$(build-bounded) = yes] (generated): Likewise.
35688         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35689         Remove rule.
35690         * intl/Makefile [$(build-bounded) = yes]
35691         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35692         * math/Makefile [$(build-bounded) = yes]
35693         ($(tests:%=$(objpfx)%-bp): Likewise.
35694         * misc/Makefile [$(build-bounded) = yes]
35695         ($(objpfx)tst-tsearch-bp): Likewise.
35696         * nptl/Makeconfig (bounded-thread-library): Remove variable.
35697         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35698         Remove dependency.
35699         * string/Makefile (o-objects.ob): Remove variable.
35700         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35701         (CFLAGS-.ob): Remove variable.
35702         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35703         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35704         both definitions of variable.
35705         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35706         (ASFLAGS-.ob): Remove variable.
35708 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
35710         [BZ #13550]
35711         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35712         Remove __BOUNDED_POINTERS__ from condition.
35713         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35714         * string/bits/string2.h [!__NO_STRING_INLINES &&
35715         !__BOUNDED_POINTERS__]: Likewise.
35716         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35717         Likewise.
35718         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35719         Remove conditional code.
35720         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35721         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35722         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35723         condition.
35725         [BZ #13550]
35726         * csu/libc-start.c: Do not include <bp-sym.h>.
35727         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35728         * elf/dl-open.c: Do not include <bp-sym.h>.
35729         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35730         * math/fegetenv.c: Do not include <bp-sym.h>.
35731         (fegetenv): Do not use BP_SYM in versioned symbols.
35732         * nptl/sysdeps/pthread/bits/libc-lockP.h
35733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35734         <bp-sym.h>.
35735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35736         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35738         (__pthread_mutex_destroy): Likewise.
35739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35740         (__pthread_mutex_lock): Likewise.
35741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35742         (__pthread_mutex_trylock): Likewise.
35743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35744         (__pthread_mutex_unlock): Likewise.
35745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35746         (__pthread_mutexattr_init): Likewise.
35747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35748         (__pthread_mutexattr_destroy): Likewise.
35749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35750         (__pthread_mutexattr_settype): Likewise.
35751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35752         (__pthread_rwlock_init): Likewise.
35753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35754         (__pthread_rwlock_destroy): Likewise.
35755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35756         (__pthread_rwlock_rdlock): Likewise.
35757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35758         (__pthread_rwlock_tryrdlock): Likewise.
35759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35760         (__pthread_rwlock_wrlock): Likewise.
35761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35762         (__pthread_rwlock_trywrlock): Likewise.
35763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35764         (__pthread_rwlock_unlock): Likewise.
35765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35766         (__pthread_key_create): Likewise.
35767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35768         (__pthread_setspecific): Likewise.
35769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35770         (__pthread_getspecific): Likewise.
35771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35772         Likewise.
35773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35774         (_pthread_cleanup_push_defer): Likewise.
35775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35776         (_pthread_cleanup_pop_restore): Likewise.
35777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35778         (pthread_setcancelstate): Likewise.
35779         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35780         <bp-sym.h>.
35781         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35782         (memchr): Do not use BP_SYM in weak_alias.
35783         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35784         (fegetenv): Do not use BP_SYM in versioned symbols.
35785         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35786         (fesetenv): Do not use BP_SYM in versioned symbols.
35787         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35788         (feupdateenv): Do not use BP_SYM in versioned symbols.
35789         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35790         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35791         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35792         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35793         (open64): Do not use BP_SYM in weak_alias.
35794         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35795         (fegetenv): Do not use BP_SYM in versioned symbols.
35796         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35797         (fesetenv): Do not use BP_SYM in versioned symbols.
35798         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35799         (feupdateenv): Do not use BP_SYM in versioned symbols.
35800         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35801         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35802         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35803         (feraiseexcept): Do not use BP_SYM in versioned symbols.
35804         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35805         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35806         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35807         <bp-sym.h>.
35808         (__libc_start_main): Do not use BP_SYM.
35810 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35813         redundant return line.
35814         (norm): Likewise.
35815         (denorm): Likewise.
35816         (dbl_mp): Likewise.
35817         (sub_magnitudes): Likewise.
35818         (__add): Likewise.
35819         (__sub): Likewise.
35820         (__mul): Likewise.
35821         (__inv): Likewise.
35822         (__dvd): Likewise.
35823         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35824         (norm): Likewise.
35825         (denorm): Likewise.
35826         (dbl_mp): Likewise.
35827         (sub_magnitudes): Likewise.
35828         (__add): Likewise.
35829         (__sub): Likewise.
35830         (__mul): Likewise.
35831         (__inv): Likewise.
35832         (__dvd): Likewise.
35834         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35835         instead of __mul.
35836         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35837         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35838         (cc32): Likewise.
35840         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35841         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35842         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35843         of __mul for squares.
35844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35845         function
35846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35847         Likewise.
35848         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35849         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35851 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
35853         [BZ #13550]
35854         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35855         code.
35856         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35857         prototype or function definition.  Rename ubp_* variables and
35858         parameters.  Remove argv definitions conditional on
35859         [__BOUNDED_POINTERS__].
35860         * debug/backtrace.c (__backtrace): Do not use __unbounded.
35861         * elf/dl-runtime.c (_dl_fixup): Likewise.
35862         * include/set-hooks.h (RUN_HOOK): Likewise.
35863         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35864         definition.
35865         * string/strcpy.c (strcpy): Do not use __unbounded.
35866         * sysdeps/generic/frame.h (struct layout): Likewise.
35867         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35868         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35869         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35870         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35871         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35872         (__backtrace): Likewise.
35873         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35874         use __ptrvalue.
35875         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35876         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35877         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35878         Likewise.
35879         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35880         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35881         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35882         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35883         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35884         Do not use __unbounded.
35885         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35886         Rename __unboundedrlimits parameter to rlimits in prototype.
35887         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35888         Do not use __unbounded.
35889         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35890         not use __ptrvalue.
35891         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35892         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35893         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35894         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35895         __ptrvalue or __unbounded.
35896         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35897         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35898         use __unbounded.
35899         (__new_msgctl): Do not use __ptrvalue.
35900         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35901         __unbounded.
35902         (__libc_msgrcv): Do not use __ptrvalue.
35903         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35904         startup_info): Do not use __unbounded.
35905         (__libc_start_main): Likewise.  Rename ubp_* variables and
35906         parameters.  Remove argv definitions conditional on
35907         [__BOUNDED_POINTERS__].
35908         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35909         __ptrvalue.
35910         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35911         use __unbounded.
35912         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35913         or __ptrvalue.
35914         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35915         use __unbounded.
35916         (__new_shmctl): Do not use __ptrvalue.
35917         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35918         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35919         Likewise.
35920         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35921         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35922         (__libc_sigaction): Likewise.
35923         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35924         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35925         Likewise.
35926         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35928 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
35930         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35932         * string/mempcpy.c: Implement by calling memcpy.
35934 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35936         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35938         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35939         evaluation.
35941         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35942         values in the mantissa.
35944         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35945         minimize writes to Z.
35946         (sub_magnitudes): Simplify code a bit.
35948 2013-02-12  Roland McGrath  <roland@hack.frob.com>
35950         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35951         from the message.  The linker prefixes all warnings with that already.
35953 2013-02-12  Andreas Schwab  <schwab@suse.de>
35955         [BZ #15078]
35956         * posix/regexec.c (extend_buffers): Add parameter min_len.
35957         (check_matching): Pass minimum needed length.
35958         (clean_state_log_if_needed): Likewise.
35959         (get_subexp): Likewise.
35960         * posix/Makefile (tests): Add bug-regex34.
35961         (bug-regex34-ENV): Define.
35962         * posix/bug-regex34.c: New file.
35964         [BZ #11561]
35965         * posix/regcomp.c (parse_bracket_exp): When looking up collating
35966         elements compare against the byte sequence of it, not its name.
35967         * posix/Makefile (tests): Add bug-regex35.
35968         (bug-regex35-ENV): Define.
35969         * posix/bug-regex35.c: New file.
35971 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35973         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
35974         comment.
35975         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35976         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35977         (CHECK_EOL): Add undef.
35979 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
35981         * bits/stdlib-bsearch.h: New file.
35982         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35983         * stdlib/stdlib.h: Likewise.
35985 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35987         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35988         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35989         declaration.
35990         * manual/search.texi (Array Search Function): Add missing const in
35991         lfind prototype.
35992         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35993         declaration to use rlim_t.
35994         (Basic Scheduling Functions): Remove erroneous const from
35995         sched_getparam prototype.  Remove erroneous * from
35996         sched_get_priority_max and sched_get_priority_min prototypes.
35997         (Resource Usage): Fix summary @comment on vtimes to refer to
35998         sys/vtimes.h rather than vtimes.h.
35999         Add missing *s in vtimes prototype.
36000         (Limits on Resources): Fix ulimit prototype to return long int.
36001         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36002         prototypes to use long int rather than double.
36003         (BSD Random): Fix initstate and setstate to use char *, not void *.
36004         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36005         prototype to make second argument 'struct aiocb64 *const[]'.
36006         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36007         (Status of AIO Operations): Remove erroneous const in aio_return and
36008         aio_return64 prototypes.
36009         (Synchronizing I/O): Fix sync prototype to return void.
36010         * manual/startup.texi (Suboptions): Remove an erroneous const in
36011         getsubopt prototype.
36012         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36013         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36014         use size_t rather than int.
36015         (Scanning All Users): Likewise for getpwent_r.
36016         (Setting Groups): Add missing const to setgroups prototype.
36017         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36018         * manual/socket.texi (Host Names): Fix gethostbyaddr and
36019         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36020         'const void *' rather than 'const char *'.
36021         (Host Address Functions): Likewise for inet_ntop.
36022         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36023         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36024         ssize_t for return value.
36025         (Sending Data): Likewise for send, sendto, sendmsg.
36026         (Socket Option Functions): Add a missing const in setsockopt prototype.
36027         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36028         use wchar_t for the argument.
36029         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36030         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36031         take no arguments.
36032         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36033         double/float/long double for second argument.
36034         Fix return types of significand, significandf, significandl.
36035         * manual/filesys.texi (Setting Permissions): Use mode_t for second
36036         argument in fchmod prototype.
36037         (File Owner): Use uid_t and gid_t in fchown prototype.
36038         (File Times): Add const to utimes, futimes, and lutimes prototypes.
36039         (Making Special Files): Use mode_t and dev_t in mknod prototype.
36040         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36041         use 'const struct dirent **' as argument types to CMP function pointer
36042         argument.
36043         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36044         (File Times): Fix summary magic @comment for struct utimbuf and utime
36045         to refer to utime.h, not time.h.
36046         * manual/string.texi (Argz Functions): Add missing const in
36047         argz_extract and argz_next prototypes.
36048         (Finding Tokens in a String): Likewise for basename.
36049         (String/Array Comparison): Fix typo in wcscasecmp prototype.
36050         (Copying and Concatenation): Fix typo in wmemmove prototype.
36051         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36052         (Signal Stack): Remove erroneous const in sigstack prototype.
36053         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36054         prototype.
36055         (Simple Calendar Time): Likewise for stime.
36056         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36057         prototype.
36058         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36059         say sys/sysctl.h instead.
36060         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36061         and vsyslog prototypes.
36063 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36065         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36066         Remove.
36068 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36070         * misc/sys/mman.h: Fix typo in mremap comment.
36072 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36074         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36075         the '\0' terminator.
36077 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36079         [BZ #13550]
36080         * debug/segfault.c: Don't include <bp-checks.h>.
36081         * sysdeps/generic/bp-checks.h: Remove file.
36082         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36083         (__GETDENTS): Don't use CHECK_N.
36084         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36085         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36086         (__getgroups): Don't use CHECK_N.
36087         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36088         (setgroups): Don't use CHECK_N.
36089         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36090         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36091         (__libc_msgrcv): Don't use CHECK_N.
36092         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36093         (__libc_msgsnd): Don't use CHECK_N.
36094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36095         <bp-checks.h>.
36096         (__libc_pread): Don't use CHECK_N.
36097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36098         include <bp-checks.h>.
36099         (__libc_pread64): Don't use CHECK_N.
36100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36101         include <bp-checks.h>.
36102         (__libc_pwrite): Don't use CHECK_N.
36103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36104         include <bp-checks.h>.
36105         (__libc_pwrite64): Don't use CHECK_N.
36106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36107         <bp-checks.h>.
36108         (__libc_pread): Don't use CHECK_N.
36109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36110         include <bp-checks.h>.
36111         (__libc_pread64): Don't use CHECK_N.
36112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36113         include <bp-checks.h>.
36114         (__libc_pwrite): Don't use CHECK_N.
36115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36116         include <bp-checks.h>.
36117         (__libc_pwrite64): Don't use CHECK_N.
36118         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36119         (do_pread): Don't use CHECK_N.
36120         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36121         (do_pread64): Don't use CHECK_N.
36122         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36123         (do_pwrite): Don't use CHECK_N.
36124         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36125         (do_pwrite64): Don't use CHECK_N.
36126         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36127         (__libc_readv): Don't use CHECK_N.
36128         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36129         (semop): Don't use CHECK_N.
36130         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36131         <bp-checks.h>.
36132         (semtimedop): Don't use CHECK_N.
36133         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36134         (__libc_pread): Don't use CHECK_N.
36135         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36136         <bp-checks.h>.
36137         (__libc_pread64): Don't use CHECK_N.
36138         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36139         <bp-checks.h>.
36140         (__libc_pwrite): Don't use CHECK_N.
36141         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36142         <bp-checks.h>.
36143         (__libc_pwrite64): Don't use CHECK_N.
36144         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36145         <bp-checks.h>.
36146         (__libc_msgrcv): Don't use CHECK_N.
36147         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36148         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
36149         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36150         (__libc_writev): Don't use CHECK_N.
36152 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36154         * string/strcpy.c: Removed unused variable.
36156         * Makeconfig (+sysdep-includes): Define with := rather than =.
36157         Use an existing include/ subdir of each sysdeps dir before it.
36159 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36161         * nscd/connection.c (register_traced_file): Comment function.
36162         [HAVE_INOTIFY] (union __inev): Define.
36163         [HAVE_INOTIFY] (inotify_check_files): New function.
36164         [HAVE_INOTIFY] (clear_db_cache): Likewise.
36165         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36166         clear_db_cache.
36167         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36169 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36171         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36172         loaded if not already and that a failure is permanent.
36174 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36176         [BZ #15006]
36177         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36178         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36180 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36182         [BZ #13550]
36183         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36184         (CHECK_1_NULL_OK): Likewise.
36185         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36186         (__fxstat): Do not use CHECK_1.
36187         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36188         <bp-checks.h>.
36189         (___fxstat64): Do not use CHECK_1.
36190         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36191         <bp-checks.h>.
36192         (__fxstatat): Do not use CHECK_1.
36193         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36194         <bp-checks.h>.
36195         (__fxstatat64): Do not use CHECK_1.
36196         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36197         <bp-checks.h>.
36198         (__fxstat): Do not use CHECK_1.
36199         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36200         <bp-checks.h>.
36201         (__fxstatat): Do not use CHECK_1.
36202         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36203         <bp-checks.h>.
36204         (__getresgid): Do not use CHECK_1.
36205         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36206         <bp-checks.h>.
36207         (__getresuid): Do not use CHECK_1.
36208         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36209         <bp-checks.h>.
36210         (__lxstat): Do not use CHECK_1.
36211         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36212         <bp-checks.h>.
36213         (__old_msgctl): Do not use CHECK_1.
36214         (__new_msgctl): Likewise.
36215         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36216         <bp-checks.h>.
36217         (__new_setrlimit): Do not use CHECK_1.
36218         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36219         <bp-checks.h>.
36220         (__old_shmctl): Do not use CHECK_1.
36221         (__new_shmctl): Likewise.
36222         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36223         <bp-checks.h>.
36224         (__xstat): Do not use CHECK_1.
36225         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36226         (__lxstat): Do not use CHECK_1.
36227         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36228         <bp-checks.h>.
36229         (___lxstat64): Do not use CHECK_1.
36230         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36231         (__old_msgctl): Do not use CHECK_1.
36232         (__new_msgctl): Likewise.
36233         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36234         <bp-checks.h>.
36235         (__gettimeofday): Do not use CHECK_1.
36236         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36237         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36238         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36239         <bp-checks.h>.
36240         (__gettimeofday): Do not use CHECK_1.
36241         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36242         (__old_shmctl): Do not use CHECK_1_NULL_OK.
36243         (__new_shmctl): Do not use CHECK_1.
36244         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36245         <bp-checks.h>.
36246         (do_sigtimedwait): Do not use CHECK_1.
36247         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36248         <bp-checks.h>.
36249         (do_sigwaitinfo): Do not use CHECK_1.
36250         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36251         <bp-checks.h>.
36252         (msgctl): Do not use CHECK_1.
36253         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36254         <bp-checks.h>.
36255         (shmctl): Do not use CHECK_1.
36256         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36257         (ustat): Do not use CHECK_1.
36258         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36259         <bp-checks.h>.
36260         (__fxstat): Do not use CHECK_1.
36261         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36262         <bp-checks.h>.
36263         (__fxstatat): Do not use CHECK_1.
36264         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36265         <bp-checks.h>.
36266         (__lxstat): Do not use CHECK_1.
36267         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36268         <bp-checks.h>.
36269         (__xstat): Do not use CHECK_1.
36270         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36271         (__xstat): Do not use CHECK_1.
36272         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36273         (___xstat64): Do not use CHECK_1.
36275         [BZ #13550]
36276         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36277         definitions.
36278         (CHECK_BOUNDS_HIGH): Likewise.
36279         * string/strcpy.c: Do not include <bp-checks.h>.
36280         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36282 2013-02-07  Roland McGrath  <roland@hack.frob.com>
36284         * nscd/nscd-client.h (__nscd_drop_map_ref):
36285         Add __attribute__ ((unused)).
36286         * nis/nss-nisplus.h (niserr2nss): Likewise.
36288         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36289         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36291         * csu/libc-tls.c (init_static_tls, init_slotinfo):
36292         Remove inline keyword.
36293         * include/rounding-mode.h (round_away): Likewise.
36294         * libio/wfileops.c (adjust_wide_data): Likewise.
36295         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36296         (__m128i_strloadu_tolower): Likewise.
36297         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36298         (__m128i_strloadu_tolower): Likewise.
36299         * time/mktime.c (ydhms_diff): Likewise.
36300         * locale/elem-hash.h (elem_hash): Likewise.
36301         * locale/setlocale.c (setdata): Likewise.
36302         * posix/regex_internal.h (re_string_char_size_at): Likewise.
36303         (re_string_wchar_at): Likewise.
36304         (bitset_not, bitset_merge, bitset_mask): Likewise.
36305         [!(__GNUC__ > 3)] (inline): Remove macro.
36306         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36307         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36308         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36309         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36310         * string/memcmp.c (memcmp_bytes): Likewise.
36311         * locale/programs/locarchive.c (compute_hashval): Likewise.
36312         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36313         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36314         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36315         * nss/getent.c (print_rpc, print_protocols): Likewise.
36316         (print_passwd, print_group, print_aliases): Likewise.
36317         * nis/nss-nisplus.h (niserr2nss): Likewise.
36318         * nscd/connections.c (restart_p): Likewise.
36319         Change return type to bool.
36321 2013-02-05  Roland McGrath  <roland@hack.frob.com>
36323         * Makeconfig (all-Depend-files): Add existing
36324         $(sorted-subdirs:=/Depend) files.
36325         (all-subdirs): Remove nss.
36326         * sysdeps/unix/inet/Subdirs: Add it here instead.
36327         * hesiod/Depend: New file.
36329         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36330         instead of calling alloca.
36332         * io/lseek.c (__lseek): Rename to __libc_lseek.
36333         Define __lseek as an alias.
36335         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36337 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
36339         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36340         else clause and remove check for non-standard endianness.
36342 2013-02-04  David S. Miller  <davem@davemloft.net>
36344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36346 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
36348         [BZ #13550]
36349         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36350         (__ubp_memchr): Remove prototype.
36351         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36352         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36353         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36354         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36355         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36356         Remove alias.
36357         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36358         (__ubp_memchr): Likewise.
36359         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36360         (__ubp_memchr): Likewise.
36361         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36362         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36363         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36364         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36365         CHECK_STRING.
36366         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36367         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36368         (__getcwd): Do not use CHECK_STRING.
36369         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36370         <bp-checks.h>.
36371         (__real_chown): Do not use CHECK_STRING.
36372         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36373         <bp-checks.h>.
36374         (fchownat): Do not use CHECK_STRING.
36375         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36376         CHECK_STRING.
36377         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36378         <bp-checks.h>.
36379         (__lchown): Do not use CHECK_STRING.
36380         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36381         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36382         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36383         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36385         include <bp-checks.h>.
36386         (truncate64): Do not use CHECK_STRING.
36387         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36388         <bp-checks.h>.
36389         (__real_chown): Do not use CHECK_STRING.
36390         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36391         <bp-checks.h>.
36392         (__lchown): Do not use CHECK_STRING.
36393         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36394         <bp-checks.h>.
36395         (__chown): Do not use CHECK_STRING.
36396         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36397         <bp-checks.h>.
36398         (truncate64): Do not use CHECK_STRING.
36399         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36400         Likewise.
36401         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36402         (__xmknod): Do not use CHECK_STRING.
36403         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36404         <bp-checks.h>.
36405         (__xmknodat): Do not use CHECK_STRING.
36406         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36407         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36409 2013-02-04  Andreas Schwab  <schwab@suse.de>
36411         [BZ #14142]
36412         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36413         * include/netdb.h: Likewise for h_errno.
36414         * elf/tst-stackguard1.c: Include <tls.h>.
36416 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
36418         * elf/link.h (struct link_map): Extend the l_addr comment.
36419         * include/link.h (struct link_map): Likewise.
36421 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
36423         [BZ #13550]
36424         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36425         (BOUNDED_1): Remove macro.
36426         * debug/backtrace.c: Don't include <bp-checks.h>.
36427         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36428         (__backtrace): Likewise.
36429         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36430         <bp-checks.h>.
36431         (__backtrace): Don't use BOUNDED_1.
36432         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36433         <bp-checks.h>.
36434         (__backtrace): Don't use BOUNDED_1.
36435         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36436         (__backtrace): Don't use BOUNDED_1.
36437         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36438         (shmat): Don't use BOUNDED_N.
36440 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
36442         [BZ #13550]
36443         * sysdeps/generic/bp-start.h: Remove file.
36444         * csu/libc-start.c: Don't include <bp-start.h>.
36445         (LIBC_START_MAIN): Set up __environ directly instead of using
36446         INIT_ARGV_and_ENVIRON.
36447         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36448         <bp-start.h>.
36450         [BZ #13550]
36451         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36452         definitions.
36453         (CHECK_FCNTL): Likewise.
36454         (CHECK_N_PAGES): Likewise.
36456         [BZ #13550]
36457         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36458         definitions.
36459         (CHECK_SIGSET_NULL_OK): Likewise.
36460         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36461         <bp-checks.h>.
36462         (sigpending): Don't use CHECK_SIGSET.
36463         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36464         <bp-checks.h>.
36465         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36466         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36467         <bp-checks.h>.
36468         (do_sigsuspend): Don't use CHECK_SIGSET.
36469         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36470         use CHECK_SIGSET.
36471         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36472         (do_sigwait): Don't use CHECK_SIGSET.
36473         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36474         use CHECK_SIGSET.
36475         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36476         include <bp-checks.h>.
36477         (sigpending): Don't use CHECK_SIGSET.
36478         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36479         include <bp-checks.h>.
36480         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36481         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36482         <bp-checks.h>.
36483         (sigpending): Don't use CHECK_SIGSET.
36484         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36485         <bp-checks.h>.
36486         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36488         [BZ #13550]
36489         * sysdeps/generic/bp-semctl.h: Remove file.
36490         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36491         <bp-checks.h> and <bp-semctl.h>.
36492         (__old_semctl): Don't use CHECK_SEMCTL.
36493         (__new_semctl): Likewise.
36494         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36495         and <bp-semctl.h>.
36496         (__old_semctl): Don't use CHECK_SEMCTL.
36497         (__new_semctl): Likewise.
36498         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36499         <bp-checks.h> and <bp-semctl.h>.
36500         (__old_semctl): Don't use CHECK_SEMCTL.
36501         (__new_semctl): Likewise.
36502         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36503         <bp-checks.h> and <bp-semctl.h>.
36504         (semctl): Don't use CHECK_SEMCTL.
36506         [BZ #13550]
36507         * Makerules (elide-bp-thunks): Remove variable.
36508         (elide-routines.oS): Don't use $(elide-bp-thunks).
36509         (elide-routines.os): Likewise.
36510         (elide-routines.o): Likewise.
36511         (elide-routines.op): Likewise.
36512         (elide-routines.og): Likewise.
36513         (objects): Don't use $(bp-thunks).
36514         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36515         include.
36516         (common-generated): Do not add s-proto-bp.d.
36517         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36518         (int): Likewise.
36519         (typ): Likewise.
36520         Do not generate makefile rules for bounded-pointer thunks.
36521         * sysdeps/generic/bp-thunks.h: Remove file.
36522         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36523         * sysdeps/unix/s-proto-bp.S: Likewise.
36525         [BZ #15062]
36526         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36527         parts of result separately when argument is not close to line from
36528         -i to i and one part of argument is small.
36529         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36530         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36531         * math/libm-test.inc (cacos_test): Add more tests.
36532         (casin_test): Likewise.
36533         (casinh_test): Likewise.
36534         * sysdeps/i386/fpu/libm-test-ulps: Update.
36535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36537 2013-01-31  David S. Miller  <davem@davemloft.net>
36539         * po/de.po: Update from translation team.
36541 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
36543         * time/tzfile.c: Include stdint.h for SIZE_MAX.
36545 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
36547         * configure.in (_AC_PROG_CC_C89): New definition.
36548         * configure: Regenerate.
36550         * configure.in (AC_PROG_CPP): New definition.
36551         * configure: Regenerate.
36553 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36555         * debug/tst-backtrace.h: New file.
36556         * debug/tst-backtrace2.c: Include tst-backtrace.h.
36557         (ret): Remove variable.
36558         (x): Likewise.
36559         (FAIL): Remove macro.
36560         (NO_INLINE): Likewise.
36561         (fn1): Use match function instead of strstr.
36562         * debug/tst-backtrace3.c: Include tst-backtrace.h.
36563         (ret): Remove variable.
36564         (x): Likewise.
36565         (FAIL): Remove macro.
36566         (NO_INLINE): Likewise.
36567         (fn): Use match function instead of strstr.
36568         * debug/tst-backtrace4.c: Include tst-backtrace.h.
36569         (ret): Remove variable.
36570         (x): Likewise.
36571         (FAIL): Remove macro.
36572         (NO_INLINE): Likewise.
36573         (handle_signal): Use match function instead of strstr.
36574         * debug/tst-backtrace5.c: Include tst-backtrace.h.
36575         (ret): Remove variable.
36576         (x): Likewise.
36577         (FAIL): Remove macro.
36578         (NO_INLINE): Likewise.
36579         (handle_signal): Use match function instead of strstr.
36581 2013-01-23  Roland McGrath  <roland@hack.frob.com>
36583         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36585 2013-01-23  David S. Miller  <davem@davemloft.net>
36587         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36588         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36589         argument of CAS if possible.
36590         * sysdeps/sparc/sparc64/bits/atomic.h
36591         (__arch_compare_and_exchange_val_32_acq): Likewise.
36592         (__arch_compare_and_exchange_val_64_acq): Likewise.
36594 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
36596         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36597         * sysdeps/posix/ulimit.c: ... this.
36598         Include <limits.h>.
36599         * sysdeps/unix/bsd/ulimit.c: Remove file.
36601 2013-01-23  Adam Conrad  <adconrad@0c3.net>
36603         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36604         (LDFLAGS-tst-array5): Likewise.
36606 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36608         [BZ #15036]
36609         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36610         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36611         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36612         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36614 2013-01-21  David S. Miller  <davem@davemloft.net>
36616         * sysdeps/sparc/backtrace.c: New file.
36617         * sysdeps/sparc/sparc32/backtrace.h: New file.
36618         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36619         * sysdeps/sparc/sparc64/backtrace.h: New file.
36620         * sysdeps/sparc/sparc64/backtrace.c: Delete.
36621         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36622         -funwind-tables.
36624 2013-01-21  Andreas Schwab  <schwab@suse.de>
36626         [BZ #15020]
36627         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36628         closed its stdout.
36630 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
36632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36633         "mpa2.h".
36634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36636 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
36637             Mark Mitchell  <mark@codesourcery.com>
36638             Tom de Vries  <tom@codesourcery.com>
36639             Paul Pluzhnikov  <ppluzhnikov@google.com>
36641         * debug/tst-backtrace2.c: New file.
36642         * debug/tst-backtrace3.c: Likewise.
36643         * debug/tst-backtrace4.c: Likewise.
36644         * debug/tst-backtrace5.c: Likewise.
36645         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36646         (CFLAGS-tst-backtrace3.c): Likewise.
36647         (CFLAGS-tst-backtrace4.c): Likewise.
36648         (CFLAGS-tst-backtrace5.c): Likewise.
36649         (LDFLAGS-tst-backtrace2): Likewise.
36650         (LDFLAGS-tst-backtrace3): Likewise.
36651         (LDFLAGS-tst-backtrace4): Likewise.
36652         (LDFLAGS-tst-backtrace5): Likewise.
36653         (tests): Add new tests tst-backtrace2, tst-backtrace3,
36654         tst-backtrace4 and tst-backtrace5.
36656 2013-01-18  Anton Blanchard  <anton@samba.org>
36657             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36659         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36660         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36661         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36662         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36664         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36665         "+r" and remove output regs list as redundant.  Add explicit inline
36666         asm to specify register of return val to work around compiler codegen
36667         bug.  Remove (int) cast on return value.  Add return type parameter to
36668         use in macro so that this macro does not truncate return value for
36669         64-bit values.
36670         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36671         pass to INTERNAL_VSYSCALL_NCS.
36672         (INLINE_VSYSCALL): Add 'long int' as return type to
36673         INTERNAL_VSYSCALL_NCS macro invocation.
36674         (INTERNAL_VSYSCALL): Add 'long int' as return type to
36675         INTERNAL_VSYSCALL_NCS macro invocation.
36676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36678 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36680         [BZ #14496]
36681         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36682         Fix application of SIMD FP exception mask.
36684         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36685         mp_no from a power of two.
36686         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36687         __mpexp_twomm1.  Use __pow_mp.
36689         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36690         multiplication.
36692 2013-01-17  David S. Miller  <davem@davemloft.net>
36694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36696 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36698         [BZ #15023]
36699         * include/complex.h: Condition contents on [!_COMPLEX_H].
36700         (__kernel_casinhf): New prototype.
36701         (__kernel_casinh): Likewise.
36702         (__kernel_casinhl): Likewise.
36703         * math/Makefile (libm_calls): Add k_casinh.
36704         * math/k_casinh.c: New file.
36705         * math/k_casinhf.c: Likewise.
36706         * math/k_casinhl.c: Likewise.
36707         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36708         finite nonzero arguments.
36709         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36710         finite nonzero arguments.
36711         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36712         finite nonzero arguments.
36713         * math/s_casinh.c: Do not include <float.h>.
36714         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36715         * math/s_casinhf.c: Do not include <float.h>.
36716         (__casinhf): Move code for finite nonzero arguments to
36717         k_casinhf.c.
36718         * math/s_casinhl.c: Do not include <float.h>.
36719         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36720         redefine.
36721         (__casinhl): Move code for finite nonzero arguments to
36722         k_casinhl.c.
36723         * math/libm-test.inc (cacos_test): Add more tests.
36724         * sysdeps/i386/fpu/libm-test-ulps: Update.
36725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36727 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
36729         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36730         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36731         [!HAVE_MREMAP]: Remove [defined linux] case.
36732         * malloc/arena.c: Do not include <malloc-sysdep.h>.
36734 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36736         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36738 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
36740         * elf/elf.h (R_386_SIZE32): New relocation.
36741         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36742         R_386_SIZE32.
36743         (elf_machine_rela): Likewise.
36744         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36745         R_X86_64_SIZE64 and R_X86_64_SIZE32.
36747 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36749         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36750         (FP_FAST_FMA): Do not define.
36751         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36752         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36753         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36754         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36755         !_SOFT_FLOAT]: Likewise.
36756         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36757         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36758         value.
36759         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36760         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36761         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36762         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36763         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36764         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36765         file.
36767 2013-01-16  Andreas Schwab  <schwab@suse.de>
36769         [BZ #14327]
36770         * include/stdlib.h (__mktemp): Add declaration.
36771         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36772         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36774 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36776         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36777         definitions.
36778         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36779         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36780         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36781         definitions here.
36782         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36783         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36784         definitions.
36785         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36786         and ONE.
36787         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36788         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36789         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36790         definitions.
36791         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36792         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36793         definitions.
36794         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36796         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36798 2013-01-15  David S. Miller  <davem@davemloft.net>
36800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36801         trunc{,f} to libm-sysdep_routes.
36802         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36804         file.
36805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36807         file.
36808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36809         file.
36810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36812         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36813         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36814         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36815         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36816         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36817         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36820         nearbyint{,f} to libm-sysdep_routes.
36821         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36823         New file.
36824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36825         file.
36826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36827         New file.
36828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36829         file.
36830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36832         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36833         file.
36834         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36835         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36836         file.
36837         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36838         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36839         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36841         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36842         libc_feholdexcept and libc_fesetenv.
36844 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
36846         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36848 2013-01-14  David S. Miller  <davem@davemloft.net>
36850         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36851         (SPARC_ASM_VIS2_IFUNC): Likewise.
36852         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36854         use of 'siam' instruction.
36855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36856         Likewise.
36857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36858         Likewise.
36859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36860         Likewise.
36861         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36862         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36863         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36864         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36866         file.
36867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36868         file.
36869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36870         file.
36871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36872         file.
36873         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36874         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36876         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36878         new VIS2 routines.
36879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36882         Likewise.
36883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36884         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36885         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36886         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36888         routines to libm-sysdep_routines.
36889         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36892         fdim/fdimf to libm-sysdep_routines.
36893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36894         file.
36895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36897         file.
36898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36901         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36902         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36903         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36904         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36906 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36908         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36909         to optimize copies.
36911         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36912         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36916         local variable MPTWO.
36917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36918         Likewise.
36920 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36922         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36923         GLOB_NOESCAPE.
36925 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36927         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36929 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36931         * manual/pattern.texi (glob_t): Document gl_flags.
36932         (glob64_t): Likewise.
36934 2013-01-11  David S. Miller  <davem@davemloft.net>
36936         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36937         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36938         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
36939         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36940         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36941         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36942         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36943         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36944         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36945         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36946         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36947         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36948         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36950         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36951         sparc V9 rather than using V8 code.
36952         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36953         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36955         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36956         Move to...
36957         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36958         Here.
36960 2013-01-11  Roland McGrath  <roland@hack.frob.com>
36962         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36963         not in the main loop.
36964         * configure: Regenerated.
36966 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
36968         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36969         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36970         to just #else.
36971         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
36972         [!__GLIBC_HAVE_LONG_LONG] case.
36973         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36974         condition to just #else.
36975         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36976         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36977         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36978         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36979         unconditional.
36980         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36981         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36982         #elif condition to just #else.
36983         * sysdeps/unix/sysv/linux/sys/sysmacros.h
36984         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36985         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36986         #elif condition to just #else.
36988 2013-01-11  Steve Ellcey  <sellcey@mips.com>
36990         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36991         (EF_MIPS_ARCH_64): Fix value.
36992         (EF_MIPS_ARCH_32R2): New.
36993         (EF_MIPS_ARCH_64R2): New.
36995 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
36997         * Makeconfig (+link-pie-before-libc): New.
36998         (+link-pie-after-libc): Likewise.
36999         (+link-pie-tests): Likewise.
37000         (+link-pie): Rewritten.
37001         (link-before-libc): Remove $(config-LDFLAGS).
37002         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37003         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37004         (config-LDFLAGS): Renamed to ...
37005         (rtld-LDFLAGS): This.
37006         (rtld-tests-LDFLAGS): New macro.
37007         (link-libc-rpath-link): Likewise.
37008         (link-libc-tests-rpath-link): Likewise.
37009         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37010         (link-libc): Prepand $(link-libc-rpath-link).
37011         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37012         (test-program-prefix): New macro.
37013         (test-via-rtld-prefix): Likewise.
37014         (test-program-cmd): Likewise.
37015         (host-test-program-cmd): Likewise.
37016         * Makefile ($(common-objpfx)testrun.sh): Replace
37017         $(run-program-prefix) with $(test-program-prefix).
37018         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37019         $(rtld-LDFLAGS).
37020         ($(common-objpfx)shlib.lds): Likewise.
37021         (build-module-helper): Likewise.
37022         ($(common-objpfx)format.lds): Likewise.
37023         * Rules (binaries-pie-tests): New.
37024         (binaries-pie-notests): Likewise.
37025         (binaries-pie): Rewritten.
37026         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37027         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37028         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37029         (make-test-out): Replace $(host-built-program-cmd) with
37030         $(host-test-program-cmd).
37031         * config.make.in (build-hardcoded-path-in-tests): New variable.
37032         * configure.in (--enable-hardcoded-path-in-tests): New configure
37033         option.
37034         (hardcoded_path_in_tests): New AC_SUBST.
37035         * configure: Regenerated.
37036         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37037         $(built-program-cmd) with $(test-program-cmd).
37038         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37039         (test_program_cmd): This.
37040         * elf/Makefile ($(objpfx)order.out): Run test with
37041         $(test-program-prefix).
37042         ($(objpfx)order2.out): Likewise.
37043         ($(objpfx)tst-initorder.out): Likewise.
37044         ($(objpfx)tst-initorder2.out): Likewise.
37045         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37046         $(test-program-cmd).
37047         ($(objpfx)tst-array1-static.out): Likewise.
37048         ($(objpfx)tst-array2.out): Likewise.
37049         ($(objpfx)tst-array3.out): Likewise.
37050         ($(objpfx)tst-array4.out): Likewise.
37051         ($(objpfx)tst-array5.out): Likewise.
37052         ($(objpfx)tst-array5-static.out): Likewise.
37053         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37054         $(test-program-cmd).
37055         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37056         $(run-program-prefix) with $(test-program-prefix).
37057         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37058         (test_program_prefix): This.
37059         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37060         $(run-program-prefix) with $(test-program-prefix).
37061         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37062         (test_program_prefix): This.
37063         * iconvdata/tst-tables.sh: Likewise.
37064         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37065         $(run-program-prefix) with $(test-program-prefix).
37066         ($(objpfx)tst-translit.out): Likewise.
37067         ($(objpfx)tst-gettext2.out): Likewise.
37068         ($(objpfx)tst-gettext4.out): Likewise.
37069         ($(objpfx)tst-gettext6.out): Likewise.
37070         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37071         (test_program_prefix): This.
37072         * intl/tst-gettext2.sh: Likewise.
37073         * intl/tst-gettext4.sh  Likewise.
37074         * intl/tst-gettext6.sh: Likewise.
37075         * intl/tst-translit.sh: Likewise.
37076         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37077         with $(test-program-cmd).
37078         * libio/Makefile ($(objpfx)test-freopen.out): Replace
37079         $(run-program-prefix) with $(test-program-prefix).
37080         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37081         (test_program_prefix): This.
37082         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37083         $(run-program-prefix) with $(test-program-prefix).
37084         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37085         (test_program_prefix): This.
37086         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37087         * posix/Makefile ($(objpfx)globtest.out): Replace
37088         $(run-via-rtld-prefix) and $(test-wrapper) with
37089         $(test-program-prefix) and $(test-via-rtld-prefix).
37090         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37091         $(test-program-prefix).
37092         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37093         $(host-test-program-cmd).
37094         (tst-spawn-ARGS): Likewise.
37095         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37096         $(test-program-prefix).
37097         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37098         (test_via_rtld_prefix): This.
37099         (test_wrapper): Renamed to ...
37100         (test_program_prefix): This.
37101         (run_program_prefix): Replaced by test_program_prefix.
37102         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37103         (test_program_prefix): This.
37104         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37105         with $(host-test-program-cmd).
37106         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37107         $(run-program-prefix) with $(test-program-prefix).
37108         ($(objpfx)tst-printf.out): Likewise.
37109         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37110         $(test-program-cmd).
37111         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37112         (test_program_prefix): This.
37113         * stdio-common/tst-unbputc.sh: Likewise.
37114         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37115         $(run-program-prefix) with $(test-program-prefix).
37116         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37117         (test_program_prefix): This.
37118         * string/Makefile ($(objpfx)tst-svc.out):  Replace
37119         $(built-program-cmd) with $(test-program-cmd).
37121 2013-01-11  Andreas Jaeger  <aj@suse.de>
37123         [BZ #15003]
37124         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37125         value. Sync with Linux 3.7.
37127 2013-01-10  David S. Miller  <davem@davemloft.net>
37129         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37130         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37131         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37133 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37135         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37136         never set.
37137         * configure: Regenerated.
37139 2013-01-10  David S. Miller  <davem@davemloft.net>
37141         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37142         sparc V9 rather than using V8 code.
37143         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37144         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37146 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37148         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37149         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37150         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37151         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37152         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37153         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37154         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37155         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37156         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37157         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37158         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37159         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37160         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37161         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37162         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37163         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37164         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37165         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37166         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37167         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37168         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37169         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37170         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37171         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37172         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37173         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37174         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37176 2013-01-10  David S. Miller  <davem@davemloft.net>
37178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37180 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37182         * posix/Makefile (tests-static): New variable.
37183         (tests): Add $(tests-static).
37184         (tst-exec-static-ARGS): New variable.
37185         (tst-spawn-static-ARGS): Likewise.
37186         * posix/tst-exec-static.c: New file.
37187         * posix/tst-spawn-static.c: Likewise.
37188         * posix/tst-exec.c: Support run directly.
37189         * posix/tst-spawn.c: Likewise.
37191 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
37193         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37194         long.
37195         * math/bits/mathcalls.h (llrint): Likewise.
37196         (llround): Likewise.
37197         * stdlib/stdlib.h (struct drand48_data): Likewise.
37198         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37199         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37200         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37201         Likewise.
37202         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37203         Likewise.
37204         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37205         (elf_greg_t): Likewise.
37206         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37207         (__jmp_buf): Likewise.
37208         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37209         definitions.
37210         (llrint): Likewise, for all definitions.
37211         (llrintl): Likewise.
37213         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37214         Remove [__GNUC__] condition.
37215         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37216         condition to just [__USE_ISOC99].
37217         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37219 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37221         [BZ #14200]
37222         * sysdeps/unix/sysv/linux/x86/bits/environments.h
37223         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37224         defined.
37225         (_POSIX_V6_ILP32_OFF32): Likewise.
37226         (_XBS5_ILP32_OFF32): Likewise.
37227         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37228         (__ILP32_OFFBIG_LDFLAGS): Likewise.
37230 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37232         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37234         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37235         doubles __mpexp_twomm1.  Adjust usage.
37236         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37237         Remove.
37239 2013-01-10  Andreas Schwab  <schwab@suse.de>
37241         [BZ #14964]
37242         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37243         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37245 2013-01-09  David S. Miller  <davem@davemloft.net>
37247         [BZ #15003]
37248         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37249         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37250         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37251         (TCP_FASTOPEN): Define.
37252         (tcp_repair_opt): New structure.
37253         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37254         enum values.
37255         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37256         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37257         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37258         (tcp_cookie_transactions): New structure.
37260 2013-01-09  Anton Blanchard  <anton@samba.org>
37262         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37263         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37264         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37265         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37267 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
37269         * include/features.h (__USE_ANSI): Remove.
37271 2013-01-09  Roland McGrath  <roland@hack.frob.com>
37273         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37275         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37277 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37279         * sysdeps/s390/fpu/libm-test-ulps: Update.
37281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37283         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37284         (__acr): Likewise.
37285         (__cpy): Likewise.
37286         (norm): Likewise.
37287         (denorm): Likewise.
37288         (__mp_dbl): Likewise.
37289         (__dbl_mp): Likewise.
37290         (add_magnitudes): Likewise.
37291         (sub_magnitudes): Likewise.
37292         (__add): Likewise.
37293         (__sub): Likewise.
37294         (__mul): Likewise.
37295         (__inv): Likewise.
37296         (__dvd): Likewise.
37297         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37298         (__acr): Likewise.
37299         (__cpy): Likewise.
37300         (norm): Likewise.
37301         (denorm): Likewise.
37302         (__mp_dbl): Likewise.
37303         (__dbl_mp): Likewise.
37304         (add_magnitudes): Likewise.
37305         (sub_magnitudes): Likewise.
37306         (__add): Likewise.
37307         (__sub): Likewise.
37308         (__mul): Likewise.
37309         (__inv): Likewise.
37310         (__dvd): Likewise.
37311         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37312         (__acr): Likewise.
37313         (__cpy): Likewise.
37314         (norm): Likewise.
37315         (denorm): Likewise.
37316         (__mp_dbl): Likewise.
37317         (__dbl_mp): Likewise.
37318         (add_magnitudes): Likewise.
37319         (sub_magnitudes): Likewise.
37320         (__add): Likewise.
37321         (__sub): Likewise.
37322         (__mul): Likewise.
37323         (__inv): Likewise.
37324         (__dvd): Likewise.
37326 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
37328         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37329         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37330         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37331         2 && __USE_EXTERN_INLINES]: Likewise.
37333 2013-01-08  Andreas Jaeger  <aj@suse.de>
37335         [BZ# 14985]
37336         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37337         Remove.
37338         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37339         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37341 2013-01-07  Anton Blanchard  <anton@samba.org>
37343         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37344         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37345         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37346         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37347         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37348         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37349         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37350         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37352         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37353         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37354         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37355         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37356         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37357         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37358         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37359         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37360         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37361         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37362         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37363         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37364         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37365         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37366         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37367         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37368         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37369         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37370         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37371         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37372         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37373         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37375         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37376         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37377         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37378         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37379         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37380         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37381         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37382         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37383         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37384         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37385         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37387 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
37389         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37390         (__MALLOC_PMT): Likewise.
37391         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37392         [__GNUC__], only on [_LIBC].
37393         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37394         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37395         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37396         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37397         forward declaration.
37398         (realloc_hook_ini): Likewise.
37399         (memalign_hook_ini): Likewise.
37400         (__libc_memalign): Do not use __MALLOC_PMT in variable
37401         declaration.
37402         (__libc_valloc): Likewise.
37403         (__libc_pvalloc): Likewise.
37404         (__libc_calloc): Likewise.
37405         (__posix_memalign): Likewise.
37407         [BZ #14996]
37408         * math/s_casinh.c: Include <float.h>.
37409         (__casinh): Do not do computation with squaring and square root
37410         for large arguments.
37411         * math/s_casinhf.c: Include <float.h>.
37412         (__casinhf): Do not do computation with squaring and square root
37413         for large arguments.
37414         * math/s_casinhl.c: Include <float.h>.
37415         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37416         (__casinhl): Do not do computation with squaring and square root
37417         for large arguments.
37418         * math/libm-test.inc (casin_test): Add more tests.
37419         (casinh_test): Likewise.
37420         * sysdeps/i386/fpu/libm-test-ulps: Update.
37421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37423 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
37425         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37426         (__x86_64_raw_data_cache_size): Likewise.
37427         (__x86_64_data_cache_size_half): Likewise.
37428         (__x86_64_raw_data_cache_size_half): Likewise.
37429         (__x86_64_shared_cache_size): Likewise.
37430         (__x86_64_raw_shared_cache_size): Likewise.
37431         (__x86_64_shared_cache_size_half): Likewise.
37432         (__x86_64_raw_shared_cache_size_half): Likewise.
37433         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37434         to ...
37435         (__x86_data_cache_size): This.
37436         (__x86_64_raw_data_cache_size): Renamed to ...
37437         (__x86_raw_data_cache_size): This.
37438         (__x86_64_data_cache_size_half): Renamed to ...
37439         (__x86_data_cache_size_half): This.
37440         (__x86_64_raw_data_cache_size_half): Renamed to ...
37441         (__x86_raw_data_cache_size_half): This.
37442         (__x86_64_shared_cache_size): Renamed to ...
37443         (__x86_shared_cache_size): This.
37444         (__x86_64_raw_shared_cache_size): Renamed to ...
37445         (__x86_raw_shared_cache_size): This.
37446         (__x86_64_shared_cache_size_half): Renamed to ...
37447         (__x86_shared_cache_size_half): This.
37448         (__x86_64_raw_shared_cache_size_half): Renamed to ...
37449         (__x86_raw_shared_cache_size_half): This.
37450         * sysdeps/x86_64/memcpy.S: Updated.
37451         * sysdeps/x86_64/memset.S: Likewise.
37452         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37453         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37454         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37456 2013-01-04  David S. Miller  <davem@davemloft.net>
37458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37460 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
37462         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37463         1 to avoid redefinition warning.
37464         (__USE_GNU): Don't define.
37465         (init_signaling_nan): Protoize.
37467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37469 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37471         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37472         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37473         (__cpymn): Likewise.
37474         (norm): Remove commented code.
37475         (denorm): Likewise.
37476         (__mp_dbl): Likewise.
37477         (__inv): Likewise.
37478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37479         (__cpymn): Likewise.
37480         (norm): Remove commented code.
37481         (denorm): Likewise.
37482         (__mp_dbl): Likewise.
37483         (__inv): Likewise.
37485         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37486         mp_no value for 1.0 and 2.0.
37487         (norm): Use RADIXI instead of radixi.d.
37488         (denorm): Likewise.
37489         (__mul): Use 0.0 instead of zero.d.
37490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37491         mp_no value for 1.0 and 2.0.
37492         (norm): Use RADIXI instead of radixi.d.
37493         (denorm): Likewise.
37494         (__mul): Use 0.0 instead of zero.d.
37496 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
37498         [BZ #14994]
37499         * math/s_casinh.c (__casinh): Reduce finite argument to first
37500         quadrant then set signs of results at the end.
37501         * math/s_casinhf.c (__casinhf): Likewise.
37502         * math/s_casinhl.c (__casinhl): Likewise.
37503         * math/libm-test.inc (casin_test): Add more tests.
37504         (casinh_test): Likewise.
37505         * sysdeps/i386/fpu/libm-test-ulps: Update.
37506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37508 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37510         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37512         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37514         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37515         declarations.
37516         (denorm): Likewise.
37517         (__mp_dbl): Likewise.
37518         (__inv): Likewise.
37520         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37521         and adjust the header comment.
37523         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37524         variable name from declaration.
37526 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
37528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37529         Initialize COMMON_CPUID_INDEX_7 element.
37530         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37531         (CPUID_RTM): Likewise.
37532         (HAS_RTM): Likewise.
37533         (COMMON_CPUID_INDEX_7): New enum.
37535 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
37537         [BZ #14981]
37538         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37539         size is zero, record memory as freed.
37541 2013-01-03  Andreas Jaeger  <aj@suse.de>
37543         * po/ia.po: Add new Interlingua translation.
37545 2012-01-03  Allan McRae  <allan@archlinux.org>
37547         * locale/programs/localedef.c: Fix description of '--posix' flag.
37549 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
37551         * NEWS: Update dates in second copyright notice.
37552         * README: Update copyright dates in example.
37553         * manual/libc.texinfo: Update copyright dates.
37554         * scripts/test-installation.pl: Update copyright date in --version
37555         output.
37557         * hurd/ctty-input.c: Fix copyright notice formatting.
37558         * hurd/ctty-output.c: Likewise.
37559         * hurd/dtable.c: Likewise.
37560         * hurd/hurd-raise.c: Likewise.
37561         * hurd/hurdprio.c: Likewise.
37562         * hurd/msgportdemux.c: Likewise.
37563         * misc/sys/file.h: Likewise.
37564         * misc/sys/ioctl.h: Likewise.
37565         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37566         * sysdeps/mach/hurd/chdir.c: Likewise.
37567         * sysdeps/mach/hurd/fchdir.c: Likewise.
37568         * sysdeps/mach/hurd/rename.c: Likewise.
37569         * sysdeps/mach/hurd/rmdir.c: Likewise.
37570         * sysdeps/mach/hurd/seekdir.c: Likewise.
37571         * sysdeps/mach/hurd/setsid.c: Likewise.
37572         * sysdeps/posix/wait3.c: Likewise.
37574         * All files with FSF copyright notices: Update copyright dates
37575         using scripts/update-copyrights.
37576         * intl/plural.c: Regenerated.
37577         * locale/programs/charmap-kw.h: Likewise.
37578         * locale/programs/locfile-kw.h: Likewise.
37580 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37582         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37583         four values.
37585         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37586         calculation loop and add branch prediction.
37588         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37589         check access beyond bounds of m1np.
37591         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37592         MPTWO.
37593         (__inv): Remove local variable MPTWO to use the global
37594         constant.
37595         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37596         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37597         variable MPTWO.
37598         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37599         MP3HALFS static const.
37601 2013-01-01  David S. Miller  <davem@davemloft.net>
37603         * po/ca.po: Update from translation team.
37605 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
37607         * scripts/update-copyrights: New file.
37608         * Makeconfig: Reformat copyright notice.
37609         * ctype/ctype.h: Likewise.
37610         * debug/swprintf_chk.c: Likewise.
37611         * elf/dl-cache.c: Likewise.
37612         * elf/dl-debug.c: Likewise.
37613         * elf/dl-object.c: Likewise.
37614         * grp/initgroups.c: Likewise.
37615         * hurd/Makefile: Likewise.
37616         * hurd/hurd/signal.h: Likewise.
37617         * hurd/hurdfault.c: Likewise.
37618         * hurd/hurdioctl.c: Likewise.
37619         * hurd/hurdlookup.c: Likewise.
37620         * hurd/intr-msg.c: Likewise.
37621         * iconv/gconv_open.c: Likewise.
37622         * libio/swprintf.c: Likewise.
37623         * locale/lc-ctype.c: Likewise.
37624         * locale/nl_langinfo.c: Likewise.
37625         * mach/Machrules: Likewise.
37626         * mach/Makefile: Likewise.
37627         * malloc/obstack.h: Likewise.
37628         * manual/Makefile: Likewise.
37629         * manual/tsort.awk: Likewise.
37630         * misc/bits/stab.def: Likewise.
37631         * nis/nis_print_group_entry.c: Likewise.
37632         * nis/nis_table.c: Likewise.
37633         * nis/nss_compat/compat-pwd.c: Likewise.
37634         * nis/nss_compat/compat-spwd.c: Likewise.
37635         * po/Makefile: Likewise.
37636         * posix/fnmatch.c: Likewise.
37637         * posix/regex.h: Likewise.
37638         * resolv/Makefile: Likewise.
37639         * resolv/nss_dns/dns-network.c: Likewise.
37640         * resolv/res_hconf.c: Likewise.
37641         * scripts/gen-sorted.awk: Likewise.
37642         * soft-fp/soft-fp.h: Likewise.
37643         * stdio-common/printf.h: Likewise.
37644         * stdlib/monetary.h: Likewise.
37645         * stdlib/random.c: Likewise.
37646         * stdlib/random_r.c: Likewise.
37647         * sysdeps/generic/Makefile: Likewise.
37648         * sysdeps/gnu/Makefile: Likewise.
37649         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37650         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37651         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37652         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37653         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37654         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37655         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37656         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37657         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37658         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37659         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37660         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37661         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37662         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37663         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37664         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37665         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37666         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37667         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37668         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37669         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37670         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37671         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37672         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37673         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37674         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37675         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37676         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37677         * sysdeps/mach/hurd/errnos.awk: Likewise.
37678         * sysdeps/mach/hurd/fork.c: Likewise.
37679         * sysdeps/mach/hurd/getcwd.c: Likewise.
37680         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37681         * sysdeps/mach/hurd/mmap.c: Likewise.
37682         * sysdeps/mach/hurd/utimes.c: Likewise.
37683         * sysdeps/mach/hurd/xmknod.c: Likewise.
37684         * sysdeps/posix/profil.c: Likewise.
37685         * sysdeps/posix/readdir_r.c: Likewise.
37686         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37687         * sysdeps/powerpc/bits/setjmp.h: Likewise.
37688         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37689         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37690         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37691         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37692         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37693         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37695         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37696         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37697         * sysdeps/pthread/lio_listio.c: Likewise.
37698         * sysdeps/sparc/dl-procinfo.h: Likewise.
37699         * sysdeps/unix/i386/sysdep.S: Likewise.
37700         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37701         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37702         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37703         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37705         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37706         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37707         * sysdeps/unix/sysv/linux/speed.c: Likewise.
37708         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37709         * sysdeps/wordsize-32/divdi3.c: Likewise.
37710         * time/sys/time.h: Likewise.
37711         * wcsmbs/Makefile: Likewise.
37713 2013-01-01  David S. Miller  <davem@davemloft.net>
37715         * po/fr.po: Update from translation team.
37717         * catgets/gencat.c: Update copyright year.
37718         * csu/version.c: Likewise.
37719         * debug/catchsegv.sh: Likewise.
37720         * debug/pcprofiledump.c: Likewise.
37721         * debug/xtrace.sh: Likewise.
37722         * elf/ldconfig.c: Likewise.
37723         * elf/ldd.bash.in: Likewise.
37724         * elf/pldd.c: Likewise.
37725         * elf/sotruss.ksh: Likewise.
37726         * elf/sprof.c: Likewise.
37727         * iconv/iconv_prog.c: Likewise.
37728         * iconv/iconvconfig.c: Likewise.
37729         * locale/programs/locale.c: Likewise.
37730         * locale/programs/localedef.c: Likewise.
37731         * login/programs/pt_chown.c: Likewise.
37732         * malloc/memusage.sh: Likewise.
37733         * malloc/memusagestat.c: Likewise.
37734         * malloc/mtrace.pl: Likewise.
37735         * nscd/nscd.c: Likewise.
37736         * nss/getent.c: Likewise.
37737         * nss/makedb.c: Likewise.
37738         * posix/getconf.c: Likewise.
37740 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37742         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37743         numbers.
37745 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
37747         * math/bits/mathcalls.h (modf): Use __nonnull.
37749 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37751         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37752         (split): Use macro CN instead of the bare value.
37753         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37754         could be used.
37755         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37756         instead of the bare value.
37757         (power1): Likewise.
37759 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37761         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37762         __ATAN_TWOM.
37763         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37765         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37766         their values.
37767         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37768         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37769         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37770         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37772 2012-12-28  Andreas Jaeger  <aj@suse.de>
37774         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
37775         values are from Linux 3.7.
37777         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37778         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
37780 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37782         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37783         TRUE case.
37785         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37786         (norm): Likewise.
37787         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37788         variables with preprocessor constants.
37789         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37790         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37791         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37793 2012-12-27  Bruno Haible  <bruno@clisp.org>
37795         [BZ #14317]
37796         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37797         only if needed.
37799 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37801         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37802         and use variable directly.
37803         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37805         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37806         MPONE.
37807         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37808         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37809         variable MPONE.
37810         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37811         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37812         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37813         include directive.  Remove local variable MPONE.
37814         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37815         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37816         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37818 2012-12-25  David S. Miller  <davem@davemloft.net>
37820         * version.h (RELEASE): Set to "development".
37821         (VERSION): Set to "2.17.90".
37822         * NEWS: Add 2.18 section.
37824 2012-12-21  David S. Miller  <davem@davemloft.net>
37826         * po/hr.po: Update from translation team.
37828 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37830         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37832 2012-12-19  Steve Ellcey  <sellcey@mips.com>
37834         * NEWS:  Mention new memcpy for MIPS.
37836 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37838         * manual/contrib.texi (Contributors): Spelling correction.
37840 2012-12-15  David S. Miller  <davem@davemloft.net>
37842         * po/ru.po: Update from translation team.
37844 2012-12-13  David S. Miller  <davem@davemloft.net>
37846         * NEWS: Mention IFUNC testsuite enhancements.
37848         * po/pl.po: Update from translation team.
37849         * po/bg.po: Likewise.
37851         * manual/contrib.texi (Contributors): Update entries for Hongjiu
37852         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
37854 2012-12-11  David S. Miller  <davem@davemloft.net>
37856         * po/sv.po: Update from translation team.
37858         * po/vi.po: Update from translation team.
37860         * po/cs.po: Update from translation team.
37862         * po/de.po: Update from translation team.
37863         * po/eo.po: Likewise.
37864         * po/nl.po: Likewise.
37866 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37868         [BZ #14246]
37869         * manual/argp.texi (Argp Helper Functions): Move node to follow
37870         Argp Parsing State.
37872         [BZ #14872]
37873         * manual/conf.texi (Limits on File System Capacity): Mention if
37874         terminating null is included in the max size.
37876 2012-12-10  Andreas Jaeger  <aj@suse.de>
37878         * po/cs.po: Update from translation team.
37880 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37882         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37883         void pointer and cast to uintptr_t.
37884         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37885         path.
37886         * sysdeps/s390/s390-64/memcpy.S: Likewise.
37887         * sysdeps/s390/s390-64/memset.S: Likewise.
37889 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
37891         [BZ #14833]
37892         * menual/message.texi (Message Translation): Fix typos.
37893         (Helper programs for gettext): Likewise.
37895 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
37897         [BZ #14898]
37898         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37899         Change to -1.
37901 2012-12-07  David S. Miller  <davem@davemloft.net>
37903         * po/libc.pot: Update.
37905 2012-12-07  Richard Henderson  <rth@redhat.com>
37907         [BZ #10114]
37908         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37909         normal/normal case to before the switch.
37910         (_FP_DIV): Likewise.
37912 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
37913             Mike Frysinger  <vapier@gentoo.org>
37915         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37916         check for __NR_fadvise64_64.
37918 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
37920         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37921         0, not just to plain "0" as a statement.
37922         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37923         with cw.
37925 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
37927         * NEWS: Use sourceware.org in Bugzilla URL.
37929 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37932         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37934         * stdio-common/tst-put-error.c (do_test): Add newline to the
37935         padded test to ensure flush.
37937 2012-12-05  Jeff Law  <law@redhat.com>
37939         * sunrpc/etc.rpc (fedfs_admin): Add entry.
37941 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
37943         * README: Don't refer to ports add-on as distributed separately.
37944         Mention AArch64 in list of systems supported in the ports add-on.
37946         * LICENSES: Add more non-FSF copyright and license notices.
37948         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37949         ((unused)).
37951         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37953         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37954         10000 as width of padded output.
37956 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37958         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37960         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37961         variable LX with __attribute__ ((unused)).
37962         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37963         Likewise.
37964         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37965         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37966         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37967         with __attribute__ ((unused)).
37969 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
37971         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37973 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37975         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37976         (CFLAGS-nldbl-acos.c): New variable.
37977         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37978         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37979         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37980         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37981         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37982         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37983         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37984         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37985         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37986         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37987         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37988         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37989         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37990         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37991         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37992         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37993         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37994         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37995         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37996         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37997         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37998         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37999         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38000         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38001         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38002         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38003         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38004         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38005         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38006         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38007         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38008         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38009         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38010         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38011         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38012         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38013         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38014         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38015         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38016         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38017         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38018         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38019         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38020         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38021         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38022         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38023         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38024         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38025         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38026         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38027         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38028         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38029         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38030         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38031         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38032         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38033         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38034         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38035         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38036         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38037         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38038         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38039         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38040         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38041         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38042         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38043         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38044         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38045         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38046         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38047         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38048         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38049         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38050         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38051         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38052         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38053         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38054         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38055         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38056         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38057         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38058         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38059         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38060         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38061         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38062         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38063         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38064         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38065         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38066         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38067         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38068         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38069         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38070         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38071         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38072         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38073         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38076         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38078         [BZ #14914]
38079         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38080         whole low double instead of just low 47 bits when splitting values
38081         into two parts.
38083 2012-12-03  Allan McRae  <allan@archlinux.org>
38085         * manual/stdio.texi (Predefined Printf Handlers): Remove
38086         @hsep and @vsep usage.
38088 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
38090         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38091         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38093 2012-12-03  Jeff Law  <law@redhat.com>
38095         * time/sys/time.h (settimeofday): Do not mark TV argument
38096         as __nonnull.
38098 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
38100         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38101         when currently writing and seek to current position when not.
38102         * libio/Makefile (tests): Remove bug-fclose1.
38103         * libio/bug-fclose1.c: Delete.
38105 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
38107         * manual/arith.texi (feenableexcept): Fix typo.
38108         (fedisableexcept): Likewise.
38110 2012-11-30  Roland McGrath  <roland@hack.frob.com>
38112         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38113         second, differently-typed declaration, rather than a cast.
38115 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38117         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38118         * include/rpc/svc.h: ... here.
38120 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
38122         [BZ #13013]
38123         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38124         depending n and resplen2 to catch cases where answer
38125         equals answerp2.
38127 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
38129         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38130         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38132 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
38134         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38136 2012-11-29  Roland McGrath  <roland@hack.frob.com>
38138         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38140 2012-11-28  Jeff Law  <law@redhat.com>
38142         [BZ #13761]
38143         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38144         dataset_temporary.  Track alloca usage into alloca_used.
38145         If dataset is large allocate and release it via malloc/free.
38147 2012-06-04  Florian Weimer  <fweimer@redhat.com>
38149         [BZ #14197]
38150         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38152 2012-11-28  David S. Miller  <davem@davemloft.net>
38154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38156 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38158         [BZ #14803]
38159         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38160         of pi/2 rounded to nearest to 64 bits.
38161         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38162         nearest to 64 bits.
38163         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38164         bits.
38166 2012-11-28  Jeff Law <law@redhat.com>
38167             Martin Osvald <mosvald@redhat.com>
38169         [BZ #14889]
38170         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38171         * sunrpc/svc.c: Include time.h.
38172         (__svc_accept_failed): New function.
38173         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38174         any reason other than EINTR, call __svc_accept_failed.
38175         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38176         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38178 2012-11-28  Andreas Schwab  <schwab@suse.de>
38180         * scripts/abilist.awk: Also handle indirect functions in .opd
38181         section.
38183 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38185         [BZ #13881]
38186         * sysdeps/x86/fpu/powl_helper.c: New file.
38187         * sysdeps/x86/fpu/Makefile: Likewise.
38188         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38189         (p3): New object.
38190         (__ieee754_powl): Use __powl_helper for finite arguments except
38191         integer exponents below 8.
38192         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38193         (p3): New object.
38194         (__ieee754_powl): Use __powl_helper for finite arguments except
38195         integer exponents below 8.
38196         * math/libm-test.inc (pow_test): Add more tests and enable some
38197         previously disabled tests.
38198         * sysdeps/i386/fpu/libm-test-ulps: Update.
38199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38201 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38202             Carlos O'Donell  <carlos_odonell@mentor.com>
38204         * nss/makedb.c (is_prime): Assert that input is odd and greater
38205         than 4.  Note that fact in a comment too.
38206         (next_prime): Add 4 to input.
38208 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38210         [BZ #11741]
38211         * libio/Makefile (tests): Add test case tst-fwrite-error.
38212         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38213         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38214         * libio/tst-fwrite-error.c: New test case.
38216 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
38218         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38219         before casting to void *.
38220         * include/libc-internal.h (__pointer_type): New macro.
38221         (__integer_if_pointer_type_sub): Likewise.
38222         (__integer_if_pointer_type): Likewise.
38223         (cast_to_integer): Likewise.
38224         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38225         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38226         before casting to atomic64_t.
38227         (atomic_exchange_acq): Likewise.
38228         (__arch_exchange_and_add_body): Likewise.
38229         (__arch_add_body): Likewise.
38230         (atomic_add_negative): Likewise.
38231         (atomic_add_zero): Likewise.
38233 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
38235         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38236         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38237         (add_fdes): Likewise.
38238         (linear_search_fdes): Likewise.
38239         (binary_search_unencoded_fdes): Likewise.
38241 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
38243         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38245 2012-11-24  Adam Conrad  <adconrad@0c3.net>
38247         * configure.in: Autodetect C++ header directories.
38248         * configure: Regenerated.
38250 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
38252         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38254 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
38256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38258 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
38260         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38261         LDBL_MANT_DIG == 106]: Disable some tests.
38262         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38263         Likewise.
38264         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38265         Likewise.
38267         [BZ #14871]
38268         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38269         input for small inputs.  Return +/- pi/2 for large inputs.
38270         * math/libm-test.inc (atan_test): Add more tests.
38272         * sysdeps/generic/unwind-dw2-fde-glibc.c
38273         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38274         __attribute__ ((unused)).
38276         [BZ #14645]
38277         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38278         x * y if x and y are nonzero and z is zero.
38280         [BZ #14811]
38281         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38282         nonzero exponents with absolute value below 0x1p-117 to +/-
38283         0x1p-117.
38285         [BZ #14869]
38286         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38287         up arguments below 2**-450, not just those below 2**-500.
38288         * math/libm-test.inc (hypot_test): Add another test.
38290         [BZ #14868]
38291         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38292         Return a+b for ratio over 2**120, not 2**60.
38293         * math/libm-test.inc (hypot_test): Add another test.
38295         * math/libm-test.inc (clog_test): Use
38296         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38297         (clog10_test): Likewise.
38299         [BZ #6778]
38300         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38302 2012-11-22  Andreas Schwab  <schwab@suse.de>
38304         * sysdeps/i386/fpu/libm-test-ulps: Update.
38306 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
38308         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38309         printf output with newline.
38311 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
38313         [BZ #14865]
38314         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38315         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38316         -z nodlopen, -z initfirst and -z execstack support.
38317         * configure: Regenerated.
38319         * elf/elf.h (DF_1_NODIRECT): New macro.
38320         (DF_1_IGNMULDEF): Likewise.
38321         (DF_1_NOKSYMS): Likewise.
38322         (DF_1_NOHDR): Likewise.
38323         (DF_1_EDITED): Likewise.
38324         (DF_1_NORELOC): Likewise.
38325         (DF_1_SYMINTPOSE): Likewise.
38326         (DF_1_GLOBAUDIT): Likewise.
38327         (DF_1_SINGLETON): Likewise.
38328         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38329         DT_1_SUPPORTED_MASK bits.
38330         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38332 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
38334         * sysdeps/unix/make-syscalls.sh: Document prefixes.
38336 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
38338         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38339         macro.
38341         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38342         (sendmmsg): Move declarations...
38343         * socket/sys/socket.h: ... here.
38344         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38345         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38346         include it from...
38347         * socket/recvmmsg.c: ... this new file.
38348         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38349         (sendmmsg): Rename to __sendmmsg, create weak alias and make
38350         definition of __sendmmsg hidden.
38351         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38352         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38353         Move ENOSYS stub into and include it from...
38354         * socket/sendmmsg.c: ... this new file.
38355         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38356         (sysdep_routines): Move recvmmsg and sendmmsg...
38357         * socket/Makefile (routines): ... here.
38358         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38359         (GLIBC_PRIVATE): Add __sendmmsg.
38360         * include/sys/socket.h (__sendmmsg): Add declarations.
38361         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38362         sendmmsg.
38364 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
38366         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38367         variable I1 with __attribute__ ((unused)).
38368         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38370 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38372         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38373         DUMMY variables with __attribute__ ((unused)).
38375         * bits/byteswap.h: Include <bits/types.h>.
38376         (__bswap_64): Use __uint64_t instead of unsigned long long int.
38378 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38380         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38381         string_t.  Do not manually set errno.
38382         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38383         length with __strnlen.  Make sure to both set errno and return it on
38384         failure.
38386 2012-11-19  David S. Miller  <davem@davemloft.net>
38388         With help from Joseph Myers.
38389         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38390         very large arguments properly.
38391         * math/libm-test.inc (atan_test): New tests.
38392         (atan2_test): New tests.
38393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38396 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38398         [BZ #14856]
38399         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38400         Define to 3.
38402         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38403         [POSIX] (EADDRNOTAVAIL): Likewise.
38404         [POSIX] (EAFNOSUPPORT): Likewise.
38405         [POSIX] (EALREADY): Likewise.
38406         [POSIX] (ECONNABORTED): Likewise.
38407         [POSIX] (ECONNREFUSED): Likewise.
38408         [POSIX] (ECONNRESET): Likewise.
38409         [POSIX] (EDESTADDRREQ): Likewise.
38410         [POSIX] (EDQUOT): Likewise.
38411         [POSIX] (EHOSTUNREACH): Likewise.
38412         [POSIX] (EIDRM): Likewise.
38413         [POSIX] (EISCONN): Likewise.
38414         [POSIX] (ELOOP): Likewise.
38415         [POSIX] (EMULTIHOP): Likewise.
38416         [POSIX] (ENETDOWN): Likewise.
38417         [POSIX] (ENETUNREACH): Likewise.
38418         [POSIX] (ENOBUFS): Likewise.
38419         [POSIX] (ENODATA): Likewise.
38420         [POSIX] (ENOLINK): Likewise.
38421         [POSIX] (ENOMSG): Likewise.
38422         [POSIX] (ENOPROTOOPT): Likewise.
38423         [POSIX] (ENOSR): Likewise.
38424         [POSIX] (ENOSTR): Likewise.
38425         [POSIX] (ENOTCONN): Likewise.
38426         [POSIX] (ENOTSOCK): Likewise.
38427         [POSIX] (EOPNOTSUPP): Likewise.
38428         [POSIX] (EOVERFLOW): Likewise.
38429         [POSIX] (EPROTO): Likewise.
38430         [POSIX] (EPROTONOSUPPORT): Likewise.
38431         [POSIX] (EPROTOTYPE): Likewise.
38432         [POSIX] (ESTALE): Likewise.
38433         [POSIX] (ETIME): Likewise.
38434         [POSIX] (ETXTBSY): Likewise.
38435         [POSIX] (EWOULDBLOCK): Likewise.
38436         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38437         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38438         [POSIX] (SEEK_CUR): Likewise.
38439         [POSIX] (SEEK_END): Likewise.
38440         [POSIX || UNIX98] (mode_t): Do not require.
38441         [POSIX] (off_t): Likewise.
38442         [POSIX] (pid_t): Likewise.
38443         [POSIX] (sys/stat.h): Do not allow header.
38444         [POSIX] (unistd.h): Likewise.
38445         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38446         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38447         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38448         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38449         require.
38450         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38451         sigevent): Specify elements.
38452         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38453         entry.
38454         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38455         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38457         * conform/data/cpio.h-data [POSIX]: Disable whole file.
38458         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38459         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38460         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38461         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38462         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38463         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38464         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38465         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38466         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38467         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38468         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38469         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38470         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38471         Likewise.
38472         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38473         Likewise.
38474         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38475         Likewise.
38476         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38477         Likewise.
38478         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38479         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38480         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38481         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38482         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38483         Specify lower bound on value.
38484         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38485         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38486         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38487         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38488         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38489         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38490         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38491         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38492         value.
38493         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38494         as optional.
38495         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38496         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38497         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38498         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38499         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38500         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38501         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38502         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38503         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38504         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38505         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38506         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38507         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38508         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38509         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38510         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38511         entry.
38512         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38513         optional.
38514         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38515         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38516         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38517         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38518         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38519         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38520         Likewise.
38521         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38522         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38523         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38524         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38525         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
38526         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38527         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38528         as optional.
38529         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38530         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38531         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38532         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38533         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38534         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38535         specify as optional.
38536         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38537         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38538         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38539         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38540         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38541         [XPG3] (NL_LANGMAX): Likewise.
38542         [POSIX || XPG3] (NL_MSGMAX): Likewise.
38543         [POSIX || XPG3] (NL_NMAX): Likewise.
38544         [POSIX || XPG3] (NL_SETMAX): Likewise.
38545         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38546         [XPG3] (NZERO): Likewise.
38547         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38548         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38549         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38550         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38551         (REG_ERANGE): Expect.
38552         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38553         optional-constant.
38554         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38555         Use (void) in prototype.
38556         [POSIX] (*_t): Allow.
38557         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38558         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38559         (WRDE_BADVAL): Expect.
38561         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38562         expect.
38563         [XPG3 || XPG4] (O_RSYNC): Likewise.
38564         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38565         Likewise.
38566         [XPG3 || XPG4] (pthread_sigmask): Likewise.
38567         [XPG3 || XPG4] (sigqueue): Likewise.
38568         [XPG3 || XPG4] (sigtimedwait): Likewise.
38569         [XPG3 || XPG4] (sigwaitinfo): Likewise.
38570         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38571         [XPG3 || XPG4] (vsnprintf): Likewise.
38572         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38573         Likewise.
38574         [XPG3 || XPG4] (blksize_t): Likewise.
38575         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38576         Likewise.
38577         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38578         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38579         [XPG3 || XPG4] (struct itimerspec): Likewise.
38580         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38581         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38582         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38583         [XPG3 || XPG4] (clockid_t): Likewise.
38584         [XPG3 || XPG4] (timer_t): Likewise.
38585         [XPG3 || XPG4] (clock_getres): Likewise.
38586         [XPG3 || XPG4] (clock_gettime): Likewise.
38587         [XPG3 || XPG4] (clock_settime): Likewise.
38588         [XPG3 || XPG4] (nanosleep): Likewise.
38589         [XPG3 || XPG4] (timer_create): Likewise.
38590         [XPG3 || XPG4] (timer_delete): Likewise.
38591         [XPG3 || XPG4] (timer_gettime): Likewise.
38592         [XPG3 || XPG4] (timer_getoverrun): Likewise.
38593         [XPG3 || XPG4] (timer_settime): Likewise.
38594         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38595         [XPG3 || XPG4] (getlogin_r): Likewise.
38596         [XPG3 || XPG4] (pread): Likewise.
38597         [XPG3 || XPG4] (pthread_atfork): Likewise.
38598         [XPG3 || XPG4] (pwrite): Likewise.
38600         [BZ #14835]
38601         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38602         <bits/siginfo.h>.
38604 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38606         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38607         finalizing MALLSTREAM.
38609         * sysdeps/mach/hurd/syncfs.c: New file.
38611 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38613         [BZ #14719]
38614         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38615         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38616         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38617         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38618         (_nss_dns_gethostbyname4_r): Likewise.
38619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38620         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38622 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
38624         [BZ #13763]
38625         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38627 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
38629         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38630         * elf/cache.c (print_entry): Print ",AArch64" for
38631         FLAG_AARCH64_LIB64
38633         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38634         * elf/cache.c (print_entry): Print ",hard-float" for
38635         FLAG_ARM_LIBHF.
38637 2012-11-18  David S. Miller  <davem@davemloft.net>
38639         With help from Joseph Myers.
38640         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38641         cutoff to 2**-13.
38642         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38643         cutoff to 2**-25.
38644         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38645         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38646         small.
38647         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38648         * math/libm-test.inc (y0_test): New tests.
38649         (y1_test): New tests.
38650         * sysdeps/i386/fpu/libm-test-ulps: Update.
38651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38654 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
38656         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38657         64-bit targets.
38658         * configure: Regenerated.
38660 2012-11-17  David S. Miller  <davem@davemloft.net>
38662         [BZ #14811]
38663         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38664         nonzero exponents with absolute value below 0x1p-128 to +/-
38665         0x1p-128.
38667 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
38669         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38671         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38673         * posix/getconf-speclist.c: New file.
38674         * posix/posix-envs.def: Likewise.
38675         * posix/confstr.c (START_ENV_GROUP): New macro.
38676         (END_ENV_GROUP): Likewise.
38677         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38678         (KNOWN_PRESENT_ENV_STRING): Likewise.
38679         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38680         (UNKNOWN_ENVIRONMENT): Likewise.
38681         (confstr): Include posix-envs.def instead of handling
38682         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38683         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38684         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38685         (END_ENV_GROUP): Likewise.
38686         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38687         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38688         (UNKNOWN_ENVIRONMENT): Likewise.
38689         (__sysconf): Include posix-envs.def instead of handling associated
38690         cases directly here.
38691         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38692         preprocessing getconf-speclist.c rather than running getconf or
38693         generating empty file.
38695 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
38697         * scripts/check-local-headers.sh: Ignore 'mach' headers.
38699 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
38701         [BZ #14672]
38702         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38704 2012-11-16  David S. Miller  <davem@davemloft.net>
38706         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38707         smaller than LDBL_EPSILON/2.0L, just return xm1.
38709 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
38711         * elf/tst-array1.c (init): Set constructor priority to 1000.
38712         (fini): Set destructor priority to 1000.
38713         * elf/tst-array2dep.c: Likewise.
38715 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38717         [BZ #11741]
38718         * libio/fileops.c (_IO_new_file_write): Correctly return error.
38719         (_IO_new_file_xsputn): Also return EOF if none of the input
38720         data was written when overflow failed.
38721         * libio/iopadn.c (_IO_padn): Likewise.
38722         * libio/iowpadn.c (_IO_wpadn): Likewise.
38723         * stdio-common/tst-put-error.c: Add copyright notice.
38724         (do_test): Add case for printing padded string.
38725         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38726         _IO_padn returned error.
38727         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38728         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38729         return EOF.
38731 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38733         * libio/libioP.h: Add comment note that the references to C++
38734         bits are now obsolete.
38736 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38738         * math/libm-test.inc (check_complex): Use asprintf.
38740 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
38742         * debug/pcprofiledump.c (print_version): Update copyright year.
38743         * malloc/memusagestat.c (print_version): Likewise.
38745 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
38747         [BZ #14831]
38748         * elf/Makefile (tests): Add tst-audit8.
38749         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38750         ($(objpfx)tst-audit8.out): New target.
38751         (tst-audit8-ENV): New variable.
38752         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38753         audit if l_reloc_result is NULL.
38754         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38755         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38756         * elf/tst-audit8.c: New file.
38758 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38760         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38761         * misc/Makefile (CFLAGS-select.c): Define.
38762         * posix/Makefile (CFLAGS-pause.c): Define.
38764 2012-11-13  David S. Miller  <davem@davemloft.net>
38766         * crypt/Makefile: Move test targets after toplevel Rules
38767         inclusion.  Grab any necessary sysdep routines when linking.
38768         * crypt/md5.c (md5_process_block): Remove define, we will always
38769         name it __md5_process_block.
38770         (md5_finish_ctx): Update md5_process_block call.
38771         (md5_stream): Likewise.
38772         (md5_process_bytes): Likewise.
38773         (md5_process_block): Rename to __md5_process_block and move to ...
38774         * crypt/md5-block.c: ... here.
38775         * crypt/sha256.c (sha256_process_block): Move to ...
38776         * crypt/sha256-block.c: ... here.
38777         * crypt/sha512.c (sha512_process_block): Move to ...
38778         * crypt/sha512-block.c: ... here.
38779         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38780         path.
38781         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38782         * sysdeps/sparc/sparc64/multiarch/Makefile
38783         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38784         crypt subdir.
38785         (localedef-aux): Add md5 crypto assembler when in locale subdir.
38786         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38787         multiarch changes.
38788         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38789         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38790         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38791         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38792         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38793         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38794         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38795         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38796         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38797         file.
38798         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38799         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38800         file.
38801         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38803 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
38805         * timezone/tzselect.ksh: Update from tzcode git revision
38806         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38807         * timezone/zdump.c: Likewise.
38808         * timezone/zic.c: Likewise.
38809         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38810         in TZVERSION setting, not $(PKGVERSION).
38811         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
38812         REPORT_BUGS_TO settings.
38814         [BZ #14838]
38815         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38816         macro.
38818 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38820         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38821         detection to immediately after _FP_ROUND().
38822         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38823         bits are 0.
38825 2012-11-11  David S. Miller  <davem@davemloft.net>
38827         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38828         inttypes.h
38829         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38830         __close rather than their public counterparts.
38832 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
38834         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38835         file.
38836         [UNIX98] (sem_timedwait): Do not expect.
38837         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38838         [XPG4 || UNIX98] (sockatmark): Do not expect.
38839         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38840         (clock_getcpuclockid): Do not expect.
38841         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38842         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38843         Do not expect.
38844         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38845         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38846         [UNIX98] (vwscanf): Likewise.
38847         [UNIX98] (vswscanf): Likewise.
38849 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
38851         * timezone/version.h: Remove file.
38852         * timezone/README: Do not refer to version.h.
38853         * timezone/Makefile ($(objpfx)zic.o): New dependency on
38854         $(objpfx)version.h.
38855         ($(objpfx)zdump.o): Likewise.
38856         ($(objpfx)version.h): New target.
38858         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38859         2012i.
38860         * timezone/README: Don't mention modification to tzselect.ksh.
38861         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38862         work on unmodified tzselect.ksh.  Substitute version numbers in
38863         tzselect.ksh.
38865         * Makefile (format-me): Remove.
38866         (INSTALL): Adjust indentation.  Use commands directly instead of
38867         using $(format-me).
38869         * aclocal.m4 (ACX_PKGVERSION): New macro.
38870         (ACX_BUGURL): Likewise.
38871         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38872         (PKGVERSION): New AC_DEFINE_UNQUOTED.
38873         (REPORT_BUGS_TO): Likewise.
38874         * configure: Regenerated.
38875         * config.h.in (PKGVERSION): New macro.
38876         (REPORT_BUGS_TO): Likewise.
38877         * config.make.in (PKGVERSION): New variable.
38878         (PKGVERSION_TEXI): Likewise.
38879         (REPORT_BUGS_TO): Likewise.
38880         (REPORT_BUGS_TEXI): Likewise.
38881         * Makefile (format-me): Use -I$(common-objpfx)manual.
38882         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38883         ($(common-objpfx)manual/%): New target.
38884         (manual/%): Remove target.
38885         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38886         (print_version): Use PKGVERSION.
38887         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38888         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38889         and REPORT_BUGS_TO.
38890         ($(objpfx)xtrace): Likewise.
38891         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38892         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38893         (print_version): Use PKGVERSION.
38894         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38895         (do_version): Use PKGVERSION.
38896         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38897         REPORT_BUGS_TO.
38898         (common-ldd-rewrite): Likewise.
38899         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38900         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38901         (print_version): Use PKGVERSION.
38902         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38903         * elf/pldd.c (argp_program_bug_address): Remove variable.
38904         (more_help): New function.
38905         (argp): Use more_help.
38906         (print_version): Use PKGVERSION.
38907         * elf/sln.c (main): Use PKGVERSION.
38908         (usage): Use REPORT_BUGS_TO.
38909         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38910         (top level): Use PKGVERSION.
38911         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38912         (print_version): Use PKGVERSION.
38913         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38914         (print_version): Use PKGVERSION.
38915         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38916         (print_version): Use PKGVERSION.
38917         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38918         (print_version): Use PKGVERSION.
38919         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38920         (print_version): Use PKGVERSION.
38921         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38922         (print_version): Use PKGVERSION.
38923         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38924         and BUGURL.
38925         ($(objpfx)memusage): Likewise.
38926         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38927         (do_version): Use PKGVERSION.
38928         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38929         (print_version): Use PKGVERSION.
38930         * malloc/mtrace.pl ($PACKAGE): Remove variable.
38931         ($PKGVERSION): New variable.
38932         ($REPORT_BUGS_TO): Likewise.
38933         (usage): Use $REPORT_BUGS_TO.
38934         (top level): Use $PKGVERSION.
38935         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38936         ($(objpfx)pkgvers.texi): New rule.
38937         ($(objpfx)stamp-pkgvers): Likewise.
38938         * manual/install.texi: Include pkgvers.texi.
38939         (--with-pkgversion): Document new configure option.
38940         (--with-bugurl): Likewise.
38941         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38942         than necessarily for this particular distribution.  Use
38943         REPORT_BUGS_TO for where to report bugs.
38944         * INSTALL: Regenerated.
38945         * manual/libc.texinfo: Include pkgvers.texi.
38946         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38947         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38948         (print_version): Use PKGVERSION.
38949         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38950         (print_version): Use PKGVERSION.
38951         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38952         (print_version): Use PKGVERSION.
38953         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38954         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38955         macro.
38956         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38957         (print_version): Use PKGVERSION.
38958         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38959         (print_version): Use PKGVERSION.
38960         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38961         and PKGVERSION.
38963         * timezone/checktab.awk: Update from tzcode 2012i.
38964         * timezone/ialloc.c: Likewise.
38965         * timezone/private.h: Likewise.
38966         * timezone/scheck.c: Likewise.
38967         * timezone/tzfile.h: Likewise.
38968         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38969         (TZVERSION): Hardcode tzcode version number.
38970         * timezone/zdump.c: Update from tzcode 2012i.
38971         * timezone/zic.c: Likewise.
38972         * timezone/version.h: New file.
38973         * timezone/README: Describe version.h.  Update upstream location.
38975         [BZ #14824]
38976         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38977         (mktemp): Enable declaration.
38978         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38979         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38980         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38981         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38982         Likewise.
38983         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38984         Likewise.
38985         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38986         Likewise.
38987         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38988         Likewise.
38989         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38990         Likewise.
38991         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38992         Likewise.
38994         [BZ #14821]
38995         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38996         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
38997         for copies of such integer values.
38998         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38999         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39001 2012-11-09  Andreas Jaeger  <aj@suse.de>
39003         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39004         definitions and declarations that are provided by
39005         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39007 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39009         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39010         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39011         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39012         definition.
39014 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39016         * elf/elf.h: Update comment before AArch64 relocations.
39018 2012-11-07  David S. Miller  <davem@davemloft.net>
39020         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39021         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39022         (__start_context): Declare.
39023         (__makecontext_ret): Delete.
39024         (__makecontext): Hook up __start_context instead of
39025         __makecontext_ret.
39026         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39027         (sysdep_routines): Add __start_context when in stdlib.
39029 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39031         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39032         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39033         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
39034         hardcoded "nm".
39035         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
39036         (READELF): New variable.  Use it instead of hardcoded "readelf".
39038 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
39040         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39041         * sysdeps/x86/Makefile: Here.
39042         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39043         * sysdeps/x86/tst-xmmymm.sh: This.
39045 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39047         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39048         expectations.
39049         [UNIX98] (pthread_barrier_t): Do not expect.
39050         [UNIX98] (pthread_barrierattr_t): Likewise.
39051         [UNIX98] (pthread_spinlock_t): Likewise.
39052         [UNIX98] (pthread_barrier_destroy): Likewise.
39053         [UNIX98] (pthread_barrier_init): Likewise.
39054         [UNIX98] (pthread_barrier_wait): Likewise.
39055         [UNIX98] (pthread_barrierattr_destroy): Likewise.
39056         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39057         [UNIX98] (pthread_barrierattr_init): Likewise.
39058         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39059         [UNIX98] (pthread_getcpuclockid): Likewise.
39060         [UNIX98] (pthread_mutex_timedlock): Likewise.
39061         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39062         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39063         [UNIX98] (pthread_sigmask): Likewise.
39064         [UNIX98] (pthread_spin_destroy): Likewise.
39065         [UNIX98] (pthread_spin_init): Likewise.
39066         [UNIX98] (pthread_spin_lock): Likewise.
39067         [UNIX98] (pthread_spin_trylock): Likewise.
39068         [UNIX98] (pthread_spin_unlock): Likewise.
39069         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39070         Do not expect.
39071         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39072         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39073         [XPG3 || XPG4] (pthread_cond_t): Likewise.
39074         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39075         [XPG3 || XPG4] (pthread_key_t): Likewise.
39076         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39077         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39078         [XPG3 || XPG4] (pthread_once_t): Likewise.
39079         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39080         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39081         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39082         [XPG3 || XPG4] (pthread_t): Likewise.
39084         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39085         not expect.
39086         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39088         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39089         Change function return type to int.
39091         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39092         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39093         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39094         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39095         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39096         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39097         [!POSIX] (posix_madvise): Likewise.
39098         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39099         && !UNIX98].
39100         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39101         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39102         (mode_t): Likewise.
39103         (posix_mem_offset): Likewise.
39104         (posix_typed_mem_get_info): Likewise.
39105         (posix_typed_mem_open): Likewise.
39107         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39108         Change condition to [XOPEN2K8].
39110         * conform/conformtest.pl: Preprocess allow-header data with -x c
39111         instead of from stdin.
39112         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39113         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39114         [C99-based standards] (cerfc): Likewise.
39115         [C99-based standards] (cexp2): Likewise.
39116         [C99-based standards] (cexpm1): Likewise.
39117         [C99-based standards] (clog10): Likewise.
39118         [C99-based standards] (clog1p): Likewise.
39119         [C99-based standards] (clog2): Likewise.
39120         [C99-based standards] (clgamma): Likewise.
39121         [C99-based standards] (ctgamma): Likewise.
39122         [C99-based standards] (cerff): Likewise.
39123         [C99-based standards] (cerfcf): Likewise.
39124         [C99-based standards] (cexp2f): Likewise.
39125         [C99-based standards] (cexpm1f): Likewise.
39126         [C99-based standards] (clog10f): Likewise.
39127         [C99-based standards] (clog1pf): Likewise.
39128         [C99-based standards] (clog2f): Likewise.
39129         [C99-based standards] (clgammaf): Likewise.
39130         [C99-based standards] (ctgammaf): Likewise.
39131         [C99-based standards] (cerfl): Likewise.
39132         [C99-based standards] (cerfcl): Likewise.
39133         [C99-based standards] (cexp2l): Likewise.
39134         [C99-based standards] (cexpm1l): Likewise.
39135         [C99-based standards] (clog10l): Likewise.
39136         [C99-based standards] (clog1pl): Likewise.
39137         [C99-based standards] (clog2l): Likewise.
39138         [C99-based standards] (clgammal): Likewise.
39139         [C99-based standards] (ctgammal): Likewise.
39140         * conform/data/inttypes.h-data [C99-based standards]: Include
39141         stdint.h-data.  Remove all expectations for stdint.h contents.
39142         [C99-based standards] (PRI*): Do not allow.
39143         [C99-based standards] (SCN*): Likewise.
39144         [C99-based standards] (*_t): Likewise.
39145         [C99-based-standards] (PRId8): Expect macro.
39146         [C99-based-standards] (PRIi8): Likewise.
39147         [C99-based-standards] (PRIo8): Likewise.
39148         [C99-based-standards] (PRIu8): Likewise.
39149         [C99-based-standards] (PRIx8): Likewise.
39150         [C99-based-standards] (PRIX8): Likewise.
39151         [C99-based-standards] (SCNd8): Likewise.
39152         [C99-based-standards] (SCNi8): Likewise.
39153         [C99-based-standards] (SCNo8): Likewise.
39154         [C99-based-standards] (SCNu8): Likewise.
39155         [C99-based-standards] (SCNx8): Likewise.
39156         [C99-based-standards] (PRIdLEAST8): Likewise.
39157         [C99-based-standards] (PRIiLEAST8): Likewise.
39158         [C99-based-standards] (PRIoLEAST8): Likewise.
39159         [C99-based-standards] (PRIuLEAST8): Likewise.
39160         [C99-based-standards] (PRIxLEAST8): Likewise.
39161         [C99-based-standards] (PRIXLEAST8): Likewise.
39162         [C99-based-standards] (SCNdLEAST8): Likewise.
39163         [C99-based-standards] (SCNiLEAST8): Likewise.
39164         [C99-based-standards] (SCNoLEAST8): Likewise.
39165         [C99-based-standards] (SCNuLEAST8): Likewise.
39166         [C99-based-standards] (SCNxLEAST8): Likewise.
39167         [C99-based-standards] (PRIdFAST8): Likewise.
39168         [C99-based-standards] (PRIiFAST8): Likewise.
39169         [C99-based-standards] (PRIoFAST8): Likewise.
39170         [C99-based-standards] (PRIuFAST8): Likewise.
39171         [C99-based-standards] (PRIxFAST8): Likewise.
39172         [C99-based-standards] (PRIXFAST8): Likewise.
39173         [C99-based-standards] (SCNdFAST8): Likewise.
39174         [C99-based-standards] (SCNiFAST8): Likewise.
39175         [C99-based-standards] (SCNoFAST8): Likewise.
39176         [C99-based-standards] (SCNuFAST8): Likewise.
39177         [C99-based-standards] (SCNxFAST8): Likewise.
39178         [C99-based-standards] (PRId16): Likewise.
39179         [C99-based-standards] (PRIi16): Likewise.
39180         [C99-based-standards] (PRIo16): Likewise.
39181         [C99-based-standards] (PRIu16): Likewise.
39182         [C99-based-standards] (PRIx16): Likewise.
39183         [C99-based-standards] (PRIX16): Likewise.
39184         [C99-based-standards] (SCNd16): Likewise.
39185         [C99-based-standards] (SCNi16): Likewise.
39186         [C99-based-standards] (SCNo16): Likewise.
39187         [C99-based-standards] (SCNu16): Likewise.
39188         [C99-based-standards] (SCNx16): Likewise.
39189         [C99-based-standards] (PRIdLEAST16): Likewise.
39190         [C99-based-standards] (PRIiLEAST16): Likewise.
39191         [C99-based-standards] (PRIoLEAST16): Likewise.
39192         [C99-based-standards] (PRIuLEAST16): Likewise.
39193         [C99-based-standards] (PRIxLEAST16): Likewise.
39194         [C99-based-standards] (PRIXLEAST16): Likewise.
39195         [C99-based-standards] (SCNdLEAST16): Likewise.
39196         [C99-based-standards] (SCNiLEAST16): Likewise.
39197         [C99-based-standards] (SCNoLEAST16): Likewise.
39198         [C99-based-standards] (SCNuLEAST16): Likewise.
39199         [C99-based-standards] (SCNxLEAST16): Likewise.
39200         [C99-based-standards] (PRIdFAST16): Likewise.
39201         [C99-based-standards] (PRIiFAST16): Likewise.
39202         [C99-based-standards] (PRIoFAST16): Likewise.
39203         [C99-based-standards] (PRIuFAST16): Likewise.
39204         [C99-based-standards] (PRIxFAST16): Likewise.
39205         [C99-based-standards] (PRIXFAST16): Likewise.
39206         [C99-based-standards] (SCNdFAST16): Likewise.
39207         [C99-based-standards] (SCNiFAST16): Likewise.
39208         [C99-based-standards] (SCNoFAST16): Likewise.
39209         [C99-based-standards] (SCNuFAST16): Likewise.
39210         [C99-based-standards] (SCNxFAST16): Likewise.
39211         [C99-based-standards] (PRId32): Likewise.
39212         [C99-based-standards] (PRIi32): Likewise.
39213         [C99-based-standards] (PRIo32): Likewise.
39214         [C99-based-standards] (PRIu32): Likewise.
39215         [C99-based-standards] (PRIx32): Likewise.
39216         [C99-based-standards] (PRIX32): Likewise.
39217         [C99-based-standards] (SCNd32): Likewise.
39218         [C99-based-standards] (SCNi32): Likewise.
39219         [C99-based-standards] (SCNo32): Likewise.
39220         [C99-based-standards] (SCNu32): Likewise.
39221         [C99-based-standards] (SCNx32): Likewise.
39222         [C99-based-standards] (PRIdLEAST32): Likewise.
39223         [C99-based-standards] (PRIiLEAST32): Likewise.
39224         [C99-based-standards] (PRIoLEAST32): Likewise.
39225         [C99-based-standards] (PRIuLEAST32): Likewise.
39226         [C99-based-standards] (PRIxLEAST32): Likewise.
39227         [C99-based-standards] (PRIXLEAST32): Likewise.
39228         [C99-based-standards] (SCNdLEAST32): Likewise.
39229         [C99-based-standards] (SCNiLEAST32): Likewise.
39230         [C99-based-standards] (SCNoLEAST32): Likewise.
39231         [C99-based-standards] (SCNuLEAST32): Likewise.
39232         [C99-based-standards] (SCNxLEAST32): Likewise.
39233         [C99-based-standards] (PRIdFAST32): Likewise.
39234         [C99-based-standards] (PRIiFAST32): Likewise.
39235         [C99-based-standards] (PRIoFAST32): Likewise.
39236         [C99-based-standards] (PRIuFAST32): Likewise.
39237         [C99-based-standards] (PRIxFAST32): Likewise.
39238         [C99-based-standards] (PRIXFAST32): Likewise.
39239         [C99-based-standards] (SCNdFAST32): Likewise.
39240         [C99-based-standards] (SCNiFAST32): Likewise.
39241         [C99-based-standards] (SCNoFAST32): Likewise.
39242         [C99-based-standards] (SCNuFAST32): Likewise.
39243         [C99-based-standards] (SCNxFAST32): Likewise.
39244         [C99-based-standards] (PRId64): Likewise.
39245         [C99-based-standards] (PRIi64): Likewise.
39246         [C99-based-standards] (PRIo64): Likewise.
39247         [C99-based-standards] (PRIu64): Likewise.
39248         [C99-based-standards] (PRIx64): Likewise.
39249         [C99-based-standards] (PRIX64): Likewise.
39250         [C99-based-standards] (SCNd64): Likewise.
39251         [C99-based-standards] (SCNi64): Likewise.
39252         [C99-based-standards] (SCNo64): Likewise.
39253         [C99-based-standards] (SCNu64): Likewise.
39254         [C99-based-standards] (SCNx64): Likewise.
39255         [C99-based-standards] (PRIdLEAST64): Likewise.
39256         [C99-based-standards] (PRIiLEAST64): Likewise.
39257         [C99-based-standards] (PRIoLEAST64): Likewise.
39258         [C99-based-standards] (PRIuLEAST64): Likewise.
39259         [C99-based-standards] (PRIxLEAST64): Likewise.
39260         [C99-based-standards] (PRIXLEAST64): Likewise.
39261         [C99-based-standards] (SCNdLEAST64): Likewise.
39262         [C99-based-standards] (SCNiLEAST64): Likewise.
39263         [C99-based-standards] (SCNoLEAST64): Likewise.
39264         [C99-based-standards] (SCNuLEAST64): Likewise.
39265         [C99-based-standards] (SCNxLEAST64): Likewise.
39266         [C99-based-standards] (PRIdFAST64): Likewise.
39267         [C99-based-standards] (PRIiFAST64): Likewise.
39268         [C99-based-standards] (PRIoFAST64): Likewise.
39269         [C99-based-standards] (PRIuFAST64): Likewise.
39270         [C99-based-standards] (PRIxFAST64): Likewise.
39271         [C99-based-standards] (PRIXFAST64): Likewise.
39272         [C99-based-standards] (SCNdFAST64): Likewise.
39273         [C99-based-standards] (SCNiFAST64): Likewise.
39274         [C99-based-standards] (SCNoFAST64): Likewise.
39275         [C99-based-standards] (SCNuFAST64): Likewise.
39276         [C99-based-standards] (SCNxFAST64): Likewise.
39277         [C99-based-standards] (PRIdMAX): Likewise.
39278         [C99-based-standards] (PRIiMAX): Likewise.
39279         [C99-based-standards] (PRIoMAX): Likewise.
39280         [C99-based-standards] (PRIuMAX): Likewise.
39281         [C99-based-standards] (PRIxMAX): Likewise.
39282         [C99-based-standards] (PRIXMAX): Likewise.
39283         [C99-based-standards] (SCNdMAX): Likewise.
39284         [C99-based-standards] (SCNiMAX): Likewise.
39285         [C99-based-standards] (SCNoMAX): Likewise.
39286         [C99-based-standards] (SCNuMAX): Likewise.
39287         [C99-based-standards] (SCNxMAX): Likewise.
39288         [C99-based-standards] (PRIdPTR): Likewise.
39289         [C99-based-standards] (PRIiPTR): Likewise.
39290         [C99-based-standards] (PRIoPTR): Likewise.
39291         [C99-based-standards] (PRIuPTR): Likewise.
39292         [C99-based-standards] (PRIxPTR): Likewise.
39293         [C99-based-standards] (PRIXPTR): Likewise.
39294         [C99-based-standards] (SCNdPTR): Likewise.
39295         [C99-based-standards] (SCNiPTR): Likewise.
39296         [C99-based-standards] (SCNoPTR): Likewise.
39297         [C99-based-standards] (SCNuPTR): Likewise.
39298         [C99-based-standards] (SCNxPTR): Likewise.
39299         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39300         allow.
39301         * conform/data/stdint.h-data: Update comments to clarify
39302         requirements.
39303         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
39304         type.
39305         [C99-based standards] (INT8_MAX): Likewise.
39306         [C99-based standards] (INT16_MIN): Likewise.
39307         [C99-based standards] (INT16_MAX): Likewise.
39308         [C99-based standards] (INT32_MIN): Likewise.
39309         [C99-based standards] (INT32_MAX): Likewise.
39310         [C99-based standards] (INT64_MIN): Likewise.
39311         [C99-based standards] (INT64_MAX): Likewise.
39312         [C99-based standards] (UINT8_MAX): Likewise.
39313         [C99-based standards] (UINT16_MAX): Likewise.
39314         [C99-based standards] (UINT32_MAX): Likewise.
39315         [C99-based standards] (UINT64_MAX): Likewise.
39316         [C99-based standards] (INT_LEAST8_MIN): Likewise.
39317         [C99-based standards] (INT_LEAST8_MAX): Likewise.
39318         [C99-based standards] (INT_LEAST16_MIN): Likewise.
39319         [C99-based standards] (INT_LEAST16_MAX): Likewise.
39320         [C99-based standards] (INT_LEAST32_MIN): Likewise.
39321         [C99-based standards] (INT_LEAST32_MAX): Likewise.
39322         [C99-based standards] (INT_LEAST64_MIN): Likewise.
39323         [C99-based standards] (INT_LEAST64_MAX): Likewise.
39324         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39325         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39326         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39327         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39328         [C99-based standards] (INT_FAST8_MIN): Likewise.
39329         [C99-based standards] (INT_FAST8_MAX): Likewise.
39330         [C99-based standards] (INT_FAST16_MIN): Likewise.
39331         [C99-based standards] (INT_FAST16_MAX): Likewise.
39332         [C99-based standards] (INT_FAST32_MIN): Likewise.
39333         [C99-based standards] (INT_FAST32_MAX): Likewise.
39334         [C99-based standards] (INT_FAST64_MIN): Likewise.
39335         [C99-based standards] (INT_FAST64_MAX): Likewise.
39336         [C99-based standards] (UINT_FAST8_MAX): Likewise.
39337         [C99-based standards] (UINT_FAST16_MAX): Likewise.
39338         [C99-based standards] (UINT_FAST32_MAX): Likewise.
39339         [C99-based standards] (UINT_FAST64_MAX): Likewise.
39340         [C99-based standards] (INTPTR_MIN): Likewise.
39341         [C99-based standards] (INTPTR_MAX): Likewise.
39342         [C99-based standards] (UINTPTR_MAX): Likewise.
39343         [C99-based standards] (INTMAX_MIN): Likewise.
39344         [C99-based standards] (INTMAX_MAX): Likewise.
39345         [C99-based standards] (UINTMAX_MAX): Likewise.
39346         [C99-based standards] (PTRDIFF_MIN): Likewise.
39347         [C99-based standards] (PTRDIFF_MAX): Likewise.
39348         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39349         [C99-based standards] (SIZE_MAX): Likewise.
39350         [C99-based standards] (WCHAR_MAX): Likewise.
39351         [C99-based standards] (WINT_MAX): Likewise.
39352         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
39353         constraint on value.
39354         [C99-based standards] (WCHAR_MIN): Likewise.
39355         [C99-based standards] (WINT_MIN): Likewise.
39356         [C99-based standards] (*_t): Allow.
39357         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39358         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39359         Include math.h-data and complex.h-data.  Remove all expectations
39360         of math.h and complex.h contents.
39361         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39362         at end of line.
39363         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39364         (struct tm): Expect tag.
39365         [C99-based-standards] (wcstof): Expect function.
39366         [C99-based-standards] (wcstold): Likewise.
39367         [C99-based-standards] (wcstoll): Likewise.
39368         [C99-based-standards] (wcstoull): Likewise.
39369         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39370         macro-int-constant.  Specify type.
39371         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
39372         constraint on value.
39373         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39374         Specify type.
39375         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39376         Specify value.
39377         [ISO C standards]: Do not allow headers.
39378         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39379         wcs[abcdefghijklmnopqrstuvwxyz]*.
39380         [ISO C standards] (*_t): Do not allow.
39381         * conform/data/wctype.h-data [C99-based standards] (iswblank):
39382         Expect function.
39383         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39384         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39385         Specify type.
39386         [ISO C standards]: Do not allow headers.
39387         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39388         is[abcdefghijklmnopqrstuvwxyz]*.
39389         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39390         to[abcdefghijklmnopqrstuvwxyz]*.
39391         [ISO C standards] (*_t): Do not allow.
39392         * conform/data/stdalign.h-data: New file.
39393         * conform/data/stdbool.h-data: Likewise.
39394         * conform/data/stdnoreturn.h-data: Likewise.
39396 2012-11-07  Roland McGrath  <roland@hack.frob.com>
39398         [BZ #14815]
39399         * manual/filesys.texi (Directory Entries): Typo fix.
39400         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39402 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39404         * elf/elf.h (EM_AARCH64): New macro.
39405         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39406         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39407         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39408         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39409         (R_AARCH64_TLSDESC): Likewise.
39410         (NT_ARM_TLS): Likewise.
39411         (NT_ARM_HW_BREAK): Likewise.
39412         (NT_ARM_HW_WATCH): Likewise.
39414 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39416         [BZ #14811]
39417         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39418         (__ieee754_powl): Saturate nonzero exponents with absolute value
39419         below 0x1p-79 to +/- 0x1p-79.
39420         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39421         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39422         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39423         nonzero exponents with absolute value below 0x1p-32 to +/-
39424         0x1p-32.
39425         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39426         (__ieee754_powl): Saturate nonzero exponents with absolute value
39427         below 0x1p-79 to +/- 0x1p-79.
39428         * math/libm-test.inc (pow_test): Add more tests.
39430 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39432         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39433         _dl_s390_cap_flags with kernel. Increase string length.
39434         (_dl_s390_platforms): Add z196 and zEC12.
39436 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39438         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39439         Change XOPEN21K to XOPEN2K.
39441 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
39443         * string/memmove.c: Use memcpy when possible.
39445 2012-11-06  Andreas Jaeger  <aj@suse.de>
39447         * po/eo.po: Update from translation team.
39449 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
39451         [BZ #14793]
39452         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39453         exponent and small x and y exponents, scale x or y up.  Increase
39454         by 2 the exponent used in scaling up.
39455         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39456         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39457         * math/libm-test.inc (fma_test): Add more tests.
39458         (fma_test_towardzero): Likewise.
39459         (fma_test_downward): Likewise.
39460         (fma_test_upward): Likewise.
39462 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
39464         [BZ #14805]
39465         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39466         fenv_t *.
39468         [BZ #14801]
39469         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39470         namespace for names of struct fields.
39471         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39472         fenv_t fields.
39473         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39474         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39476 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39478         [BZ #3665]
39479         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39481 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39483         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39484         PTR_DEMANGLE.
39486         [BZ #5246]
39487         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39488         PTR_DEMANGLE.
39490 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
39492         [BZ #14797]
39493         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39494         definitely overflow as x * y not x * y + z.
39495         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39496         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39497         * math/libm-test.inc (fma_test): Add more tests.
39498         (fma_test_towardzero): Likewise.
39499         (fma_test_downward): Likewise.
39500         (fma_test_upward): Likewise.
39502 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39504         [BZ #157]
39506         * include/stub-tag.h: Remove file.
39507         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39508         '#include' of it.
39509         * manual/maint.texi (Porting): Don't reference it.
39510         * Makerules ($(objpfx)stubs): Likewise.
39511         * dirent/closedir.c: Don't include <stub-tag.h>.
39512         * dirent/dirfd.c: Likewise.
39513         * dirent/fdopendir.c: Likewise.
39514         * dirent/getdents.c: Likewise.
39515         * dirent/getdents64.c: Likewise.
39516         * dirent/opendir.c: Likewise.
39517         * dirent/readdir.c: Likewise.
39518         * dirent/readdir64.c: Likewise.
39519         * dirent/readdir64_r.c: Likewise.
39520         * dirent/readdir_r.c: Likewise.
39521         * dirent/rewinddir.c: Likewise.
39522         * dirent/seekdir.c: Likewise.
39523         * dirent/telldir.c: Likewise.
39524         * gmon/profil.c: Likewise.
39525         * grp/setgroups.c: Likewise.
39526         * inet/if_index.c: Likewise.
39527         * io/access.c: Likewise.
39528         * io/chdir.c: Likewise.
39529         * io/chmod.c: Likewise.
39530         * io/chown.c: Likewise.
39531         * io/close.c: Likewise.
39532         * io/dup.c: Likewise.
39533         * io/dup2.c: Likewise.
39534         * io/dup3.c: Likewise.
39535         * io/euidaccess.c: Likewise.
39536         * io/faccessat.c: Likewise.
39537         * io/fchdir.c: Likewise.
39538         * io/fchmod.c: Likewise.
39539         * io/fchmodat.c: Likewise.
39540         * io/fchown.c: Likewise.
39541         * io/fchownat.c: Likewise.
39542         * io/fcntl.c: Likewise.
39543         * io/flock.c: Likewise.
39544         * io/fstatfs.c: Likewise.
39545         * io/fstatfs64.c: Likewise.
39546         * io/fstatvfs.c: Likewise.
39547         * io/fstatvfs64.c: Likewise.
39548         * io/futimens.c: Likewise.
39549         * io/fxstat.c: Likewise.
39550         * io/fxstat64.c: Likewise.
39551         * io/fxstatat.c: Likewise.
39552         * io/fxstatat64.c: Likewise.
39553         * io/getcwd.c: Likewise.
39554         * io/isatty.c: Likewise.
39555         * io/lchmod.c: Likewise.
39556         * io/lchown.c: Likewise.
39557         * io/link.c: Likewise.
39558         * io/linkat.c: Likewise.
39559         * io/lseek.c: Likewise.
39560         * io/lseek64.c: Likewise.
39561         * io/lxstat64.c: Likewise.
39562         * io/mkdir.c: Likewise.
39563         * io/mkdirat.c: Likewise.
39564         * io/mkfifo.c: Likewise.
39565         * io/mkfifoat.c: Likewise.
39566         * io/open.c: Likewise.
39567         * io/open64.c: Likewise.
39568         * io/openat.c: Likewise.
39569         * io/openat64.c: Likewise.
39570         * io/pipe.c: Likewise.
39571         * io/pipe2.c: Likewise.
39572         * io/poll.c: Likewise.
39573         * io/posix_fadvise.c: Likewise.
39574         * io/posix_fadvise64.c: Likewise.
39575         * io/posix_fallocate.c: Likewise.
39576         * io/posix_fallocate64.c: Likewise.
39577         * io/read.c: Likewise.
39578         * io/readlink.c: Likewise.
39579         * io/readlinkat.c: Likewise.
39580         * io/rmdir.c: Likewise.
39581         * io/sendfile.c: Likewise.
39582         * io/sendfile64.c: Likewise.
39583         * io/statfs.c: Likewise.
39584         * io/statfs64.c: Likewise.
39585         * io/statvfs.c: Likewise.
39586         * io/statvfs64.c: Likewise.
39587         * io/symlink.c: Likewise.
39588         * io/symlinkat.c: Likewise.
39589         * io/ttyname.c: Likewise.
39590         * io/ttyname_r.c: Likewise.
39591         * io/umask.c: Likewise.
39592         * io/unlink.c: Likewise.
39593         * io/unlinkat.c: Likewise.
39594         * io/utime.c: Likewise.
39595         * io/utimensat.c: Likewise.
39596         * io/write.c: Likewise.
39597         * io/xmknod.c: Likewise.
39598         * io/xmknodat.c: Likewise.
39599         * io/xstat.c: Likewise.
39600         * io/xstat64.c: Likewise.
39601         * login/getpt.c: Likewise.
39602         * login/grantpt.c: Likewise.
39603         * login/unlockpt.c: Likewise.
39604         * math/e_acoshl.c: Likewise.
39605         * math/e_acosl.c: Likewise.
39606         * math/e_asinl.c: Likewise.
39607         * math/e_atan2l.c: Likewise.
39608         * math/e_atanhl.c: Likewise.
39609         * math/e_coshl.c: Likewise.
39610         * math/e_expl.c: Likewise.
39611         * math/e_fmodl.c: Likewise.
39612         * math/e_gammal_r.c: Likewise.
39613         * math/e_hypotl.c: Likewise.
39614         * math/e_j0l.c: Likewise.
39615         * math/e_j1l.c: Likewise.
39616         * math/e_jnl.c: Likewise.
39617         * math/e_lgammal_r.c: Likewise.
39618         * math/e_log10l.c: Likewise.
39619         * math/e_log2l.c: Likewise.
39620         * math/e_logl.c: Likewise.
39621         * math/e_powl.c: Likewise.
39622         * math/e_rem_pio2l.c: Likewise.
39623         * math/e_sinhl.c: Likewise.
39624         * math/e_sqrtl.c: Likewise.
39625         * math/fclrexcpt.c: Likewise.
39626         * math/fedisblxcpt.c: Likewise.
39627         * math/feenablxcpt.c: Likewise.
39628         * math/fegetenv.c: Likewise.
39629         * math/fegetexcept.c: Likewise.
39630         * math/fegetround.c: Likewise.
39631         * math/feholdexcpt.c: Likewise.
39632         * math/fesetenv.c: Likewise.
39633         * math/fesetround.c: Likewise.
39634         * math/feupdateenv.c: Likewise.
39635         * math/fgetexcptflg.c: Likewise.
39636         * math/fraiseexcpt.c: Likewise.
39637         * math/fsetexcptflg.c: Likewise.
39638         * math/ftestexcept.c: Likewise.
39639         * math/k_cosl.c: Likewise.
39640         * math/k_rem_pio2l.c: Likewise.
39641         * math/k_sinl.c: Likewise.
39642         * math/k_tanl.c: Likewise.
39643         * math/s_asinhl.c: Likewise.
39644         * math/s_atanl.c: Likewise.
39645         * math/s_cbrtl.c: Likewise.
39646         * math/s_erfl.c: Likewise.
39647         * math/s_expm1l.c: Likewise.
39648         * math/s_log1pl.c: Likewise.
39649         * math/s_tanhl.c: Likewise.
39650         * misc/acct.c: Likewise.
39651         * misc/brk.c: Likewise.
39652         * misc/chflags.c: Likewise.
39653         * misc/chroot.c: Likewise.
39654         * misc/fchflags.c: Likewise.
39655         * misc/fgetxattr.c: Likewise.
39656         * misc/flistxattr.c: Likewise.
39657         * misc/fremovexattr.c: Likewise.
39658         * misc/fsetxattr.c: Likewise.
39659         * misc/fsync.c: Likewise.
39660         * misc/ftruncate.c: Likewise.
39661         * misc/futimes.c: Likewise.
39662         * misc/futimesat.c: Likewise.
39663         * misc/getdomain.c: Likewise.
39664         * misc/getdtsz.c: Likewise.
39665         * misc/gethostid.c: Likewise.
39666         * misc/gethostname.c: Likewise.
39667         * misc/getloadavg.c: Likewise.
39668         * misc/getpagesize.c: Likewise.
39669         * misc/getsysstats.c: Likewise.
39670         * misc/getxattr.c: Likewise.
39671         * misc/gtty.c: Likewise.
39672         * misc/ioctl.c: Likewise.
39673         * misc/lgetxattr.c: Likewise.
39674         * misc/listxattr.c: Likewise.
39675         * misc/llistxattr.c: Likewise.
39676         * misc/lremovexattr.c: Likewise.
39677         * misc/lsetxattr.c: Likewise.
39678         * misc/lutimes.c: Likewise.
39679         * misc/madvise.c: Likewise.
39680         * misc/mincore.c: Likewise.
39681         * misc/mlock.c: Likewise.
39682         * misc/mlockall.c: Likewise.
39683         * misc/mmap.c: Likewise.
39684         * misc/mprotect.c: Likewise.
39685         * misc/msync.c: Likewise.
39686         * misc/munlock.c: Likewise.
39687         * misc/munlockall.c: Likewise.
39688         * misc/munmap.c: Likewise.
39689         * misc/preadv.c: Likewise.
39690         * misc/preadv64.c: Likewise.
39691         * misc/ptrace.c: Likewise.
39692         * misc/pwritev.c: Likewise.
39693         * misc/pwritev64.c: Likewise.
39694         * misc/readv.c: Likewise.
39695         * misc/reboot.c: Likewise.
39696         * misc/remap_file_pages.c: Likewise.
39697         * misc/removexattr.c: Likewise.
39698         * misc/revoke.c: Likewise.
39699         * misc/select.c: Likewise.
39700         * misc/setdomain.c: Likewise.
39701         * misc/setegid.c: Likewise.
39702         * misc/seteuid.c: Likewise.
39703         * misc/sethostid.c: Likewise.
39704         * misc/sethostname.c: Likewise.
39705         * misc/setregid.c: Likewise.
39706         * misc/setreuid.c: Likewise.
39707         * misc/setxattr.c: Likewise.
39708         * misc/sstk.c: Likewise.
39709         * misc/stty.c: Likewise.
39710         * misc/swapoff.c: Likewise.
39711         * misc/swapon.c: Likewise.
39712         * misc/sync.c: Likewise.
39713         * misc/syncfs.c: Likewise.
39714         * misc/syscall.c: Likewise.
39715         * misc/truncate.c: Likewise.
39716         * misc/ualarm.c: Likewise.
39717         * misc/usleep.c: Likewise.
39718         * misc/ustat.c: Likewise.
39719         * misc/utimes.c: Likewise.
39720         * misc/vhangup.c: Likewise.
39721         * misc/writev.c: Likewise.
39722         * posix/_exit.c: Likewise.
39723         * posix/alarm.c: Likewise.
39724         * posix/execve.c: Likewise.
39725         * posix/fexecve.c: Likewise.
39726         * posix/fork.c: Likewise.
39727         * posix/fpathconf.c: Likewise.
39728         * posix/getaddrinfo.c: Likewise.
39729         * posix/getegid.c: Likewise.
39730         * posix/geteuid.c: Likewise.
39731         * posix/getgid.c: Likewise.
39732         * posix/getgroups.c: Likewise.
39733         * posix/getlogin.c: Likewise.
39734         * posix/getlogin_r.c: Likewise.
39735         * posix/getpgid.c: Likewise.
39736         * posix/getpid.c: Likewise.
39737         * posix/getppid.c: Likewise.
39738         * posix/getresgid.c: Likewise.
39739         * posix/getresuid.c: Likewise.
39740         * posix/getsid.c: Likewise.
39741         * posix/getuid.c: Likewise.
39742         * posix/glob64.c: Likewise.
39743         * posix/nanosleep.c: Likewise.
39744         * posix/pathconf.c: Likewise.
39745         * posix/pause.c: Likewise.
39746         * posix/posix_madvise.c: Likewise.
39747         * posix/pread.c: Likewise.
39748         * posix/pread64.c: Likewise.
39749         * posix/pwrite.c: Likewise.
39750         * posix/pwrite64.c: Likewise.
39751         * posix/sched_getaffinity.c: Likewise.
39752         * posix/sched_getp.c: Likewise.
39753         * posix/sched_gets.c: Likewise.
39754         * posix/sched_primax.c: Likewise.
39755         * posix/sched_primin.c: Likewise.
39756         * posix/sched_rr_gi.c: Likewise.
39757         * posix/sched_setaffinity.c: Likewise.
39758         * posix/sched_setp.c: Likewise.
39759         * posix/sched_sets.c: Likewise.
39760         * posix/sched_yield.c: Likewise.
39761         * posix/setgid.c: Likewise.
39762         * posix/setlogin.c: Likewise.
39763         * posix/setpgid.c: Likewise.
39764         * posix/setresgid.c: Likewise.
39765         * posix/setresuid.c: Likewise.
39766         * posix/setsid.c: Likewise.
39767         * posix/setuid.c: Likewise.
39768         * posix/sleep.c: Likewise.
39769         * posix/spawni.c: Likewise.
39770         * posix/sysconf.c: Likewise.
39771         * posix/times.c: Likewise.
39772         * posix/wait.c: Likewise.
39773         * posix/wait3.c: Likewise.
39774         * posix/wait4.c: Likewise.
39775         * posix/waitpid.c: Likewise.
39776         * resolv/gai_sigqueue.c: Likewise.
39777         * resource/getpriority.c: Likewise.
39778         * resource/getrlimit.c: Likewise.
39779         * resource/getrusage.c: Likewise.
39780         * resource/nice.c: Likewise.
39781         * resource/setpriority.c: Likewise.
39782         * resource/setrlimit.c: Likewise.
39783         * resource/ulimit.c: Likewise.
39784         * rt/aio_cancel.c: Likewise.
39785         * rt/aio_fsync.c: Likewise.
39786         * rt/aio_read.c: Likewise.
39787         * rt/aio_sigqueue.c: Likewise.
39788         * rt/aio_suspend.c: Likewise.
39789         * rt/aio_write.c: Likewise.
39790         * rt/clock_getres.c: Likewise.
39791         * rt/clock_gettime.c: Likewise.
39792         * rt/clock_nanosleep.c: Likewise.
39793         * rt/clock_settime.c: Likewise.
39794         * rt/lio_listio.c: Likewise.
39795         * rt/mq_close.c: Likewise.
39796         * rt/mq_getattr.c: Likewise.
39797         * rt/mq_notify.c: Likewise.
39798         * rt/mq_open.c: Likewise.
39799         * rt/mq_receive.c: Likewise.
39800         * rt/mq_send.c: Likewise.
39801         * rt/mq_setattr.c: Likewise.
39802         * rt/mq_timedreceive.c: Likewise.
39803         * rt/mq_timedsend.c: Likewise.
39804         * rt/mq_unlink.c: Likewise.
39805         * rt/shm_open.c: Likewise.
39806         * rt/shm_unlink.c: Likewise.
39807         * rt/timer_create.c: Likewise.
39808         * rt/timer_delete.c: Likewise.
39809         * rt/timer_getoverr.c: Likewise.
39810         * rt/timer_gettime.c: Likewise.
39811         * rt/timer_settime.c: Likewise.
39812         * setjmp/__longjmp.c: Likewise.
39813         * setjmp/setjmp.c: Likewise.
39814         * signal/kill.c: Likewise.
39815         * signal/killpg.c: Likewise.
39816         * signal/raise.c: Likewise.
39817         * signal/sigaction.c: Likewise.
39818         * signal/sigaltstack.c: Likewise.
39819         * signal/sigblock.c: Likewise.
39820         * signal/sigignore.c: Likewise.
39821         * signal/sigintr.c: Likewise.
39822         * signal/signal.c: Likewise.
39823         * signal/sigpause.c: Likewise.
39824         * signal/sigpending.c: Likewise.
39825         * signal/sigqueue.c: Likewise.
39826         * signal/sigreturn.c: Likewise.
39827         * signal/sigset.c: Likewise.
39828         * signal/sigsetmask.c: Likewise.
39829         * signal/sigstack.c: Likewise.
39830         * signal/sigsuspend.c: Likewise.
39831         * signal/sigtimedwait.c: Likewise.
39832         * signal/sigvec.c: Likewise.
39833         * signal/sigwait.c: Likewise.
39834         * signal/sigwaitinfo.c: Likewise.
39835         * signal/sysv_signal.c: Likewise.
39836         * socket/accept.c: Likewise.
39837         * socket/accept4.c: Likewise.
39838         * socket/bind.c: Likewise.
39839         * socket/connect.c: Likewise.
39840         * socket/getpeername.c: Likewise.
39841         * socket/getsockname.c: Likewise.
39842         * socket/getsockopt.c: Likewise.
39843         * socket/isfdtype.c: Likewise.
39844         * socket/listen.c: Likewise.
39845         * socket/recv.c: Likewise.
39846         * socket/recvfrom.c: Likewise.
39847         * socket/recvmsg.c: Likewise.
39848         * socket/send.c: Likewise.
39849         * socket/sendmsg.c: Likewise.
39850         * socket/sendto.c: Likewise.
39851         * socket/setsockopt.c: Likewise.
39852         * socket/shutdown.c: Likewise.
39853         * socket/sockatmark.c: Likewise.
39854         * socket/socket.c: Likewise.
39855         * socket/socketpair.c: Likewise.
39856         * stdio-common/ctermid.c: Likewise.
39857         * stdio-common/cuserid.c: Likewise.
39858         * stdio-common/remove.c: Likewise.
39859         * stdio-common/rename.c: Likewise.
39860         * stdio-common/renameat.c: Likewise.
39861         * stdio-common/tempname.c: Likewise.
39862         * stdlib/getcontext.c: Likewise.
39863         * stdlib/makecontext.c: Likewise.
39864         * stdlib/setcontext.c: Likewise.
39865         * stdlib/swapcontext.c: Likewise.
39866         * stdlib/system.c: Likewise.
39867         * streams/fattach.c: Likewise.
39868         * streams/fdetach.c: Likewise.
39869         * streams/getmsg.c: Likewise.
39870         * streams/getpmsg.c: Likewise.
39871         * streams/putmsg.c: Likewise.
39872         * streams/putpmsg.c: Likewise.
39873         * sysdeps/unix/bsd/getpt.c: Likewise.
39874         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39875         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39876         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39878         Likewise.
39879         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39880         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39881         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39882         * sysvipc/msgctl.c: Likewise.
39883         * sysvipc/msgget.c: Likewise.
39884         * sysvipc/msgrcv.c: Likewise.
39885         * sysvipc/msgsnd.c: Likewise.
39886         * sysvipc/semctl.c: Likewise.
39887         * sysvipc/semget.c: Likewise.
39888         * sysvipc/semop.c: Likewise.
39889         * sysvipc/semtimedop.c: Likewise.
39890         * sysvipc/shmat.c: Likewise.
39891         * sysvipc/shmctl.c: Likewise.
39892         * sysvipc/shmdt.c: Likewise.
39893         * sysvipc/shmget.c: Likewise.
39894         * termios/tcdrain.c: Likewise.
39895         * termios/tcflow.c: Likewise.
39896         * termios/tcflush.c: Likewise.
39897         * termios/tcgetattr.c: Likewise.
39898         * termios/tcgetpgrp.c: Likewise.
39899         * termios/tcsendbrk.c: Likewise.
39900         * termios/tcsetattr.c: Likewise.
39901         * termios/tcsetpgrp.c: Likewise.
39902         * time/adjtime.c: Likewise.
39903         * time/clock.c: Likewise.
39904         * time/getitimer.c: Likewise.
39905         * time/gettimeofday.c: Likewise.
39906         * time/setitimer.c: Likewise.
39907         * time/settimeofday.c: Likewise.
39908         * time/stime.c: Likewise.
39909         * time/time.c: Likewise.
39911 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
39913         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39914         /usr/old/bin.
39916         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39917         instead of spaces.
39918         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39920 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
39922         [BZ #14796]
39923         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39924         FE_TONEAREST before applying Dekker multiplication and Knuth
39925         addition.  Clear inexact exceptions and check for exact zero
39926         results afterwards.
39927         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39928         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39929         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39930         * math/libm-test.inc (fma_test): Add more tests.
39931         (fma_test_towardzero): Likewise.
39932         (fma_test_downward): Likewise.
39933         (fma_test_upward): Likewise.
39934         * sysdeps/generic/math_private.h (default_libc_fesetround): New
39935         function.
39936         (libc_fesetround): New macro.
39937         (libc_fesetroundf): Likewise.
39938         (libc_fesetroundl): Likewise.
39939         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39940         function.
39941         (libc_fesetround_387): Likewise.
39942         (libc_fesetroundf): New macro.
39943         (libc_fesetround): Likewise.
39944         (libc_fesetroundl): Likewise.
39945         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39946         function.
39947         (libc_fesetroundf): New macro.
39948         (libc_fesetround): Likewise.
39949         (libc_fesetroundl): Likewise.
39950         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39951         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39952         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39953         libm_hidden_ver.
39954         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39955         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39956         libm_hidden_def.
39957         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39958         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39959         libm_hidden_ver.
39960         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39961         libm_hidden_def.
39963         [BZ #3439]
39964         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39965         integer constant usable in #if and use that to give value to enum
39966         constant.
39967         (FE_DIVBYZERO): Likewise.
39968         (FE_UNDERFLOW): Likewise.
39969         (FE_OVERFLOW): Likewise.
39970         (FE_INVALID): Likewise.
39971         (FE_INVALID_SNAN): Likewise.
39972         (FE_INVALID_ISI): Likewise.
39973         (FE_INVALID_IDI): Likewise.
39974         (FE_INVALID_ZDZ): Likewise.
39975         (FE_INVALID_IMZ): Likewise.
39976         (FE_INVALID_COMPARE): Likewise.
39977         (FE_INVALID_SOFTWARE): Likewise.
39978         (FE_INVALID_SQRT): Likewise.
39979         (FE_INVALID_INTEGER_CONVERSION): Likewise.
39980         (FE_TONEAREST): Likewise.
39981         (FE_TOWARDZERO): Likewise.
39982         (FE_UPWARD): Likewise.
39983         (FE_DOWNWARD): Likewise.
39984         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39985         (FE_DIVBYZERO): Likewise.
39986         (FE_OVERFLOW): Likewise.
39987         (FE_UNDERFLOW): Likewise.
39988         (FE_INEXACT): Likewise.
39989         (FE_TONEAREST): Likewise.
39990         (FE_DOWNWARD): Likewise.
39991         (FE_UPWARD): Likewise.
39992         (FE_TOWARDZERO): Likewise.
39993         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39994         (FE_UNDERFLOW): Likewise.
39995         (FE_OVERFLOW): Likewise.
39996         (FE_DIVBYZERO): Likewise.
39997         (FE_INVALID): Likewise.
39998         (FE_TONEAREST): Likewise.
39999         (FE_TOWARDZERO): Likewise.
40000         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40001         (FE_OVERFLOW): Likewise.
40002         (FE_UNDERFLOW): Likewise.
40003         (FE_DIVBYZERO): Likewise.
40004         (FE_INEXACT): Likewise.
40005         (FE_TONEAREST): Likewise.
40006         (FE_TOWARDZERO): Likewise.
40007         (FE_UPWARD): Likewise.
40008         (FE_DOWNWARD): Likewise.
40009         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40010         (FE_DIVBYZERO): Likewise.
40011         (FE_OVERFLOW): Likewise.
40012         (FE_UNDERFLOW): Likewise.
40013         (FE_INEXACT): Likewise.
40014         (FE_TONEAREST): Likewise.
40015         (FE_DOWNWARD): Likewise.
40016         (FE_UPWARD): Likewise.
40017         (FE_TOWARDZERO): Likewise.
40019 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
40021         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40023 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
40025         * scripts/cross-test-ssh.sh (command): Use newlines to separate
40026         commands.  Quote $PWD.
40027         (blacklist_exports): Don't use remove_newlines.  Replace "declare
40028         -x" by "export".
40029         (remove_newlines): Remove.
40031 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
40033         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40034         * stdlib/stdlib.h (atof): Moved to ...
40035         * include/bits/stdlib-float.h: Here.  New file.
40036         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40037         * stdlib/bits/stdlib-float.h: New file.
40038         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40039         -mno-sse -mno-mmx.
40040         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40041         <xmmintrin.h>.
40043 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40045         * conform/conformtest.pl (@headers): Add fenv.h.
40046         * conform/data/fenv.h-data: New file.
40047         * include/fenv.h [_ISOMAC]: Disable all contents of file except
40048         include of <math/fenv.h>.
40050         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40051         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40052         && !UNIX98].  Enables tests for XOPEN2K8.
40053         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40054         POSIX2008]: Likewise.
40056         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40057         (struct rusage): Do not expect type or its members.
40059         [BZ #3439]
40060         * math/math.h (FP_NAN): Define macro to integer constant usable in
40061         #if and use that to give value to enum constant.
40062         (FP_INFINITE): Likewise.
40063         (FP_ZERO): Likewise.
40064         (FP_SUBNORMAL): Likewise.
40065         (FP_NORMAL): Likewise.
40067 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
40069         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40070         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40071         arguments.
40073 2012-11-02  Roland McGrath  <roland@hack.frob.com>
40075         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40076         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40077         autoconf-time if not.
40078         * configure.in: Remove AC_PREREQ.
40080 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40082         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40083         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40084         of the internal implementation.
40086 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40088         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40089         except include of <misc/sys/syslog.h>.
40091 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40094         function returns with a NULL context exit with zero.
40096 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40098         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40100 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
40102         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40103         (run_program_cmd): This.
40104         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40105         (tst_langinfo): New variable.  Use it.
40107 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
40109         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40110         floating point opcodes.
40112 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40114         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40115         variable.
40117         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40119         * sysdeps/mach/hurd/powerpc: Remove directory.
40120         * sysdeps/mach/powerpc: Likewise.
40122 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40124         * scripts/check-local-headers.sh: Ignore c++ headers.
40126 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40128         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40129         __libc_cleanup_region_start argument.
40131 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
40133         [BZ #14784]
40134         [BZ #14785]
40135         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40136         x * y using scaling, not as x * y + z.
40137         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40138         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40139         * math/libm-test.inc (fma_test): Add more tests.
40140         (fma_test_towardzero): Likewise.
40141         (fma_test_downward): Likewise.
40142         (fma_test_upward): Likewise.
40144 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40146         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40148 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40150         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40151         New variable.
40153 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
40155         * rt/tst-shm.c (worker): Correct checking for mmap failure.
40157 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40160         Fix sort order.
40161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40162         Likewise.
40164 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40167         Fix the order of the list for glibc 2.17.
40168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40169         Likewise.
40171 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40175 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40177         [BZ #14610]
40178         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40179         for low part of x being zero before using __atanl (y).
40180         * math/libm-test.inc (atan2_test): Add another test.
40182         * manual/install.texi (Configuring and compiling): Document
40183         general use of test-wrapper and test-wrapper-env.
40184         * INSTALL: Regenerated.
40186         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40187         (__fma): Do not extract and scale down low bits on after-rounding
40188         systems when result rounded to normal precision would have normal
40189         exponent.
40190         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40191         (__fmal): Do not extract and scale down low bits on after-rounding
40192         systems when result rounded to normal precision would have normal
40193         exponent.
40194         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40195         (__fmal): Do not extract and scale down low bits on after-rounding
40196         systems when result rounded to normal precision would have normal
40197         exponent.
40198         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40199         macro.
40200         (fma_test): Add more tests.
40201         (fma_test_towardzero): Likewise.
40202         (fma_test_downward): Likewise.
40203         (fma_test_upward): Likewise.
40205 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
40207         * sysdeps/i386/tininess.h: Renamed to ...
40208         * sysdeps/x86/tininess.h: This.
40209         * sysdeps/x86_64/tininess.h: Removed.
40211 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40213         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40214         input.  Use $(build-program-cmd).
40215         ($(objpfx)tst-array1-static.out): Likewise.
40216         ($(objpfx)tst-array2.out): Likewise.
40217         ($(objpfx)tst-array3.out): Likewise.
40218         ($(objpfx)tst-array4.out): Likewise.
40219         ($(objpfx)tst-array5.out): Likewise.
40220         ($(objpfx)tst-array5-static.out): Likewise.
40222 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
40224         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40225         if defined.
40227         * nss/nsswitch.h (nss_interface_function): Provide new
40228         macro for use with NSS functions.
40229         * grp/initgroups.c: Use new macro.
40230         * nss/getXXbyYY.c: Likewise.
40231         * nss/getXXbyYY_r.c: Likewise.
40232         * nss/getXXent.c: Likewise.
40233         * nss/getXXent_r.c: Likewise.
40234         * sysdeps/posix/getaddrinfo.c: Likewise.
40236 2012-10-30  Andreas Jaeger  <aj@suse.de>
40238         * po/ru.po: Update Russion translation from translation project.
40240 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40242         [BZ #14152]
40243         [BZ #14783]
40244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40245         result and shift together with sticky bit instead of replicating
40246         round-to-nearest rounding.
40247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40248         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40249         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
40250         missing underflow exceptions.
40251         (fma_test_towardzero): Add more tests.
40252         (fma_test_downward): Likewise.
40253         (fma_test_upward): Likewise.
40255         [BZ #14047]
40256         * sysdeps/generic/tininess.h: New file.
40257         * sysdeps/i386/tininess.h: Likewise.
40258         * sysdeps/sh/tininess.h: Likewise.
40259         * sysdeps/x86_64/tininess.h: Likewise.
40260         * stdlib/tst-strtod-underflow.c: Likewise.
40261         * stdlib/tst-tininess.c: Likewise.
40262         * stdlib/strtod_l.c: Include <tininess.h>.
40263         (round_and_return): Do not set errno for exact underflow cases.
40264         Force an underflow exception when setting errno for underflow.
40265         Determine underflow based on rounding to normal precision if
40266         TININESS_AFTER_ROUNDING.
40267         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40268         ERANGE for exact underflow cases.
40269         * stdlib/Makefile (tests): Add tst-tininess and
40270         tst-strtod-underflow.
40271         ($(objpfx)tst-tininess): Use $(link-libm).
40272         ($(objpfx)tst-strtod-underflow): Likewise.
40274 2012-10-30  Andreas Jaeger  <aj@suse.de>
40276         [BZ#14767]
40277         * elf/Makefile (tests): Remove conditional for have-initfini-array
40278         since this is now always required and the variable does not exist
40279         anymore.
40280         (tests-static): Likewise.
40281         (modules-names): Likewise.
40283         * po/eo.po: Add Esperanto translation from translation project.
40285         * elf/tst-array1.c (fini_array): Make writeable so that it can be
40286         merged with constructor/destructor.
40287         (init_array): Likewise.
40288         * elf/tst-array2dep.c (fini_array): Likewise.
40289         (init_array): Likewise.
40291 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
40293         * manual/message.texi: Delete @cartouche tags.
40295 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
40297         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40298         EOPNOTSUPP.
40299         * sysdeps/mach/hurd/fsync.c: Likewise.
40301         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40302         [_POSIX_REALTIME_SIGNALS]: Change condition to
40303         [_POSIX_REALTIME_SIGNALS > 0].
40305 2012-10-27  Andreas Jaeger  <aj@suse.de>
40307         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40308         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40309         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40310         [__WORDSIZE != 64]: Likewise.
40312 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
40314         *  iconvdata/tst-table.sh: Remove ${SHELL}.
40315         *  iconvdata/tst-tables.sh: Likewise.
40317 2012-10-25  David S. Miller  <davem@davemloft.net>
40319         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40320         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40321         of strtoull.
40323         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40324         ifunc-impl-list.c
40325         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40326         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40327         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40328         file.
40330 2012-10-25  Roland McGrath  <roland@hack.frob.com>
40332         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40333         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40334         __getdirentries.
40336 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40337             Jim Blandy  <jimb@codesourcery.com>
40339         * scripts/cross-test-ssh.sh: New file.
40340         * manual/install.texi (Configuring and compiling): Document use of
40341         cross-test-ssh.sh.
40342         * INSTALL: Regenerated.
40344 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
40346         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40347         EOPNOTSUPP.
40349 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40351         * Makeconfig (run-program-prefix): Fix comment.
40353 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40354             Jim Blandy  <jimb@codesourcery.com>
40356         * Makeconfig (test-wrapper): New variable,
40357         (test-wrapper-env): Likewise.
40358         [$(cross-compiling) = yes && $(test-wrapper) != ""]
40359         (run-built-tests): Define to yes.
40360         (run-program-prefix): Use $(test-wrapper).
40361         (built-program-cmd): Likewise.
40362         * Rules (make-test-out): Use $(test-wrapper-env) and
40363         $(host-built-program-cmd).
40364         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40365         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40366         tst-pathopt.sh.
40367         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40368         $(test-wrapper-env) to tst-rtld-load-self.sh.
40369         ($(objpfx)order2.out): Use $(test-wrapper).
40370         ($(objpfx)tst-initorder.out): Likewise.
40371         ($(objpfx)tst-initorder2.out): Likewise.
40372         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40373         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40374         (test_wrapper_env): New variable.  Use it to run ld.so.
40375         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40376         Use it to run ld.so.
40377         (test_wrapper_env): Likewise.
40378         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40379         $(test-wrapper) to run-iconv-test.sh.
40380         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40381         (ICONV): Use $test_wrapper.
40382         * posix/Makefile ($(objpfx)globtest.out): Pass
40383         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40384         globtest.sh, not $(run-program-prefix).
40385         * posix/globtest.sh (run_via_rtld_prefix): New variable.
40386         (test_wrapper): Likewise.
40387         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
40388         set together with run_via_rtld_prefix.
40389         (run_program_prefix): Define in terms of test_wrapper and
40390         run_via_rtld_prefix.
40392 2012-10-24  Roland McGrath  <roland@hack.frob.com>
40394         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40395         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40396         Targets removed.
40398         [BZ #14743]
40399         * include/time.h: Remove librt_hidden_proto (clock_gettime).
40400         Declare __clock_getres, __clock_gettime, __clock_settime,
40401         __clock_nanosleep, and __clock_getcpuclockid.
40402         * rt/clock_gettime.c: Define __clock_gettime as an alias.
40403         Remove librt_hidden_def (clock_gettime).
40404         * sysdeps/unix/clock_gettime.c: Likewise.
40405         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40406         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40407         * rt/clock_getres.c: Define __clock_getres as an alias.
40408         * sysdeps/posix/clock_getres.c: Likewise.
40409         * rt/clock_settime.c: Define __clock_settime as an alias.
40410         * sysdeps/unix/clock_settime.c: Likewise.
40411         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40412         * sysdeps/unix/clock_nanosleep.c: Likewise.
40413         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40414         * rt/clock-compat.c: New file.
40415         * rt/Makefile (librt-routines): Add clock-compat and move
40416         $(clock-routines) to ...
40417         (routines): ... here, new variable.
40418         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40419         Don't add get_clockfreq here.
40420         * rt/Versions (libc: GLIBC_2.17): New version set.
40421         Add clock_* symbols here.
40422         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
40423         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40424         (GLIBC_2.17): Add clock_* symbols.
40425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40427         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40429         Likewise.
40430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40431         Likewise.
40432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40436         * NEWS: Mention the move.
40438         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40439         Use __open, __read, __close rather than their public counterparts.
40440         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40441         (__get_clockfreq_via_cpuinfo): Likewise.
40442         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40443         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40445         * config.h.in (HAVE_IFUNC): New #undef.
40446         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40447         was successful.
40448         * configure: Regenerated.
40450 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40452         * configure.in: Move READELF check to start of file.
40453         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40454         libc_cv_asm_gnu_indirect_function in the process.
40455         * configure: Regenerated.
40457 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40459         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40460         send the output to /dev/null.
40461         (libc_cv_cc_with_libunwind): Likewise.
40462         (libc_cv_as_noexecstack): Likewise.
40463         * configure: Regenerate.
40465 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40467         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40469         * posix/globtest.sh (TMPDIR): Do not set.
40470         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40471         (testout): Likewise.
40473 2012-10-24  Andreas Jaeger  <aj@suse.de>
40475         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40476         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40477         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40478         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40479         posix_fadvise64, posix_fallocate64.
40481         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40482         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40483         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40484         Likewise.
40485         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40486         Likewise.
40487         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40489         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40490         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40491         <bits/fcntl-linux.h>.
40492         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40494         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40495         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40496         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40497         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40498         [__WORDSIZE != 64]: Likewise.
40500 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40502         * Makeconfig (run-built-tests): New variable.
40503         * Rules [$(cross-compiling) = yes]: Change condition to
40504         [$(run-built-tests) = no].
40505         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40506         to [$(run-built-tests) = yes].
40507         * elf/Makefile [$(cross-compiling) = no]: Likewise
40508         * grp/Makefile [$(cross-compiling) = no]: Likewise.
40509         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40510         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40511         * intl/Makefile [$(cross-compiling) = no]: Likewise.
40512         * io/Makefile [$(cross-compiling) = no]: Likewise.
40513         * libio/Makefile [$(cross-compiling) = no]: Likewise.
40514         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40515         * misc/Makefile [$(cross-compiling) = no]: Likewise.
40516         * posix/Makefile [$(cross-compiling) = no]: Likewise.
40517         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40518         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40519         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40520         * string/Makefile [$(cross-compiling) = no]: Likewise.
40522         * posix/Makefile ($(objpfx)globtest.out): Pass
40523         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40524         $(rtld-installed-name).
40525         * posix/globtest.sh (elf_objpfx): Remove variable.
40526         (rtld_installed_name): Likewise.
40527         (library_path): Likewise.
40528         (run_program_prefix): New variable.  Use for running globtest
40529         binary.
40531 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
40532             Joseph Myers  <joseph@codesourcery.com>
40534         * Makeconfig (host-built-program-cmd): New variable.
40535         * elf/Makefile (tst-stackguard1-ARGS): Use
40536         $(host-built-program-cmd).
40537         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40538         (tst-spawn-ARGS): Likewise.
40539         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40541 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40542             Jim Blandy  <jimb@codesourcery.com>
40544         * Makeconfig (run-via-rtld-prefix): New variable.
40545         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40546         (built-program-cmd): Likewise.
40548 2012-10-22  Andreas Jaeger  <aj@suse.de>
40550         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40551         __O_RSYNC if it exists, otherwise to O_SYNC.
40553 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
40554             Joseph Myers  <joseph@codesourcery.com>
40556         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40557         /dev/null.
40558         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40559         from /dev/null
40560         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40561         /dev/null.
40563 2012-10-22  Andreas Jaeger  <aj@suse.de>
40565         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40566         Define always.
40567         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40569         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40570         bits/fcntl-linux.h.
40572         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40573         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40575         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40576         to __O_LARGEFILE.
40577         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40578         to __O_LARGEFILE.
40580 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
40581             Joseph Myers  <joseph@codesourcery.com>
40583         * config.make.in (NM): New variable.
40585 2012-10-21  Andreas Jaeger  <aj@suse.de>
40587         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40588         definitions and declarations that are provided by
40589         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40591 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40593         [BZ #14683]
40594         * elf/Makefile (tests-static): Add tst-leaks1-static.
40595         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40596         ($(objpfx)tst-leaks1-static): New rule.
40597         ($(objpfx)tst-leaks1-static-mem): Likewise.
40598         (tst-leaks1-static-ENV): New macro.
40599         * elf/dl-open.c (dl_open_worker): Check the main application
40600         only if SHARED is defined.
40601         * elf/tst-leaks1-static.c: New file.
40603 2012-10-20  Andreas Jaeger  <aj@suse.de>
40605         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40606         generic values for Linux.
40607         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40608         and declarations that are provided by <bits/fcntl-linux.h> and
40609         include <bits/fcntl-linux.h>.
40610         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40611         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40613 2012-10-20  Roland McGrath  <roland@hack.frob.com>
40615         * io/fcntl.h: Move include of <bits/types.h> to the top and
40616         include it unconditionally.
40618 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40620         * wcsmbs/Makefile (tests-ifunc): New variable.
40621         (tests): Add $(tests-ifunc).
40622         * wcsmbs/test-wcschr-ifunc.c: New file.
40623         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40624         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40625         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40626         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40627         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40629         * string/Makefile (tests-ifunc): New variable.
40630         (tests): Add $(tests-ifunc).
40631         * string/test-memccpy.c (TEST_NAME): New macro.
40632         * string/test-memchr.c (TEST_NAME): Likewise.
40633         * string/test-memcmp.c (TEST_NAME): Likewise.
40634         * string/test-memcpy.c (TEST_NAME): Likewise.
40635         * string/test-memmem.c (TEST_NAME): Likewise.
40636         * string/test-memmove.c (TEST_NAME): Likewise.
40637         * string/test-memset.c (TEST_NAME): Likewise.
40638         * string/test-rawmemchr.c (TEST_NAME): Likewise.
40639         * string/test-stpcpy.c (TEST_NAME): Likewise.
40640         * string/test-stpncpy.c (TEST_NAME): Likewise.
40641         * string/test-strcasecmp.c (TEST_NAME): Likewise.
40642         * string/test-strcasestr.c (TEST_NAME): Likewise.
40643         * string/test-strcat.c (TEST_NAME): Likewise.
40644         * string/test-strchr.c (TEST_NAME): Likewise.
40645         * string/test-strcmp.c(TEST_NAME): Likewise.
40646         * string/test-strcpy.c (TEST_NAME): Likewise.
40647         * string/test-strcspn.c (TEST_NAME): Likewise.
40648         * string/test-strlen.c (TEST_NAME): Likewise.
40649         * string/test-strncasecmp.c (TEST_NAME): Likewise.
40650         * string/test-strncmp.c (TEST_NAME): Likewise.
40651         * string/test-strncpy.c (TEST_NAME): Likewise.
40652         * string/test-strnlen.c (TEST_NAME): Likewise.
40653         * string/test-strpbrk.c (TEST_NAME): Likewise.
40654         * string/test-strrchr.c (TEST_NAME): Likewise.
40655         * string/test-strspn.c (TEST_NAME): Likewise.
40656         * string/test-strstr.c (TEST_NAME): Likewise.
40657         * string/test-bcopy-ifunc.c: New file.
40658         * string/test-bzero-ifunc.c: Likewise.
40659         * string/test-memccpy-ifunc.c: Likewise.
40660         * string/test-memchr-ifunc.c: Likewise.
40661         * string/test-memcmp-ifunc.c: Likewise.
40662         * string/test-memcpy-ifunc.c: Likewise.
40663         * string/test-memmem-ifunc.c: Likewise.
40664         * string/test-memmove-ifunc.c: Likewise.
40665         * string/test-mempcpy-ifunc.c: Likewise.
40666         * string/test-memset-ifunc.c: Likewise.
40667         * string/test-rawmemchr-ifunc.c: Likewise.
40668         * string/test-stpcpy-ifunc.c: Likewise.
40669         * string/test-stpncpy-ifunc.c: Likewise.
40670         * string/test-strcasecmp-ifunc.c: Likewise.
40671         * string/test-strcasestr-ifunc.c: Likewise.
40672         * string/test-strcat-ifunc.c: Likewise.
40673         * string/test-strchr-ifunc.c: Likewise.
40674         * string/test-strchrnul-ifunc.c: Likewise.
40675         * string/test-strcmp-ifunc.c: Likewise.
40676         * string/test-strcpy-ifunc.c: Likewise.
40677         * string/test-strcspn-ifunc.c: Likewise.
40678         * string/test-strlen-ifunc.c: Likewise.
40679         * string/test-strncasecmp-ifunc.c: Likewise.
40680         * string/test-strncat-ifunc.c: Likewise.
40681         * string/test-strncmp-ifunc.c: Likewise.
40682         * string/test-strncpy-ifunc.c: Likewise.
40683         * string/test-strnlen-ifunc.c: Likewise.
40684         * string/test-strpbrk-ifunc.c: Likewise.
40685         * string/test-strrchr-ifunc.c: Likewise.
40686         * string/test-strspn-ifunc.c: Likewise.
40687         * string/test-strstr-ifunc.c: Likewise.
40689         * debug/Makefile (tests-ifunc): New variable.
40690         (tests): Add $(tests-ifunc).
40691         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40692         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40693         * debug/test-stpcpy_chk-ifunc.c: New file.
40694         * debug/test-strcpy_chk-ifunc.c: Likewise.
40696 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40698         [BZ #13601]
40699         * elf/dl-load.c (open_verify): Retry read if the entire ELF
40700         header is not read in.
40702 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
40704         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
40705         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
40706         directly.  Pass built executable to script as
40707         $(built-program-cmd).
40708         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
40709         $testprogram without using LD_LIBRARY_PATH and $ldso.
40711         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40712         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40713         $(rtld-installed-name).
40714         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40715         (rtld_installed_name): Likewise.
40716         (library_path): Likewise.
40717         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
40718         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40719         $(run-program-prefix) to tst-tables.sh.
40720         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
40721         it to run tst-table-from and tst-table-to.
40722         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40723         Pass it to tst-table.sh.
40724         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40725         $(run-program-prefix) to tst-gettext.sh.
40726         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40727         tst-translit.sh.
40728         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40729         tst-gettext2.sh.
40730         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
40731         to run tst-gettext.
40732         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
40733         to run tst-gettext2.
40734         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
40735         to run tst-translit.
40736         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40737         $(run-program-prefix) to tst-mtrace.sh.
40738         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
40739         to run tst-mtrace.
40740         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40741         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40742         $(rtld-installed-name).
40743         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40744         (rtld_installed_name): Likewise.
40745         (run_program_prefix): New variable.  Use it to run wordexp-test.
40747         * Makeconfig (ARCH): Remove all definitions.
40748         (machine): Likewise.
40749         [ARCH]: Remove conditional code.
40750         [!objdir]: Give error.
40751         [!objdir] (objpfx): Remove.
40752         [!objdir] (common-objpfx): Likewise.
40753         [!objdir] (common-objdir): Likewise.
40754         * configure.in (config_makefile): Remove.  Hardcode Makefile in
40755         AC_CONFIG_FILES call.
40756         * configure: Regenerated.
40758         [BZ #13888]
40759         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40760         or TMPDIR.
40761         (testout): Likewise.
40763         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40764         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40765         $(rtld-installed-name).
40766         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40767         (rtld_installed_name): Likwise.
40768         (runit): Remove function.
40769         (run_getconf): New variable,  Use it for running getconf binary.
40771 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
40773         [BZ #14716]
40774         * string/test-memmem.c (check_result): New function.
40775         (do_one_test): Use it.
40776         (check1): New function.
40777         (test_main): Use it.
40779 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
40781         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40783 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
40785         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40786         (_G_LSEEK64): Likewise.
40787         (_G_MMAP64): Likewise.
40788         (_G_FSTAT64): Likewise.
40789         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40790         (_G_LSEEK64): Likewise.
40791         (_G_MMAP64): Likewise.
40792         (_G_FSTAT64): Likewise.
40793         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40794         unconditional.  Call __mmap64 directly.
40795         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40796         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
40797         __lseek64 directly.
40798         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40799         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
40800         __mmap64 directly.
40801         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40802         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40803         __lseek64 directly.
40804         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40805         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40806         __lseek64 directly.
40807         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40808         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
40809         __lseek64 directly.
40810         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40811         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
40812         __fxstat64 directly.
40813         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40814         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40815         unconditional.
40816         (freopen64) [!_G_OPEN64]: Remove conditional code.
40817         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40818         unconditional.
40819         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40820         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40821         unconditional.
40822         (ftello64) [!_G_LSEEK64]: Remove conditional code.
40823         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40824         unconditional.
40825         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40826         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40827         unconditional.
40828         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40829         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40830         unconditional.
40831         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40832         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40833         unconditional.
40834         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40835         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40836         unconditional.
40837         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40839 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40841         [BZ #12140]
40842         * manual/memory.texi (Malloc Tunable Parameters): Add note
40843         about free list pointers overwriting some perturb bytes.
40844         Wording suggested by Roland McGrath.
40846 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
40848         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40849         (lgamma_test): Likewise.
40850         (tgamma_test): Likewise.
40852 2012-10-16  Florian Weimer  <fweimer@redhat.com>
40854         [BZ #14700]
40855         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40856         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40858 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
40860         * NEWS: Mention BZ #14716.
40861         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40862         when removing AVAILABLE1_USES_J macro.
40864 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
40866         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40867         (__bswap_64): __uint64_t for unsigned 64-bit int.
40869 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
40871         * include/string.h (memmem): Declare libc hidden alias.
40872         * string/memmem.c (memmem): Define libc hidden alias.
40873         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40874         __read, __close instead of open, read, close.
40876 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
40878         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40879         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40880         global and hidden.
40881         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40882         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40883         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40884         Likewise.
40885         (__rawmemchr_sse2): Likewise.
40886         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40887         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40888         (__strchr_sse2): Likewise.
40889         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40890         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40891         (__strcasecmp_sse2): Likewise.
40892         (__strncasecmp_sse2): Likewise.
40893         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40894         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40895         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40896         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40897         (__strrchr_sse2): Likewise.
40898         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40899         ifunc-impl-list.c.
40900         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40901         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40902         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40903         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40904         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40905         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40906         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40907         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40908         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40909         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40910         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40911         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40912         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40913         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40914         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40915         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40916         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40917         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40918         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40919         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40920         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40921         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40922         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40923         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40924         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40925         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40926         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40927         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40928         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40929         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40931         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40932         global and hidden.
40933         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40934         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40935         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40936         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40937         Likewise.
40938         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40939         Likewise.
40940         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40941         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40942         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40943         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40944         ifunc-impl-list.c.
40945         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40946         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40947         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40948         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40949         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40950         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40951         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40952         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40953         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40954         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40955         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40956         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40957         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40958         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40959         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40960         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40961         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40962         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40963         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40964         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40965         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40966         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40967         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40968         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40969         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40970         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40971         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40972         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40973         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40974         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40975         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40976         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40977         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40978         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40979         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40980         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40981         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40982         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40983         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40984         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40985         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40987         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40988         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40989         * include/ifunc-impl-list.h: New file.
40990         * misc/ifunc-impl-list.c: Likewise.
40991         * misc/Makefile (routines): Add ifunc-impl-list.
40992         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40993         * string/test-string.h: Include <ifunc-impl-list.h>.
40994         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40995         TEST_NAME]: New variables.
40996         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40997         are defined.
40998         (test_init): Call __libc_ifunc_impl_list to initialize
40999         func_list if TEST_IFUNC and TEST_NAME are defined.
41001         * string/Makefile (strop-tests): Add bcopy and bzero.
41002         * string/test-bcopy.c: New file.
41003         * string/test-bzero.c: Likewise.
41004         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41005         defined.
41006         * string/test-memset.c: Support bzero test if TEST_BZERO is
41007         defined.
41008         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41009         __libc_memmove.
41010         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41011         __libc_memset.
41012         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41013         of memset.
41015 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
41017         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41018         * configure: Regenerated.
41020         * Makeconfig (+link-static-before-libc): Don't include
41021         $(link-static-libc).
41023         * libio/libio.h (_IO_pos_t): Remove.
41025 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41027         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
41028         McGrath.
41030 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41032         * crypt/crypt-entry.c: Include fips-private.h.
41033         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41034         * crypt/md5c-test.c (main): Tolerate disabled MD5.
41035         * sysdeps/unix/sysv/linux/fips-private.h: New file.
41036         * sysdeps/generic/fips-private.h: New file, dummy fallback.
41038 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41040         * crypt/crypt-private.h: Include stdbool.h.
41041         (_ufc_setup_salt_r): Return bool.
41042         * crypt/crypt-entry.c: Include errno.h.
41043         (__crypt_r): Return NULL with EINVAL for bad salt.
41044         * crypt/crypt_util.c (bad_for_salt): New.
41045         (_ufc_setup_salt_r): Check that salt is long enough and within
41046         the specified alphabet.
41047         * crypt/badsalttest.c: New file.
41048         * crypt/Makefile (tests): Add it.
41049         ($(objpfx)badsalttest): New.
41051 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
41053         * NEWS: Add entry for BZ #14602.
41055 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41057         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41058         type-generic.
41059         * math/libm-test.inc: Update comment listing what functions and
41060         macros are tested.
41061         (isgreater_test): New function.
41062         (isgreaterequal_test): Likewise.
41063         (isless_test): Likewise.
41064         (islessequal_test): Likewise.
41065         (islessgreater_test): Likewise.
41066         (isunordered_test): Likewise.
41067         (main): Call the new functions.
41069 2012-10-09  Roland McGrath  <roland@hack.frob.com>
41071         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41072         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41073         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41074         * sysdeps/i386/configure: Regenerated.
41075         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41076         * sysdeps/mach/configure: Regenerated.
41077         * sysdeps/mach/hurd/configure: Regenerated.
41078         * sysdeps/powerpc/configure: Regenerated.
41079         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41080         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41081         * sysdeps/s390/s390-32/configure: Regenerated.
41082         * sysdeps/s390/s390-64/configure: Regenerated.
41083         * sysdeps/sh/configure: Regenerated.
41084         * sysdeps/sparc/configure: Regenerated.
41085         * sysdeps/unix/sysv/linux/configure: Regenerated.
41086         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41087         * sysdeps/x86_64/configure: Regenerated.
41089         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41090         defined.  Don't check if MAP is NULL.
41092 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41094         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41095         (_G_stat64): Likewise.
41096         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41097         (_G_stat64): Likewise.
41098         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41099         instead of struct _G_stat64.
41100         * libio/fileops.c (mmap_remap_check): Likewise.
41101         (decide_maybe_mmap): Likewise.
41102         (_IO_new_file_seekoff): Likewise.
41103         (_IO_file_stat): Likewise.
41104         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41105         _G_off64_t.
41106         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41107         instead of struct _G_stat64.
41108         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41110 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
41112         [BZ #14602]
41113         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41114         Replace with ...
41115         (CHECK_EOL): New macro.
41116         (two_way_short_needle): Check beginning of haystack for EOL.  Use
41117         CHECK_EOL.
41118         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41119         Replace with CHECK_EOL.
41120         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41121         Replace with CHECK_EOL.
41123 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
41125         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41126         type-generic.
41127         * math/libm-test.inc: Update comment listing what functions and
41128         macros are tested.
41129         (finite_test): New function.
41130         (isinf_test): Likewise.
41131         (isnan_test): Likewise.
41132         (fpclassify_test): Test subnormal input.
41133         (isfinite_test): Likewise.
41134         (isnormal_test): Likewise.
41135         (main): Call the new functions.
41137 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
41139         [BZ #14660]
41140         * Makerules (%.dynsym): Force C locale when running
41141         $(OBJDUMP) --dynamic-syms.
41143 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
41145         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41146         <stdint.h>.
41148 2012-10-06  David S. Miller  <davem@davemloft.net>
41150         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41151         upper 32-bits of the length value in %o2 since we use branch-on-register
41152         tests which consider the entire 64-bit register.
41154 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
41156         * string/test-strstr.c (check2): Add a test for page boundary.
41158 2012-10-05  David S. Miller  <davem@davemloft.net>
41160         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41161         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41162         file.
41163         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41164         sysdep_routines.
41165         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41166         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41167         and bzero when HWCAP_SPARC_CRYPTO is present.
41169 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
41171         [BZ #14602]
41172         * string/test-strstr.c (check2): New function.
41173         (test_main): Call check2.
41175         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41176         and bug-strchr1.
41177         * string/bug-strcasestr1.c (do_test): Moved to ...
41178         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
41184         * string/test-strchr.c (check1): Here.  New function.
41185         (do_one_test): Break out result checking code into ...
41186         (check_result): This.  New function.
41187         (do_one_test): Call check_result.
41188         (test_main): Call check1.
41189         * string/bug-strstr1.c (main): Moved to ...
41190         * string/test-strstr.c (check1): Here.  New function.
41191         (do_one_test): Break out result checking code into ...
41192         (check_result): This.  New function.
41193         (do_one_test): Call check_result.
41194         (test_main): Call check1.
41195         * string/bug-strcasestr1.c: Removed.
41196         * string/bug-strchr1.c: Likewise.
41197         * string/bug-strstr1.c: Likewise.
41199         * elf/Makefile (dl-routines): Add hwcaps.
41200         * elf/dl-support.c (_dl_important_hwcaps): Removed.
41201         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41202         (_dl_important_hwcaps): Moved to ...
41203         * elf/dl-hwcaps.c: Here.  New file.
41204         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41206         [BZ #14557]
41207         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41208         if IS_IN_rtld isn't defined.
41210         * elf/dl-support.c (_dl_sysinfo_map): New.
41211         Include "get-dynamic-info.h" and "setup-vdso.h".
41212         (_dl_non_dynamic_init): Call setup_vdso.
41213         * elf/dynamic-link.h: Don't include <assert.h>.
41214         (elf_get_dynamic_info): Moved to ...
41215         * elf/get-dynamic-info.h: Here.  New file.
41216         * elf/dynamic-link.h: Include "get-dynamic-info.h".
41217         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41218         * elf/setup-vdso.h: Here.  New file.
41219         * elf/rtld.c: Include "setup-vdso.h".
41220         (dl_main): Call setup_vdso.
41222 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
41224         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41225         creal in comment listing functions tested.  List finite, isinf,
41226         isnan, isless, islessequal, isgreater, isgreaterequal,
41227         islessgreater, isunordered, lgamma_r and pow10 as functions and
41228         macros not tested.  Mention which functions not tested are aliases
41229         for other functions.  Fix typo.  Note that signs of NaNs are not
41230         tested.
41232         * scripts/config.guess: Update from config.git.
41233         * scripts/config.sub: Likewise.
41235 2012-10-04  Roland McGrath  <roland@hack.frob.com>
41237         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41238         * misc/madvise.c (madvise): Renamed to __madvise.
41239         Make madvise a weak alias.
41240         * include/sys/mman.h: Declare __madvise.
41241         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41242         * sysdeps/unix/syscalls.list
41243         (madvise): Make __madvise the strong name, and madvise a weak alias.
41244         * sysdeps/unix/sysv/linux/syscalls.list
41245         (madvise, mmap): Remove redundant entries.
41246         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41247         * malloc/malloc.c (mtrim): Likewise.
41248         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41250 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41252         * sysdeps/mach/hurd/dl-cache.c: File removed.
41253         * config.h.in (USE_LDCONFIG): New #undef.
41254         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41255         * configure: Regenerated.
41256         * elf/Makefile (dl-routines): Add dl-cache only under
41257         [$(use-ldconfig) = yes].
41258         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41259         cache on [USE_LDCONFIG].
41260         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41261         [USE_LDCONFIG].
41262         * elf/rtld.c (dl_main): Likewise.
41264 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
41266         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41267         _SC_LEVEL4_CACHE_LINESIZE.
41269 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41271         * sysdeps/unix/bsd/confstr.h: File removed.
41273 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
41275         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41276         sys/sdt-config.h.
41278 2012-10-02  Roland McGrath  <roland@hack.frob.com>
41280         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41281         Make 'mapoff' field ElfW(Off) rather than off_t.
41283 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
41285         * nscd/Makefile: Remove nscd-cflags and all its users.
41286         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41287         (CFLAGS-nonlib): Add compiler flags for nscd modules.
41289         [BZ #10631]
41290         * malloc.c (malloc_printerr): Clarify error message.
41292 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
41294         [BZ #14648]
41295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41296         Set bit_FMA_Usable if FMA is supported.
41297         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41298         macro.
41299         (bit_FMA4_Usable): Updated.
41300         (index_FMA_Usable): New macro.
41301         (CPUID_FMA): Likewise
41302         (HAS_FMA): Defined with bit_FMA_Usable.
41304 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41306         * bits/types.h (__swblk_t): Type removed.
41307         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41308         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41309         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41310         (__SWBLK_T_TYPE): Likewise.
41311         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41312         (__SWBLK_T_TYPE): Likewise.
41313         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41314         (__SWBLK_T_TYPE): Likewise.
41315         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41316         (__SWBLK_T_TYPE): Likewise.
41318 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
41319             Honza Horak <hhorak@redhat.com>
41321         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41322         (xdr_mapname): Use YPMAXMAP as maxsize.
41323         (xdr_peername): Use YPMAXPEER as maxsize.
41324         (xdr_keydat): Use YPAXRECORD as maxsize.
41325         (xdr_valdat): Use YPMAXRECORD as maxsize.
41327 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41329         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41331         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41332         * csu/init-first.c: ... here.
41333         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41334         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41335         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41336         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41337         * sysdeps/i386/init-first.c: File removed.
41338         * sysdeps/sh/init-first.c: File removed.
41340 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
41342         [BZ #14645]
41343         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41344         if x * y might underflow to zero and z is zero.
41345         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41346         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41347         * math/libm-test.inc (min_subnorm_value): New variable.
41348         (fma_test): Add more tests.
41349         (fma_test_towardzero): Likewise.
41350         (fma_test_downward): Likewise
41351         (fma_test_upward): Likewise.
41352         (initialize): Set min_subnorm_value.
41354 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
41356         [BZ #14638]
41357         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41358         0 + 0.
41359         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41360         mode for addition resulting in exact zero.
41361         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41362         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41363         exact 0 + 0.
41364         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41365         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41366         * math/libm-test.inc (fma_test): Add more tests.
41367         (fma_test_towardzero): New function.
41368         (fma_test_downward): Likewise.
41369         (fma_test_upward): Likewise.
41370         (main): Call the new functions.
41372 2012-09-28  David S. Miller  <davem@davemloft.net>
41374         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41376 2012-09-28  Roland McGrath  <roland@hack.frob.com>
41378         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41379         instead of SIGALRM.
41381         * sysdeps/gnu/_G_config.h: Moved to ...
41382         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41383         * sysdeps/mach/hurd/_G_config.h: Moved to ...
41384         * sysdeps/generic/_G_config.h: ... here.
41386         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
41388         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41390         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41391         Conditionalize target on [libnss_test1.so-version].
41393         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41395         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41396         (elfobjdir): Move out of conditionals.
41398         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41399         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41400         (__nss_lookup_function): Conditionalize label remove_from_tree on
41401         [!DO_STATIC_NSS || SHARED], matching its only use.
41403 2012-09-28  David S. Miller  <davem@davemloft.net>
41405         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41406         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41407         file.
41408         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41409         sysdep_routines.
41410         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41411         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41412         when HWCAP_SPARC_CRYPTO is present.
41414 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41416         * io/tst-mknodat.c: Create a FIFO instead of a socket.
41418 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
41420         [BZ #6530]
41421         * stdio-common/vfprintf.c (process_string_arg): Revert
41422         2000-07-22 change.
41424 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
41426         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41427         for testcase.
41428         * stdio-common/tst-sprintf.c: Include <locale.h>
41429         (main): Test sprintf's handling of incomplete multibyte
41430         characters.
41432 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
41434         * elf/dl-runtime.c (VERSYMIDX): Removed.
41435         * elf/dl-version.c (VERSYMIDX): Likewise.
41436         * elf/do-rel.h (VERSYMIDX): Likewise.
41437         (VALIDX): Likewise.
41438         * elf/dynamic-link.h (VERSYMIDX): Likewise.
41439         * elf/rtld.c (VALIDX): Likewise.
41440         (ADDRIDX): Likewise.
41441         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41442         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41443         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41444         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41445         (VALIDX): Likewise.
41446         (ADDRIDX): Likewise.
41448 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41450         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41452 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
41454         [BZ #11438]
41455         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41456         to global scope.
41457         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41458         addresses are in the same scope as 192.0.2/24.
41459         * posix/gai.conf: Document new scope table defaults.
41461 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41463         [BZ #5298]
41464         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41465         for ftell.  Compute offsets from write pointers instead.
41466         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41468 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41470         [BZ #14543]
41471         * libio/Makefile (tests): New test case tst-fseek.
41472         * libio/tst-fseek.c: New test case to verify that fseek/ftell
41473         combination works in wide mode.
41474         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41475         state when the external buffer state changes.
41477 2012-09-27  David S. Miller  <davem@davemloft.net>
41479         [BZ #14376]
41480         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41481         pass reloc->r_addend in as the 'high' argument to
41482         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41486 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41488         * rt/tst-aio2.c: Include <pthread.h>.
41489         * rt/tst-aio3.c: Likewise.
41491 2012-09-27  Steve Ellcey  <sellcey@mips.com>
41493         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41495 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
41497         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41498         contents on [SHARED].
41500 2012-09-26  Marek Polacek  <polacek@redhat.com>
41502         [BZ #14530]
41503         [BZ #13741]
41504         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41505         for C++ and GCC <4.3 as well as for non GCC compilers.
41507 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41511 2012-09-25  Roland McGrath  <roland@hack.frob.com>
41513         * Makefile.in (all, install): Declare with .PHONY.
41514         Reported by Michael Hope <michael.hope@linaro.org>.
41516 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41518         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41519         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41520         system header.
41521         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41522         Likewise.
41523         (sydep_routines): Add the new and the internal functions.
41524         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41525         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41527         (GLIBC_2.17): Add the new function.
41528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41529         (GLIBC_2.17): Likewise.
41530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41531         (GLIBC_2.17): Likewise.
41532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41533         (GLIBC_2.17): Likewise.
41534         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41536 2012-09-25  Alan Modra  <amodra@gmail.com>
41538         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41539         Add release barrier before setting once_control to say
41540         initialisation is done.  Add hints on lwarx.  Use macro in
41541         place of isync.
41542         (clear_once_control): Add release barrier.
41544 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41546         [BZ #13629]
41547         * math/s_clog.c (__clog): Handle more values close to |z| = 1
41548         specially.
41549         * math/s_clog10.c (__clog10): Likewise.
41550         * math/s_clog10f.c (__clog10f): Likewise.
41551         * math/s_clog10l.c (__clog10l): Likewise.
41552         * math/s_clogf.c (__clogf): Likewise.
41553         * math/s_clogl.c (__clogl): Likewise.
41554         * math/Makefile (libm-calls): Add x2y2m1.
41555         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41556         (__x2y2m1): Likewise.
41557         (__x2y2m1l): Likewise.
41558         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41559         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41560         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41561         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41562         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41563         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41564         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41565         * sysdeps/i386/fpu/libm-test-ulps: Update.
41566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41568         [BZ #14621]
41569         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41570         int as type of variable DEPTH.
41571         (glob): Use size_t instead of int as type of variables NEWCOUNT
41572         and OLD_PATHC.
41574 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41576         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41577         Add s_sincosf-sse2.
41578         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41579         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41580         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41581         macros for using routine as __sincosf_ia32.
41582         Use macro for function declaration and weak_alias.
41583         * sysdeps/i386/fpu/libm-test-ulps: Update.
41585         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41588         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41589         subnormal argument.
41590         * math/s_cexpf.c (__cexpf): Likewise.
41591         * math/s_csinf.c (__csinf): Likewise.
41592         * math/s_csinhf.c (__csinhf): Likewise.
41593         * math/s_ctanf.c (__ctanf): Likewise.
41594         * math/s_ctanhf.c (__ctanhf): Likewise.
41595         * math/s_ccosh.c (__ccoshf): Likewise.
41596         * math/s_cexp.c (__cexpl): Likewise.
41597         * math/s_csin.c (__csin): Likewise.
41598         * math/s_csinh.c (__csinh): Likewise.
41599         * math/s_ctan.c (__ctan): Likewise.
41600         * math/s_ctanh.c (ctanh): Likewise.
41601         * math/s_ccoshl.c (__ccoshl): Likewise.
41602         * math/s_cexpl.c (__cexpl): Likewise.
41603         * math/s_csinl.c (__csinl): Likewise.
41604         * math/s_csinhl.c (__csinhl): Likewise.
41605         * math/s_ctanl.c (__ctanl): Likewise.
41606         * math/s_ctanhl.c (__ctanhl): Likewise.
41608 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41610         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41611         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41612         (_IO_off_t): Define to __off_t, not _G_off_t.
41613         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41614         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41615         (_IO_wint_t): Define to wint_t, not _G_wint_t.
41616         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41617         type of __dummy and __dummy2 fields.
41618         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41619         (_G_ssize_t): Likewise.
41620         (_G_off_t): Likewise.
41621         (_G_pid_t): Likewise.
41622         (_G_uid_t): Likewise.
41623         (_G_wchar_t): Likewise.
41624         (_G_wint_t): Likewise.
41625         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41626         (_G_ssize_t): Likewise.
41627         (_G_off_t): Likewise.
41628         (_G_pid_t): Likewise.
41629         (_G_uid_t): Likewise.
41630         (_G_wchar_t): Likewise.
41631         (_G_wint_t): Likewise.
41632         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41633         (_G_ssize_t): Likewise.
41634         (_G_off_t): Likewise.
41635         (_G_pid_t): Likewise.
41636         (_G_uid_t): Likewise.
41637         (_G_wchar_t): Likewise.
41638         (_G_wint_t): Likewise.
41640 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41642         * malloc/arena.c: Include malloc-sysdep.h.
41643         (shrink_heap): Use check_may_shrink_heap to decide if madvise
41644         is sufficient to shrink the heap or an unmap is needed.
41645         * sysdeps/generic/malloc-sysdep.h: New file.  Define
41646         new function check_may_shrink_heap.
41647         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
41648         new function check_may_shrink_heap.
41650 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41652         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41653         comments.
41655 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
41657         * catgets/test-gencat.sh: Add "set -e".
41658         * elf/tst-pathopt.sh: Likewise.
41659         * grp/tst_fgetgrent.sh: Likewise.
41660         * iconvdata/run-iconv-test.sh: Likewise.
41661         * intl/tst-gettext.sh: Likewise.
41662         * intl/tst-gettext2.sh: Likewise.
41663         * intl/tst-gettext4.sh: Likewise.
41664         * intl/tst-gettext6.sh: Likewise.
41665         * intl/tst-translit.sh: Likewise.
41666         * io/ftwtest-sh: Likewise.
41667         * libio/test-freopen.sh: Likewise.
41668         * malloc/tst-mtrace.sh: Likewise.
41669         * posix/globtest.sh: Likewise.
41670         * posix/tst-getconf.sh: Likewise.
41671         * posix/wordexp-tst.sh: Likewise.
41672         * stdio-common/tst-printf.sh: Likewise.
41673         * stdio-common/tst-unbputc.sh: Likewise.
41674         * stdlib/tst-fmtmsg.sh: Likewise.
41675         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41676         * catgets/Makefile: Do not specify -e option when running
41677         testsuite shell scripts.
41678         * elf/Makefile: Likewise.
41679         * grp/Makefile: Likewise.
41680         * iconvdata/Makefile: Likewise.
41681         * intl/Makefile: Likewise.
41682         * io/Makefile: Likewise.
41683         * libio/Makefile: Likewise.
41684         * malloc/Makefile: Likewise.
41685         * posix/Makefile: Likewise.
41686         * stdio-common/Makefile: Likewise.
41687         * stdlib/Makefile: Likewise.
41688         * sysdeps/x86_64/Makefile: Likewise.
41690         * io/ftwtest-sh: Add copyright header.
41691         * posix/globtest.sh: Likewise.
41692         * posix/tst-getconf.sh: Likewise.
41693         * posix/wordexp-tst.sh: Likewise.
41694         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41696 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
41698         [BZ #13679]
41699         * Makeconfig (+link): Defined as $(+link-static) if
41700         $(build-shared) isn't yes.
41701         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41702         isn't yes.
41703         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41705         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41707         [BZ #14562]
41708         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41709         new chunk size with MALLOC_ALIGN_MASK.
41711 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
41713         [BZ #5044]
41714         * stdio-common/printf_fphex.c: Include <stdbool.h> and
41715         <rounding-mode.h>.
41716         (__printf_fphex): Determine rounding using get_rounding_mode and
41717         round_away.
41718         * stdio-common/tst-printf-round.c (struct hex_test): New
41719         structure.
41720         (hex_tests): New variable.
41721         (test_hex_in_one_mode): New function.
41722         (do_test): Also run tests for hex float output.
41724 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
41726         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41727         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41728         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41729         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41730         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41731         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41732         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41733         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41735 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
41737         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41738         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41739         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41740         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41742 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
41744         [BZ #14579]
41745         * elf/rtld.c (dl_main): Limit the check for self loading to normal
41746         mode only.
41747         * elf/tst-rtld-load-self.sh: New test.
41748         * elf/Makefile: Run it.
41750 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
41752         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41753         (tst-writev-ENV): Remove.
41754         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41756 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
41758         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41760 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
41762         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41763         unconditional.
41764         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41765         Likewise.
41766         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41767         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41768         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41769         Likewise.
41771 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
41773         [BZ #14587]
41774         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41775         * config.make.in (have-cpp-asm-debuginfo): Removed.
41776         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41777         * configure: Regenerated.
41779 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
41781         [BZ #5044]
41782         * stdio-common/printf_fp.c: Include <stdbool.h> and
41783         <rounding-mode.h>.
41784         (___printf_fp): Determine rounding using get_rounding_mode and
41785         round_away.
41786         * stdio-common/tst-printf-round.c: New file.
41787         * stdio-common/Makefile (tests): Add tst-printf-round.
41788         (link-libm): New variable.
41789         ($(objpfx)tst-printf-round): Depend in $(link-libm).
41791 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
41793         [BZ #14576]
41794         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41795         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41796         Likewise.
41797         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41798         Likewise.
41800 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
41802         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41803         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41804         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41805         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41807 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
41809         [BZ #14518]
41810         * include/rounding-mode.h: New file.
41811         * sysdeps/generic/get-rounding-mode.h: Likewise.
41812         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41813         * stdlib/strtod_l.c: Include <rounding-mode.h>.
41814         (MAX_VALUE): New macro.
41815         (MIN_VALUE): Likewise.
41816         (overflow_value): New function.
41817         (underflow_value): Likewise.
41818         (round_and_return): Use overflow_value and underflow_value to
41819         determine return values in overflow and underflow cases.  Use
41820         round_away to determine rounding depending on rounding mode.
41821         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41822         determine return values in overflow and underflow cases.
41823         * stdlib/tst-strtod-round.c: Include <fenv.h>.
41824         (struct test_results): New structure.
41825         (struct test): Use struct test_results to store expected results
41826         for all rounding modes.
41827         (TEST): Include expected results for all rounding modes.
41828         (test_in_one_mode): New function.
41829         (do_test): Use test_in_one_mode to compute and check results.
41830         Check results for all rounding modes.
41831         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41832         $(link-libm).
41834 2012-12-09  Allan McRae  <allan@archlinux.org>
41836         * sysdeps/i386/fpu/libm-test-ulps: Update
41838 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
41840         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41841         (_G_int32_t): Likewise.
41842         (_G_uint16_t): Likewise.
41843         (_G_uint32_t): Likewise.
41844         (_G_HAVE_BOOL): Likewise.
41845         (_G_HAVE_ATEXIT): Likewise.
41846         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41847         (_G_HAVE_IO_FILE_OPEN): Likewise.
41848         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41849         (_G_int32_t): Likewise.
41850         (_G_uint16_t): Likewise.
41851         (_G_uint32_t): Likewise.
41852         (_G_HAVE_BOOL): Likewise.
41853         (_G_HAVE_ATEXIT): Likewise.
41854         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41855         (_G_HAVE_IO_FILE_OPEN): Likewise.
41856         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41857         (_G_int32_t): Likewise.
41858         (_G_uint16_t): Likewise.
41859         (_G_uint32_t): Likewise.
41860         (_G_HAVE_BOOL): Likewise.
41861         (_G_HAVE_ATEXIT): Likewise.
41862         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41863         (_G_HAVE_IO_FILE_OPEN): Likewise.
41865 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
41867         * csu/libc-tls.c: Update copyright years.
41869 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
41871         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41872         [!_G_USING_THUNKS]: Remove conditional code.
41873         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41874         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41876         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41877         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41878         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41879         (_G_VTABLE_LABEL_PREFIX): Likewise.
41880         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41881         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41882         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41883         (_G_VTABLE_LABEL_PREFIX): Likewise.
41884         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41885         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41886         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41887         (_G_VTABLE_LABEL_PREFIX): Likewise.
41888         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41890 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
41892         * libio/Makefile: Include ../Makeconfig before tests.
41893         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41894         only if $(build-shared) is yes.
41896         * iconv/gconv_db.c: Update copyright years.
41898 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41900         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41901         unwind info if defined PIC. Fix special cases description.
41902         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41904         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41905         DP_HI_MASK entry.
41906         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41908 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
41910         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41912         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41913         is NULL.
41915         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41916         (LDLIBS-tst-chk4): This.
41917         (LDFLAGS-tst-chk5): Renamed to ...
41918         (LDLIBS-tst-chk5): This.
41919         (LDFLAGS-tst-chk6): Renamed to ...
41920         (LDLIBS-tst-chk6): This.
41921         (LDFLAGS-tst-lfschk4): Renamed to ...
41922         (LDLIBS-tst-lfschk4): This.
41923         (LDFLAGS-tst-lfschk5): Renamed to ...
41924         (LDLIBS-tst-lfschk5): This.
41925         (LDFLAGS-tst-lfschk6): Renamed to ...
41926         (LDLIBS-tst-lfschk6): This.
41928         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41929         on $(common-objpfx)soversions.mk.
41931 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
41933         [BZ #10014]
41934         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41935         example host name.
41937 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41939         * malloc/arena.c (arena_get_retry): New function that gets
41940         another arena for the caller to try its request on.
41941         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41942         current arena cannot fulfill the request.
41943         (__libc_memalign): Likewise.
41944         (__libc_memalign): Likewise.
41945         (__libc_pvalloc): Likewise.
41946         (__libc_calloc): Likewise.
41948 2012-09-05  John Tobey  <john.tobey@gmail.com>
41950         [BZ #13542]
41951         * manual/arith.texi (Operations on Complex): Fix description
41952         of carg branch cut.
41954 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41956         [BZ #10014]
41957         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41958         host name.
41960         [BZ #10038]
41961         * manual/memory.texi (Memory): Make order of menu items match
41962         order of sections.
41964 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41966         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41967         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
41968         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41970 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41972         * csu/libc-tls.c (static_dtv): Renamed to ...
41973         (_dl_static_dtv): This.  Make it global.
41974         (_dl_initial_dtv): Removed.
41975         (__libc_setup_tls): Updated.
41976         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41977         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41978         DL_INITIAL_DTV.
41980 2012-09-06  Petr Machata  <pmachata@redhat.com>
41982         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41983         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41984         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41985         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41987 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41989         [BZ #14545]
41990         * csu/libc-tls.c (_dl_initial_dtv): New variable.
41991         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41992         freeing dtv[-1].
41994 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41996         [BZ #14544]
41997         * Makeconfig (link-static-before-libc): Replace $(+prector)
41998         with $(+prectorT).
41999         (link-static-after-libc): Replace $(+postctor) with
42000         $(+postctorT).
42001         (link-bounded): Replace $(+prector)/$(+postctor) with
42002         $(+prectorT)/$(+postctorT).
42003         (+prectorT): New macro.
42004         (+postctorT): Likewise.
42006 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42008         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42009         (round_str): Handle values above the maximum for IBM long double
42010         as inexact.
42011         * stdlib/tst-strtod-round.c (tests): Regenerated.
42013 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42015         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42016         assembler flag.
42017         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42018         zarch_nohighgprs around the zarch optimized routines.
42019         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42020         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42021         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42022         for zarch.
42024 2012-09-05  David S. Miller  <davem@davemloft.net>
42026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42028         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42029         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42030         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42031         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42032         entries.
42034 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42036         * malloc/arena.c: Fold copyright years.
42037         * malloc/mcheck.c, malloc/memusage.c: Likewise.
42039 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42041         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42043 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42045         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
42047 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42049         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42050         change internal state upon failure.
42052 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42054         * malloc/mcheck.c (mcheck_check_all): Fix typo.
42055         * malloc/memusage.c (mmap): Likewise.
42056         (mmap64, mremap): Likewise.  Adjust name in comment.
42058 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42060         * libio/fileops.c: Fix typos in comments.
42061         * libio/oldfileops.c: Likewise.
42062         * libio/wfileops.c: Likewise.
42064 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42066         [BZ #1349]
42067         * malloc/Makefile (tests): Add tst-malloc-usable test case.
42068         (tst-malloc-usable-ENV): Set environment for test case.
42069         * malloc/hooks.c (malloc_check_get_size): New function to get
42070         requested size.
42071         * malloc/malloc.c (musable): Use malloc_check_get_size.
42072         * malloc/tst-malloc-usable.c: New test case.
42074 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42076         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42078 2012-09-05  Allan McRae  <allan@archlinux.org>
42080         [BZ #13966]
42081         * configure.in (CXX_SYSINCLUDES): Use compiler output to
42082         determine header location.
42083         * configure: Regenerated.
42085 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42087         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42088         float format.
42089         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42090         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42091         format.
42092         (test): Regenerate.
42094 2012-09-04  David S. Miller  <davem@davemloft.net>
42096         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42097         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42098         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42100 2012-09-04  Florian Weimer  <fweimer@redhat.com>
42102         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42103         failures.
42105         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42107 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
42109         [BZ #9914]
42110         * libio/iogetdelim.c: Include <limits.h>.
42111         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42112         + len + 1 would overflow.
42114 2012-09-03  Andreas Jaeger  <aj@suse.de>
42116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42117         * sysdeps/i386/fpu/libm-test-ulps: Update.
42119 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42121         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42122         Add s_sinf-sse2, s_conf-sse2.
42124         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42125         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42126         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42127         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42129         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42130         for using routine as __sinf_ia32.
42131         Use macro for function declaration and weak_alias.
42132         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42133         for using routine as __cosf_ia32.
42134         Use macro for function declaration and weak_alias.
42136         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42137         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42139         * sysdeps/x86_64/fpu/s_sinf.S: New file.
42140         * sysdeps/x86_64/fpu/s_cosf.S: New file.
42141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42143         * math/libm-test.inc (cos_test): Add more test cases.
42144         (sin_test): Likewise.
42145         (sincos_test): Likewise.
42147 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42149         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42150         (IFUNC_RESOLVE): Make pointers to the specialized implementations
42151         hidden.
42152         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42154 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
42156         [BZ #14538]
42157         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42158         first element of the GOT.
42159         (elf_machine_load_address): Return the difference between
42160         the runtime address of _DYNAMIC and elf_machine_dynamic ().
42162 2012-09-01  Allan McRae  <allan@archlinux.org>
42164         [BZ #13412]
42165         * configure.in (AWK): Require gawk version 3.0 or later.
42166         * configure: Regenerated.
42168 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
42170         * sysdeps/unix/sysv/linux/kernel-features.h
42171         (__ASSUME_POSIX_CPU_TIMERS): Remove.
42172         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42173         [__NR_clock_getres]: Make code unconditional.
42174         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42175         (clock_getcpuclockid): Remove code left unreachable by removal of
42176         conditionals.
42177         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42178         code unconditional.
42179         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42180         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42181         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42182         Make code unconditional.
42183         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42184         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42185         * sysdeps/unix/sysv/linux/clock_settime.c
42186         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42187         conditional code.
42188         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42189         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42191 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
42193         [BZ #14476]
42194         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42195         scripts/test-installation.pl.
42197         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42198         and $ld_so_version if it is set.
42200 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42202         [BZ #14516]
42203         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42204         failure if reading from procfs failed.
42205         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42207 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42209         * sysdeps/unix/sysv/linux/kernel-features.h
42210         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42211         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42212         Remove conditional code.
42213         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42214         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42215         Remove conditional code.
42216         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42217         * sysdeps/unix/sysv/linux/i386/fxstat.c
42218         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42219         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42220         * sysdeps/unix/sysv/linux/i386/fxstatat.c
42221         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42222         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42223         * sysdeps/unix/sysv/linux/i386/lxstat.c
42224         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42225         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42226         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42227         Remove conditional code.
42228         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42229         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42230         Remove conditional code.
42231         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42232         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42233         <kernel-features.h>.
42234         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42235         Remove.
42236         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42237         Remove conditional code.
42238         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42239         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42240         Remove conditional.
42242 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
42244         [BZ #5400]
42245         * NEWS: Add fixed bug number.
42247 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42249         [BZ #14519]
42250         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42251         underflowing exponent in case of negative sign.
42252         * stdlib/tst-strtod-round-data: Add more tests.
42253         * stdlib/tst-strtod-round.c (tests): Regenerated.
42255         [BZ #3479]
42256         * stdlib/strtod_l.c (NDIG): Remove.
42257         (HEXNDIG): Likewise.
42258         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42259         smallest representable value.
42260         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42261         lie within an exact representation of 1/2 ulp of the result.
42262         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42263         unconditionally.
42264         (TENS_P9_IDX): Define unconditionally.
42265         (TENS_P9_SIZE): Likewise.
42266         (TENS_P10_IDX): Likewise.
42267         (TENS_P10_SIZE): Likewise.
42268         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42269         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42270         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42271         entries for 10^2^13 and 10^2^14.
42272         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42273         (TENS_P13_IDX): Define.
42274         (TENS_P13_SIZE): Likewise.
42275         (TENS_P14_IDX): Likewise.
42276         (TENS_P14_SIZE): Likewise.
42277         (_fpioconst_pow10): Change array size to
42278         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
42279         unconditional.
42280         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42281         1024]: Add entries for 10^2^13 and 10^2^14.
42282         [LAST_POW10 > _LAST_POW10]: Remove #error.
42283         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42284         (_fpioconst_pow10): Change array size to
42285         FPIOCONST_POW10_ARRAY_SIZE.
42286         * stdlib/gen-fpioconst.c: New file.
42287         * stdlib/gen-tst-strtod-round.c: Likewise.
42288         * stdlib/tst-strtod-round-data: Likewise.
42289         * stdlib/tst-strtod-round.c: Likewise.
42290         * stdlib/Makefile (tests): Add tst-strtod-round.
42292         [BZ #14459]
42293         * stdlib/strtod_l.c: Include <stdint.h>.
42294         (NDEBUG): Do not define.
42295         (round_and_return): Change EXPONENT parameter to type intmax_t.
42296         Rearrange calculations to avoid internal overflow possibilities.
42297         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42298         Rearrange calculations to avoid internal overflow possibilities.
42299         Assert that number fits inside MPNSIZE limbs.
42300         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42301         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
42302         calculations and add assertions to avoid internal overflow
42303         possibilities.  Add casts to avoid signed/unsigned operations.
42304         * stdlib/tst-strtod-overflow.c: New file.
42305         * stdlib/Makefile (tests): Add tst-strtod-overflow.
42307 2012-08-25  Marek Polacek  <polacek@redhat.com>
42309         * time/time.h: Fix some typos in comments.
42311 2012-08-23  Roland McGrath  <roland@hack.frob.com>
42313         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42314         * posix/tst-rfc3484-2.c: Likewise.
42315         * posix/tst-rfc3484-3.c: Likewise.
42317 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
42319         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42320         (EF_ARM_ABI_FLOAT_HARD): Likewise.
42322 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
42324         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42325         #include of fxstatat64.c.
42327 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42329         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42330         * shadow/getspent_r.c: Likewise.
42331         * shadow/getspnam.c: Likewise.
42332         * shadow/getspnam_r.c: Likewise.
42333         * gshadow/getsgent.c: Likewise.
42334         * gshadow/getsgent_r.c: Likewise.
42335         * gshadow/getsgnam.c: Likewise.
42336         * gshadow/getsgnam_r.c: Likewise.
42337         * inet/getnetbyad.c: Likewise.
42338         * inet/getnetbyad_r.c: Likewise.
42339         * inet/getnetbynm.c: Likewise.
42340         * inet/getnetbynm_r.c: Likewise.
42341         * inet/getnetent.c: Likewise.
42342         * inet/getnetent_r.c: Likewise.
42343         * inet/getproto.c: Likewise.
42344         * inet/getproto_r.c: Likewise.
42345         * inet/getprtent.c: Likewise.
42346         * inet/getprtent_r.c: Likewise.
42347         * inet/getprtname.c: Likewise.
42348         * inet/getprtname_r.c: Likewise.
42349         * inet/getrpcbyname.c: Likewise.
42350         * inet/getrpcbyname_r.c: Likewise.
42351         * inet/getrpcbynumber.c: Likewise.
42352         * inet/getrpcbynumber_r.c: Likewise.
42353         * inet/getrpcent.c: Likewise.
42354         * inet/getrpcent_r.c: Likewise.
42355         * inet/getaliasent.c: Likewise.
42356         * inet/getaliasent_r.c: Likewise.
42357         * inet/getaliasname.c: Likewise.
42358         * inet/getaliasname_r.c: Likewise.
42359         * nscd/getgrgid_r.c: Likewise.
42360         * nscd/getgrnam_r.c: Likewise.
42361         * nscd/gethstbyad_r.c: Likewise.
42362         * nscd/gethstbynm3_r.c: Likewise.
42363         * nscd/getpwnam_r.c: Likewise.
42364         * nscd/getpwuid_r.c: Likewise.
42365         * nscd/getsrvbynm_r.c: Likewise.
42366         * nscd/getsrvbypt_r.c: Likewise.
42367         * nscd/gai.c: Likewise.
42369         * configure.in (build_nscd): New substituted variable, set
42370         by --disable-build-nscd and defaults to $use_nscd.
42371         * configure: Regenerated.
42372         * config.make.in (build-nscd): New substituted variable.
42373         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42374         Change conditional to require [$(build-nscd) = yes] as well.
42375         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42377         [BZ# 13696]
42378         * configure.in (use_nscd): New substituted variable, set by
42379         --disable-nscd.  If enabled, define USE_NSCD.
42380         * configure: Regenerated.
42381         * config.h.in: Add USE_NSCD.
42382         * config.make.in (use-nscd): New substituted variable.
42383         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42384         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42385         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42386         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42387         (CFLAGS-getgrnam_r.c): Likewise.
42388         (CFLAGS-initgroups.c): Likewise.
42389         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42390         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42391         Variables removed.
42392         * inet/getnetgrent_r.c
42393         (nscd_setnetgrent): New function, broken out of ...
42394         (setnetgrent): ... here.  Call it.
42395         (innetgr): Conditionalize nscd bits on [USE_NSCD].
42396         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42397         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42398         * nscd/Makefile (routines, aux): Move definitions after include of
42399         Makeconfig.  Conditionalize on [$(use-nscd) != no].
42400         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42401         Conditionalize on [USE_NSCD].
42402         (is_nscd, nscd_init_cb): Likewise.
42403         (nss_load_library): Conditionalize init callback on [USE_NSCD].
42404         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42405         * nss/nss_db/db-init.c: Likewise.
42406         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42407         [USE_NSCD].
42408         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42409         (make_request): Use it.
42410         (cache_valid_p): New function.
42411         (__check_pf): Use it.
42412         * NEWS: Add item for --disable-nscd.
42414 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
42416         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42417         to support sed >= 4.2.1-20-ga9bf076.
42418         * configure: Regenerated.
42420 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42422         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42423         Conditionalize whole body on [IREL].
42425 2012-08-22  Jeff Law <law@redhat.com>
42427         [BZ #14505]
42428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42429         if the family is PF_UNSPEC.
42431 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
42433         * Makerules (lib-version): Rename from V.
42434         (install-lib-nosubdir): Change V to lib-version.
42436 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
42438         [BZ #14252]
42439         * powerpc32/power6/wcschr.c: New file.
42440         * powerpc32/power6/wcscpy.c: New file.
42441         * powerpc32/power6/wcsrchr.c: New file.
42442         * powerpc64/power6/wcschr.c: New file.
42443         * powerpc64/power6/wcscpy.c: New file.
42444         * powerpc64/power6/wcsrchr.c: New file.
42446 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42448         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42449         (two_way_short_needle): Use it.
42450         * string/strstr.c (AVAILABLE1_USES_J): Define.
42451         * string/strcasestr.c: Likewise.
42453         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42454         array references.
42455         * string/strcasestr.c (TOLOWER): Make side-effect safe.
42457         [BZ #11607]
42458         * NEWS: Add an entry.
42459         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42460         define their defaults.
42461         (two_way_short_needle): Detect end-of-string on-the-fly.
42462         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42463         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42464         * string/bug-strcasestr1.c: New test.
42465         * string/Makefile: Run it.
42467 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42469         [BZ #11607]
42470         * string/str-two-way.h (two_way_short_needle): Optimize matching of
42471         the first character.
42473 2012-08-21  Roland McGrath  <roland@hack.frob.com>
42475         * csu/elf-init.c (__libc_csu_irel): Function removed.
42476         * csu/libc-start.c (apply_irel): New function.
42477         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42479 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
42481         * sysdeps/unix/sysv/linux/kernel-features.h
42482         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42483         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42484         <kernel-features.h>.
42485         [__NR_fadvise64_64]: Make code unconditional.
42486         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42487         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42488         !__NR_fadvise64_64)]: Likewise.
42489         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42490         !__NR_fadvise64_64))]: Likewise.
42491         [__NR_fadvise64]: Make code unconditional.
42492         [!__NR_fadvise64]: Remove conditional code.
42493         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42494         <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.
42499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42500         not include <kernel-features.h>.
42501         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42502         unconditional.
42503         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42504         conditional code.
42505         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42506         include <kernel-features.h>.
42507         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42508         unconditional.
42509         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42510         conditional code.
42512 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42514         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42515         slight instruction rearrangements per scrollpipe analysis.
42516         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42518 2012-08-20  Roland McGrath  <roland@hack.frob.com>
42520         * manual/syslog.texi (syslog; vsyslog, closelog):
42521         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42522         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42524         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42525         DSOCAPS to match condition on defining it.
42527 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
42529         * sysdeps/unix/sysv/linux/kernel-features.h
42530         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42532         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42533         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42535         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42536         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42538         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42539         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42541         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42542         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42544         * sysdeps/unix/sysv/linux/kernel-features.h
42545         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42546         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42547         unconditional.
42548         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42549         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42550         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42551         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42552         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42553         Make code unconditional.
42554         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42555         (__mmap64) [!__NR_mmap2]: Likewise.
42556         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42557         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42558         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42559         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42560         [__NR_mmap2]: Make code unconditional.
42561         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42562         (__mmap64) [!__NR_mmap2]: Likewise.
42564 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42566         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42568 2012-08-18  Andreas Jaeger  <aj@suse.de>
42570         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42572 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42574         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42575         * include/unistd.h (__have_sock_cloexec): Likewise.
42576         (__have_pipe2): Likewise.
42577         (__have_dup3): Likewise.
42579 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42581         [BZ #9685]
42582         * include/unistd.h (__have_pipe2): Change define into an extern int.
42583         (__have_dup3): Likewise.
42584         * socket/have_sock_cloexec.c: Include fcntl.h.
42585         (__have_pipe2): New variable.
42586         (__have_dup3): Likewise.
42588 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
42590         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42592 2012-08-17  Marek Polacek  <polacek@redhat.com>
42594         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42595         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42597 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42599         * configure.in: Add AC_SUBST for sysheaders.
42600         * configure: Regenerated.
42601         * config.make.in (sysheaders): New substituted variable.
42603         * sysdeps/unix/mkfifo.c: Moved ...
42604         * sysdeps/posix/mkfifo.c: ... here.
42605         * sysdeps/unix/mkfifoat.c: Moved ...
42606         * sysdeps/posix/mkfifoat.c: ... here.
42608         * sysdeps/unix/utime.c: Moved ...
42609         * sysdeps/posix/utime.c: ... here.
42611         * sysdeps/unix/time.c: Moved ...
42612         * sysdeps/posix/time.c: ... here.
42613         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42614         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42616         * sysdeps/unix/nice.c: Moved ...
42617         * sysdeps/posix/nice.c: ... here.
42619         * sysdeps/unix/alarm.c: Moved ...
42620         * sysdeps/posix/alarm.c: ... here.
42622         * intl/Makefile ($(codeset_mo)): Depend on the input file.
42624 2012-08-17  Jeff Law <law@redhat.com>
42626         * intl/Makefile (codeset_mo): New variable.
42627         ($(codeset_mo)): New target.
42628         (tst-codeset.out): Depend on that.  Remove explicit rule.
42629         (tst-gettext3.out, tst-gettext5.out): Likewise.
42630         (LOCPATH-ENV, tst-codeset-ENV): New variables.
42631         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42632         * intl/tst-codeset.sh: Remove.
42633         * intl/tst-gettext3.sh: Likewise.
42634         * intl/tst-gettext5.sh: Likewise.
42636 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42638         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
42639         * sysdeps/unix/syscalls.list: ... here.
42641         * sysdeps/posix/getaddrinfo.c
42642         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42643         (gaiconf_init, gaiconf_reload): Use them.
42644         [!_STATBUF_ST_NSEC]
42645         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42646         Define using time_t rather than struct timespec.
42648         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42649         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42650         Macros removed.
42651         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42652         [!NO_THREADS].
42653         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42654         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42655         Likewise.
42657         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42658         __libc_cleanup_push argument.
42660         * bits/param.h: New file.
42661         * misc/sys/param.h: New file.
42662         * include/sys/param.h: New file.
42663         * misc/Makefile (headers): Add bits/param.h.
42664         * sysdeps/generic/sys/param.h: File removed.
42665         * sysdeps/unix/sysv/linux/bits/param.h: New file.
42666         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42667         * sysdeps/mach/hurd/bits/param.h: New file.
42668         * sysdeps/mach/hurd/sys/param.h: File removed.
42670         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42671         last change.
42673         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42674         [_IO_MTSAFE_IO].
42675         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42676         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42677         New macros.
42679         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42680         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42681         rather than -D_IO_MTSAFE_IO conditionally.
42682         * stdio-common/Makefile (CPPFLAGS): Likewise.
42683         * wcsmbs/Makefile (CPPFLAGS): Likewise.
42684         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42685         Use $(libio-mtsafe).
42686         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42687         of -D_IO_MTSAFE_IO.
42688         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42689         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42690         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42691         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42692         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42693         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42694         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42695         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42696         (CFLAGS-fread_u_chk.c): Likewise.
42697         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42698         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42699         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42700         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42701         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42702         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42703         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42704         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42705         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42707         * libio/Makefile: Test [$(libc-reentrant) = yes]
42708         instead of [$(filter %REENTRANT, $(defines)) nonempty].
42710         * Makeconfig
42711         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42712         * sysdeps/pthread/configure: File removed.
42713         * sysdeps/pthread/Makeconfig: New file.
42714         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42715         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42717 2012-08-16  Gary Benson  <gbenson@redhat.com>
42719         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42720         unmapping the first object in a namespace.
42722 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42724         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42725         (__internal_setnetgrent): ... this.  Add internal_function to
42726         definition.  Add libc_hidden_def.
42727         (setnetgrent): Update caller.
42728         (internal_endnetgrent): Renamed to ...
42729         (__internal_endnetgrent): ... this.  Add internal_function to
42730         definition.  Add libc_hidden_def.
42731         (endnetgrent): Update caller.
42732         (internal_getnetgrent_r): Renamed to ...
42733         (__internal_getnetgrent_r): ... this.  Add internal_function to
42734         definition.  Add libc_hidden_def.
42735         (__getnetgrent_r): Update caller.
42736         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
42738 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42740         * stdlib/longlong.h: Update from GCC.
42742 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42744         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42745         on _QL, which is set by umul_ppmm but never used.
42746         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42747         variables, which are set by GMP macros but never used.
42748         * stdio-common/_itowa.c (_itowa): Likewise.
42749         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42750         * stdlib/mod_1.c (mpn_mod_1): Likewise.
42752 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
42754         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42755         struct La_sh_regs is not constant.
42756         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42757         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42758         and struct La_sparc64_regs are not constant.
42760 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42762         * sysdeps/unix/sysv/linux/kernel-features.h
42763         (__ASSUME_POSIX_TIMERS): Remove.
42764         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42765         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42766         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42767         Make code unconditional.
42768         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42769         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42770         Make code unconditional.
42771         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42772         * sysdeps/unix/sysv/linux/clock_nanosleep.c
42773         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42774         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42775         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42776         Make code unconditional.
42777         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42778         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42779         (__libc_missing_posix_timers): Remove.
42781 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42783         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42784         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42786         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42788         * elf/dl-sym.c: Include <stdlib.h>.
42790         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42791         constants, which avoids warnings in 32-bit builds.
42793         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42794         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42796         * misc/lseek.c: File moved to ...
42797         * io/lseek.c: ... here.
42799         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42801         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42802         shifting LEN more than 31 bits at once.
42804 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42806         [BZ #14195]
42807         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42808         segmentation fault for a case of two empty input strings.
42809         * string/test-strncasecmp.c (check1): Renamed to...
42810         (bz12205): ...this.
42811         (bz14195): Add new testcase for two empty input strings and N > 0.
42812         (test_main): Call new testcase, adapt for renamed function.
42814 2012-08-15  Andreas Jaeger  <aj@suse.de>
42816         [BZ #14090]
42817         * crypt/md5test2.c: New test, based on test supplied by Serge
42818         Belyshev <belyshev@depni.sinp.msu.ru>.
42819         * crypt/Makefile (xtests): Add md5test-giant..
42820         * crypt/Makefile ($(objpfx)md5test-giant): Add.
42822 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
42824         [BZ #14090]
42825         * crypt/md5.c (md5_process_block): Don't assume the buffer
42826         length is less than 2**32.
42827         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42828         length is less than 2**64.
42830 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42832         * string/str-two-way.h: Include <sys/param.h>.
42833         (MAX): Macro removed.
42835         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42836         Move #define and #undef of memmove to just before and after
42837         including <string.h>.
42839         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42840         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42841         and after including <string.h>.  Move declarations of
42842         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42843         to before #include "string/memmove.c".
42845         * include/dirent.h: Declare __getdirentries.
42847         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42848         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42850 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
42852         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42853         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42854         * sysdeps/i386/configure: Regenerated.
42855         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42856         STABS_CURRENT_FILE, and STABS_FUN.
42857         (END): Remove call to STABS_FUN_END.
42858         (STABS_CURRENT_FILE1): Delete.
42859         (STABS_CURRENT_FILE): Likewise.
42860         (STABS_FUN): Likewise.
42861         (STABS_FUN_END): Likewise.
42862         (STABS_FUN2): Likewise.
42863         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42864         * sysdeps/x86_64/configure: Regenerated.
42866 2012-08-14  Roland McGrath  <roland@hack.frob.com>
42868         * elf/dl-open.c: Include <atomic.h>.
42869         * elf/dl-lookup.c: Likewise.
42871 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
42873         * sysdeps/unix/sysv/linux/kernel-features.h
42874         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42875         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42876         unconditionally.
42877         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42878         unconditionally.
42879         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42880         condition on __ASSUME_CLONE_THREAD_FLAGS.
42882 2012-08-14  Andreas Jaeger  <aj@suse.de>
42884         * sysdeps/i386/fpu/libm-test-ulps: Update.
42886 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
42888         * include/atomic.h (atomic_exchange_and_add): Split into ...
42889         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42890         New atomic macros.
42892 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
42894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42896 2012-08-13  Jeff Law <law@redhat.com>
42898         * manual/stdio.texi (snprintf): Clarify handling of the trailing
42899         null byte in the output string.
42901 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
42903         * sysdeps/unix/sysv/linux/kernel-features.h
42904         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42905         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42906         (__ASSUME_ARG_MAX_STACK_BASED): Define.
42907         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42908         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42909         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
42910         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42912 2012-08-09  Jeff Law <law@redhat.com>
42914         [BZ #13939]
42915         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42916         When avoid_arena is set, don't retry in the that arena.  Pick the
42917         next one, whatever it might be.
42918         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42919         (arena_lock): Pass in new parameter to arena_get2.
42920         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42921         arena_get2.
42922         (__libc_malloc): Unify retrying after main arena failure with
42923         __libc_memalign version.
42924         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42926 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
42928         [BZ #14166]
42929         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42930         to __redirect_strstr.
42931         (__strstr_sse42): Use typeof __redirect_strstr.
42932         (__strstr_ia32): Likewise.
42933         (__libc_strstr): New prototype.
42934         (strstr): Renamed to ...
42935         (__libc_strstr): This.
42936         (strstr): New strong alias of __libc_strstr.
42937         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42938         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42939         __redirect_time.
42940         Include <time.h>.
42941         (__libc_time): New prototype.
42942         (time_ifunc): Replace time with __libc_time.
42943         (time): New strong alias and hidden definition of __libc_time.
42944         (__GI_time): Remove strong alias.
42945         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42946         Include <stddef.h>.
42947         (memmove): Redefined to __redirect_memmove.
42948         (__memmove_sse2): Use typeof __redirect_memmove.
42949         (__memmove_ssse3): Likewise.
42950         (__memmove_ssse3_back): Likewise.
42951         (__libc_memmove): New prototype.
42952         (memmove): Renamed to ...
42953         (__libc_memmove): This.
42954         (memmove): New strong alias of __libc_memmove.
42956 2012-08-08  Mark Salter  <msalter@redhat.com>
42958         * elf/elf.h
42959         (R_MN10300_TLS_GD): Define.
42960         (R_MN10300_TLS_LD): Likewise.
42961         (R_MN10300_TLS_LDO): Likewise.
42962         (R_MN10300_TLS_GOTIE): Likewise.
42963         (R_MN10300_TLS_IE): Likewise.
42964         (R_MN10300_TLS_LE): Likewise.
42965         (R_MN10300_TLS_DTPMOD): Likewise.
42966         (R_MN10300_TLS_DTPOFF): Likewise.
42967         (R_MN10300_TLS_TPOFF): Likewise.
42968         (R_MN10300_SYM_DIFF): Likewise.
42969         (R_MN10300_ALIGN): Likewise.
42970         (R_MN10300_NUM): Update.
42972 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
42974         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42975         Remove.
42977 2012-08-08  Roland McGrath  <roland@hack.frob.com>
42979         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42981         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42982         sysdeps/unix -> sysdeps/posix move.
42983         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42985 2012-08-07      Allan McRae     <allan@archlinux.org>
42987         [BZ #14303]
42988         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42989         (SUNOS_CPP): Likewise.
42990         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42991         not found.
42992         (open_input): Call CPP using execvp.
42994 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42996         * sysdeps/unix/sysv/linux/kernel-features.h
42997         (__ASSUME_PROT_GROWSUPDOWN): Remove.
42998         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42999         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43000         (__ASSUME_WAITID_SYSCALL): Likewise.
43001         * sysdeps/unix/sysv/linux/dl-execstack.c
43002         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43003         code unconditional.
43004         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43005         conditional code.
43006         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43007         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43008         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43009         code.
43010         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43011         unconditional.
43012         [__ASSUME_WAITID_SYSCALL]: Likewise.
43013         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43015 2012-08-07  Roland McGrath  <roland@hack.frob.com>
43017         * sysdeps/unix/closedir.c: Renamed to ...
43018         * sysdeps/posix/closedir.c: ... here.
43019         * sysdeps/unix/dirfd.c: Renamed to ...
43020         * sysdeps/posix/dirfd.c: ... here.
43021         * sysdeps/unix/dirstream.h: Renamed to ...
43022         * sysdeps/posix/dirstream.h: ... here.
43023         * sysdeps/unix/fdopendir.c: Renamed to ...
43024         * sysdeps/posix/fdopendir.c: ... here.
43025         * sysdeps/unix/opendir.c: Renamed to ...
43026         * sysdeps/posix/opendir.c: ... here.
43027         * sysdeps/unix/readdir.c: Renamed to ...
43028         * sysdeps/posix/readdir.c: ... here.
43029         * sysdeps/unix/readdir_r.c: Renamed to ...
43030         * sysdeps/posix/readdir_r.c: ... here.
43031         * sysdeps/unix/rewinddir.c: Renamed to ...
43032         * sysdeps/posix/rewinddir.c: ... here.
43033         * sysdeps/unix/seekdir.c: Renamed to ...
43034         * sysdeps/posix/seekdir.c: ... here.
43035         * sysdeps/unix/telldir.c: Renamed to ...
43036         * sysdeps/posix/telldir.c: ... here.
43037         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43038         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43039         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43040         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43042         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43043         * bits/fcntl.h: ... here.
43045         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43046         not 0.
43047         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43048         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43049         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43050         (struct flock): Move l_start, l_len to the beginning.
43051         Use __pid_t for l_pid.
43052         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43053         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43054         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43055         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43056         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43057         [__USE_LARGEFILE64] (struct flock64): New type.
43058         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43060         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43061         * bits/dirent.h: ... here.
43063         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43064         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43066 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43068         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43069         Change from 2.6.0 to 2.6.16.
43070         * sysdeps/unix/sysv/linux/configure: Regenerated.
43071         * sysdeps/unix/sysv/linux/kernel-features.h
43072         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43073         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43074         version.
43075         (__ASSUME_UTIMES): Likewise.
43076         (__ASSUME_CLONE_STOPPED): Remove.
43077         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43078         architectures, not kernel version.
43079         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43080         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43081         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43082         (__ASSUME_WAITID_SYSCALL): Likewise.
43083         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43084         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43085         * README: State 2.6.16 as minimum Linux kernel version.  Do not
43086         refer to older versions.
43088 2012-08-06  Roland McGrath  <roland@hack.frob.com>
43090         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43091         Define alphasort64 as an alias.
43092         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43093         Define versionsort64 as an alias.
43094         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43095         Define scandir64 as an alias.
43096         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43097         Define scandirat64 as an alias.
43098         * dirent/alphasort64.c (alphasort64):
43099         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43100         * dirent/versionsort64.c: Likewise.
43101         * dirent/scandir64.c: Likewise.
43102         * dirent/scandirat64.c: Likewise.
43103         * sysdeps/wordsize-64/alphasort.c: File removed.
43104         * sysdeps/wordsize-64/alphasort64.c: File removed.
43105         * sysdeps/wordsize-64/scandir.c: File removed.
43106         * sysdeps/wordsize-64/scandir64.c: File removed.
43107         * sysdeps/wordsize-64/scandirat.c: File removed.
43108         * sysdeps/wordsize-64/scandirat64.c: File removed.
43109         * sysdeps/wordsize-64/versionsort.c: File removed.
43110         * sysdeps/wordsize-64/versionsort64.c: File removed.
43111         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43112         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43113         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43114         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43115         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43116         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43117         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43118         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43120         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43121         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43122         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43123         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43124         [defined __arch64__ || defined __sparcv9]
43125         (__INO_T_MATCHES_INO64_T): New macro.
43126         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43127         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43128         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43129         * sysdeps/unix/sysv/linux/bits/dirent.h
43130         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43131         (_DIRENT_MATCHES_DIRENT64): New macro.
43133         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43134         Define lockf64 as an alias.
43135         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43136         Define fseeko64 as an alias.
43137         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43138         Define ftello64 as an alias.
43139         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43140         Define _IO_fgetpos64 and fgetpos64 as aliases.
43141         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43142         Define _IO_fsetpos64 and fsetpos64 as aliases.
43143         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43144         Conditionalize body on this.
43145         * libio/fseeko64.c: Likewise.
43146         * libio/ftello64.c: Likewise.
43147         * libio/iofgetpos64.c: Likewise.
43148         * libio/iofsetpos64.c: Likewise.
43149         * sysdeps/wordsize-64/lockf.c: File removed.
43150         * sysdeps/wordsize-64/lockf64.c: File removed.
43151         * sysdeps/wordsize-64/fseeko.c: File removed.
43152         * sysdeps/wordsize-64/fseeko64.c: File removed.
43153         * sysdeps/wordsize-64/ftello.c: File removed.
43154         * sysdeps/wordsize-64/ftello64.c: File removed.
43155         * sysdeps/wordsize-64/iofgetpos.c: File removed.
43156         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43157         * sysdeps/wordsize-64/iofsetpos.c: File removed.
43158         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43159         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43160         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43161         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43162         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43163         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43164         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43165         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43166         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43167         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43168         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43170         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43171         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43172         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43173         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43174         [defined __arch64__ || defined __sparcv9]
43175         (__OFF_T_MATCHES_OFF64_T): New macro.
43176         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43177         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43178         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43179         (__OFF_T_MATCHES_OFF64_T): New macro.
43181 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43183         * stdlib/secure-getenv.c (__secure_getenv): Replace
43184         GLIBC_2_16 with GLIBC_2_17.
43186 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43188         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43189         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43191 2012-08-03  David S. Miller  <davem@davemloft.net>
43193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43195 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43197         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43198         Remove.
43199         (__ASSUME_CORRECT_SI_PID): Likewise.
43200         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43201         (__ASSUME_TMPFS_NAME): Likewise.
43202         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43203         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43204         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43205         (HAVE_AUX_SECURE): Make definition unconditional.
43206         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43207         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43209 2012-08-03  Roland McGrath  <roland@hack.frob.com>
43211         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43212         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43213         * sysdeps/mach/hurd/eloop-threshold.h: New file.
43214         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43215         __eloop_threshold instead of SYMLOOP_MAX.
43217         * sysdeps/generic/eloop-threshold.h: New file.
43218         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43219         of MAXSYMLINKS.
43220         * elf/chroot_canon.c (chroot_canon): Likewise.
43222 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43224         [BZ #13717]
43225         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43226         Change to 2.6.0 everywhere.
43227         * sysdeps/unix/sysv/linux/configure: Regenerated.
43228         * sysdeps/unix/sysv/linux/kernel-features.h
43229         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43230         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43231         kernel versions.
43232         (__ASSUME_POSIX_TIMERS): Define unconditionally.
43233         (__ASSUME_FUTEX_REQUEUE): Remove.
43234         (__ASSUME_STATFS64): Define unconditionally.
43235         (__ASSUME_AT_SECURE): Likewise.
43236         (__ASSUME_CORRECT_SI_PID): Likewise.
43237         (__ASSUME_TGKILL): Define without depending on kernel version for
43238         i386.
43239         (__ASSUME_UTIMES): Likewise.
43240         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43241         kernel version.
43242         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43243         (__ASSUME_TMPFS_NAME): Likewise.
43244         * README: Update reference to Linux kernel versions.
43246 2012-08-02  Marek Polacek  <polacek@redhat.com>
43248         [BZ# 14150]
43249         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
43250         libc_cv_asm_type_prefix with %.
43251         * configure: Regenerated.
43252         * include/libc-symbols.h: Remove comment about
43253         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43254         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43255         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43256         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43257         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43258         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43259         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43260         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43261         * elf/tst-unique2mod1.c: Likewise.
43262         * elf/tst-unique1mod2.c: Likewise.
43263         * elf/tst-unique1mod1.c: Likewise.
43264         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43265         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43266         Replace ASM_TYPE_DIRECTIVE with .type.
43267         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43268         * sysdeps/i386/sysdep.h: Likewise.
43269         * sysdeps/x86_64/sysdep.h: Likewise.
43270         * sysdeps/sh/sysdep.h: Likewise.
43271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43272         Do not define ASM_TYPE_DIRECTIVE.
43273         * sysdeps/powerpc/sysdep.h: Likewise.
43274         * sysdeps/powerpc/powerpc32/sysdep.h:
43275         Replace ASM_TYPE_DIRECTIVE with .type.
43276         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43277         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43278         * sysdeps/i386/fpu/e_powf.S: Likewise.
43279         * sysdeps/i386/fpu/e_expl.S: Likewise.
43280         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43281         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43282         * sysdeps/i386/fpu/e_pow.S: Likewise.
43283         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43284         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43285         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43286         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43287         * sysdeps/i386/fpu/e_log2.S: Likewise.
43288         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43289         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43290         * sysdeps/i386/fpu/e_powl.S: Likewise.
43291         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43292         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43293         * sysdeps/i386/fpu/e_logl.S: Likewise.
43294         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43295         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43296         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43297         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43298         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43299         * sysdeps/i386/fpu/e_log.S: Likewise.
43300         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43301         * sysdeps/i386/fpu/e_logf.S: Likewise.
43302         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43303         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43304         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43305         * sysdeps/i386/fpu/e_log10.S: Likewise.
43306         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43307         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43308         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43309         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43310         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43311         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43312         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43313         * sysdeps/i386/i686/strtok.S: Likewise.
43314         * sysdeps/i386/i386-mcount.S: Likewise.
43315         * sysdeps/i386/strtok.S: Likewise.
43316         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43317         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43318         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43319         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43320         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43321         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43322         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43323         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43324         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43325         * sysdeps/x86_64/_mcount.S: Likewise.
43326         * sysdeps/x86_64/strtok.S: Likewise.
43327         * sysdeps/sh/_mcount.S: Likewise.
43329 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43331         * libio/iofopen.c: Include <fcntl.h>.
43332         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43333         (_IO_fopen64, fopen64): Define as aliases.
43334         * libio/iofopen64.c: Include <fcntl.h>.
43335         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43336         Conditionalize body on this.
43337         * sysdeps/wordsize-64/iofopen.c: File removed.
43338         * sysdeps/wordsize-64/iofopen64.c: File removed.
43340 2012-08-01  Marek Polacek  <polacek@redhat.com>
43342         * libc/Makeconfig: Use elf in place of binfmt-subdir.
43343         Use dlfcn directly instead of a variable.
43344         (binfmt-subdir): Do not define.
43345         (dlfcn): Likewise.
43347 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
43349         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43350         Remove all definitions.
43351         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43352         <kernel-features.h>.
43353         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43354         (miss_F_GETOWN_EX): Remove all definitions.
43355         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43356         macro definition.
43357         [!__ASSUME_FCNTL64]: Remove conditional code.
43358         [__ASSUME_FCNTL64]: Make code unconditional.
43359         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43360         <kernel-features.h>.
43361         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43362         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43363         (lockf64) [__NR_fcntl64]: Make code unconditional.
43364         (lockf64) [__ASSUME_FCNTL64]: Likewise.
43366         * sysdeps/unix/sysv/linux/kernel-features.h
43367         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43368         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43369         Make code unconditional.
43370         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43371         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43373         [__NR_vfork]: Make code unconditional.
43374         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43375         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43377         [__NR_vfork]: Make code unconditional.
43378         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43379         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43381 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43383         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43384         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43386         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43387         Define mkstemp64 as an alias.
43388         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43389         Define mkstemps64 as an alias.
43390         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43391         Define mkostemp64 as an alias.
43392         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43393         Define mkostemps64 as an alias.
43394         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43395         Conditionalize body on this.
43396         * misc/mkostemp64.c: Likewise.
43397         * misc/mkostemps64.c: Likewise.
43398         * misc/mkstemps64.c: Likewise.
43399         * sysdeps/wordsize-64/mkstemp64.c: File removed.
43400         * sysdeps/wordsize-64/mkostemp64.c: File removed.
43401         * sysdeps/wordsize-64/mkostemp.c: File removed.
43402         * sysdeps/wordsize-64/mkstemp.c: File removed.
43403         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43404         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43405         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43406         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43408         [BZ #14138]
43409         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43410         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43411         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43412         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43414         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43415         compat_symbol macros from <shlib-compat.h> rather than the underlying
43416         default_symbol_version and symbol_version macros, so that DEFAULT
43417         lines in shlib-versions are respected.
43418         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43420 2012-08-01  Florian Weimer  <fweimer@redhat.com>
43422         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43423         Declare with warn_unused_result.
43424         (setgid, setregid, setegid, setresgid): Likewise.
43425         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43426         Likewise.
43427         * WUR-REPORT: Remove set*id functions.
43429 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
43431         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43433 2012-07-31  Roland McGrath  <roland@hack.frob.com>
43435         [BZ #10191]
43436         * include/sys/socket.h (__libc_accept, __libc_accept4):
43437         Add attribute_hidden.
43438         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43440         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43441         use of PTR_MANGLE.
43442         * inet/getnetgrent_r.c (setup): Likewise.
43444         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43446 2012-07-31  David S. Miller  <davem@davemloft.net>
43448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43450 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
43452         [BZ #13629]
43453         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43454         value between 1.0 and 2.0 and smaller part has absolute value less
43455         than 1.0.
43456         * math/s_clog10.c (__clog10): Likewise.
43457         * math/s_clog10f.c (__clog10f): Likewise.
43458         * math/s_clog10l.c (__clog10l): Likewise.
43459         * math/s_clogf.c (__clogf): Likewise.
43460         * math/s_clogl.c (__clogl): Likewise.
43461         * math/libm-test.inc (clog_test): Add more tests.
43462         (clog10_test): Likewise.
43463         * sysdeps/i386/fpu/libm-test-ulps: Update.
43464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43466 2012-07-31  Florian Weimer  <fweimer@redhat.com>
43468         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43469         Exit with zero in case no suitable GID is found, and write a
43470         message to standard error.
43472 2012-07-30  Roland McGrath  <roland@hack.frob.com>
43474         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43475         rather than to 1.
43476         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43477         (MAXPATHLEN): Removed.
43478         (NOGROUP, NODEV): New macros.
43479         (setbit, clrbit, isset, isclr): New macros.
43480         (howmany, roundup, powerof2): New macros.
43481         (DEV_BSIZE): New macro.
43483         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43484         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43486         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43487         definition on [!__NO_LONG_DOUBLE_MATH].
43489         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43490         PTR_MANGLE and PTR_DEMANGLE.
43492         * socket/accept4.c (accept4): Rename to __libc_accept4.
43493         Define accept4 as a weak alias.
43495         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43496         on [_DIRENT_HAVE_D_TYPE].
43497         * io/ftw.c (ftw_dir): Likewise.
43499         * io/xmknod.c (__xmknod): Don't check PATH for being null.
43501         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43503         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43504         Use the BSD numbers rather than the arbitrary ones we had.
43505         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43506         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43507         (SIGXCPU, SIGXFSZ): New macros.
43508         (_NSIG): Now 32.
43510         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43511         initializer on [_LIBC_REENTRANT].
43513         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43514         definitions inside [_POSIX_MAPPED_FILES].
43516         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43518         * dirent/opendir.c: Include <fcntl.h>.
43520         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43521         (__libc_getspecific): Likewise.
43522         (__libc_key_create): Likewise.
43524         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43525         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43526         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43527         (tmpfile64): Define as alias.
43528         * sysdeps/wordsize-64/tmpfile.c: File removed.
43529         * sysdeps/wordsize-64/tmpfile64.c: File removed.
43530         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43531         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43533         * stdio-common/vfscanf.c: Include <stdbool.h>.
43534         * nss/makedb.c: Likewise.
43535         * stdio-common/_i18n_number.h: Likewise.
43536         * argp/argp-help.c: Likewise.
43537         * posix/wordexp.c: Likewise.
43538         * sysdeps/posix/spawni.c: Likewise.
43539         * nss/nss_files/files-initgroups.c: Likewise.
43540         * stdio-common/reg-modifier.c: Include <stdlib.h>.
43541         * nss/nss_files/files-initgroups.c: Likewise.
43542         * nss/nss_db/db-netgrp.c: Likewise.
43543         * nss/nss_db/db-initgroups.c: Likewise.
43544         * io/fchmodat.c: Include <sys/stat.h>.
43546         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43547         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43549         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43550         [HAVE_MMAP].
43552         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43553         Add multiple inclusion protection.
43555 2012-07-27  David S. Miller  <davem@davemloft.net>
43557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43559 2012-07-27  Gary Benson  <gbenson@redhat.com>
43561         [BZ #14298]
43562         * elf/rtld.c: Include <stap-probe.h>.
43563         (dl_main): Added static probes "init_start" and "init_complete".
43564         * elf/dl-load.c: Include <stap-probe.h>.
43565         (lose): Take new parameter "nsid".
43566         Added static probe "map_failed".
43567         (_dl_map_object_from_fd): Pass namespace id to lose.
43568         Added static probe "map_start".
43569         (open_verify): Pass namespace id to lose.
43570         * elf/dl-open.c: Include <stap-probe.h>.
43571         (dl_open_worker) Added static probes "map_complete", "reloc_start"
43572         and "reloc_complete".
43573         * elf/dl-close.c: Include <stap-probe.h>.
43574         (_dl_close_worker): Added static probes "unmap_start" and
43575         "unmap_complete".
43576         * elf/rtld-debugger-interface.txt: New file documenting the above.
43578 2012-07-26  Roland McGrath  <roland@hack.frob.com>
43580         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43581         rather than a string variable.
43582         * sunrpc/rpc_main.c (h_output): Likewise.
43583         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43585 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
43587         * inet/check_native.c: New file.
43589 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
43591         [BZ #13629]
43592         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43593         if larger part has absolute value 1.0.
43594         * math/s_clog10.c (__clog10): Likewise.
43595         * math/s_clog10f.c (__clog10f): Likewise.
43596         * math/s_clog10l.c (__clog10l): Likewise.
43597         * math/s_clogf.c (__clogf): Likewise.
43598         * math/s_clogl.c (__clogl): Likewise.
43599         * math/libm-test.inc (clog_test): Add more tests.
43600         (clog10_test): Likewise.
43601         * sysdeps/i386/fpu/libm-test-ulps: Update.
43602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43604         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43605         (pltexit): Likewise.
43606         (La_regs): Likewise.
43607         (La_retval): Likewise.
43608         (int_retval): Likewise.
43609         Update #error for removed macros to refer only to definitions in
43610         tst-audit.h.
43611         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.c (pltenter): Remove all definitions of
43630         macro.
43631         (pltexit): Likewise.
43632         (La_regs): Likewise.
43633         (La_retval): Likewise.
43634         (int_retval): Likewise.
43635         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43636         macro.
43637         (pltexit): Likewise.
43638         (La_regs): Likewise.
43639         (La_retval): Likewise.
43640         (int_retval): Likewise.
43641         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43642         macro.
43643         (pltexit): Likewise.
43644         (La_regs): Likewise.
43645         (La_retval): Likewise.
43646         (int_retval): Likewise.
43647         * sysdeps/generic/tst-audit.h: Update comment to refer only to
43648         macro definitions in tst-audit.h.
43649         * sysdeps/i386/tst-audit.h: New file.
43650         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43651         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43652         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43653         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43654         * sysdeps/sh/tst-audit.h: Likewise.
43655         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43656         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43657         * sysdeps/x86_64/tst-audit.h: Likewise.
43659 2012-07-26  Andreas Jaeger  <aj@suse.de>
43661         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43662         ptrace.
43664         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43665         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43666         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43667         PTRACE_O_MASK.
43668         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43669         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43670         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43672         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43673         value.
43675         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43676         _sigsys.
43677         (si_call_addr, si_syscall, si_arch): Define new macro.
43678         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43679         _sigsys.
43680         (si_call_addr, si_syscall, si_arch): Define new marcro.
43681         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43682         _sigsys.
43683         (si_call_addr, si_syscall, si_arch): Define new macro.
43684         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43685         _sigsys.
43686         (si_call_addr, si_syscall, si_arch): Define new macro.
43688 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43690         [BZ #13717]
43691         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43692         Change to 2.4.21 where previously 2.4.1.
43693         * sysdeps/unix/sysv/linux/configure: Regenerated.
43694         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43695         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43696         Linux kernel version.
43697         (__ASSUME_STD_AUXV): Remove.
43698         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43699         kernel version.
43700         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43701         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43702         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43703         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43704         (__ASSUME_NETLINK_SUPPORT): Likewise.
43705         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43706         (__no_netlink_support): Remove conditional definition.
43707         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43708         Remove.
43709         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43710         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43711         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43712         (if_nameindex_ioctl): Remove.
43713         (if_nameindex_netlink): Do not handle __no_netlink_support.
43714         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43715         code.
43716         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43717         Remove conditional code.
43718         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43719         code.
43720         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43721         unconditional.
43722         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43723         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43724         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43725         Remove.
43726         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43727         [!__ASSUME_STD_AUXV]: Remove conditional code.
43728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43729         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43730         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43732         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43733         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43734         code.
43735         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43737         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43738         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43739         conditional code.
43740         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43742         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43743         code.
43744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43745         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43746         conditional code.
43747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43748         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43749         code unconditional.
43750         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43751         conditional code.
43752         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43753         unconditional.
43754         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43755         conditional code.
43756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43757         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43758         unconditional.
43759         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43760         conditional code.
43761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43762         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43763         code unconditional.
43764         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43765         conditional code.
43766         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43767         unconditional.
43768         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43769         conditional code.
43770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43771         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43772         code unconditional.
43773         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43774         conditional code.
43775         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43776         unconditional.
43777         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43778         conditional code.
43780 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
43782         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43783         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43784         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43785         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43786         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43787         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43788         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43789         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43790         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43791         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43792         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43793         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43794         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43795         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43796         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43797         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43798         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43799         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43800         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43801         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43802         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43803         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43804         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43806 2012-07-25  Florian Weimer  <fweimer@redhat.com>
43808         * Versions.def: Add GLIBC_2.17.
43809         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43810         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43811         Introduce __libc_secure_getenv.
43812         * stdlib/Versions (2.17): Add secure_getenv
43813         (GLIBC_PRIVATE): Add __libc_secure_getenv.
43814         * stdlib/secure-getenv.c: Rename __secure_getenv to
43815         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
43816         symbol __secure_getenv for GLIBC_2.0.
43817         * stdlib/tst-secure-getenv.c: New.
43818         * stdlib/Makefile (tests): Add testcase.
43819         * manual/startup.texi (Environment Access): Document
43820         secure_getenv.
43821         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43822         __libc_secure_getenv.
43823         * inet/ruserpass.c (ruserpass): Likewise.
43824         * malloc/mtrace.c (mtrace): Likewise.
43825         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43826         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43827         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43828         * sysdeps/posix/tempname.c: Likewise.  Evaluate
43829         HAVE_SECURE_GETENV.
43830         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43831         __secure_getenv to __libc_secure_getenv.
43832         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43834         Likewise.
43835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43836         Likewise.
43837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43839         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43845 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43847         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43848         (struct La_i86_retval): Likewise.
43849         (struct La_x86_64_regs): Likewise.
43850         (struct La_x86_64_retval): Likewise.
43851         (struct La_x32_regs): Likewise.
43852         (struct La_x32_retval): Likewise.
43853         (struct La_ppc32_regs): Likewise.
43854         (struct La_ppc32_retval): Likewise.
43855         (struct La_ppc64_regs): Likewise.
43856         (struct La_ppc64_retval): Likewise.
43857         (struct La_sh_regs): Likewise.
43858         (struct La_sh_retval): Likewise.
43859         (struct La_s390_32_regs): Likewise.
43860         (struct La_s390_32_retval): Likewise.
43861         (struct La_s390_64_regs): Likewise.
43862         (struct La_s390_64_retval): Likewise.
43863         (struct La_sparc32_regs): Likewise.
43864         (struct La_sparc32_retval): Likewise.
43865         (struct La_sparc64_regs): Likewise.
43866         (struct La_sparc64_retval): Likewise.
43867         (struct audit_ifaces): Remove architecture-specific pltenter and
43868         pltexit members.
43869         * sysdeps/i386/ldsodefs.h: New file.
43870         * sysdeps/powerpc/ldsodefs.h: Likewise.
43871         * sysdeps/s390/ldsodefs.h: Likewise.
43872         * sysdeps/sh/ldsodefs.h: Likewise.
43873         * sysdeps/sparc/ldsodefs.h: Likewise.
43874         * sysdeps/x86_64/ldsodefs.h: Likewise.
43876 2012-07-25  Marek Polacek  <polacek@redhat.com>
43878         [BZ #6808]
43879         * math/libm-test.inc (yn_test): Add another test.
43880         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43881         to ERANGE when the result is +-Inf.
43882         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43883         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43884         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43885         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43887 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
43889         * conform/data/time.h-data (NULL): Use macro-constant.  Require
43890         equal to 0.
43891         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
43892         clock_t.
43893         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
43895 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
43897         * configure.in <sysdeps resolving>: Correct printing
43898         Implies_before.
43899         * configure: Regenerate.
43901 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
43903         * math/w_ilogb.c: Include <limits.h>.
43904         * math/w_ilogbl.c: Likewise.
43906 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43908         * manual/lang.texi (__va_copy): Document primarily as ISO C99
43909         va_copy.  Document allowing for unavailable va_copy only as
43910         pre-C99 compatibility.
43911         * manual/string.texi (Copying and Concatenation): Use va_copy
43912         instead of __va_copy in concat example.
43914 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
43916         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43917         (__sendto): Use create_address_port.  Initialize APORT and deallocate
43918         it if not null.
43920         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43921         with O_NOLINK passed to __file_name_lookup.
43923         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43924         with O_NOLINK passed to __file_name_lookup.
43926         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43927         negative N or less than NGIDS.
43929         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43930         type to string_t.  Set ERANGE as errno and return it if NAME is not big
43931         enough.  Use memcpy instead of strncpy.
43933 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43935         * elf/Makefile (check-data): Remove.
43936         (localplt.data): New vpath directive.
43937         ($(objpfx)check-localplt.out): Use localplt.data from vpath
43938         instead of $(check-data).
43939         * scripts/data/localplt-generic.data: Move to ...
43940         * sysdeps/generic/localplt.data: ... here.
43941         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43942         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43943         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43945         ... here.
43946         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43948         ... here.
43949         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43951         ... here.
43952         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43954         ... here.
43955         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43957         ... here.
43958         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43960         ... here.
43962 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43964         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43965         PPC32 and PPC64 files.
43966         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43967         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43969 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43971         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43972         __makecontext_ret to ...
43973         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43974         ... here and call exit if uc_link is NULL.  New file.
43975         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43976         __makecontext_ret.S.
43977         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43978         __makecontext_ret to ...
43979         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43980         ... here and call exit if uc_link is NULL.  New file.
43981         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43982         __makecontext_ret.S.
43984 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43986         * elf/elf.h (R_390_IRELATIVE): New definition.
43987         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43988         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
43989         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43990         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43991         (elf_machine_lazy_rel): Likewise.
43992         * sysdeps/s390/dl-irel.h: New file.
43993         * sysdeps/s390/s390-64/memcpy.S: New asm code.
43994         * sysdeps/s390/s390-64/memset.S: New asm code.
43995         * sysdeps/s390/s390-64/memcmp.S: New asm code.
43996         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43997         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43998         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43999         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44000         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44001         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44002         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44003         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44004         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44005         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44006         * sysdeps/s390/s390-32/memcpy.S: New asm code.
44007         * sysdeps/s390/s390-32/memset.S: New asm code.
44008         * sysdeps/s390/s390-32/memcmp.S: New asm code.
44010 2012-07-17  Marek Polacek  <polacek@redhat.com>
44012         [BZ #14349]
44013         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44014         * sysdeps/s390/s390-64/configure.in: Likewise.
44015         * sysdeps/sparc/configure.in: Likewise.
44016         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44017         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44018         * sysdeps/i386/configure.in: Likewise.
44019         * sysdeps/x86_64/configure.in: Likewise.
44020         * sysdeps/sh/configure.in: Likewise.
44021         * sysdeps/s390/s390-32/configure: Regenerated.
44022         * sysdeps/s390/s390-64/configure: Likewise.
44023         * sysdeps/x86_64/configure: Likewise.
44024         * sysdeps/sh/configure: Likewise.
44025         * sysdeps/powerpc/powerpc64/configure: Likewise.
44026         * sysdeps/powerpc/powerpc32/configure: Likewise.
44027         * sysdeps/sparc/configure: Likwise.
44028         * sysdeps/i386/configure: Likewise.
44030         * elf/dl-open.c: Comment fixes.
44032 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
44034         * Makefile [CXX] (check-data): Remove.
44035         [CXX] (c++-types.data): New vpath directive.
44036         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44037         vpath.  Do not allow for C++ type data being missing.
44038         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44039         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44040         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44041         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44042         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44043         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44044         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44046         ... here.
44047         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44049         ... here.
44050         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44052         ... here.
44053         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44055         ... here.
44056         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44058         ... here.
44059         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44061         ... here.
44062         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44064         ... here.
44065         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44068         * elf/tls-macros.h (TLS_LE): Move architecture-specific
44069         definitions to architecture-specific files.
44070         (TLS_IE): Likewise.
44071         (TLS_LD): Likewise.
44072         (TLS_GD): Likewise.
44073         * sysdeps/i386/tls-macros.h: New file.
44074         * sysdeps/powerpc/tls-macros.h: Likewise.
44075         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44076         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44077         * sysdeps/sh/tls-macros.h: Likewise.
44078         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44079         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44080         * sysdeps/x86_64/tls-macros.h: Likewise.
44082 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44084         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44085         zero value for regular exit case.
44087         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44088         (__start_context): Preserve zero value for regular exit case.
44090 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44091             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44093         * manual/setjmp.texi (setcontext): Clarify normal process
44094         termination when uc_link is the null pointer.
44095         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44096         exit call.
44098 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
44100         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44101         preprocessor.  Test for each exception mask separately.
44103 2012-07-16  Andreas Jaeger  <aj@suse.de>
44105         * po/ru.po: Update from translation team.
44107 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
44109         * conform/data/string.h-data (NULL): Use macro-constant.  Require
44110         equal to 0.
44111         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44112         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44113         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44114         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44115         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44117 2012-07-13  Andreas Jaeger  <aj@suse.de>
44119         * po/fr.po: Update from translation team.
44121 2012-07-12  Marek Polacek  <polacek@redhat.com>
44123         [BZ #14173]
44124         * math/libm-test.inc (yn_test): Add test for BZ #14173.
44125         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44126         loop condition.
44128 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
44130         [BZ #13717]
44131         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44132         Change to 2.4.1 where previously 2.4.0.
44133         * sysdeps/unix/sysv/linux/configure: Regenerated.
44134         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44135         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44136         version.
44137         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44138         (__ASSUME_AT_CLKTCK): Remove.
44139         (__ASSUME_AT_PAGESIZE): Likewise.
44140         (__ASSUME_AT_XID): Likewise.
44141         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44142         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44143         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44144         unconditionally.
44145         (HAVE_AUX_PAGESIZE): Likewise.
44146         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44147         [__ASSUME_AT_CLKTCK]: Make code unconditional.
44148         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44150 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
44152         [BZ #14307]
44153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44154         the temporary buffer used to invoke __gethostbyname2_r,
44155         __gethostbyaddr_r and gethostbyname4_r to make room for struct
44156         host_data / struct gaih_addrtuple.
44157         * resolv/nss_dns/dns-host.c (global scope): Move definition of
44158         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44159         header file nss/nsswitch.h.
44160         * nss/nsswitch.h (global scope): Add definition of implementation
44161         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44162         resolv/nss_dns/dns-host.c).
44164 2012-07-11  Andreas Jaeger  <aj@suse.de>
44166         * po/fr.po: Update from translation team.
44168         * po/sv.po: Update from translation team
44169         * po/fr.po: Another update from translation team.
44171 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44173         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44174         for subnormals or multiply small sinh result by itself.
44175         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44178 2012-07-11  David S. Miller  <davem@davemloft.net>
44180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44182 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
44184         [BZ #14347]
44185         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44186         (INTERNAL_MARK): Shift it here.
44188 2012-07-10  Marek Polacek  <polacek@redhat.com>
44190         [BZ #14151]
44191         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
44192         libc_cv_asm_global_directive with .globl.
44193         * configure: Regenerated.
44194         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44195         with .globl.
44196         * sysdeps/i386/configure: Regenerated.
44197         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44198         with .globl.
44199         * sysdeps/x86_64/configure: Regenerated.
44200         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44201         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44202         * elf/tst-unique2mod2.c: Likewise.
44203         * elf/tst-unique2mod1.c: Likewise.
44204         * elf/tst-unique1mod2.c: Likewise.
44205         * elf/tst-unique1mod1.c: Likewise.
44206         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44207         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44208         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44209         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44210         * sysdeps/mach/sysdep.h: Likewise.
44211         * sysdeps/i386/sysdep.h: Likewise.
44212         * sysdeps/i386/i386-mcount.S: Likewise.
44213         * sysdeps/x86_64/_mcount.S: Likewise.
44214         * sysdeps/x86_64/sysdep.h: Likewise.
44215         * sysdeps/sh/_mcount.S: Likewise.
44216         * sysdeps/sh/sysdep.h: Likewise.
44217         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44218         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44219         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44220         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44221         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44222         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44223         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44224         * locale/localeinfo.h: Likewise.
44225         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44226         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44228 2012-07-09  Roland McGrath  <roland@hack.frob.com>
44230         [BZ #14336]
44231         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44232         system".
44233         * manual/message.texi (The Uniforum approach): Likewise.
44234         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44235         (glibc iconv Implementation): Likewise.
44237 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
44239         [BZ #14337]
44240         * math/s_clog.c (__clog): Avoid scaling a value down where that
44241         could result in underflow.
44242         * math/s_clog10.c (__clog10): Likewise.
44243         * math/s_clog10f.c (__clog10f): Likewise.
44244         * math/s_clog10l.c (__clog10l): Likewise.
44245         * math/s_clogf.c (__clogf): Likewise.
44246         * math/s_clogl.c (__clogl): Likewise.
44247         * math/libm-test.inc (clog_test): Add more tests.
44248         (clog10_test): Likewise.
44249         * sysdeps/i386/fpu/libm-test-ulps: Update.
44250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44252 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
44254         [BZ #14283]
44255         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44256         by 7 not 8 to examine high bit of fractional part.
44258         [BZ #14042]
44259         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44260         for call to __mcount_internal.
44261         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44262         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44263         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44265 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
44267         [BZ #14154]
44268         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44269         approximation for values within 0x1p-13f of an odd multiple of
44270         pi/4.
44271         * math/libm-test.inc (tan_test): Do not allow spurious underflow
44272         exception.  Add more tests.
44273         * sysdeps/i386/fpu/libm-test-ulps: Update.
44275         [BZ #6778]
44276         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44277         inputs and return -1 for them.  Do not check for +Inf in case not
44278         reachable for +Inf.
44279         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44280         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44281         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44282         and return -1 for them.  Do not check for +Inf in case not
44283         reachable for +Inf.
44284         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44285         define.
44286         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44287         and return -1 for them.  Do not check for +Inf in case not
44288         reachable for +Inf.
44289         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
44290         spurious underflow.
44291         * sysdeps/i386/fpu/libm-test-ulps: Update.
44292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44294 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
44296         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44298 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
44300         [BZ #14157]
44301         [BZ #14331]
44302         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44303         could result in spurious underflow.  Scale down values above
44304         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44305         * math/s_csqrtf.c (__csqrtf): Likewise.
44306         * math/s_csqrtl.c (__csqrtl): Likewise.
44307         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
44308         spurious underflow.
44309         * sysdeps/i386/fpu/libm-test-ulps: Update.
44310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44312 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
44314         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44315         xopen-msg.sed.
44316         * catgets/xopen-msg.awk: New file.
44317         * catgets/xopen-msg.sed: Removed.
44319         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44320         po2text.sed.
44321         * intl/po2test.awk: New file.
44322         * intl/po2test.sed: Removed.
44324 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
44326         [BZ #14328]
44327         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44328         or multiply small sinh result by itself.
44329         * math/s_ctanf.c (__ctanf): Likewise.
44330         * math/s_ctanh.c (__ctanh): Likewise.
44331         * math/s_ctanhf.c (__ctanhf): Likewise.
44332         * math/s_ctanhl.c (__ctanhl): Likewise.
44333         * math/s_ctanl.c (__ctanl): Likewise.
44334         * math/libm-test.inc (ctan_test_tonearest): New function.
44335         (ctan_test_towardzero): Likewise.
44336         (ctan_test_downward): Likewise.
44337         (ctan_test_upward): Likewise.
44338         (ctanh_test_tonearest): Likewise.
44339         (ctanh_test_towardzero): Likewise.
44340         (ctanh_test_downward): Likewise.
44341         (ctanh_test_upward): Likewise.
44342         (main): Call these new functions.
44343         * sysdeps/i386/fpu/libm-test-ulps: Update.
44344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44346 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
44348         * .gitignore: Delete /ports entry.
44350 2012-07-03  Andreas Jaeger  <aj@suse.de>
44352         * po/bg.po: Update from translation team.
44353         * po/cs.po: Likewise.
44354         * po/de.po: Likewise.
44355         * po/hr.po: Likewise.
44356         * po/nl.pl: Likewise.
44357         * po/pl.po: Likewise.
44358         * po/vi.po: Likewise.
44360 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
44362         * Makeconfig [!+link] (+link-before-libc): New variable.
44363         [!+link] (+link-after-libc): Likewise.
44364         [!+link] (+link-tests): Likewise.
44365         [!+link] (+link): Define in terms of $(+link-before-libc) and
44366         $(+link-after-libc).
44367         [!+link-static] (+link-static-before-libc): New variable.
44368         [!+link-static] (+link-static-after-libc): Likewise.
44369         [!+link-static] (+link-static-tests): Likewise.
44370         [!+link-static] (+link-static): Define in terms of
44371         $(+link-static-before-libc) and $(+link-static-after-libc).
44372         [build-shared] (link-libc-before-gnulib): New variable.
44373         [build-shared] (link-libc-tests): Likewise.
44374         [build-shared] (link-libc): Define in terms of
44375         $(link-libc-before-gnulib).
44376         [!build-shared] (link-libc-tests): New variable.
44377         (link-libc-static-tests): New variable.
44378         [!gnulib] (gnulib-arch): New variable.
44379         [!gnulib] (gnulib-tests): Likewise.
44380         [!gnulib] (static-gnulib-arch): Likewise.
44381         [!gnulib] (static-gnulib-tests): Likewise.
44382         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
44383         Define with "=" instead of ":=".
44384         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
44385         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
44386         * Rules (binaries-all-notests): New variable.
44387         (binaries-all-tests): Likewise.
44388         (binaries-static-notests): Likewise.
44389         (binaries-static-tests): Likewise.
44390         (binaries-all): Define using $(binaries-all-notests) and
44391         $(binaries-all-tests).
44392         (binaries-static): Define using $(binaries-static-notests) and
44393         $(binaries-static-tests).
44394         (binaries-shared-tests): New variable.
44395         (binaries-shared-notests): Likewise.
44396         (binaries-shared): Remove variable.
44397         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44398         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44399         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44400         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44401         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44402         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44403         * elf/Makefile (sln-modules): New variable.
44404         (extra-objs): Add $(sln-modules:=.o).
44405         (ldconfig-modules): Add static-stubs.
44406         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44407         * elf/static-stubs.c: New file.
44409         [BZ #14283]
44410         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44411         by 7 not 8 to examine high bit of fractional part.  Use volatile
44412         variables when splitting into final array of floats if
44413         __FLT_EVAL_METHOD__ != 0.
44414         * math/libm-test.inc (cos_test): Add another test.
44415         (sin_test): Likewise.
44416         * sysdeps/i386/fpu/libm-test-ulps: Update.
44418         [BZ #14273]
44419         * math/libm-test.inc (cosh_test): Add more tests.
44421         * version.h (RELEASE): Set to "development".
44422         (VERSION): Set to "2.16.90".
44424 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
44426         * NEWS: Update copyright. Remove last-updated date.
44427         Mention math library bug fixes and timezone data changes.
44428         * README: Mention GNU/Hurd, x32, and HPPA support status.
44430 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
44432         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44434 2012-06-27  Andreas Jaeger  <aj@suse.de>
44436         * manual/contrib.texi (Contributors): Add Samuel Thibault.
44438 2012-06-25  Andreas Jaeger  <aj@suse.de>
44440         * sysdeps/s390/fpu/libm-test-ulps: Update.
44442 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
44443             Thomas Schwinge  <thomas@codesourcery.com>
44445         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44446         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44447         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44448         fanotify_mark.
44450 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
44452         * sysdeps/mach/start.c: Remove file.
44453         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44454         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44455         * sysdeps/sh/init-first.c: Likewise.
44457         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44458         registers for frame unwinding purposes, add CFI directives.
44459         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44460         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44461         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44462         Likewise.
44464         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44465         __fortify_fail returning.
44466         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44468         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44469         sysdeps/sh/____longjmp_chk.S.
44470         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44471         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44472         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44473         (gen-as-const-headers): Append sigaltstack-offsets.sym.
44475         * sysdeps/sh/abort-instr.h: New file.
44476         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44477         process in case exit returns.
44479         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44480         initialize the GOT register before use.
44482         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44483         calculation of ARGC > 4.
44485         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44486         meaningful names to some local labels.
44488 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44489             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44491         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44492         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44493         (__arch_compare_and_exchange_val_16_acq): Likewise.
44494         (__arch_compare_and_exchange_val_32_acq): Likewise.
44495         (atomic_exchange_and_add): Fix gUSA sequence.
44496         (atomic_add): Likewise.
44497         (atomic_add_negative): Likewise.
44498         (atomic_add_zero): Likewise.
44499         (atomic_bit_test_set): Likewise.
44501 2012-06-22  Andreas Schwab  <schwab@redhat.com>
44503         [BZ #13579]
44504         * include/link.h (struct link_map): Add l_free_initfini.
44505         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44506         l_initfini.
44507         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44508         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44509         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44510         set.
44512 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
44514         * configure.in: Use AC_LANG_SOURCE.
44515         * configure: Regenerate.
44517 2012-06-22  Roland McGrath  <roland@hack.frob.com>
44519         * configure.in (libc_cv_localstatedir): New substituted variable.
44520         * configure: Regenerated.
44521         * config.make.in (localstatedir): New variable, substituted from
44522         libc_cv_localstatedir.
44523         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44524         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44525         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44526         * sysdeps/gnu/configure: Regenerated.
44528 2012-06-21  Jeff Law  <law@redhat.com>
44530         [BZ #14277]
44531         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44532         free.  Simplify list management for _LIBC case.
44534 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
44536         [BZ #14273]
44537         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44538         Clear sign bit of 64-bit integer value before comparing against
44539         overflow value.
44541         * sysdeps/mach/configure: Regenerated.
44543 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
44545         [BZ #14278]
44546         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44548 2012-06-21  Jeff Law  <law@redhat.com>
44550         [BZ #13882]
44551         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
44552         uint16_t for elements in the "seen" array to avoid char overflows.
44553         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44554         * elf/dl-open.c (dl_open_worker): Likewise.
44556 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
44558         * scripts/list-sources.sh: Scan PORTS for translations.
44559         * po/libc.pot: Regenerated.
44561 2012-06-21  Andreas Jaeger  <aj@suse.de>
44563         [BZ #12194]
44564         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44565         warning.
44566         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44567         * bits/byteswap-16.h (__bswap_16): Likewise.
44568         * bits/byteswap.h (__bswap_constant_16): Likewise.
44570 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
44572         [BZ #14117]
44573         * sysdeps/i386/fpu_control.h: Removed.
44574         * sysdeps/x86_64/fpu_control.h: Moved to ...
44575         * sysdeps/x86/fpu_control.h: Here.
44577         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44578         (_FPU_SETCW): Likewise.
44580 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
44582         [BZ #14117]
44583         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44584         * sysdeps/x86/fpu/bits/mathinline.h: This.
44585         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44587         [BZ #14050]
44588         [BZ #14117]
44589         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44590         functions if __x86_64__ is defined.
44592 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
44594         * string/endian.h: Add !__ASSEMBLER__ condition for including
44595         conversion interfaces.
44597 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
44599         [BZ #14241]
44600         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44601         of ABS(x) in calculating zero to negative powers other than odd
44602         integers.
44603         * math/libm-test.inc (pow_test): Add more tests.
44605 2012-06-15  Andreas Jaeger  <aj@suse.de>
44607         * manual/contrib.texi (Contributors): Update entry of Liubov
44608         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44609         Machado Filho.
44611 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
44613         * string/string.h: Add __wur to GNU version of strerror_r.
44615 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
44617         [BZ #14229]
44618         * string/Makefile (tests): Add tst-strtok_r.
44619         * string/tst-strtok_r.c: New file.
44620         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44621         RAX_LP/RDX_LP on SAVE_PTR.
44623 2012-06-14  Roland McGrath  <roland@hack.frob.com>
44625         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44627 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
44629         * libm_test.inc (csqrt_test): Allow more spurious underflow
44630         exceptions.
44631         (j0_test): Likewise.
44632         (j1_test): Likewise.
44633         (y0_test): Likewise.
44634         (y1_test): Likewise.
44636 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
44638         * po/Makefile (libc.pot): Use UTF-8 charset.
44640 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
44642         [BZ #14210]
44643         Suppress sign-conversion warning from FD_SET.
44644         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44645         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44646         not unsigned long int.
44647         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44649 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
44651         [BZ #14050]
44652         [BZ #14117]
44653         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44654         __extern_always_inline instead of __extern_inline.
44655         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44656         (__signbit): Likewise.
44657         (__signbitl): Support C++ namespace.
44658         (lrintf): New inline function.
44659         (lrint): Likewise.
44660         (llrintf): Likewise.
44661         (llrint): Likewise.
44662         (fmaxf): Likewise.
44663         (fmax): Likewise.
44664         (fminf): Likewise.
44665         (fmin): Likewise.
44666         (rint): Likewise.
44667         (rintf): Likewise.
44668         (ceil): Likewise.
44669         (ceilf): Likewise.
44670         (floor): Likewise.
44671         (floorf): Likewise.
44672         (nearbyint): Likewise.
44673         (nearbyintf): Likewise.
44675 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
44677         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44678         non-default versions.
44680 2012-06-11  Roland McGrath  <roland@hack.frob.com>
44682         [BZ #14218]
44683         * manual/argp.texi (Argp): Reword argp_parse description slightly.
44685 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
44687         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44688         (FE_UPWARD, FE_DOWNWARD): Don't define.
44689         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44690         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44692         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44693         reading it.
44694         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44695         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44697 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44699         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44700         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44701         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44702         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44704 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
44706         [BZ #14117]
44707         * sysdeps/i386/fpu/bits/fenv.h: Removed.
44708         * sysdeps/i386/fpu/Implies: New file.
44709         * sysdeps/x86_64/fpu/Implies: Likewise.
44710         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44711         * sysdeps/x86/fpu/bits/fenv.h: This.
44713         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44714         __SSE_MATH__.
44716 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44718         [BZ #14134]
44719         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44720         character 0xffff that matches the last element of the
44721         conversion table.
44723 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44725         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44726         fmodl commit.
44728 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44730         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44731         values higher than 25.6283.
44733 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44735         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44736         subnormal exponent extraction and add some __builtin_expect.
44737         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44738         Fix for subnormal mantissa calculation.
44740 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
44742         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44743         cpu2 is -1 and errno is not ENOSYS.
44745 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
44747         [BZ #14117]
44748         * sysdeps/i386/i486/bits/string.h: Renamed to ...
44749         * sysdeps/x86/bits/string.h: This.
44750         * sysdeps/x86_64/bits/string.h: Removed.
44752         * sysdeps/i386/i486/bits/string.h: Define inline functions only
44753         if not compiling for x86-64, but compiling for >= i486.
44755         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44756         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44758         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44759         New macro from Linux kernel 3.4.0.
44760         (FP_XSTATE_MAGIC2): Likewise.
44761         (FP_XSTATE_MAGIC2_SIZE): Likewise.
44762         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44763         (struct _fpx_sw_bytes): New struct.
44764         (struct _xsave_hdr): Likewise.
44765         (struct _ymmh_state): Likewise.
44766         (struct _xstate): Likewise.
44768         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44769         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44770         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44771         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44772         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44773         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44775         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44776         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44777         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44778         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44779         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44780         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44782 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44784         [BZ #13743]
44785         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44786         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44787         (sysdep_headers): Include sys/platform/ppc.h.
44788         * sysdeps/powerpc/test-gettimebase.c: Test for
44789         __ppc_get_timebase() to catch future ISA opcode/insn changes.
44790         * manual/Makefile (appendices): Include platform.texi.
44791         * manual/contrib.texi (Contributors): Update @node pointers.
44792         * manual/maint.texi (Maintenance): Likewise.
44793         (Platform): New node.
44794         * manual/platform.texi: New file.  Document the new features.
44796 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44797             Jakub Jelinek  <jakub@redhat.com>
44799         [BZ #14188]
44800         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44801         where __builtin_expect is unavailable.
44803 2012-06-03  David S. Miller  <davem@davemloft.net>
44805         * stdlib/longlong.h: Updated from GCC.
44807 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
44809         [BZ #14042]
44810         * sysdeps/powerpc/powerpc32/mcount.c: New file.
44811         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44812         __mcount_internal.
44813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44814         (GLIBC_2.16): Likewise.
44816 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44818         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44820 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44823         (default-abi): New variable.
44824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44825         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44826         variable.
44827         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44828         Likewise.
44829         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44830         Likewise.
44831         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44832         Likewise.
44834         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44835         definition.  Document in comment.
44837 2012-06-01  David S. Miller  <davem@davemloft.net>
44839         * stdlib/longlong.h: Updated from GCC.
44841 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44843         [BZ #14117]
44844         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44845         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44846         sys/debugreg.h sys/io.h here.
44847         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44848         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44849         sys/io.h.
44850         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44851         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44852         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44853         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44854         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44855         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44857         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44858         Define only if __x86_64__ is defined.
44860 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44862         [BZ #14048]
44863         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44864         Use int64_t for variable i.
44865         * math/libm-test.inc (fmod_test): Add more tests.
44867         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44868         z computation is not scheduled after fetestexcept.
44869         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44870         Use math_force_eval instead of asm to ensure calculation scheduled
44871         before exception test.
44872         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44873         Ensure a1 + u.d computation is not scheduled after fetestexcept.
44875 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
44877         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44878         computation is not scheduled after fetestexcept.
44880 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44882         [BZ #14117]
44883         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44884         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44886 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44888         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44889         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44891 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44893         [BZ #14117]
44894         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44895         <bits/wordsize.h>.
44896         (__WCHAR_MIN): Support __WORDSIZE == 64.
44897         (__WCHAR_MAX): Likewise.
44899         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44900         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44902         [BZ #14183]
44903         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44904         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44906         [BZ #14117]
44907         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44908         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44910         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44911         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44913         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44914         Defined to 1 if __x86_64__ isn't defined.
44915         (_STAT_VER_LINUX_OLD): New.
44916         (st_atime): Remove duplicate.
44917         (st_mtime): Likewise.
44918         (st_ctime): Likewise.
44920 2012-05-31  David S. Miller  <davem@davemloft.net>
44922         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44923         entries.
44925 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
44927         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44928         gen-libm-test.pl.
44930         [BZ #14132]
44931         * elf/dl-reloc.c: Include <_itoa.h>.
44932         (_dl_reloc_bad_type): Remove use of INTUSE.
44933         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44934         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44935         * stdio-common/psiginfo.c (psiginfo): Likewise.
44936         * stdio-common/psignal.c (psignal): Likewise.
44937         * string/strsignal.c (strsignal): Likewise.
44938         * include/signal.h (_sys_siglist): Declare hidden proto.
44939         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
44940         INTVARDEF with libc_hidden_data_def.
44941         * stdio-common/itoa-udigits.c: Likewise.
44942         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44943         (_itoa_lower_digits_internal): Remove declaration.
44944         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44945         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44946         (_sys_sigabbrev_internal): Remove aliases.
44947         (_sys_siglist): Define hidden alias.
44949 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
44951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44952         bits/sysctl.h.
44954 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44956         [BZ #14117]
44957         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44958         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44960         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44961         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44962         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44963         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44964         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44965         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44967         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44968         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44969         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44971         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44972         with __addr.
44973         (insw): Likewise.
44974         (insl): Likewise.
44975         (outsb): Likewise.
44976         (outsw): Likewise.
44977         (outsl): Likewise.
44979         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44980         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44981         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44983         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44984         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44985         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44986         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44987         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44988         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44990         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44991         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44993         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44994         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44996         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44997         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44998         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45000         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45001         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45002         to ...
45003         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45005         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45006         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45007         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45009         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45010         for x86-64.
45011         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45013 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
45015         * math/math.h (M_El): Use two more decimal places.
45016         (M_LOG2El): Likewise.
45017         (M_LOG10El): Likewise.
45018         (M_LN2l): Likewise.
45019         (M_LN10l): Likewise.
45020         (M_PIl): Likewise.
45021         (M_PI_2l): Likewise.
45022         (M_PI_4l): Likewise.
45023         (M_1_PIl): Likewise.
45024         (M_2_PIl): Likewise.
45025         (M_2_SQRTPIl): Likewise.
45026         (M_SQRT2l): Likewise.
45027         (M_SQRT1_2l): Likewise.
45029 2012-05-31  David S. Miller  <davem@davemloft.net>
45031         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45032         values between float registers.
45033         * sysdeps/sparc/sparc64/memset.S: Likewise.
45034         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45036 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
45038         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45039         -D_FORTIFY_SOURCE=1.
45040         (CPPFLAGS-tst-longjmp_chk.c): Define.
45041         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45042         (CPPFLAGS-tst-longjmp_chk2.c): Define.
45043         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45044         CFLAGS-tst-wchar-h.c.
45046 2012-05-31  Marek Polacek  <polacek@redhat.com>
45048         [BZ #14132]
45049         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45050         __endmntent_internal): Remove declaration.
45051         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45052         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45053         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45055 2012-05-30  David S. Miller  <davem@davemloft.net>
45057         * sysdeps/sparc/sparc32/soft-fp/q_util.c
45058         (___Q_simulate_exceptions): Use real FP ops rather than writing
45059         into the %fsr.
45060         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45061         Likewise.
45063 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45065         [BZ #14117]
45066         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45067         * sysdeps/x86/bits/xtitypes.h: This.
45069         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45070         * sysdeps/x86/bits/wordsize.h: This.
45072         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45073         * sysdeps/x86/bits/huge_vall.h: This.
45075         * sysdeps/i386/bits/select.h: Removed.
45076         * sysdeps/x86_64/bits/select.h: Renamed to ...
45077         * sysdeps/x86/bits/select.h: This.
45079         * sysdeps/i386/bits/setjmp.h: Removed.
45080         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45081         * sysdeps/x86/bits/setjmp.h: This.
45083         * sysdeps/i386/bits/mathdef.h: Removed.
45084         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45085         * sysdeps/x86/bits/mathdef.h: This.
45087 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
45089         [BZ #14132]
45090         * include/sys/socket.h (__connect_internal)
45091         (__libc_sa_len_internal): Remove declaration.
45092         (__connect, __libc_sa_len): Declare hidden_proto.
45093         (SA_LEN): Remove use of INTUSE.
45094         * socket/connect.c: Add libc_hidden_def.
45095         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45096         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45097         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45098         alias.
45099         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45100         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45101         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45102         of adding _internal alias.
45104 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45106         [BZ #14117]
45107         * sysdeps/i386/bits/link.h: Removed.
45108         * sysdeps/i386/bits/linkmap.h: Likewise.
45109         * sysdeps/x86_64/bits/link.h: Renamed to ...
45110         * sysdeps/x86/bits/link.h: This.
45111         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45112         * sysdeps/x86/bits/linkmap.h: This.
45114         * sysdeps/i386/bits/endian.h: Removed.
45115         * sysdeps/x86_64/bits/endian.h: Renamed to ...
45116         * sysdeps/x86/bits/endian.h: This.
45118         * sysdeps/i386/bits/byteswap.h: Removed.
45119         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45120         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45121         * sysdeps/x86/bits/byteswap.h: This.
45122         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45123         * sysdeps/x86/bits/byteswap-16.h: This.
45124         * sysdeps/i386/Implies: Add x86.
45125         * sysdeps/x86_64/Implies: Likewise.
45127 2012-05-30  David S. Miller  <davem@davemloft.net>
45129         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45130         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45131         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45132         (FP_TRAPPING_EXCEPTIONS): Define.
45133         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45134         (FP_TRAPPING_EXCEPTIONS): Define.
45135         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45136         subnormals only when inexact has been signalled or underflow
45137         exceptions are enabled.
45138         (_FP_PACK_CANONICAL): Likewise.
45140 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45142         [BZ #14183]
45143         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45144         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45146 2012-05-30  Richard Henderson  <rth@twiddle.net>
45148         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45149         with #ifndef NOT_IN_libc.
45151         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
45152         marked to avoid plt entry.
45154 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45156         [BZ #14112]
45157         * Makeconfig (default-abi): New macro.
45158         (abi-includes): Likewise.
45159         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
45160         $(abi-$(default-abi)-lib-soname) for soname if defined.
45161         ($(common-objpfx)gnu/lib-names.stmp): Generate from
45162         abi-variants.
45163         * Makefile (installed-stubs): Likewise.
45164         * include/stubs-biarch.h: Removed.
45165         * scripts/lib-names.awk: Only handle one library at a time.
45166         * scripts/soversions.awk: Remove WORDSIZE support.
45167         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45168         entries.
45169         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45170         Removed.
45171         (syscall-list-default-condition): Likewise.
45172         (syscall-list-default-condition): Likewise.
45173         (syscall-list-includes): Likewise.
45174         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45175         syscall-list-* with abi-*.  Handle undefined abi-variants.
45176         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45177         * sysdeps/unix/sysv/linux/i386/Implies: New file.
45178         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45179         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45180         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45181         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45182         Removed.
45183         (syscall-list-32-options): Likewise.
45184         (syscall-list-32-condition): Likewise.
45185         (syscall-list-64-options): Likewise.
45186         (syscall-list-64-condition): Likewise.
45187         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45188         macro.
45189         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45190         Renamed to ...
45191         (abi-*): This.
45192         (abi-64-ld-soname): New macro.
45193         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45194         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45195         Renamed to ...
45196         (abi-*): This.
45197         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45198         * sysdeps/x86_64/x32/shlib-versions: Likewise.
45200 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
45202         * sysdeps/unix/sysv/linux/kernel-features.h
45203         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45204         * sysdeps/unix/sysv/linux/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/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.
45216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45217         include <kernel-features.h>.
45218         [!__NR_ftruncate64]: Remove conditional code.
45219         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45220         [__NR_ftruncate64]: Make code unconditional.
45221         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45223         include <kernel-features.h>.
45224         [!__NR_ftruncate64]: Remove conditional code.
45225         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45226         [__NR_ftruncate64]: Make code unconditional.
45227         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45229         * configure.in (libc_cv_fpie): Weaken to a compile test using
45230         LIBC_TRY_CC_OPTION.
45231         * configure: Regenerated.
45233 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45239         Refreshed.
45240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45246         Refreshed.
45248 2012-05-27  David S. Miller  <davem@davemloft.net>
45250         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45251         (___Q_zero): New.
45252         (__Q_simulate_exceptions): Return void.  Change to simulate
45253         exceptions by writing into the %fsr.
45254         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45255         (__Qp_handle_exceptions): Likewise.
45256         (numbers): Delete.
45257         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45258         __Qp_handle_exceptions.
45259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45260         __Qp_handle_exceptions.
45261         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45262         as unused and give dummy FP_RND_NEAREST initializer.
45263         (FP_INHIBIT_RESULTS): Define.
45264         (___Q_simulate_exceptions): Update declaration.
45265         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45266         formatting.
45267         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45268         as unused and give dummy FP_RND_NEAREST initializer.
45269         (__Qp_handle_exceptions): Update declaration.
45270         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45271         formatting.
45273 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
45275         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45276         the temporary FPU control word.
45277         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45278         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45279         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45280         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45281         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45282         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45283         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45284         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45285         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45286         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45287         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45289 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45291         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45292         fields.
45294 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
45296         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45297         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45298         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45299         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45300         Likewise.
45301         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45302         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45303         Likewise.
45305 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
45307         * po/h.po: Update from translation team.
45309 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
45311         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45313         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45314         handling of denormals.
45315         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45316         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45317         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45318         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45319         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45320         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45321         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45322         Likewise.
45324 2012-05-26  Marek Polacek  <polacek@redhat.com>
45326         [BZ #14152]
45327         * math/libm-test.inc (fma_test): Don't always expect underflow
45328         exception.
45330 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45332         [BZ #12416]
45333         * elf/tst-execstack.c: Include stackinfo.h.
45334         (do_test): Adjust test case to ensure that pthread_getattr_np
45335         behaviour remains the same after marking stack executable.
45337 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45339         * sysdeps/unix/sysv/linux/kernel-features.h
45340         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45341         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45342         kernel-features.h.
45343         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45344         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45345         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45346         kernel-features.h.
45347         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45348         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45350 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
45352         * configure.in: Define the default includes to being none.
45353         * configure: Regenerated.
45355 2012-05-25  Roland McGrath  <roland@hack.frob.com>
45357         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45358         * sysdeps/x86_64/setjmp.S: Likewise.
45359         * sysdeps/i386/bsd-setjmp.S: Likewise.
45360         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45361         * sysdeps/i386/setjmp.S: Likewise.
45362         * sysdeps/i386/__longjmp.S: Likewise.
45363         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45364         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45366         * include/stap-probe.h: New file.
45367         * configure.in: Handle --enable-systemtap.
45368         * configure: Regenerated.
45369         * config.h.in (USE_STAP_PROBE): New #undef.
45370         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45371         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45372         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45374 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45376         [BZ #13717]
45377         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45378         to 2.4.0 where earlier.
45379         * sysdeps/unix/sysv/linux/configure: Regenerated.
45380         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45381         <kernel-features.h>.
45382         [__ASSUME_32BITUIDS]: Make code unconditional.
45383         [!__ASSUME_32BITUIDS]: Remove conditional code.
45384         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45385         <kernel-features.h>.
45386         [__ASSUME_32BITUIDS]: Make code unconditional.
45387         [!__ASSUME_32BITUIDS]: Remove conditional code.
45388         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45389         [__ASSUME_32BITUIDS]: Make code unconditional.
45390         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45391         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
45420         <kernel-features.h>.
45421         [__ASSUME_32BITUIDS]: Make code unconditional.
45422         [!__ASSUME_32BITUIDS]: Remove conditional code.
45423         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45424         <kernel-features.h>.
45425         [__ASSUME_32BITUIDS]: Make code unconditional.
45426         [!__ASSUME_32BITUIDS]: Remove conditional code.
45427         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45428         <kernel-features.h>.
45429         [__ASSUME_32BITUIDS]: Make code unconditional.
45430         [!__ASSUME_32BITUIDS]: Remove conditional code.
45431         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45432         <kernel-features.h>.
45433         [__NR_setresgid] (__setresgid): Do not declare.
45434         [__ASSUME_32BITUIDS]: Make code unconditional.
45435         [!__ASSUME_32BITUIDS]: Remove conditional code.
45436         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45437         <kernel-features.h>.
45438         [__NR_setresuid] (__setresuid): Do not declare.
45439         [__ASSUME_32BITUIDS]: Make code unconditional.
45440         [!__ASSUME_32BITUIDS]: Remove conditional code.
45441         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/i386/setreuid.c: Do not include
45470         <kernel-features.h>.
45471         [__ASSUME_32BITUIDS]: Make code unconditional.
45472         [!__ASSUME_32BITUIDS]: Remove conditional code.
45473         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45474         <kernel-features.h>.
45475         [__ASSUME_32BITUIDS]: Make code unconditional.
45476         [!__ASSUME_32BITUIDS]: Remove conditional code.
45477         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45478         <kernel-features.h>.
45479         [__ASSUME_32BITUIDS]: Make code unconditional.
45480         [!__ASSUME_32BITUIDS]: Remove conditional code.
45481         * sysdeps/unix/sysv/linux/kernel-features.h
45482         (__ASSUME_SETRESUID_SYSCALL): Remove.
45483         (__ASSUME_SETRESGID_SYSCALL): Likewise.
45484         (__ASSUME_32BITUIDS): Likewise.
45485         (__ASSUME_LDT_WORKS): Likewise.
45486         (__ASSUME_O_DIRECTORY): Likewise.
45487         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45488         architecture but not kernel version.
45489         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45490         (__ASSUME_MMAP2_SYSCALL): Likewise.
45491         (__ASSUME_STAT64_SYSCALL): Likewise.
45492         (__ASSUME_IPC64): Likewise.
45493         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45494         <kernel-features.h>.
45495         [__ASSUME_32BITUIDS]: Make code unconditional.
45496         [!__ASSUME_32BITUIDS]: Remove conditional code.
45497         * sysdeps/unix/sysv/linux/opendir.c: Do not include
45498         <kernel-features.h>.
45499         [__ASSUME_O_DIRECTORY]: Make code unconditional.
45500         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45501         132096]: Remove conditional code.
45502         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45503         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45504         <kernel-features.h>.
45505         [__ASSUME_32BITUIDS]: Make code unconditional.
45506         [!__ASSUME_32BITUIDS]: Remove conditional code.
45507         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45508         <kernel-features.h>.
45509         [__ASSUME_32BITUIDS]: Make code unconditional.
45510         [!__ASSUME_32BITUIDS]: Remove conditional code.
45511         * sysdeps/unix/sysv/linux/setegid.c: Do not include
45512         <kernel-features.h>.
45513         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45514         unconditional.
45515         (__setresgid): Do not declare.
45516         [__ASSUME_32BITUIDS]: Make code unconditional.
45517         [!__ASSUME_32BITUIDS]: Remove conditional code.
45518         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45519         <kernel-features.h>.
45520         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45521         unconditional.
45522         (__setresuid): Do not declare.
45523         [__ASSUME_32BITUIDS]: Make code unconditional.
45524         [!__ASSUME_32BITUIDS]: Remove conditional code.
45525         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45526         <kernel-features.h>.
45527         [__ASSUME_32BITUIDS]: Make code unconditional.
45528         [!__ASSUME_32BITUIDS]: Remove conditional code.
45529         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45530         <kernel-features.h>.
45531         [__ASSUME_32BITUIDS]: Make code unconditional.
45532         [!__ASSUME_32BITUIDS]: Remove conditional code.
45534 2012-05-25  Richard Henderson  <rth@twiddle.net>
45536         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45537         dl_hwcap to ifunc resolver.
45538         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45539         elf_ifunc_invoke.
45540         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45541         dl_hwcap to ifunc resolver.
45542         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45544 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45546         [BZ #14153]
45547         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45548         for |x| <= 2**-26, not 2**-57.
45549         * math/libm-test.inc (acos_test): Do not allow spurious underflow
45550         exception.
45552 2012-05-24  Jeff Law  <law@redhat.com>
45554         * stdio-common/Makefile (tests): Add bug25.
45555         * stdio-common/bug25.c: New test.
45557 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45559         [BZ #13576]
45560         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45561         multiple of MALLOC_ALIGNMENT in size.
45562         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45564 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45566         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45567         Require >= 256.
45568         (FILENAME_MAX): Use macro-int-constant.
45569         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
45570         (_IOFBF): Use macro-int-constant.
45571         (_IOLBF): Likewise.
45572         (_IONBF): Likewise.
45573         (SEEK_CUR): Likewise.
45574         (SEEK_END): Likewise.
45575         (SEEK_SET): Likewise.
45576         (TMP_MAX): Likewise.
45577         (EOF): Use macro-int-constant.  Require < 0.
45578         (NULL): Use macro-constant.  Require == 0.
45579         (stdin): Require type to be FILE *.
45580         (stdout): Likewise.
45581         (stderr): Likewise.
45582         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45583         macro-int-constant.
45584         (EXIT_SUCCESS): Likewise.
45585         (NULL): Use macro-constant.  Require == 0.
45586         (RAND_MAX): Use macro-int-constant.
45587         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45588         [C99-based standards] (strtof): Require function.
45589         [C99-based standards] (strtold): Likewise.
45590         [C99-based standards] (strtoll): Likewise.
45591         [C99-based standards] (strtoull): Likewise.
45592         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45593         [ISO || ISO99 || ISO11] (limits.h): Likewise.
45594         [ISO || ISO99 || ISO11] (math.h): Likewise.
45595         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45596         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45597         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45599 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
45601         [BZ #14132]
45602         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45603         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45604         * intl/dgettext.c (DCGETTEXT): Likewise.
45605         * intl/gettext.c (DCGETTEXT): Likewise.
45606         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45607         * posix/regex_internal.h (gettext): Likewise.
45608         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45609         Remove declaration.
45610         * include/argz.h (__argz_count_internal)
45611         (__argz_stringify_internal): Remove declaration.
45612         (__argz_count, __argz_stringify): Declare hidden proto.
45613         * intl/dcgettext.c: Remove use of INTDEF.
45614         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45615         * string/argz-stringify.c: Likewise.
45616         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45617         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45618         Declare hidden proto.
45619         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45620         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45621         Declare hidden proto.
45622         * include/stdio.h (__asprintf_internal): Don't declare.
45623         (__asprintf): Don't define as macro.  Declare hidden proto.
45624         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45625         (__fsetlocking): Declare hidden proto.
45626         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45627         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45628         hidden proto.
45629         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45630         (_IO_setlinebuf): Remove use of INTUSE.
45631         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45632         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45633         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45634         Remove declaration.
45635         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45636         (_IO_do_flush): Remove use of INTUSE.
45637         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45638         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45639         (_IO_adjust_column, _IO_least_wmarker)
45640         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45641         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45642         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45643         (_IO_default_doallocate, _IO_wdefault_doallocate)
45644         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45645         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45646         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45647         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45648         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45649         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45650         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45651         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45652         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45653         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45654         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45655         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45656         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45657         proto.
45658         (_IO_flush_all_internal, _IO_adjust_column_internal)
45659         (_IO_default_uflow_internal, _IO_default_finish_internal)
45660         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45661         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45662         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45663         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45664         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45665         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45666         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45667         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45668         (_IO_file_close_internal, _IO_file_close_it_internal)
45669         (_IO_file_underflow_internal, _IO_file_overflow_internal)
45670         (_IO_file_init_internal, _IO_file_attach_internal)
45671         (_IO_file_fopen_internal, _IO_file_read_internal)
45672         (_IO_file_sync_internal, _IO_file_seek_internal)
45673         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45674         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45675         (_IO_str_underflow_internal, _IO_str_overflow_internal)
45676         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45677         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45678         (_IO_list_all_internal, _IO_link_in_internal)
45679         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45680         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45681         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45682         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45683         (_IO_do_write_internal, _IO_padn_internal)
45684         (_IO_getline_info_internal, _IO_getline_internal)
45685         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45686         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45687         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45688         (_IO_vfscanf_internal, _IO_vfprintf_internal)
45689         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45690         (_IO_init_internal, _IO_un_link_internal): Don't declare.
45691         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45692         with libc_hidden_ver, remove use of INTUSE.
45693         * libio/genops.c: Likewise.
45694         * libio/freopen.c: Likewise.
45695         * libio/freopen64.c: Likewise.
45696         * libio/iofclose.c: Likewise.
45697         * libio/iofdopen.c: Likewise.
45698         * libio/iofflush.c: Likewise.
45699         * libio/iofflush_u.c: Likewise.
45700         * libio/iofgets.c: Likewise.
45701         * libio/iofgets_u.c: Likewise.
45702         * libio/iofopen.c: Likewise.
45703         * libio/iofopncook.c: Likewise.
45704         * libio/iofread.c: Likewise.
45705         * libio/iofread_u.c: Likewise.
45706         * libio/ioftell.c: Likewise.
45707         * libio/iofwrite.c: Likewise.
45708         * libio/iogetline.c: Likewise.
45709         * libio/iogets.c: Likewise.
45710         * libio/iogetwline.c: Likewise.
45711         * libio/iopadn.c: Likewise.
45712         * libio/iopopen.c: Likewise.
45713         * libio/ioseekoff.c: Likewise.
45714         * libio/ioseekpos.c: Likewise.
45715         * libio/iosetbuffer.c: Likewise.
45716         * libio/iosetvbuf.c: Likewise.
45717         * libio/ioungetc.c: Likewise.
45718         * libio/ioungetwc.c: Likewise.
45719         * libio/iovdprintf.c: Likewise.
45720         * libio/iovsprintf.c: Likewise.
45721         * libio/iovsscanf.c: Likewise.
45722         * libio/memstream.c: Likewise.
45723         * libio/obprintf.c: Likewise.
45724         * libio/oldfileops.c: Likewise.
45725         * libio/oldiofclose.c: Likewise.
45726         * libio/oldiofdopen.c: Likewise.
45727         * libio/oldiofopen.c: Likewise.
45728         * libio/oldiopopen.c: Likewise.
45729         * libio/oldstdfiles.c: Likewise.
45730         * libio/putc.c: Likewise.
45731         * libio/setbuf.c: Likewise.
45732         * libio/setlinebuf.c: Likewise.
45733         * libio/stdfiles.c: Likewise.
45734         * libio/strops.c: Likewise.
45735         * libio/vasprintf.c: Likewise.
45736         * libio/vscanf.c: Likewise.
45737         * libio/vsnprintf.c: Likewise.
45738         * libio/vswprintf.c: Likewise.
45739         * libio/wfiledoalloc.c: Likewise.
45740         * libio/wfileops.c: Likewise.
45741         * libio/wgenops.c: Likewise.
45742         * libio/wmemstream.c: Likewise.
45743         * libio/wstrops.c: Likewise.
45744         * libio/__fpurge.c: Likewise.
45745         * libio/__fsetlocking.c: Likewise.
45746         * assert/assert.c: Likewise.
45747         * debug/fgets_chk.c: Likewise.
45748         * debug/fgets_u_chk.c: Likewise.
45749         * debug/fread_chk.c: Likewise.
45750         * debug/fread_u_chk.c: Likewise.
45751         * debug/gets_chk.c: Likewise.
45752         * debug/obprintf_chk.c: Likewise.
45753         * debug/vasprintf_chk.c: Likewise.
45754         * debug/vdprintf_chk.c: Likewise.
45755         * debug/vsnprintf_chk.c: Likewise.
45756         * debug/vsprintf_chk.c: Likewise.
45757         * malloc/mtrace.c: Likewise.
45758         * misc/error.c: Likewise.
45759         * misc/syslog.c: Likewise.
45760         * stdio-common/asprintf.c: Likewise.
45761         * stdio-common/fxprintf.c: Likewise.
45762         * stdio-common/getw.c: Likewise.
45763         * stdio-common/isoc99_fscanf.c: Likewise.
45764         * stdio-common/isoc99_scanf.c: Likewise.
45765         * stdio-common/isoc99_vfscanf.c: Likewise.
45766         * stdio-common/isoc99_vscanf.c: Likewise.
45767         * stdio-common/isoc99_vsscanf.c: Likewise.
45768         * stdio-common/printf-prs.c: Likewise.
45769         * stdio-common/printf_fp.c: Likewise.
45770         * stdio-common/printf_fphex.c: Likewise.
45771         * stdio-common/printf_size.c: Likewise.
45772         * stdio-common/putw.c: Likewise.
45773         * stdio-common/scanf.c: Likewise.
45774         * stdio-common/sprintf.c: Likewise.
45775         * stdio-common/tmpfile.c: Likewise.
45776         * stdio-common/vfprintf.c: Likewise.
45777         * stdio-common/vfscanf.c: Likewise.
45778         * stdlib/strfmon_l.c: Likewise.
45779         * sunrpc/openchild.c: Likewise.
45780         * sunrpc/xdr_stdio.c: Likewise.
45781         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45782         * sysdeps/mach/hurd/tmpfile.c: Likewise.
45784 2012-05-24  Roland McGrath  <roland@hack.frob.com>
45786         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45788         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45789         in the third column, to generate for the shared library an IFUNC
45790         that uses _dl_vdso_vsym.
45791         * Makerules (COMPILE.c, compile-stdin.c): New variables.
45792         * Makeconfig (object-suffixes-noshared): New variable.
45794         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45795         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45796         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45797         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45799         [BZ #14132]
45800         * include/sys/time.h (__gettimeofday): Remove macro.
45801         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45802         * time/gettimeofday.c (__gettimeofday): Remove #undef.
45803         Remove INTDEF.
45804         (__gettimeofday): Add libc_hidden_def.
45805         (gettimeofday): Add libc_hidden_weak.
45806         * sysdeps/mach/gettimeofday.c: Likewise.
45807         * sysdeps/posix/gettimeofday.c: Likewise.
45808         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45809         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45810         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45811         (__gettimeofday_internal): Remove strong_alias.
45812         (__gettimeofday): Add libc_hidden_def.
45813         (gettimeofday): Add libc_hidden_weak.
45814         * sysdeps/unix/syscalls.list (gettimeofday):
45815         Remove __gettimeofday_internal alias.
45817 2012-05-24  Daniel Jacobowitz  <drow@false.org>
45818             H.J. Lu  <hongjiu.lu@intel.com>
45820         [BZ #12495]
45821         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45822         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45823         (largebin_index_32_big): New.
45824         (largebin_index): Use it for 16-byte alignment.
45825         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
45826         correction with front_misalign.
45828 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45832         Likewise.
45833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45834         Likewise.
45835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45836         Likewise.
45837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45838         Likewise.
45839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45840         Likewise.
45841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45842         Likewise.
45843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45844         Likewise.
45845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45846         Likewise.
45847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45848         Likewise.
45849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45850         Likewise.
45851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45852         Likewise.
45853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45854         Likewise.
45856         * scripts/data/c++-types-x32-linux-gnu.data: New file.
45857         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45859 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45861         [BZ #10846]
45862         [BZ #14036]
45863         * math/libm-test.inc (exp_test): Add test from bug 14036.
45864         (pow_test): Add test from bug 10846.
45866         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45867         and other flags.
45868         (special_function): Do not include flags in test name.
45869         (parse_args): Likewise.
45870         * sysdeps/i386/fpu/libm-test-ulps: Update.
45871         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45872         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45873         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45876         * math/gen-libm-test.pl (%beautify): Add entries for underflow
45877         exceptions.
45878         * math/libm-test.inc ("Philosophy"): Update comment about
45879         exception testing.
45880         (UNDERFLOW_EXCEPTION): New macro.
45881         (UNDERFLOW_EXCEPTION_OK): Likewise.
45882         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45883         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45884         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45885         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45886         (INVALID_EXCEPTION_OK): Update value.
45887         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45888         (OVERFLOW_EXCEPTION_OK): Likewise.
45889         (IGNORE_ZERO_INF_SIGN): Likewise.
45890         (test_exceptions): Handle underflow exceptions.
45891         (acos_test): Update for underflow exception expectations.
45892         (cexp_test): Likewise.
45893         (clog_test): Likewise.
45894         (clog10_test): Likewise.
45895         (csqrt_test): Likewise.
45896         (ctan_test): Likewise.
45897         (ctanh_test): Likewise.
45898         (exp_test): Likewise.
45899         (exp10_test): Likewise.
45900         (exp2_test): Likewise.
45901         (expm1_test): Likewise.
45902         (fma_test): Likewise.
45903         (j0_test): Likewise.
45904         (jn_test): Likewise.
45905         (nexttoward_test): Likewise.
45906         (pow_test): Likewise.
45907         (scalbn_test): Likewise.
45908         (scalbln_test): Likewise.
45909         (tan_test): Likewise.
45910         (y1_test): Likewise.
45911         * sysdeps/i386/fpu/libm-test-ulps: Update.
45912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45914 2012-05-23  David S. Miller  <davem@davemloft.net>
45916         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45917         (__libc_sigaction): Remove unused local variables.
45919 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45921         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45923 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
45925         mktime: avoid signed integer overflow
45926         * time/mktime.c (__mktime_internal): Do not mishandle the case
45927         where diff == INT_MIN.
45929         mktime: simplify computation of average
45930         * time/mktime.c (ranged_convert): Use new time_t_avg function
45931         instead of rolling our own (probably-slower) code.
45933         mktime: do not assume signed right shift propagates sign bit
45934         * time/mktime.c (isdst_differ): New static function.
45935         (__mktime_internal): No need to normalize tm_isdst now.
45936         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45937         tm_isdst values.
45939         mktime: merge another wrapv change from gnulib
45940         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45941         from some compilers.
45943         mktime: remove incorrect attempt at unusual arithmetics
45944         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45945         The code didn't really work on such machines anyway.
45946         (TYPE_MINIMUM): Assume two's complement.
45947         (twos_complement_arithmetic): Verify that long_int and time_t
45948         are two's complement (or unsigned, in the latter case).
45950         mktime: check signed shifts on long_int and time_t, too
45951         * time/mktime.c (SHR): Check that shifts work as desired
45952         on the types long_int and time_t too, as SHR is used on
45953         such types.
45955         mktime: do not assume 'long' is wide enough
45956         * time/mktime.c (verify): Move decl up.
45957         (long_int): New type.
45958         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45959         to remove assumption in the code that 'long' is wide enough to
45960         store year values.  This assumption is not true on x32 and on
45961         some non-glibc platforms.
45963         mktime: merge wrapv change from gnulib
45964         * time/mktime.c (WRAPV): New macro.
45965         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45966         (guess_time_tm, __mktime_internal): Do not assume that signed
45967         integer overflow wraps around; modern compilers generate code
45968         where this assumption is no longer valid.
45970 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45972         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45973         Replace "jmp L(pseudo_end)" with "ret".
45974         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45975         Likewise.
45977 2012-05-23  Andreas Jaeger  <aj@suse.de>
45979         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45980         * sysdeps/unix/sysv/linux/poll.c: Remove file.
45982 2012-05-23  Andreas Jaeger  <aj@suse.de>
45983             Maximilian Attems  <max@stro.at>
45985         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45986         New macros.
45988 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45990         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45991         code so that pseudo_end is just ret and the stack pointer is
45992         correct also for static library in error case.
45994 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
45996         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45997         move to syscalls.list.
45998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46003         * manual/install.texi (Running make install): Do not mention Linux
46004         kernel version for which pt_chown is not needed.
46005         (Linux): Do not mention problems with nscd with 2.0 kernels.
46006         * INSTALL: Regenerated.
46008 2012-05-23  Andreas Jaeger  <aj@suse.de>
46010         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46011         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46012         macro.
46013         * sysdeps/unix/sysv/linux/s390/bits/mman.h
46014         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46015         * sysdeps/unix/sysv/linux/sh/bits/mman.h
46016         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46017         * sysdeps/unix/sysv/linux/i386/bits/mman.h
46018         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46019         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46020         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46021         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46022         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46023         * sysdeps/unix/sysv/linux/bits/in.h
46024         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46026 2012-05-22  Roland McGrath  <roland@hack.frob.com>
46028         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46029         (PREPARE_VERSION): Just use assert instead, it will be elided
46030         under [NDEBUG] anyway.
46032 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46034         * sysdeps/unix/sysv/linux/Makefile: Include
46035         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46036         (sysdep_routines): Remove sysctl.
46037         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46038         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46039         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46040         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46041         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46043 2012-05-22  Andreas Jaeger  <aj@suse.de>
46045         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46046         that pseudo_end is just ret and the stack pointer is correct also
46047         for static library in error case.
46049 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
46051         [BZ #14122]
46052         * nss/nsswitch.c (defconfig_entries): New variable.
46053         (__nss_database_lookup): Don't leak defconfig entries.
46054         (nss_parse_service_list): Don't leak on error paths.
46055         (free_database_entries): New function.
46056         (free_defconfig): New function.
46057         (free_mem): Move common code to free_database_entries.
46059 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46061         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46062         Add arch_prctl.
46063         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46065         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46066         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46068         New macro.
46069         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46070         (INTERNAL_SYSCALL_TYPES): Likewise.
46071         (LOAD_ARGS_TYPES_[1-6]): Likewise.
46072         (LOAD_REGS_TYPES_[1-6]): Likewise.
46073         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46074         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46076 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46078         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46079         copysignl for GLIBC_2_0.
46080         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46081         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46082         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46083         logbl for GLIBC_2_0.
46084         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46085         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46087 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46089         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46090         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46092         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46093         Use "neg %eax".
46095         * time/mktime.c: Update copyright years.
46097 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
46099         mktime: merge comment-quoting-style change from gnulib
46100         * time/mktime.c: Quote 'like this' in comments.
46101         The GNU coding standards suggest that we no longer quote `like this',
46102         as "`" and "'" are typically rendered asymmetrically nowadays.
46103         The typical gnulib style is to quote 'like this' when quoting
46104         code, and "like this" when quoting English.
46106         * time/mktime.c (compile-command): Add "-I.".
46108         mktime: merge mktime-internal.h change from gnulib
46109         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46111         mktime: merge time_r change from gnulib
46112         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46114         mktime: merge DEBUG change from gnulib
46115         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46116         case system <time.h> has a #define.
46118         mktime: merge <sys/types.h> change from gnulib
46119         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46120         since <time.t> is now guaranteed to define time_t.
46122         mktime: merge HAVE_CONFIG_H change from gnulib
46123         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46125 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46127         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46128         Use "neg %eax".
46130         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46131         __rlim_t cast.
46132         (struct rusage): Use anonymous union to pad each field to
46133         __syscall_slong_t.
46135 2012-05-21  David S. Miller  <davem@davemloft.net>
46137         * Makefules (o-iterator): Remove .s cases.
46138         (compile-command.s): Delete.
46139         (COMPILE.s): Delete.
46140         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46142 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
46144         * configure.in (libc_cv_predef_stack_protector): Only consider
46145         "foobar" and "__stack_chk_fail" lines in libc_undefs.
46146         * configure: Regenerated.
46148 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46150         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46151         New macro.  Use R*LP on int and pointer.
46152         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46153         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46154         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46155         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46157         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46158         [__WORDSIZE_TIME64_COMPAT32] instead of
46159         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46160         (struct utmp): Likewise.
46161         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46162         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46163         Renamed to ...
46164         (__WORDSIZE_TIME64_COMPAT32): This.
46165         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46166         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46167         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46168         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46169         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46170         (__WORDSIZE_TIME64_COMPAT32): New macro.
46172 2012-05-21  Andreas Jaeger  <aj@suse.de>
46174         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46175         only if [SHARED]. Add prototype for __wcschr_ia32.
46177 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46179         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46180         of %rbp unmolested in the jmp_buf while mangling the low bits.
46181         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46182         unmolested high bits of %rbp while demangling the low bits.
46183         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46185 2012-05-21  Andreas Jaeger  <aj@suse.de>
46187         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46188         * sunrpc/svc_simple.c: Use it for registerrpc.
46189         * sunrpc/xcrypt.c: Use it for passwd2des.
46191         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46193 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46195         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46196         Don't define if [__SYSCALL_WORDSIZE != 32].
46197         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46198         New macro.
46200 2012-05-21  Bruno Haible  <bruno@clisp.org>
46201             Andreas Jaeger  <aj@suse.de>
46203         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46204         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46205         inptr and inend for must_buffer_ch.
46206         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46207         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46208         * stdio-common/Makefile (tests): Remove bug15.
46209         (bug15-ENV): Remove macro.
46210         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46211         anymore.
46213 2012-05-19  Andreas Jaeger  <aj@suse.de>
46214             Roland McGrath  <roland@hack.frob.com>
46216         * manual/contrib.texi: Completely rewritten. It contains now an
46217         alphabetical list of contributors and their contributions.
46219 2012-05-21  Richard Henderson  <rth@twiddle.net>
46221         * misc/getauxval.c (__getauxval): Use unsigned long int.
46222         * misc/sys/auxv.h: Include <sys/cdefs.h>.
46223         (getauxval): Use unsigned long int.
46225 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46227         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46229 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46231         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46232         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46233         __alignof__ (long double).
46235 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46239 2012-05-20  Richard Henderson  <rth@twiddle.net>
46241         * misc/getauxval.c: New file.
46242         * misc/sys/auxv.h: New file.
46243         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46244         (routines): Add getauxval.
46245         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46246         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46247         * elf/dl-sysdep.c (_dl_auxv): Remove.
46248         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46249         * elf/dl-support.c (_dl_auxv): New variable.
46250         (_dl_aux_init): Initialize it.
46251         * manual/startup.texi (Auxiliary Vector): New node.
46252         * sysdeps/generic/bits/hwcap.h: New file.
46253         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46254         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
46255         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46256         * sysdeps/sparc/sysdep.h: ... here.  Include it.
46257         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46258         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46260         Update.
46261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46264         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46270 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46274 2012-05-19  David S. Miller  <davem@davemloft.net>
46276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46278 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46280         [BZ #14123]
46281         * math/s_ccosh.c: Include <float.h>
46282         (__ccosh): Avoid internal overflow calculating sinh and cosh
46283         values before multiplying by sin and cos values.
46284         * math/s_ccoshf.c: Likewise.
46285         * math/s_ccoshl.c: Likewise.
46286         * math/s_csin.c: Likewise.
46287         * math/s_csinf.c: Likewise.
46288         * math/s_csinl.c: Likewise.
46289         * math/s_csinh.c: Likewise.
46290         * math/s_csinhf.c: Likewise.
46291         * math/s_csinhl.c: Likewise.
46292         * math/libm-test.inc (ccos_test): Add more tests.
46293         (ccosh_test): Likewise.
46294         (csin_test): Likewise.
46295         (csinh_test): Likewise.
46296         * sysdeps/i386/fpu/libm-test-ulps: Update.
46297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46299 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
46301         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46302         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46304         * sysdeps/x86_64/x32/_itoa.h: Add comment.
46306 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46308         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46309         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46310         * sysdeps/powerpc/soft-fp/Versions: Likewise.
46311         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46312         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46313         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46314         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46315         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46316         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46317         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46318         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46319         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46320         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46321         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46322         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46323         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46324         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46325         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46326         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46327         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46328         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46329         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46330         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46331         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46332         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46333         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46334         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46335         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46336         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46337         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46338         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46340 2012-05-18  Andreas Jaeger  <aj@suse.de>
46342         * csu/.gitignore: Delete.
46344 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46346         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46347         (timex): Use __syscall_slong_t.
46349 2012-05-18  Andreas Jaeger  <aj@suse.de>
46350             Carlos O'Donell  <carlos_odonell@mentor.com>
46352         * manual/install.texi (Configuring and compiling): Update
46353         description about files modified in the source directory.
46354         * INSTALL: Regenerated.
46356 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46358         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46359         value.  Use "or" to set return value to -1.
46360         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46361         negate return value.
46363 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46365         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46366         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46367         failure if the compiler has Graphite support disabled.
46368         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46369         Likewise.
46370         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46371         (CFLAGS-memmove.c): Likewise.
46372         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46373         Likewise.
46375 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46377         * sysdeps/x86_64/x32/_itoa.h: New file.
46379         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46380         getdents system call only if kernel and user dirents have the
46381         same d_ino and d_off.
46383         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46384         LLONG_MAX != LONG_MAX.
46385         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46386         (_fitoa_word): Likewise.
46388         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46389         years.
46390         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46391         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46392         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46394         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46395         include <bits/wordsize.h>.  Check __x86_64__ instead of
46396         __WORDSIZE.
46397         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46398         if __x86_64__ is defined.  Use anonymous union on fpstate.
46400         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46401         anonymous union.
46403 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
46405         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46406         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46407         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46408         Refer to _rtld_local_ro instead of _rtld_global_ro.
46409         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46410         Likewise.
46411         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46412         Likewise.
46413         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46414         Likewise.
46415         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46416         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46417         of _rtld_global, and rtld_progname instead of _dl_argv[0].
46419         * sysdeps/powerpc/powerpc32/dl-machine.c
46420         (__elf_machine_runtime_setup) [PROF]: Don't reference
46421         _dl_prof_resolve.
46423 2012-05-18  Andreas Jaeger  <aj@suse.de>
46425         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46426         function only available for GCCs before 3.4 since GCC 3.4
46427         introduced a builtin.
46428         (lrint): Likewise.
46429         (llrintf): Likewise.
46430         (llrint): Likewise.
46431         (fmaxf): Likewise.
46432         (fmax): Likewise.
46433         (fminf): Likewise.
46434         (fmin): Likewise.
46435         (rint): Likewise.
46436         (rintf): Likewise.
46437         (nearbyint): Likewise.
46438         (nearbyintf): Likewise.
46439         (ceil): Likewise.
46440         (ceilf): Likewise.
46441         (floor): Likewise.
46442         (floorf): Likewise.
46444 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46446         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46447         on both fields and cast pointer to __syscall_ulong_t.
46449         * bits/types.h (__fsword_t): New type.
46450         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46451         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46452         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46453         (__FSWORD_T_TYPE): Likewise.
46454         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46455         (__FSWORD_T_TYPE): Likewise.
46456         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46457         (__FSWORD_T_TYPE): Likewise.
46458         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46459         (__FSWORD_T_TYPE): Likewise.
46460         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46461         __SWORD_TYPE with __fsword_t.
46462         (statfs64): Likewise.
46464 2012-05-17  David S. Miller  <davem@davemloft.net>
46466         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46468 2012-05-17  Andreas Jaeger  <aj@suse.de>
46470         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46471         warning.
46473 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46475         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46477 2012-05-17  Andreas Jaeger  <aj@suse.de>
46479         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46480         when it is used.
46482 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46484         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46486 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46488         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46489         * sysdeps/x86_64/tst-mallocalign1.c: New file.
46491 2012-05-17  Andreas Jaeger  <aj@suse.de>
46492             Carlos O'Donell  <carlos_odonell@mentor.com>
46494         [BZ #14059]
46495         * sysdeps/x86_64/multiarch/init-arch.h
46496         (bit_YMM_Usable): Rename to...
46497         (bit_AVX_Usable): ... this.
46498         (bit_FMA4_Usable): New macro.
46499         (bit_XMM_state): New macro.
46500         (bit_YMM_state): New macro.
46501         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46502         [__ASSEMBLER__] (index_AVX_Usable): ... this.
46503         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46504         (CPUID_OSXSAVE): New macro.
46505         (CPUID_AVX): New macro.
46506         (CPUID_FMA4): New macro.
46507         (index_YMM_Usable): Rename to...
46508         (index_AVX_Usable): ... this.
46509         (HAS_AVX): Use HAS_ARCH_FEATURE.
46510         (HAS_FMA4): Likewise.
46511         (HAS_YMM_USABLE): Remove.
46512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46513         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46514         are present.
46515         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46516         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46517         * sysdeps/x86_64/multiarch/Makefile: Likewise.
46518         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46519         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46521 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46523         * math/libm-test.c: Support platforms without multiple rounding modes.
46524         * math/bug-nextafter.c: Support platforms without FP exceptions.
46525         * math/bug-nexttoward.c: Likewise.
46526         * math/test-fenv.c: Likewise.
46527         * math/test-misc.c: Likewise.
46528         * stdlib/bug-getcontext.c: Likewise.
46530 2012-05-17  Andreas Jaeger  <aj@suse.de>
46532         * manual/examples/search.c (critter_cmp): Change signature to
46533         avoid warnings.
46534         * manual/string.texi (Collation Functions): Likewise.
46536 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46538         * bits/types.h: Fold copyright years.
46539         * bits/typesizes.h: Likewise.
46540         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46541         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46542         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46543         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46544         * time/time.h: Likewise.
46546 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
46548         [BZ #208]
46549         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46550         in instead of returning them.  Return void.
46551         (__libc_mallinfo): Accumulate over all arenas.
46552         (__malloc_stats): Adjust for change in int_mallinfo interface.
46554 2012-05-16  Roland McGrath  <roland@hack.frob.com>
46556         [BZ #10375]
46557         * configure.in (NM): Add AC_CHECK_TOOL for it.
46558         (libc_extra_cflags): New substituted variable.
46559         Check for -fstack-protector being used implicitly.
46560         * configure: Regenerated.
46561         * config.make.in (config-extra-cflags): New variable,
46562         gets @libc_extra_cflags@.
46563         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46565         [BZ #10375]
46566         * configure.in: Check for _FORTIFY_SOURCE being predefined.
46567         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46568         * configure: Regenerated.
46569         * config.make.in (CPPUNDEFS): New substituted variable.
46570         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46571         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46572         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46574 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46576         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46577         (mq_attr): Use __syscall_slong_t.
46579 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46581         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46582         Check __x86_64__ instead of __WORDSIZE.
46583         (_STAT_VER_LINUX): Likewise.
46584         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
46585         __syscall_ulong_t and __syscall_slong_t.
46586         (stat64): Likewise.
46588 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46590         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46592 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46594         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46596 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46598         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46599         __syscall_ulong_t.
46601         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46602         include <bits/wordsize.h>.  Check __x86_64__ instead of
46603         __WORDSIZE.
46604         (greg_t): Use "__extension__ long long int" if __x86_64__ is
46605         defined.
46606         (mcontext_t): Replace "unsigned long" with "unsigned long long".
46608         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46609         include <bits/wordsize.h>.  Check __x86_64__ instead of
46610         __WORDSIZE.
46611         (user_regs_struct): Use "__extension__ unsigned long long"
46612         instead of "unsigned long" if __x86_64__ is defined.
46613         (user): Likewise.  Pad after pointer field if __ILP32__ is
46614         defined.
46616 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
46618         * configure.in (makeinfo): Require version 4.5 or later.  Allow
46619         versions 5 to 9.
46620         * configure: Regenerated.
46621         * manual/install.texi (texinfo): Increase version requirement to
46622         4.5 or later.
46623         * INSTALL: Regenerated.
46625         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46627 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46629         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46631         * sysdeps/x86_64/x32/ffs.c: New file.
46633         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46634         __syscall_ulong_t.
46635         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46636         defined.  Use __syscall_ulong_t.
46637         (shminfo): Use __syscall_ulong_t.
46638         (shm_info): Likewise.
46640         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46641         __syscall_ulong_t.
46643         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46644         <bits/wordsize.h>.
46645         (msgqnum_t): Use __syscall_ulong_t.
46646         (msglen_t): Likewise.
46647         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
46648         __syscall_ulong_t.
46650         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46651         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46653         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46655         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46656         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46658         * sysvipc/sys/msg.h (msgbuf): Replace long int with
46659         __syscall_slong_t.
46661         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46662         include <bits/wordsize.h>.  Check __x86_64__ instead of
46663         __WORDSIZE.
46665         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46666         "unsigned long long int" if __x86_64__ is defined.
46667         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46669         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46670         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46671         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46673         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46674         <stdint.h>.
46675         (GET_PC): Cast to uintptr_t first.
46676         (GET_FRAME): Likewise.
46677         (GET_STACK): Likewise.
46679         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46680         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46681         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46682         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46683         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46684         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46685         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46686         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46687         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46688         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46689         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46690         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46691         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46692         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46693         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46694         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46695         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46696         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46697         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46698         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46699         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46700         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46701         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46702         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46703         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46704         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46705         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46706         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46707         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46709 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
46711         * Makerules (+depfiles): Also collect depfiles from .oS in
46712         $(extra-objs).
46713         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46714         .oS, $(libnldbl-routines)).
46716         * Makerules (native-compile-mkdep-flags): Define.
46717         * sunrpc/Makefile (extra-objs): Add $(addprefix
46718         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46719         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46720         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
46721         calling $(make-target-directory).
46723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46725         * bits/types.h (__snseconds_t): Removed.
46726         * time/time.h (struct timespec): Replace __snseconds_t with
46727         __syscall_slong_t.
46728         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46729         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46730         Likewise.
46731         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46732         (__SNSECONDS_T_TYPE): Likewise.
46733         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46734         (__SNSECONDS_T_TYPE): Likewise.
46735         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46736         (__SNSECONDS_T_TYPE): Likewise.
46738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46740         * sysdeps/mach/hurd/bits/typesizes.h
46741         (__SYSCALL_SLONG_TYPE): New macro.
46742         (__SYSCALL_ULONG_TYPE): Likewise.
46744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46746         * bits/types.h (__syscall_slong_t): New type.
46747         (__syscall_ulong_t): Likewise.
46749         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46750         (__SYSCALL_ULONG_TYPE): Likewise.
46751         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46752         (__SYSCALL_SLONG_TYPE): Likewise.
46753         (__SYSCALL_ULONG_TYPE): Likewise.
46754         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46755         (__SYSCALL_SLONG_TYPE): Likewise.
46756         (__SYSCALL_ULONG_TYPE): Likewise.
46757         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46758         (__SYSCALL_SLONG_TYPE): Likewise.
46759         (__SYSCALL_ULONG_TYPE): Likewise.
46761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46763         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46764         Add sigaltstack-offsets.sym.
46765         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46766         <sigaltstack-offsets.h>.
46767         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
46768         longjmp_msg pointer.
46769         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
46770         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46771         signal stack.
46772         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46774 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46776         * elf/stackguard-macros.h: Remove file.
46777         * sysdeps/generic/stackguard-macros.h: New file.
46778         * sysdeps/i386/stackguard-macros.h: Likewise.
46779         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46780         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46781         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46782         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46783         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46784         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46785         * sysdeps/x86_64/stackguard-macros.h: Likewise.
46786         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46787         <elf/stackguard-macros.h>.
46789         [BZ #14109]
46790         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46791         __aligned__ in attribute.
46792         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46793         (gregset_t): Likewise.
46795 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46797         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46798         * sysdeps/x86_64/64/Implies-after: Here.  New file.
46799         * sysdeps/x86_64/x32/Implies-after: New file.
46801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46803         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46804         and access return value for _dl_profile_fixup.  Use R10_LP to
46805         load frame size.
46807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46809         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46813         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46814         * sysdeps/x86_64/x32/sysdep.h: New file.
46816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46818         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46819         * sysdeps/x86_64/setjmp.S: Likewise.
46821 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46823         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46824         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46825         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46826         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46827         remove unused global constant.
46829 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
46831         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46832         include of <not-cancel.h>.
46834 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46836         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46838 2012-05-15  Jeff Law  <law@redhat.com>
46839             Andreas Jaeger  <aj@suse.de>
46841         [BZ #13594]
46842         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46843         out from...
46844         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46845         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46846         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46847         code changing __hst_map_handle.map.
46849 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46851         * configure.in (sysnames): Look for Implies-before and Implies-after
46852         files.
46853         * configure: Regenerated.
46855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46857         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46858         8-byte data alignment with LP_SIZE alignment.
46860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46862         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46863         into R10_LP.
46865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46867         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46871         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46872         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46873         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46874         Likewise.
46875         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46879         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46880         (stackinfo_sub_sp): Likewise.
46882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46884         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46885         RAX_LP.
46887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46889         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46890         into R*_LP.
46892 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46894         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46895         sizes into R*_LP.
46897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46899         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46901 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46903         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46904         into R11_LP and load __x86_64_shared_cache_size_half into
46905         R8_LP.
46907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46909         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46910         R8_LP.
46912 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46914         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46915         logb for POWER7.
46916         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46917         logbf for POWER7.
46918         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46919         logbl for POWER7.
46920         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46921         powerpc32/power7/fpu/s_logb.c via #include.
46922         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46923         powerpc32/power7/fpu/s_logbf.c via #include.
46924         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46925         powerpc32/power7/fpu/s_logbl.c via #include.
46927 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46929         * README.libm: Remove file.
46931 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46933         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46934         count for x32.  Use R*_LP and omit operand-size suffix.
46936 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46938         * shlib-versions: Move x86_64-.*-linux.* entries to ...
46939         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
46940         * sysdeps/x86_64/x32/shlib-versions: New file.
46942 2012-05-14  Roland McGrath  <roland@hack.frob.com>
46944         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46945         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46946         Use _dl_fatal_printf instead.
46948 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46950         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46951         set if not set by the user.  Do not allow for being unset.
46952         * sysdeps/unix/sysv/linux/configure: Regenerated.
46954 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46956         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46957         the `q' suffix from lea and replace .quad with ASM_ADDR.
46959 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46961         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46962         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
46963         instead of $17.
46964         (PTR_DEMANGLE): Likewise.
46966 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46968         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46969         (LP_OP): Likewise.
46970         (ASM_ADDR): Likewise.
46971         (RAX_LP): Likewise.
46972         (RBP_LP): Likewise.
46973         (RBX_LP): Likewise.
46974         (RCX_LP): Likewise.
46975         (RDI_LP): Likewise.
46976         (RSI_LP): Likewise.
46977         (RSP_LP): Likewise.
46978         (R8_LP): Likewise.
46979         (R9_LP): Likewise.
46980         (R10_LP): Likewise.
46981         (R10_LP): Likewise.
46982         (R11_LP): Likewise.
46983         (R12_LP): Likewise.
46984         (R13_LP): Likewise.
46985         (R14_LP): Likewise.
46986         (R15_LP): Likewise.
46988 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46990         * sysdeps/x86_64/x32/dl-machine.h: New file.
46992 2012-05-14  Andreas Jaeger  <aj@suse.de>
46994         * manual/Makefile (subdir): Remove export of subdir.
46995         (all): Remove target.
46996         (.PHONY): Remove all from list.
46997         (mkinstalldirs): Remove.
46998         (.PHONY): Remove installdirs from list.
46999         ($(inst_infodir)/libc.info): Use make-target-directory.
47000         (installdirs): Remove.
47001         (subdir_%): Remove.
47002         (glibc-targets): Remove.
47003         (lib): Remove.
47004         (stubs): Remove.
47005         ($(objpfx)stubs ../po/manual.pot): Remove.
47006         ($(objpfx)stamp%): Remove.
47007         (make-target-directory): Remove.
47008         (subdir_install): Remove.
47009         (routines): Remove.
47010         (aux): Remove.
47011         (sources): Remove.
47012         (objects): Remove.
47013         (headers): Remove.
47015         [BZ #13750]
47016         * manual/.gitignore: Remove, it's not needed anymore.
47017         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47018         all files in it.
47019         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47020         directory.
47021         (texis): Renamed to $(objpfx)texis.
47022         (texis-path): New, contains path to generated files.
47023         (chapters.%): Use texis-path for complete path, add extra argument
47024         libc-texinfo.sh.
47025         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47026         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47027         (summary,texi, stamp-summary): Use complete path of
47028         files. Generate files in build dir.
47029         (dir-add.texi): Build in build dir.
47030         (libm-err.texi,stamp-libm-err): Likewise.
47031         (version.texi, stamp-version): Likewise.
47032         (.%c.texi): Likewise.
47033         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47034         (mostlyclean): Remove target.
47035         (realclean): Remove target.
47036         (generated): Add new variable with contents from mostlyclean and
47037         realclean, remove entries duplicated in common-mostlyclean, add
47038         stamp-libm-err and stamp-version.
47039         (generated-dirs): Add libc directory.
47040         ($(inst_infodir)/libc.info): Install files from build dir.
47042         * manual/install.texi (Configuring and compiling): Adjust since
47043         the info files are not part of the tar ball anymore.
47045 2012-05-14  Andreas Jaeger  <aj@suse.de>
47047         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47048         variable.
47050 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47052         [BZ #13717]
47053         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47054         to 2.2.0 where earlier.
47055         * sysdeps/unix/sysv/linux/configure: Regenerated.
47056         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47057         Remove conditional code.
47058         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47059         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47060         Remove conditional code.
47061         [!__NR_lchown]: Likewise.
47062         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47063         [__NR_lchown]: Likewise.
47064         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47065         comment referencing __ASSUME_LCHOWN_SYSCALL.
47066         * sysdeps/unix/sysv/linux/i386/sigaction.c
47067         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47068         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47069         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47070         Remove conditional code.
47071         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47072         (__protocol_available): Remove #if 0 code.
47073         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47074         conditional code.
47075         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47076         * sysdeps/unix/sysv/linux/kernel-features.h
47077         (__ASSUME_GETCWD_SYSCALL): Don't define.
47078         (__ASSUME_REALTIME_SIGNALS): Likewise.
47079         (__ASSUME_PREAD_SYSCALL): Likewise.
47080         (__ASSUME_PWRITE_SYSCALL): Likewise.
47081         (__ASSUME_POLL_SYSCALL): Likewise.
47082         (__ASSUME_LCHOWN_SYSCALL): Likewise.
47083         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47084         non-SPARC.
47085         (__ASSUME_SIOCGIFNAME): Don't define.
47086         (__ASSUME_MSG_NOSIGNAL): Likewise.
47087         (__ASSUME_SENDFILE): Define unconditionally.
47088         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47089         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47090         conditional code.
47091         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47092         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47093         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47094         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47095         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47096         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47097         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47099         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47100         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47102         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47103         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47105         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47106         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47108         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47109         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47111         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47112         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47114         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47115         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47117         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47120         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47121         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47122         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47123         Remove conditional code.
47124         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47125         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47126         Remove conditional code.
47127         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47128         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47129         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47130         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47131         Remove conditional code.
47132         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47133         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47134         Remove conditional code.
47135         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47136         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47137         Remove conditional code.
47138         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47139         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47140         Remove conditional code.
47141         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47142         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47143         Remove conditional code.
47144         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47145         * sysdeps/unix/sysv/linux/sh/pwrite64.c
47146         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47147         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47148         * sysdeps/unix/sysv/linux/sigaction.c
47149         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47150         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47151         * sysdeps/unix/sysv/linux/sigpending.c
47152         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47153         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47154         * sysdeps/unix/sysv/linux/sigprocmask.c
47155         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47156         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47157         * sysdeps/unix/sysv/linux/sigsuspend.c
47158         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47159         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47160         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47161         (__libc_missing_rt_sigs): Remove.
47162         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47163         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47164         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47165         Remove conditional code.
47166         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47167         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47168         return 1.
47169         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47170         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47171         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47172         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47174 2012-05-14  Andreas Jaeger  <aj@suse.de>
47176         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47177         it's not used in glibc.
47178         (__coshm1): Likewise.
47179         (__acosh1p): Likewise.
47180         (__sgn): Likewise.
47182         * manual/string.texi (Copying and Concatenation): Add missing
47183         variable in concat example.
47184         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47186 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47188         [BZ #14103]
47189         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47190         __builtin_clzl with __builtin_clzll.
47192 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47194         [BZ #14104]
47195         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47196         libc_freeres_ptr.
47198 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47200         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47201         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47202         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47203         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47205 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
47207         * NEWS: Update ia64 info.
47209 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
47211         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47212         used as bcopy.
47214 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
47216         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47217         * sysdeps/unix/syscalls.list (dup3): Likewise.
47218         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47219         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47221 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47223         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47224         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47226 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47228         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47229         thread pointer.
47230         (TLS_IE): Use mov/add instead of movq/addq to load thread
47231         pointer.
47232         (TLS_GD_PREFIX): New.
47233         (TLS_GD): Use it.
47235 2012-05-11  David S. Miller  <davem@davemloft.net>
47237         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47238         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47239         (_FPU_SETCW): Likewise.
47241 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47243         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47244         is 32-byte aligned.
47246 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
47248         [BZ #11837]
47249         * iconvdata/gb18030.c: Update tables.
47250         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
47251         characters specially.
47252         (BODY for TO_LOOP): Add encoding of missing ranges.
47254 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
47256         [BZ #13673]
47257         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47258         * sysdeps/mach/hurd/dup3.c: Likewise.
47259         * sysdeps/mach/hurd/readlinkat.c: Likewise.
47260         * sysdeps/powerpc/memmove.c:: Likewise.
47262 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47264         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47265         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47267 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47269         * elf/elf.h (R_X86_64_RELATIVE64): New.
47270         (R_X86_64_NUM): Updated.
47271         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47272         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
47273         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47274         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47275         tst-quad1pie tst-quad2pie
47276         (modules-names): Add tst-quadmod1 tst-quadmod2.
47277         ($(objpfx)tst-quad1): New dependency.
47278         ($(objpfx)tst-quad2): Likewise.
47279         ($(objpfx)tst-quad1pie): Likewise.
47280         ($(objpfx)tst-quad2pie): Likewise.
47281         * sysdeps/x86_64/tst-quad1.c: New file.
47282         * sysdeps/x86_64/tst-quad1pie.c: New file.
47283         * sysdeps/x86_64/tst-quad2.c: Likewise.
47284         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47285         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47286         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47287         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47288         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47290 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47292         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47293         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47294         * streams/stropts.h (t_scalar_t): Define type.
47296         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47297         (_PATH_PRESERVE): Set to "/var/lib".
47298         (_PATH_RWHODIR): Set to "/var/spool/rwho".
47300         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47301         instead of int.
47303         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47304         if __dir_mkfile succeeded.
47306         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47307         checking for _hurd_dtablesize.  Unlock it right after having
47308         finished _hurd_dtable allocation.
47310 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47312         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47313         * sysdeps/mach/hurd/configure: Regenerated.
47314         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47315         special-casing to...
47316         * sysdeps/gnu/configure.in: ... this new file.
47317         * sysdeps/unix/sysv/linux/configure: Regenerated.
47318         * sysdeps/gnu/configure: New generated file.
47320         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47321         for Linux: use nsec instead of usec, as well as:
47322         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47323         members of type struct timespec.
47324         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47325         New macros.
47326         (struct stat64): Likewise.
47327         (_STATBUF_ST_NSEC): New macro.
47328         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47330         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47331         __strtoul_internal rather than strtoul.
47333 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47335         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47336         and reject them.
47338 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47340         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47341         which preserves existing values.
47342         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47344 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47346         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47347         TIMEOUT values.  Return EINVAL for NFDS values either negative or
47348         greater than FD_SETSIZE.
47350 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47352         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47353         allocated, call __vm_protect to finish enabling the existing space, and
47354         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47355         allocate the remainder.
47357 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47359         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47360         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
47362 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47364         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47365         sysdeps/mach/hurd/readlink.c.
47367         * posix/tst-sysconf.c (posix_options): Only use
47368         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47369         _POSIX_SYNCHRONIZED_IO when they are defined
47370         * sysdeps/mach/hurd/bits/posix_opt.h:
47371         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47372         (_XOPEN_REALTIME): Undefine macro.
47373         (_XOPEN_REALTIME_THREADS): Undefine macro.
47374         (_XOPEN_SHM): Undefine macro.
47375         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47376         macro to -1.
47377         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47378         macro to -1.
47379         (_POSIX_ASYNC_IO): Undefine macro.
47380         (_POSIX_PRIORITIZED_IO): Undefine macro.
47381         (_POSIX_SPIN_LOCKS): Define macro to -1.
47383         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47384         SA_NODEFER, SA_RESETHAND.
47385         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47386         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47387         F_DUPFD_CLOEXEC.
47389 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47391         * elf/Makefile (pldd-modules): Define unconditionally.
47393 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47395         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47397 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47399         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47400         Return ENOENT when name is empty.
47401         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47403 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47405         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47407         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47409 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47411         Fix mlock in all cases except non-readable pages.
47412         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47413         instead of VM_PROT_ALL as parameter to __vm_wire function.
47415         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47416         (__mkdir): When path is `/', just fail with EEXIST.
47417         * sysdeps/mach/hurd/mkdirat.c: Likewise.
47419 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47421         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47422         <sys/uio.h> (for writev).
47423         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47424         and <sys/param.h> (for MIN).
47426 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47428         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47429         REQUESTED_TIME.  Properly set the remaining time and return EINTR
47430         if interrupted.
47432 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47434         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47435         Depend on against $(link-rpcuserlibs).
47437 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47439         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47440         (__libc_stack_end): Do not use attribute_relro.
47441         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47442         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47443         to libthread-provided value.
47444         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47445         attribute_relro.
47447 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47449         [BZ #3748]
47450         * bits/libc-lock.h (__libc_once_get): New macro.
47451         * sysdeps/mach/bits/libc-lock.h: Likewise.
47452         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47453         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47454         instead of using implementation details.
47456         * libio/fileops.c: Unconditionally include <kernel-features.h>.
47457         * libio/freopen.c: Likewise.
47458         * libio/freopen64.c: Likewise.
47459         * misc/syslog.c: Likewise.
47460         * nscd/connections.c: Likewise.
47461         * nscd/netgroupcache.c: Likewise.
47462         * sysdeps/posix/getcwd.c: Likewise.
47464 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47466         * math/w_ilogbf.c: Add #include <limits.h>.
47468 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47470         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47471         path instead of returning without unlocking.
47473         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47474         immediate-write ioctls.
47475         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47477 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47479         * sysdeps/mach/hurd/i386/init-first.c (init): Use
47480         __builtin_frame_address instead of making assumptions about the
47481         location of the return address relative to DATA.  Force early load of
47482         the return address.
47483         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47484         __builtin_frame_address.
47486         dup3 for GNU Hurd.
47487         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47488         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
47489         implement dup3 and do some further code clean-ups.
47490         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47491         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47495         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47497         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47498         HURD_CRITICAL_END around holding _hurd_dtable_lock.
47499         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47500         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47501         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47502         d->port.lock.
47504         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47505         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
47506         when handler == SIG_ERR, not when handler != SIG_ERR.
47508 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47510         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47511         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47512         definitions.
47514         accept4 for GNU Hurd.
47515         * include/sys/socket.h (__libc_accept4): New prototype.
47516         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
47517         to implement __libc_accept4.
47518         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47519         __libc_accept4.
47520         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47522         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47523         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47524         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47525         signal-defines.sym.
47527 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47529         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47531 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47533         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47534         assertion on O_CLOEXEC flag.
47535         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47536         * hurd/intern-fd.c: Likewise.
47537         * hurd/port2fd.c: Likewise.
47539 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47541         [BZ #3906]
47542         * bits/in.h (IPV6_PKTINFO): Define new macro.
47543         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47545 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47547         [BZ #13954]
47548         [BZ #13955]
47549         [BZ #13956]
47550         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47551         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47552         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47553         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47554         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47555         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47556         * math/libm-test.inc (logb_test) : Additional logb tests.
47558 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
47559             Andreas Jaeger  <aj@suse.de>
47561         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47562         * configure: Regenerated.
47563         * config.h.in (LINK_OBSOLETE_RPC): New macro.
47564         * config.make.in (link-obsolete-rpc): New substituted variable.
47565         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47566         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47567         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47568         (shared-only-routines): Don't set it under [link-obsolete-rpc],
47569         so that libc.a contains the symbols.
47570         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47571         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47572         * sunrpc/auth_none.c: Likewise.
47573         * sunrpc/auth_unix.c: Likewise.
47574         * sunrpc/authdes_prot.c: Likewise.
47575         * sunrpc/authuxprot.c: Likewise.
47576         * sunrpc/clnt_gen.c: Likewise.
47577         * sunrpc/clnt_perr.c: Likewise.
47578         * sunrpc/clnt_raw.c: Likewise.
47579         * sunrpc/clnt_simp.c: Likewise.
47580         * sunrpc/clnt_tcp.c: Likewise.
47581         * sunrpc/clnt_udp.c: Likewise.
47582         * sunrpc/clnt_unix.c: Likewise.
47583         * sunrpc/des_crypt.c: Likewise.
47584         * sunrpc/des_soft.c: Likewise.
47585         * sunrpc/get_myaddr.c: Likewise.
47586         * sunrpc/key_call.c: Likewise.
47587         * sunrpc/key_prot.c: Likewise.
47588         * sunrpc/netname.c: Likewise.
47589         * sunrpc/pm_getmaps.c: Likewise.
47590         * sunrpc/pm_getport.c: Likewise.
47591         * sunrpc/pmap_clnt.c: Likewise.
47592         * sunrpc/pmap_prot.c: Likewise.
47593         * sunrpc/pmap_prot2.c: Likewise.
47594         * sunrpc/pmap_rmt.c: Likewise.
47595         * sunrpc/publickey.c: Likewise.
47596         * sunrpc/rpc_cmsg.c: Likewise.
47597         * sunrpc/rpc_common.c: Likewise.
47598         * sunrpc/rpc_dtable.c: Likewise.
47599         * sunrpc/rpc_prot.c: Likewise.
47600         * sunrpc/rpc_thread.c: Likewise.
47601         * sunrpc/rtime.c: Likewise.
47602         * sunrpc/svc.c: Likewise.
47603         * sunrpc/svc_auth.c: Likewise.
47604         * sunrpc/svc_raw.c: Likewise.
47605         * sunrpc/svc_run.c: Likewise.
47606         * sunrpc/svc_tcp.c: Likewise.
47607         * sunrpc/svc_udp.c: Likewise.
47608         * sunrpc/svc_unix.c: Likewise.
47609         * sunrpc/svcauth_des.c: Likewise.
47610         * sunrpc/xcrypt.c: Likewise.
47611         * sunrpc/xdr.c: Likewise.
47612         * sunrpc/xdr_array.c: Likewise.
47613         * sunrpc/xdr_float.c: Likewise.
47614         * sunrpc/xdr_intXX_t.c: Likewise.
47615         * sunrpc/xdr_mem.c: Likewise.
47616         * sunrpc/xdr_rec.c: Likewise.
47617         * sunrpc/xdr_ref.c: Likewise.
47618         * sunrpc/xdr_sizeof.c: Likewise.
47619         * sunrpc/xdr_stdio.c: Likewise.
47621 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47623         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47624         change.  Update copyright years.
47626 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47628         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47630 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
47631             Joseph Myers  <joseph@codesourcery.com>
47632             Paul Pluzhnikov  <ppluzhnikov@google.com>
47634         [BZ #14012]
47635         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47636         requiring rpcgen.
47637         [cross-compiling] (extra-libs): Likewise.
47638         [cross-compiling] (extra-libs-others): Likewise.
47639         [cross-compiling] (librpcsvc-routines): Likewise.
47640         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47641         [cross-compiling] (omit-deps): Likewise.
47642         (sunrpc-CPPFLAGS): New variable.
47643         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47644         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47645         (cross-rpcgen-objs): New variable.
47646         (extra-objs): Append $(cross-rpcgen-objs).
47647         ($(cross-rpcgen-objs)): New rule.
47648         ($(objpfx)cross-rpcgen): Likewise.
47649         (rpcgen-cmd): Define to use $(built-program-file).  Expand
47650         comment.
47651         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47652         ($(objpfx)x%.stmp): Likewise.
47653         * sunrpc/proto.h [IS_IN_build] (_): Define.
47654         [IS_IN_build] (_libc_intl_domainname): Likewise.
47656 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47658         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47659         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47660         and R_X86_64_TPOFF64.
47662 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47664         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47665         sysdeps/unix/sysv/syscalls.list.
47666         (stime): Likewise.
47667         (utime): Likewise.
47668         * sysdeps/unix/sysv/syscalls.list: Remove file.
47670 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
47672         [BZ #3440]
47673         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47674         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47675         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47676         (__LC_IDENTIFICATION): Make these macros useful in #if
47677         expressions, as required by C99.
47679 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
47681         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47682         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
47683         after this.
47685 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
47687         * stdlib/longlong.h: Updated from GCC.
47689 2012-05-09  Andreas Jaeger  <aj@suse.de>
47691         * nscd/nscd.c (run_modes): Make named enum, reorder so that
47692         default is first entry.
47693         (run_mode): Set type.
47694         (main): Remove informal message about syslog.
47695         (options): Fix typo.
47697         [BZ #14053]
47698         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47699         to asm.
47700         (lrint): Likewise.
47701         (llrintf): Likewise.
47702         (llrint): Likewise.
47703         (rint): Likewise.
47704         (rintf): Likewise.
47705         (nearbyint): Likewise.
47706         (nearbyintf): Likewise.
47708 2012-05-09  Andreas Jaeger  <aj@suse.de>
47709             Pedro Alves  <palves@redhat.com>
47711         * nscd/nscd.c (run_mode): Use enum.
47712         (main): Cleanup coding style issue.
47714 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
47715             Andreas Jaeger  <aj@suse.de>
47717         * nscd/nscd.c (go_background): Replaced with...
47718         (run_mode): ... this.
47719         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47720         (options): Add -F --foreground.
47721         (main): Implement it.
47722         (parse_opt): Parse it.
47724 2012-05-09  Andreas Jaeger  <aj@suse.de>
47726         [BZ #14083]
47727         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47728         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47729         -Wconversion warning.
47730         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47731         Likewise.
47733 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
47735         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
47736         == 0.
47737         (LC_ALL): Use macro-int-constant.
47738         (LC_COLLATE): Likewise.
47739         (LC_CTYPE): Likewise.
47740         (LC_MESSAGES): Likewise.
47741         (LC_MONETARY): Likewise.
47742         (LC_NUMERIC): Likewise.
47743         (LC_TIME): Likewise.
47744         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47745         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47746         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47747         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47748         Specify type.
47749         [C99-based standards] (float_t): Expect type.
47750         [C99-based standards] (double_t): Expect type.
47751         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
47752         type.
47753         [C99-based standards] (HUGE_VALL): Likewise.
47754         [C99-based standards] (INFINITY): Likewise.
47755         [C99-based standards] (NAN): Likewise.
47756         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47757         [C99-based standards] (FP_NAN): Likewise.
47758         [C99-based standards] (FP_NORMAL): Likewise.
47759         [C99-based standards] (FP_SUBNORMAL): Likewise.
47760         [C99-based standards] (FP_ZERO): Likewise.
47761         [C99-based standards] (FP_FAST_FMA): Use
47762         optional-macro-int-constant.  Specify type.  Require == 1.
47763         [C99-based standards] (FP_FAST_FMAF): Likewise.
47764         [C99-based standards] (FP_FAST_FMAL): Likewise.
47765         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47766         [C99-based standards] (FP_ILOGBNAN): Likewise.
47767         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47768         Specify type.
47769         [C99-based standards] (MATH_ERREXCEPT): Likewise.
47770         [C99-based standards] (math_errhandling): Specify type.
47771         [ISO99 || ISO11] (signgam): Do not allow.
47772         [non-C99-based standards] (copysignf): Do not allow.
47773         [non-C99-based standards] (exp2f): Likewise.
47774         [non-C99-based standards] (log2f): Likewise.
47775         [non-C99-based standards] (modff): Allow.
47776         [non-C99-based standards] (erff): Do not allow.
47777         [non-C99-based standards] (erfcf): Likewise.
47778         [non-C99-based standards] (gammaf): Likewise.
47779         [non-C99-based standards] (hypotf): Likewise.
47780         [non-C99-based standards] (j0f): Likewise.
47781         [non-C99-based standards] (j1f): Likewise.
47782         [non-C99-based standards] (jnf): Likewise.
47783         [non-C99-based standards] (lgammaf): Likewise.
47784         [non-C99-based standards] (tgammaf): Likewise.
47785         [non-C99-based standards] (y0f): Likewise.
47786         [non-C99-based standards] (y1f): Likewise.
47787         [non-C99-based standards] (ynf): Likewise.
47788         [non-C99-based standards] (isnanf): Likewise.
47789         [non-C99-based standards] (acoshf): Likewise.
47790         [non-C99-based standards] (asinhf): Likewise.
47791         [non-C99-based standards] (atanhf): Likewise.
47792         [non-C99-based standards] (cbrtf): Likewise.
47793         [non-C99-based standards] (expm1f): Likewise.
47794         [non-C99-based standards] (ilogbf): Likewise.
47795         [non-C99-based standards] (log1pf): Likewise.
47796         [non-C99-based standards] (logbf): Likewise.
47797         [non-C99-based standards] (nextafterf): Likewise.
47798         [non-C99-based standards] (remainderf): Likewise.
47799         [non-C99-based standards] (rintf): Likewise.
47800         [non-C99-based standards] (scalbf): Likewise.
47801         [non-C99-based standards] (copysignl): Likewise.
47802         [non-C99-based standards] (exp2l): Likewise.
47803         [non-C99-based standards] (log2l): Likewise.
47804         [non-C99-based standards] (modfl): Allow.
47805         [non-C99-based standards] (erfl): Do not allow.
47806         [non-C99-based standards] (erfcl): Likewise.
47807         [non-C99-based standards] (gammal): Likewise.
47808         [non-C99-based standards] (hypotl): Likewise.
47809         [non-C99-based standards] (j0l): Likewise.
47810         [non-C99-based standards] (j1l): Likewise.
47811         [non-C99-based standards] (jnl): Likewise.
47812         [non-C99-based standards] (lgammal): Likewise.
47813         [non-C99-based standards] (tgammal): Likewise.
47814         [non-C99-based standards] (y0l): Likewise.
47815         [non-C99-based standards] (y1l): Likewise.
47816         [non-C99-based standards] (ynl): Likewise.
47817         [non-C99-based standards] (isnanl): Likewise.
47818         [non-C99-based standards] (acoshl): Likewise.
47819         [non-C99-based standards] (asinhl): Likewise.
47820         [non-C99-based standards] (atanhl): Likewise.
47821         [non-C99-based standards] (cbrtl): Likewise.
47822         [non-C99-based standards] (expm1l): Likewise.
47823         [non-C99-based standards] (ilogbl): Likewise.
47824         [non-C99-based standards] (log1pl): Likewise.
47825         [non-C99-based standards] (logbl): Likewise.
47826         [non-C99-based standards] (nextafterl): Likewise.
47827         [non-C99-based standards] (remainderl): Likewise.
47828         [non-C99-based standards] (rintl): Likewise.
47829         [non-C99-based standards] (scalbl): Likewise.
47830         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47831         [non-C99-based standards] (FP_*): Do not allow.
47832         [C99-based standards] (FP_*): Change to
47833         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47834         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47835         allow.
47836         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47837         (SIG_ERR): Likewise.
47838         [X/Open-based standards] (SIG_HOLD): Likewise.
47839         (SIG_IGN): Likewise.
47840         (SIGABRT): Use macro-int-constant.  Specify type.  Require
47841         positive value.
47842         (SIGFPE): Likewise.
47843         (SIGILL): Likewise.
47844         (SIGINT): Likewise.
47845         (SIGSEGV): Likewise.
47846         (SIGTER): Likewise.
47847         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47848         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47849         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47850         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47851         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47852         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47853         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47854         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47855         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47856         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47857         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47858         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47859         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47860         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47861         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47862         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47863         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47864         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47865         [X/Open-based standards] (SIGTRAP): Likewise.
47866         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47867         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47868         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47869         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47870         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47871         allow.
47873 2012-05-08  Ian Wienand  <ianw@vmware.com>
47875         [BZ #14080]
47876         * time/tzset.c (__tzset_parse_tz): Update default rules for
47877         daylight time changes in the Energy Policy Act of 2005.
47879 2012-05-09  Andreas Jaeger  <aj@suse.de>
47881         [BZ #13983]
47882         * elf/ldconfig.c (parse_conf): Change string to make clear that
47883         ldconfig only issued a warning if ld.so.conf does not exist.
47885 2012-05-08  David S. Miller  <davem@davemloft.net>
47887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47888         movxtod instead of popping the value on the stack.
47890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47892 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
47894         * config.h.in: Add HAVE_ARM_PCS_VFP.
47896 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
47898         [BZ #13979]
47899         * include/features.h: Warn if user requests __FORTIFY_SOURCE
47900         checking but the checks are disabled for any reason.
47902 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
47904         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47905         and ELF64_R_TYPE with ELFW(R_TYPE).
47907 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
47909         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47910         (ulimit): Likewise.
47912         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47913         (settimeofday): Likewise.
47915 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
47917         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
47918         a struct th_u2 inside the union, and move tu_block/tu_code into
47919         a new th_u3 union of tu_block/tu_code inside of that.  Move
47920         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
47921         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
47922         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47923         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47924         (th_stuff): Change to th_u1.tu_stuff.
47925         (th_data): Define.
47926         (th_msg): Change to th_u1.th_u2.tu_data.
47928 2012-05-07  David S. Miller  <davem@davemloft.net>
47930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47932         [BZ #14074]
47933         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47934         (SETUP_PIC_REG): Use it.
47935         (SETUP_PIC_REG_LEAF): Use it.
47937 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
47939         [BZ #13885]
47940         [BZ #13923]
47941         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47942         USE_AS_EXPM1L.
47943         (EXPL_FINITE): Likewise.
47944         (FLDLOG): Likewise.
47945         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47946         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47947         e_expl.S.
47948         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47949         USE_AS_EXPM1L.
47950         (EXPL_FINITE): Likewise.
47951         (FLDLOG): Likewise.
47952         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47953         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47954         e_expl.S.
47955         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
47956         test of -max_value argument for long double.
47957         * sysdeps/i386/fpu/libm-test-ulps: Update.
47958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47960 2012-05-06  David S. Miller  <davem@davemloft.net>
47962         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47963         quad soft-float symbols whose references which are compiler
47964         generated.
47965         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47967 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
47969         [BZ #13884]
47970         [BZ #13914]
47971         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47972         USE_AS_EXP10L.
47973         (EXPL_FINITE): Likewise.
47974         (FLDLOG): Likewise.
47975         (c0): Likewise.
47976         (c1): Likewise.
47977         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47978         Adjust comments for base varying.
47979         (__expl_finite): Change alias to EXPL_FINITE.
47980         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47981         e_expl.S.
47982         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47983         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47984         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47985         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47986         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47987         USE_AS_EXP10L.
47988         (EXPL_FINITE): Likewise.
47989         (FLDLOG): Likewise.
47990         (c0): Likewise.
47991         (c1): Likewise.
47992         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47993         Adjust comments for base varying.
47994         (__expl_finite): Change alias to EXPL_FINITE.
47995         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
47996         tests for bugs.
47997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47999         [BZ #14064]
48000         * math/libm-test.inc (check_float_internal): Correct ulp
48001         calculation for subnormal expected results.
48003 2012-05-06  Andreas Jaeger  <aj@suse.de>
48005         * Makeconfig (+math-flags): New, set to -frounding-math.
48006         (+cflags): Add +math-flags so that all of glibc gets compiled with
48007         it.
48009         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48011 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
48013         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48014         Disable one test.
48016         [BZ #13787]
48017         [BZ #13922]
48018         [BZ #14036]
48019         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48020         (__ieee754_expl): Allow for and saturate large arguments.
48021         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48022         (u_threshold): Likewise.
48023         (__exp): Call __ieee754_exp before checking for overflow and
48024         underflow.
48025         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48026         (u_threshold): Likewise.
48027         (__expf): Call __ieee754_expf before checking for overflow and
48028         underflow.
48029         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48030         (u_threshold): Likewise.
48031         (__expl): Call __ieee754_expl before checking for overflow and
48032         underflow.
48033         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48034         (__ieee754_expl): Allow for and saturate large arguments.
48035         * math/libm-test.inc (exp_test): Add another test.  Do not allow
48036         missing overflow exception on overflow.
48037         (expm1_test): Do not allow missing overflow exception on overflow.
48039         * sysdeps/i386/fpu/e_expl.c: Move to ...
48040         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
48041         rather than using inline asm.
48042         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48043         * sysdeps/x86_64/fpu/e_expl.S: Copy from
48044         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48046         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48047         (nice): Likewise.
48048         (poll): Likewise.
48049         (signal): Likewise.
48050         (time): Likewise.
48051         (times): Likewise.
48053 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48055         * sysdeps/unix/syscalls.list (adjtime): Add entry from
48056         sysdeps/unix/common/syscalls.list.
48057         (fchmod): Likewise.
48058         (fchown): Likewise.
48059         (ftruncate): Likewise.
48060         (getrusage): Likewise.
48061         (gettimeofday): Likewise.
48062         (setpgid): Likewise.
48063         (setregid): Likewise.
48064         (setreuid): Likewise.
48065         (sigaction): Likewise.
48066         (truncate): Likewise.
48067         (vhangup): Likewise.
48068         * sysdeps/unix/common/syscalls.list: Remove file.
48069         * sysdeps/unix/bsd/Implies: Don't include unix/common.
48070         * sysdeps/unix/sysv/linux/Implies: Likewise.
48072 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
48074         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48076         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48077         Moved to ...
48078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48079         Here.
48080         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48081         to ...
48082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48083         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48084         to ...
48085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48086         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48087         to ...
48088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48089         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48090         to ...
48091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48092         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48093         to ...
48094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48095         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48096         to ...
48097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48098         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48099         to ...
48100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48101         Here.
48102         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48103         to ...
48104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48105         Here.
48106         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48107         to ...
48108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48109         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48110         Moved to ...
48111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48112         Here.
48113         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48114         to ...
48115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48117 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48119         * sysdeps/unix/common/bits/dirent.h: Remove file.
48120         * sysdeps/unix/common/bits/fcntl.h: Likewise.
48122         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48123         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48124         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48125         * sysdeps/unix/bsd/isatty.c: Likewise.
48126         * sysdeps/unix/bsd/tcdrain.c: Likewise.
48127         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48128         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48130 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48132         [BZ #13563]
48133         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48134         long double comparison inaccuracies.
48135         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48138 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
48140         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48141         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48143 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48145         [BZ #14049]
48146         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48147         nonzero digits before rounding a hex value.
48148         * stdlib/tst-strtod.c (tests): Add another test.
48150 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48152         * sysdeps/s390/fpu/libm-test-ulps: Update.
48154 2012-05-03  Andreas Jaeger  <aj@suse.de>
48156         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48157         does not get optimized out.
48158         (malloc_opt_barrier): New.
48160 2012-05-03  Andreas Jaeger  <aj@suse.de>
48161             Roland McGrath  <roland@hack.frob.com>
48163         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48164         intermediate file deletion.
48165         (generated): Add .symlist files.
48167 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
48169         [BZ #13775]
48170         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48171         Redirect under this condition.
48172         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48173         [__USE_GNU] (__dprintf_chk): Not under this condition.
48174         [__USE_GNU] (__vdprintf_chk): Likewise.
48175         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48176         under this condition.
48177         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48178         [__USE_XOPEN2K8] (dprintf): Define under this condition.
48179         [__USE_XOPEN2K8] (vdprintf): Likewise.
48180         [__USE_GNU] (__dprintf_chk): Not under this condition.
48181         [__USE_GNU] (__vdprintf_chk): Likewise.
48182         [__USE_GNU] (dprintf): Likewise.
48183         [__USE_GNU] (vdprintf): Likewise.
48185 2012-05-03  Roland McGrath  <roland@hack.frob.com>
48187         * elf/Makefile (common-generated): Set this instead of generated for
48188         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
48189         $(all-built-dso)-derived lists.
48191 2012-05-03  Andreas Jaeger  <aj@suse.de>
48193         * sysdeps/i386/fpu/libm-test-ulps: Update.
48195         * FAQ: Removed.
48196         * FAQ.in: Likewise.
48197         * scripts/gen-FAQ.pl: Likewise.
48198         * manual/install.texi (Installation): Point to online location of
48199         FAQ.
48200         * Makefile (files-for-dist): Remove FAQ.
48201         (FAQ): Remove.
48203 2012-05-02  Allan McRae  <allan@archlinux.org>
48205         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48206         (LDFLAGS-reldepmod5.so): Likewise.
48207         (LDFLAGS-reldep6mod1.so): Likewise.
48208         (LDFLAGS-reldep6mod4.so): Likewise.
48209         (LDFLAGS-reldep8mod3.so): Likewise.
48210         (LDFLAGS-unload4mod1.so): Likewise.
48211         (LDFLAGS-unload4mod2.so): Likewise.
48212         (LDFLAGS-tst-initorder): Likewise.
48213         (LDFLAGS-tst-initordera2.so): Likewise.
48214         (LDFLAGS-tst-initordera3.so): Likewise.
48215         (LDFLAGS-tst-initordera4.so): Likewise.
48216         (LDFLAGS-tst-initorderb2.so): Likewise.
48217         (LDFLAGS-noload): Likewise.
48218         (LDFLAGS-next): Likewise.
48219         (LDFLAGS-order2mod1.so): Likewise.
48220         (LDFLAGS-order2mod2.so): Likewise.
48221         (LDFLAGS-tst-initorder2): Likewise.
48222         (LDFLAGS-tst-initorder2a.so): Likewise.
48223         (LDFLAGS-tst-initorder2b.so): Likewise.
48224         (LDFLAGS-tst-initorder2c.so): Likewise.
48225         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48227 2012-05-02  David S. Miller  <davem@davemloft.net>
48229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48231 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
48233         [BZ #14055]
48234         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48236 2012-05-02  Andreas Jaeger  <aj@suse.de>
48238         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48239         since we manipulate rounding mode.
48240         (CPPFLAGS-test-idouble.c): Likewise.
48241         (CPPFLAGS-test-ifloat.c): Likewise.
48242         (CFLAGS-test-ldouble.c): Likewise.
48243         (CFLAGS-test-double.c): Likewise.
48244         (CFLAGS-test-float.c): Likewise.
48245         (CFLAGS-test-misc.c): Likewise.
48246         (CFLAGS-test-test-fenv.c): Likewise.
48248 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48250         [BZ #2550]
48251         [BZ #2570]
48252         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48253         comparisons to determine direction to adjust input.
48255 2012-05-01  Roland McGrath  <roland@hack.frob.com>
48257         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48258         output to the target.
48260         * scripts/localplt.awk: New file.
48261         * elf/Makefile ($(objpfx)check-localplt): Target removed.
48262         (check-localplt-CFLAGS): Variable removed.
48263         ($(all-built-dso:=.jmprel)): New static pattern rule.
48264         (generated): Add those targets.
48265         (localplt-built-dso): New variable.
48266         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48268         * elf/check-localplt.c: File removed.
48270         * scripts/check-execstack.awk: New file.
48271         * elf/Makefile ($(objpfx)check-execstack): Target removed.
48272         (check-execstack-CFLAGS): Variable removed.
48273         ($(objpfx)check-execstack.h): Target removed.
48274         ($(objpfx)execstack-default): New target.
48275         (generated): Add that instead of check-execstack.h.
48276         ($(all-built-dso:=.phdr)): New static pattern rule.
48277         (generated): Add those targets.
48278         * elf/check-execstack.c: File removed.
48280         * scripts/check-textrel.awk: New file.
48281         * elf/Makefile ($(objpfx)check-textrel): Target removed.
48282         (check-textrel-CFLAGS): Variable removed.
48283         (all-built-dso): Use := to define.o
48284         ($(all-built-dso:=.dyn)): New static pattern rule.
48285         (generated): Add those targets.
48286         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48287         * config.make.in (READELF): New substituted variable.
48288         * elf/check-textrel.c: File removed.
48290 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48292         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48293         allow.
48294         * conform/data/ctype.h-data [C99-based standards] (isblank):
48295         Expect function.
48296         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48297         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48298         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48299         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48300         Specify type.  Require positive value.
48301         (EILSEQ): Likewise.
48302         (ERANGE): Likewise.
48303         [ISO || POSIX] (EILSEQ): Do not expect.
48304         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48305         Specify type.  Require positive value.
48306         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48307         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48308         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48309         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48310         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48311         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48312         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48313         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48314         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48315         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48316         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48317         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48318         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48319         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48320         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48321         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48322         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48323         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48324         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48325         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48326         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48327         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48328         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48329         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48330         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48331         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48332         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48333         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48334         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48335         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48336         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48337         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48338         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48339         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48340         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48341         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48342         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48343         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48344         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48345         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48346         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48347         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48348         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48349         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48350         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48351         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48352         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48353         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48354         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48355         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48356         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48357         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48358         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48359         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48360         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48361         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48362         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48363         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48364         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48365         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48366         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48367         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48368         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48369         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48370         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48371         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48372         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48373         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48374         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48375         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48376         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48377         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48378         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48379         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48380         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48381         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48382         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48383         Require >= 2.
48384         (FLT_ROUNDS): Expect as macro, not constant.
48385         (FLT_MANT_DIG): Use macro-int-constant.
48386         (DBL_MANT_DIG): Likewise.
48387         (LDBL_MANT_DIG): Likewise.
48388         (FLT_DIG): Likewise.
48389         (DBL_DIG): Likewise.
48390         (LDBL_DIG): Likewise.
48391         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
48392         (DBL_MIN_EXP): Likewise.
48393         (LDBL_MIN_EXP): Likewise.
48394         (FLT_MAX_EXP): Use macro-int-constant.
48395         (DBL_MAX_EXP): Likewise.
48396         (LDBL_MAX_EXP): Likewise.
48397         (FLT_MAX_10_EXP): Likewise.
48398         (DBL_MAX_10_EXP): Likewise.
48399         (LDBL_MAX_10_EXP): Likewise.
48400         (FLT_MAX): Use macro-constant.
48401         (DBL_MAX): Likewise.
48402         (LDBL_MAX): Likewise.
48403         (FLT_EPSILON): Use macro-constant.  Give upper bound.
48404         (DBL_EPSILON): Likewise.
48405         (LDBL_EPSILON): Likewise.
48406         (FLT_MIN): Likewise.
48407         (DBL_MIN): Likewise.
48408         (LDBL_MIN): Likewise.
48409         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48410         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48411         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48412         [ISO11] (FLT_HAS_SUBNORM): Likewise.
48413         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48414         [ISO11] (DBL_DECIMAL_DIG): Likewise.
48415         [ISO11] (FLT_DECIMAL_DIG): Likewise.
48416         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48417         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48418         [ISO11] (FLT_TRUE_MIN): Likewise.
48419         [ISO11] (LDBL_TRUE_MIN): Likewise.
48420         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48421         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48422         (SCHAR_MIN): Use macro-int-constant.  Specify type.
48423         (SCHAR_MAX): Likewise.
48424         (UCHAR_MAX): Likewise.
48425         (CHAR_MIN): Likewise.
48426         (CHAR_MAX): Likewise.
48427         (MB_LEN_MAX): Use macro-int-constant.
48428         (SHRT_MIN): Use macro-int-constant.  Specify type.
48429         (SHRT_MAX): Likewise.
48430         (USHRT_MAX): Likewise.
48431         (INT_MAX): Likewise.
48432         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
48433         bound negative.
48434         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48435         bound with "U".
48436         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48437         bound with "L".
48438         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
48439         bound negative.  Suffix upper bound with "L".
48440         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48441         bound with "UL".
48442         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48443         Specify type.
48444         [C99-based standards] (LLONG_MAX): Likewise.
48445         [C99-based standards] (ULLONG_MAX): Likewise.
48446         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
48447         == 0.
48448         [ISO11] (max_align_t): Require type.
48449         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48451         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48452         from $CFLAGS, without defining away __attribute__ calls.
48453         (checknamespace): Use $CFLAGS_namespace.
48455         * conform/conformtest.pl (@keywords): Only include C99 keywords
48456         for standards based on C99 or C11.
48458         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48459         Disable tests.
48460         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48461         UNIX98]: Likewise.
48463         * conform/conformtest.pl: Handle "macro-int-constant" and test for
48464         usability of symbols in #if.
48466         * conform/conformtest.pl: If macro or constant types start
48467         "promoted:", expect the symbol to be of the following type
48468         promoted by the integer promotions.
48470         * conform/conformtest.pl: Parse all "constant" and "macro" lines
48471         in one place.  Also handle "macro-constant".
48473         * conform/conformtest.pl: Only accept expected macro values with
48474         "==".  Parse all "macro" lines in one place.
48475         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48477         * conform/conformtest.pl: Handle braced types on "constant" lines
48478         instead of handling "typed-constant".
48479         * conform/data/signal.h-data: Use "constant" instead of
48480         "typed-constant".
48482         * conform/conformtest.pl: Handle "optional-" at start of lines in
48483         one place rather than duplicating several cases.  Handle each
48484         format of "macro" line with initial "optional-".
48486         * conform/conformtest.pl: Only accept expected constant or
48487         optional-constant values with "==".  Parse all "constant" lines in
48488         one place.  Parse all "optional-constant" lines in one place.
48489         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48490         * conform/data/fmtmsg.h-data: Likewise.
48491         * conform/data/netinet/in.h-data: Likewise.
48492         * conform/data/tar.h-data: Likewise.
48493         * conform/data/limits.h-data: Use "==" form on "constant" and
48494         "optional-constant" lines.
48496         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48497         Use -std=c99 for XOPEN2K.
48498         (@knownproblems): Remove.
48499         (newtoken): Don't check %isknown.
48501         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48502         Do not expect macro.
48503         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48504         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48505         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48506         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48507         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48508         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48509         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48510         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48511         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48512         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48513         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48514         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48515         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48516         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48517         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48518         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48519         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48520         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48521         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48522         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48523         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48524         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48525         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48526         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48527         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48528         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48529         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48530         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48531         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48532         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48533         [XPG3] (acosh): Likewise.
48534         [XPG3] (asinh): Likewise.
48535         [XPG3] (atanh): Likewise.
48536         [XPG3] (cbrt): Likewise.
48537         [XPG3] (expm1): Likewise.
48538         [XPG3] (ilogb): Likewise.
48539         [XPG3] (log1p): Likewise.
48540         [XPG3] (logb): Likewise.
48541         [XPG3] (nextafter): Likewise.
48542         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48543         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48544         [XPG3] (remainder): Likewise.
48545         [XPG3] (rint): Likewise.
48546         [XPG3 || XPG4 || UNIX98] (round): Likewise.
48547         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48548         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48549         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48550         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48551         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48552         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48553         [UNIX98 || XOPEN2K] (scalb): Expect.
48554         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48555         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48556         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48557         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48558         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48559         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48560         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48561         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48562         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48563         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48564         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48565         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48566         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48567         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48568         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48569         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48570         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48571         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48572         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48573         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48574         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48575         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48576         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48577         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48578         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48579         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48580         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48581         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48582         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48583         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48584         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48585         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48586         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48587         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48588         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48589         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48590         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48591         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48592         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48593         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48594         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48595         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48596         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48597         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48598         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48599         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48600         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48601         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48602         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48603         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48604         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48605         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48606         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48607         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48608         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48609         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48610         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48611         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48612         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48613         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48614         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48615         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48616         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48617         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48618         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48619         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48620         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48621         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48622         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48623         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48624         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48625         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48626         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48627         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48628         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48629         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48630         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48631         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48632         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48633         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48634         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48635         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48636         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48637         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48638         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48639         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48640         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48641         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48642         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48643         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48644         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48645         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48646         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48647         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48648         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48649         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48650         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48651         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48652         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48653         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48654         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48655         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48656         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48657         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48658         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48659         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48660         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48661         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48662         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48663         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48664         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48665         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48666         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48667         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48668         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48669         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48670         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48671         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48672         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48673         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48674         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48675         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48676         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48677         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48678         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48679         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48680         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48681         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48682         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48683         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48684         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48685         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48686         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48687         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48688         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48689         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48690         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48692         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48693         _XOPEN_SOURCE_EXTENDED for XPG4.
48695         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48697         * Makeconfig (localtime): Remove variable.
48698         (inst_localtime-file): Likewise.
48700 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48703         Update.
48704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48705         Update.
48706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48707         Update.
48708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48709         Update.
48710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48711         Update.
48712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48713         Update.
48714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48715         Update.
48716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48717         Update.
48718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48719         Update.
48721 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48723         [BZ #2550]
48724         [BZ #2570]
48725         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48726         comparisons to determine direction to adjust input.
48727         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48728         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48729         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48730         Likewise.
48731         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48732         Likewise.
48733         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48734         Likewise.
48735         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48736         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48737         Likewise.
48738         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48739         Likewise.
48740         * math/libm-test.inc (nexttoward_test): Add more tests.
48742 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48744         [BZ #14040]
48745         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48746         in version GLIBC_2.1, not GLIBC_2.0.
48747         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48748         Likewise.
48750 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
48752         [BZ #13942]
48753         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48754         (1 - x) * (1 + x).
48755         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48756         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48757         * math/libm-test.inc (acos_test): Add more tests.
48758         (asin_test): Likewise.
48759         * sysdeps/i386/fpu/libm-test-ulps: Update.
48760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48762         [BZ #14034]
48763         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48764         of square root.
48765         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48766         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48767         * math/libm-test.inc (acos_test_tonearest): New function.
48768         (acos_test_towardzero): Likewise.
48769         (acos_test_downward): Likewise.
48770         (acos_test_upward): Likewise.
48771         (asin_test_tonearest): Likewise.
48772         (asin_test_towardzero): Likewise.
48773         (asin_test_downward): Likewise.
48774         (asin_test_upward): Likewise.
48775         (main): Call the new functions.
48776         * sysdeps/i386/fpu/libm-test-ulps: Update.
48777         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48779         [BZ #13884]
48780         [BZ #13924]
48781         * math/e_exp10.c: Include <float.h>.
48782         (__ieee754_exp10): Handle underflow here rather than multiplying
48783         large negative argument by M_LN10.
48784         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48785         of __ieee754_expf.
48786         * math/e_exp10l.c: Include <float.h>.
48787         (__ieee754_exp10l): Handle underflow here rather than multiplying
48788         large negative argument by M_LN10l.
48789         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
48790         spurious overflow exception on underflow.
48792 2012-04-29  Marek Polacek  <polacek@redhat.com>
48794         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48795         (__fortify_function): New macro.
48796         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48797         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48798         __extern_always_inline.
48799         * libio/bits/stdio2.h: Likewise.
48800         * libio/bits/stdio.h: Likewise.
48801         * string/string.h: Likewise.
48802         * string/bits/string3.h: Likewise.
48803         * include/stdio.h: Likewise.
48804         * stdlib/bits/stdlib.h: Likewise.
48805         * stdlib/stdlib.h: Likewise.
48806         * rt/bits/mqueue2.h: Likewise.
48807         * rt/mqueue.h: Likewise.
48808         * posix/bits/unistd.h: Likewise.
48809         * posix/unistd.h: Likewise.
48810         * io/bits/poll2.h: Likewise.
48811         * io/bits/fcntl2.h: Likewise.
48812         * io/fcntl.h: Likewise.
48813         * io/sys/poll.h: Likewise.
48814         * misc/bits/syslog.h: Likewise.
48815         * misc/bits/syslog-ldbl.h: Likewise.
48816         * misc/sys/syslog.h: Likewise.
48817         * socket/bits/socket2.h: Likewise.
48818         * socket/sys/socket.h: Likewise.
48819         * debug/tst-chk1.c: Likewise.
48820         * wcsmbs/bits/wchar2.h: Likewise.
48821         * wcsmbs/bits/wchar-ldbl.h: Likewise.
48822         * wcsmbs/wchar.h: Likewise.
48824 2012-04-29  Andreas Jaeger  <aj@suse.de>
48826         * Makerules (tests): Remove enable-check-abi protection.
48827         (check-abi-warn): Remove.
48828         (check-abi-%): Remove check-abi-warn usage.
48830         * configure.in: Remove check-abi configure option.
48831         * configure: Regenerated.
48832         * config.make.in (enable-check-abi): Remove.
48834 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
48836         [BZ #14033]
48837         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48838         double functions to double *_finite functions.
48840         [BZ #13941]
48841         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48842         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48843         LDBL_MIN_EXP.
48844         * stdio-common/Makefile (tests): Add tst-sprintf3.
48845         * stdio-common/tst-sprintf3.c: New file.
48847         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48848         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48850 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48852         * conform/conformtest.pl: Remove duplicate typed-constant
48853         handling.
48855 2012-04-28  David S. Miller  <davem@davemloft.net>
48857         * Makerules (%.abilist): Add vpath on sysdep_dirs.
48858         (check-abi-%): Remove AWK script prerequisite and explicit
48859         abilist directory.
48860         (check-abi): Rewrite to just diff the symlist with the abilist.
48861         (config-tls, config-abi-config): Delete, no longer used.
48862         (update-abi-%): Remove AWK script and explicit abilist directory.
48863         (update-abi): Rewrite to simply compare and conditionally copy the
48864         symlist and the sysdep abilist file.  Remove update-abi-config
48865         checks.
48866         * abilist/ld.abilist: Remove.
48867         * abilist/libBrokenLocale.abilist: Remove.
48868         * abilist/libanl.abilist: Remove.
48869         * abilist/libcrypt.abilist: Remove.
48870         * abilist/libdl.abilist: Remove.
48871         * abilist/librt.abilist: Remove.
48872         * abilist/libthread_db.abilist: Remove.
48873         * abilist/libutil.abilist: Remove.
48874         * scripts/extract-abilist.awk: Remove.
48875         * scripts/merge-abilist.awk: Remove.
48876         * sysdeps/generic/libcidn.abilist: New file.
48877         * sysdeps/generic/libnss_compat.abilist: New file.
48878         * sysdeps/generic/libnss_db.abilist: New file.
48879         * sysdeps/generic/libnss_dns.abilist: New file.
48880         * sysdeps/generic/libnss_files.abilist: New file.
48881         * sysdeps/generic/libnss_hesiod.abilist: New file.
48882         * sysdeps/generic/libnss_nis.abilist: New file.
48883         * sysdeps/generic/libnss_nisplus.abilist: New file.
48884         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48885         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48886         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48887         file.
48888         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48889         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48890         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48891         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48892         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48893         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48894         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48895         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48896         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48897         file.
48898         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48899         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48900         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48901         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48902         file.
48903         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48904         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48905         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48906         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48907         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48908         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48909         file.
48910         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48911         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48912         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48913         file.
48914         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48915         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48916         New file.
48917         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48918         New file.
48919         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48920         New file.
48921         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48922         New file.
48923         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48924         New file.
48925         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48926         New file.
48927         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48928         New file.
48929         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48930         New file.
48931         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48932         New file.
48933         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48934         New file.
48935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48936         New file.
48937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48938         New file.
48939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48940         New file.
48941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48942         file.
48943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48944         New file.
48945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48946         New file.
48947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48948         file.
48949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48950         New file.
48951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48952         New file.
48953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48954         file.
48955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48956         New file.
48957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48958         New file.
48959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48960         New file.
48961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48962         New file.
48963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48964         New file.
48965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48966         New file.
48967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48969         file.
48970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48971         New file.
48972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48973         file.
48974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48975         file.
48976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48977         file.
48978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48979         file.
48980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48981         file.
48982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48983         New file.
48984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48985         file.
48986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48987         file.
48988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48989         New file.
48990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48991         file.
48992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48994         file.
48995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48996         New file.
48997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48998         file.
48999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49000         file.
49001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49002         file.
49003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49004         file.
49005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49006         file.
49007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49008         New file.
49009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49010         file.
49011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49012         file.
49013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49014         New file.
49015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49016         file.
49017         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49018         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49019         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49020         file.
49021         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49022         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49023         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49024         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49025         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49026         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49027         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49028         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49029         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49030         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49033         file.
49034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49035         New file.
49036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49037         file.
49038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49039         file.
49040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49041         file.
49042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49043         file.
49044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49045         file.
49046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49047         New file.
49048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49049         New file.
49050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49051         file.
49052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49053         New file.
49054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49055         file.
49056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49058         file.
49059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49060         New file.
49061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49062         file.
49063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49064         file.
49065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49066         file.
49067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49068         file.
49069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49070         file.
49071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49072         New file.
49073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49074         New file.
49075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49076         file.
49077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49078         New file.
49079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49080         file.
49082 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49084         * conform/conformtest.pl: Fix typo in handling typed-constant from
49085         allow-header.
49087 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49089         * README: Cut down references to pre-2.6 Linux kernels and
49090         Linuxthreads.  Update lists of configurations in libc and ports
49091         and sort alphabetically.  Say "or newer" with Linux kernel version
49092         requirements.
49094         * config.h.in [IS_IN_build]: Allow compiling without optimization.
49096 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49098         [BZ #887]
49099         * math/libm-test.inc (logb_test_downward): New test to expose
49100         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49101         rounding mode.
49103 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49105         [BZ #14027]
49106         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49107         to be done.
49108         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49109         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49111 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
49113         * sysdeps/unix/i386/brk.S: Remove file.
49114         * sysdeps/unix/i386/dl-brk.S: Likewise.
49115         * sysdeps/unix/i386/pipe.S: Likewise.
49116         * sysdeps/unix/i386/sigreturn.S: Likewise.
49117         * sysdeps/unix/i386/syscall.S: Likewise.
49118         * sysdeps/unix/i386/vfork.S: Likewise.
49119         * sysdeps/unix/i386/wait.S: Likewise.
49121         * sysdeps/unix/common/tcsendbrk.c: Move to ...
49122         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49124         * configure.in (arm*-none*): Do not allow without
49125         --enable-hacker-mode.
49126         (netbsd*): Remove case setting base_os.
49127         (386bsd*): Likewise.
49128         (freebsd*): Likewise.
49129         (bsdi*): Likewise.
49130         (osf*): Likewise.
49131         (sunos*): Likewise.
49132         (ultrix*): Likewise.
49133         (newsos*): Likewise.
49134         (dynix*): Likewise.
49135         (*bsd*): Likewise.
49136         (sysv*): Likewise.
49137         (isc*): Likewise.
49138         (esix*): Likewise.
49139         (sco*): Likewise.
49140         (minix*): Likewise.
49141         (irix4*): Likewise.
49142         (irix6*): Likewise.
49143         (solaris[2-9]*): Likewise.
49144         (none): Likewise.
49145         * configure: Regenerated.
49147 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49149         [BZ #11521]
49150         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49151         overflow or cancellation in calculating denominator.
49152         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49153         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49154         down expression to avoid unexpected rounding in newer GCCs.
49155         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49157 2012-04-26  David S. Miller  <davem@davemloft.net>
49159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49160         long-double compat symbols.
49161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49175 2012-04-25  David S. Miller  <davem@davemloft.net>
49177         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49178         HWCAP_* values only after the memory barriers have been defined.
49179         (atomic_full_barrier): Define.
49180         (atomic_read_barrier): Define.
49181         (atomic_write_barrier): Define.
49183 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49185         * shlib-versions: Add libgcc_s version information.
49186         * sysdeps/generic/libgcc_s.h: Remove.
49187         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49188         libgcc_s.h.
49189         * sysdeps/gnu/unwind-resume.c: Likewise.
49190         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49192 2012-04-25  David S. Miller  <davem@davemloft.net>
49194         * sysdeps/unix/sparc/brk.S: Delete.
49195         * sysdeps/unix/sparc/dl-brk.S: Delete.
49196         * sysdeps/unix/sparc/pipe.S: Delete.
49197         * sysdeps/unix/sparc/sysdep.S: Delete.
49198         * sysdeps/unix/sparc/sysdep.h: Delete.
49199         * sysdeps/unix/sparc/vfork.S: Delete.
49200         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49201         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49202         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49203         (ret_ERRVAL, r0, r1, MOVE): Define.
49204         (JUMPTARGET): Remove.
49205         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49206         sysdeps/unix/sparc/sysdep.h
49207         (ENTRY, END): Remove.
49208         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49210 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
49212         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49213         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49214         -DIS_IN_build.
49216         * timezone/README: Update upstream location and email address for
49217         tzcode and tzdata.
49218         * timezone/zdump.c: Update from tzcode 2012b.
49219         * timezone/zic.c: Likewise.
49221         * configure.in (libc_cv_as_needed): Remove test.
49222         * configure: Regenerated.
49223         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49224         conditional definition.
49225         [$(have-as-needed) != yes] (no-as-needed): Likewise.
49226         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49227         * config.make.in (have-as-needed): Remove variable.
49229 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49230             Paul Pluzhnikov  <ppluzhnikov@google.com>
49232         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49233         strings correctly.
49235 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
49237         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49238         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49239         * sysdeps/sh/strlen.S: Likewise.
49241 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49243         * sysdeps/unix/fork.S: Remove file.
49244         * sysdeps/unix/i386/fork.S: Likewise.
49245         * sysdeps/unix/sparc/fork.S: Likewise.
49247         * sysdeps/unix/system.c: Remove file.
49248         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49250         * sysdeps/unix/getegid.S: Remove file.
49251         * sysdeps/unix/geteuid.S: Likewise.
49253 2012-04-24  Roland McGrath  <roland@hack.frob.com>
49255         * scripts/check-localplt.awk: New file.
49256         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49257         of diff.
49258         * scripts/data/localplt-generic.data: Add a comment.
49260         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49261         NODE when __dir_mkfile failed.
49262         * sysdeps/mach/hurd/symlinkat.c: Likewise.
49263         Reported by Ludovic Courtès <ludo@gnu.org>.
49265 2012-04-24  Andreas Jaeger  <aj@suse.de>
49267         * Makerules (common-clean): Also remove gen-as-const-headers
49268         files.
49270 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49272         * Makerules (native-compile): Do not change working directory for
49273         build.  Use $(OUTPUT_OPTION) in command.
49274         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49276 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49278         [BZ #13886]
49279         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49280         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49281         * math/libm-test.inc (floor_test): Add more tests.
49282         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49284 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49286         * sysdeps/unix/getdents.c: Remove file.
49287         * sysdeps/unix/sysv/getdents.c: Likewise.
49288         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49290         * sysdeps/unix/syscalls.list (madvise): Add syscall from
49291         sysdeps/unix/mman/syscalls.list.
49292         (mmap): Likewise.
49293         (mprotect): Likewise.
49294         (msync): Likewise.
49295         (munmap): Likewise.
49296         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49297         * sysdeps/unix/mman/syscalls.list: Remove.
49298         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49300         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49301         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49302         * configure: Regenerated.
49303         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49304         $(libgcc_s_suffix).
49305         * config.make.in (libgcc_s_suffix): Remove variable.
49307 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
49309         * sysdeps/unix/sysv/gethostname.c: Move to ...
49310         * sysdeps/posix/gethostname.c: ... here.
49312         * sysdeps/unix/execve.S: Remove file.
49314         * sysdeps/unix/_exit.S: Remove file.
49316 2012-04-23  Andreas Jaeger  <aj@suse.de>
49318         [BZ #13739]
49319         * manual/Makefile: Remove make dist support, there's no
49320         need for a stand-alone documentation tar ball.
49321         (TEXI2DVI): Define always, it's not in Makeconfig.
49322         (dist): Removed.
49323         (tar-it): Removed.
49324         (edition): Removed.
49325         (glibc-doc-$(edition).tar): Removed
49326         (%.Z): Removed.
49327         (%.gz): Removed.
49328         (%.uu): Removed.
49329         (ETAGS): Remove, it's in Makeconfig.
49330         (move-if-change): Remove, it's in Makeconfig.
49332 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
49334         [BZ #13970]
49335         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49336         (strtod, strtof, strtold, strtol, strtoul, strtoq)
49337         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49338         (strtod_l, strtof_l, strtold_l): Remove __wur.
49339         It is not necessarily an error to ignore strtol's return value.
49340         One can reliably look at the stored endptr to decide whether
49341         the number had valid syntax.
49343 2012-04-21  Andreas Jaeger  <aj@suse.de>
49345         [BZ #13739]
49346         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49348 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
49350         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49351         * sysdeps/unix/sysv/Versions: Remove file.
49353 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
49355         [BZ #13927]
49356         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49358 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
49360         [BZ #7064]
49361         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49362         version from __vm86.
49364 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
49366         * sysdeps/unix/common/lxstat.c: Remove file.
49367         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49369         * sysdeps/unix/sysv/Makefile: Remove file.
49371         * sysdeps/unix/sysv/direct.h: Remove file.
49373         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49374         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49375         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49376         * sysdeps/unix/sysv/bits/signum.h: Likewise.
49377         * sysdeps/unix/sysv/bits/stat.h: Likewise.
49378         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49379         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49381         * sysdeps/unix/sysv/setrlimit.c: Remove file.
49383         * sysdeps/unix/xmknod.c: Remove file.
49384         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49386         * sysdeps/unix/sysv/settimeofday.c: Remove file.
49388         * sysdeps/unix/sysv/i386/time.S: Remove file.
49390         * sysdeps/unix/fxstat.c: Remove file.
49391         * sysdeps/unix/xstat.c: Likewise.
49392         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49394         * sysdeps/unix/sysv/sigaction.c: Remove file.
49396         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49397         (sysdep_headers): Remove variable.
49398         [termio.h not in sysdep_headers] (generated): Likewise.
49399         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49400         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49401         * sysdeps/unix/sysv/tcdrain.c: Likewise.
49402         * sysdeps/unix/sysv/tcflow.c: Likewise.
49403         * sysdeps/unix/sysv/tcflush.c: Likewise.
49404         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49405         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49406         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49407         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49408         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49410         * sysdeps/unix/siglist.c: Remove file.
49412         * sysdeps/unix/getppid.S: Remove file.
49414         * sysdeps/unix/mkdir.c: Remove file.
49415         * sysdeps/unix/rmdir.c: Likewise.
49417 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
49419         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49420         ERR_MAX value.
49421         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49422         errlist-compat value.
49424 2012-04-18  David S. Miller  <davem@davemloft.net>
49426         * sysdeps/generic/memcopy.h (reg_char): Delete.
49427         * debug/strcat_chk.c: Use char, not reg_char.
49428         * debug/strcpy_chk.c: Likewise.
49429         * debug/strncat_chk.c: Likewise.
49430         * debug/strncpy_chk.c: Likewise.
49431         * string/memchr.c: Likewise.
49432         * string/memrchr.c: Likewise.
49433         * string/rawmemchr.c: Likewise.
49434         * string/strcat.c: Likewise.
49435         * string/strchr.c: Likewise.
49436         * string/strchrnul.c: Likewise.
49437         * string/strcmp.c: Likewise.
49438         * string/strcpy.c: Likewise.
49439         * string/strncat.c: Likewise.
49440         * string/strncmp.c: Likewise.
49441         * string/strncpy.c: Likewise.
49443 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49445         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49446         __builtin_memcopy is called when src and dest ranges are known to not
49447         overlap.
49449 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49451         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49452         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49453         fwd_align_merge macro call.
49454         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49455         bwd_align_merge macro call.
49456         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49458 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49460         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49461         bwd_align_merge macros.
49462         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49463         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49464         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49466 2012-04-18  David S. Miller  <davem@davemloft.net>
49468         * sysdeps/sparc/sparc64/memcopy.h: Delete.
49470 2012-04-18  Andreas Jaeger  <aj@suse.de>
49472         [BZ# 6794]
49473         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49474         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49475         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49477         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49478         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49479         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49481         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49482         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49483         Adjust for changed ldbl-128 files.
49485         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49486         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49487         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49489 2012-04-17  David S. Miller  <davem@davemloft.net>
49491         * sysdeps/sparc/sparc32/memcopy.h: Delete.
49493 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
49495         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49496         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49497         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49498         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49499         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49500         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49502 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49504         [BZ #6794]
49505         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49506         * math/libm-test.inc: Add ilogb errno and exception tests.
49507         * math/w_ilogb.c: New file: ilogb wrapper.
49508         * math/w_ilogbf.c: New file: ilogbf wrapper.
49509         * math/w_ilogbl.c: New file: ilogbl wrapper.
49510         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49511         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49512         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49513         exception being thrown with 0.0 as argument.
49514         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49515         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49516         exception being thrown with 0.0 as argument.
49517         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49518         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49519         exception being thrown with 0.0 as argument.
49520         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49521         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49522         exception being thrown with 0.0 as argument.
49523         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49524         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49525         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49526         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49527         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49528         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49529         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49530         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49531         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49533 2012-04-17  Petr Baudis  <pasky@ucw.cz>
49535         * include/sys/uio.h: Change __vector to __iovec to avoid clash
49536         with altivec.
49538 2012-04-16  Marek Polacek  <polacek@redhat.com>
49540         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49542 2012-04-16  Marek Polacek  <polacek@redhat.com>
49544         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49545         operands of fdivp instruction.
49547 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49549         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49550         * elf/tst-auditmod3b.c: Likewise.
49551         * elf/tst-auditmod4b.c: Likewise.
49552         * elf/tst-auditmod5b.c: Likewise.
49553         * elf/tst-auditmod6b.c: Likewise.
49554         * elf/tst-auditmod6c.c: Likewise.
49555         * elf/tst-auditmod7b.c: Likewise.
49556         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49557         * sysdeps/x86_64/preconfigure.in: Likewise.
49558         * sysdeps/x86_64/preconfigure: Regenerated.
49560 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49562         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49563         __ILP32__.
49565 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
49567         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49568         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49570 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
49572         [BZ #13973]
49573         * locale/iso-639.def: Fix gl language name. Spotted by
49574         Yaron Shahrabani.
49576 2012-04-12  Roland McGrath  <roland@hack.frob.com>
49578         [BZ #2074]
49579         * libio/libio.h (__io_write_fn): Update comment.
49581 2012-04-12  Petr Baudis  <pasky@ucw.cz>
49583         [BZ #2074]
49584         * stdio.texi (Hook Functions): The user provided writer function
49585         is not allowed to return -1.
49587 2012-04-11  David S. Miller  <davem@davemloft.net>
49589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49591 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
49593         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49594         Add a leading slash to rtkaio.
49596 2012-04-11  Jim Meyering  <meyering@redhat.com>
49598         [BZ #11959]
49599         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49600         It is not necessarily an error to ignore fwrite's return
49601         value.  One can reliably use ferror to test for errors after
49602         the fact.
49604 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49606         * bits/types.h (__snseconds_t): New type.
49607         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49609         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49610         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49611         (__SNSECONDS_T_TYPE): Likewise.
49612         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49613         (__SNSECONDS_T_TYPE): Likewise.
49614         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49615         (__SNSECONDS_T_TYPE): Likewise.
49617 2012-04-10  Andreas Jaeger  <aj@suse.de>
49619         [BZ #2636]
49620         * manual/time.texi (Processor Time): Return type of times is
49621         elapsed real time since an arbitrary point in the past.
49622         (CPU Time): Move CLK_TCK from here...
49623         (Processor Time): ...to here.  Correct description.
49624         * manual/conf.texi (Constants for Sysconf): Correct description of
49625         _SC_CLK_TCK.
49627 2012-04-10  David S. Miller  <davem@davemloft.net>
49629         [BZ #13967]
49630         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49631         where the is a gap between DT_REL(A) and DT_JMPREL.
49633 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49635         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49636         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49637         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49639 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49641         * elf/dl-support.c (_dl_inhibit_cache): New variable.
49642         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49643         (dl_main): Handle --inhibit-cache.
49644         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49645         _dl_inhibit_cache.
49646         * elf/dl-load.c (_dl_map_object): Use it.
49647         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49649 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49651         [BZ #13872]
49652         * sysdeps/i386/fpu/e_powl.S (p78): New object.
49653         (__ieee754_powl): Saturate large exponents rather than testing for
49654         overflow of y*log2(x).
49655         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49656         * math/libm-test.inc (pow_test): Do not permit spurious overflow
49657         exceptions.
49659         [BZ #11521]
49660         * math/s_ctan.c: Include <float.h>.
49661         (__ctan): Avoid internal overflow or cancellation in calculating
49662         denominator.
49663         * math/s_ctanf.c: Likewise.
49664         * math/s_ctanl.c: Likewise.
49665         * math/s_ctanh.c: Likewise.
49666         * math/s_ctanhf.c: Likewise.
49667         * math/s_ctanhl.c: Likewise.
49668         * math/libm-test.inc (ctan_test): Add more tests.
49669         (ctanh_test): Likewise.
49670         * sysdeps/i386/fpu/libm-test-ulps: Update.
49671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49673 2012-04-09  Andreas Jaeger  <aj@suse.de>
49675         [BZ #6894]
49676         * manual/filesys.texi (Directory Entries): Mention that d_namlen
49677         is an optional BSD extension.
49679         [BZ #10254]
49680         * manual/stdio.texi (Opening Streams): Document additional fopen
49681         parameters.
49683 2012-04-09  Roland McGrath  <roland@hack.frob.com>
49685         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49686         %eax without telling the compiler.
49688 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
49690         [BZ # 13963]
49691         * manual/install.texi: Use sourceware.org.
49693 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49695         [BZ #13873]
49696         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49697         (__ieee754_pow): Generate overflow and underflow using huge*huge
49698         and tiny*tiny rather than just returning constant infinity or zero
49699         for large exponents.
49700         * math/libm-test.inc (pow_test): Require overflow exceptions for
49701         applicable cases of large exponents.
49703         [BZ #706]
49704         * sysdeps/i386/fpu/e_pow.S (p10): New object.
49705         (__ieee754_pow): Use iterative multiplication algorithm only for
49706         integer exponents with absolute value below 1024.  Check for odd
49707         integer exponents when using algorithm for real exponents.
49708         * math/libm-test.inc (pow_test): Add more tests.
49709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49711 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
49713         [BZ #13705]
49714         * math/libm-test.inc (exp_test): Do not allow overflow exception
49715         on underflow test.
49717 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
49719         [BZ #13705]
49720         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49721         instead of __kernel_standard_f.
49723 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
49725         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49726         * sysdeps/x86_64/memset_chk.S: Likewise.
49728 2012-04-08  Andreas Jaeger  <aj@suse.de>
49730         [BZ #10153]
49731         * manual/startup.texi (Environment Access): Describe return value
49732         for putenv and setenv.
49734         [BZ #6895]
49735         * manual/filesys.texi (Directory Entries): Add description for
49736         DT_LNK.
49738         [BZ #6890]
49739         * manual/filesys.texi (Directory Entries): Clarify that it's file
49740         system not operating system in the description of DT_UNKNOWN.
49742         [BZ #6578]
49743         * manual/syslog.texi (closelog): Fix reference, it's openlog.
49745 2012-04-08  Stephen Compall  <s11@member.fsf.org>
49747         [BZ #6649]
49748         * manual/llio.texi (Opening and Closing Files): Add cross
49749         reference to explain mode argument.
49751 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
49753         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49754         * sysdeps/x86_64/memset_chk.S: Likewise.
49756 2012-04-07  David S. Miller  <davem@davemloft.net>
49758         * elf/elf.h (R_SPARC_WDISP10): Define.
49759         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49760         R_SPARC_SIZE32.
49761         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49762         R_SPARC_SIZE64 and R_SPARC_H34.
49764 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
49766         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49767         conditions and remove no longer applicable assertion.
49769 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49771         * bits/byteswap.h: Include <features.h>.
49772         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49773         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49775 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49777         * bits/byteswap.h (__bswap_16): Removed.
49778         Include <bits/byteswap-16.h> to get __bswap_16.
49779         * sysdeps/i386/bits/byteswap.h: Likewise.
49780         * sysdeps/s390/bits/byteswap.h: Likewise.
49781         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49782         * bits/byteswap-16.h: New file.
49783         * sysdeps/i386/bits/byteswap-16.h: Likewise.
49784         * sysdeps/s390/bits/byteswap-16.h: Likewise.
49785         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49786         * string/Makefile (headers): Add bits/byteswap-16.h.
49788 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49790         [BZ #13895]
49791         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49792         extra indirection.
49793         * nss/Makefile (tests-static, tests): Add tst-nss-static.
49794         * nss/tst-nss-static.c: New.
49796 2012-04-06  Robert Millan  <rmh@gnu.org>
49798         [BZ #6486]
49799         * manual/llio.texi (File Position Primitive): lseek
49800         refers to WHENCE when it really means OFFSET.
49802 2012-04-06  Andreas Jaeger  <aj@suse.de>
49804         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49805         strncmp declarations.
49807         * abilist/libc.abilist: Add __poll and __ppoll.
49809 2012-04-05  David S. Miller  <davem@davemloft.net>
49811         * scripts/check-local-headers.sh: Accept a host triplet in the
49812         path matched by the exclude regexp.
49814         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49815         definition.
49816         * sysdeps/powerpc/powerpc32/dl-machine.h
49817         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49818         * sysdeps/s390/s390-32/dl-machine.h
49819         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49820         * sysdeps/sparc/sparc32/dl-machine.h
49821         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49822         * sysdeps/sparc/sparc64/dl-machine.h
49823         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49825         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49826         lazy binding.
49827         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49828         undefined symbol errors.
49830         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49831         DT_NEEDED entries.
49833 2012-04-05  Michael Matz  <matz@suse.de>
49835         [BZ #13592]
49836         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49838 2012-04-05  Andreas Jaeger  <aj@suse.de>
49840         [BZ #13908]
49841         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49842         comment.
49844 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49846         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49847         which ROUND is no valid rounding mode.
49849 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49851         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49852         read again.
49853         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49855 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49857         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49858         an exception using FPU order intentionally.
49860 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49862         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49863         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49864         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49865         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49867 2012-04-05  Simon Josefsson  <simon@josefsson.org>
49869         [BZ #12340]
49870         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49871         EINVAL when BUFLEN is too smal.
49873 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49875         [BZ #13553]
49876         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49877         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49879 2012-04-03  Andreas Jaeger  <aj@suse.de>
49881         [BZ #13938]
49882         * manual/setjmp.texi (System V contexts): Fix sentence.
49884         [BZ #13926]
49885         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49886         New macro for this case.
49887         [!__GNUC__] (__bswap_64): New inline function for this case.
49888         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49889         * bits/byteswap.h: Likewise.
49890         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49891         ull, guard with __GLIBC_HAVE_LONG_LONG.
49893         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49894         __GLIBC_HAVE_LONG_LONG.
49896         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49897         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49899 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49901         [BZ #13691]
49902         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49903         inptr and inend, rather than using last_ch.
49905 2012-04-02  David S. Miller  <davem@davemloft.net>
49907         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49908         * stdio-common/printf-parse.h (read_int): Change return type to
49909         'int', return -1 on INT_MAX overflow.
49910         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49911         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
49912         overflows INT_MAX.  Check for overflow of in-format-string precision
49913         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
49914         SIZE_MAX not INT_MAX for integer overflow test.
49915         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49916         skip the construct in the format string but do not record anything.
49917         * stdio-common/bug22.c: Adjust to test both width/prevision
49918         INT_MAX overflow as well as total length INT_MAX overflow.  Check
49919         explicitly for proper errno values.
49921 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49923         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49924         CHAR_MAX.
49925         * string/test-strcmp.c [! WIDE]: Likewise.
49926         * time/tst-mktime2.c: Likewise for INT_MAX.
49927         * string/test-string.h: #include <sys/param.h> for MIN.
49929         * csu/init-first.c (__libc_init_first): Call __ctype_init.
49930         * sysdeps/i386/init-first.c (init): Likewise.
49931         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49932         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49933         * sysdeps/sh/init-first.c (init): Likewise.
49935 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
49937         * po/ru.po: Update from translation team.
49938         * po/vi.po: Likewise.
49940 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49942         * resolv/nss_dns/dns-host.c: Merge copyright years.
49944 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49946         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49947         Optimize memcpy with prefetch if
49948         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
49949         src, dst pointers have unequal 16 byte alignments.
49951 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49953         [BZ #13928]
49954         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49955         from a CNAME entry and return the minimum ttl for the query.
49956         (gaih_getanswer_slice): Likewise.
49958 2012-03-30  Jeff Law  <law@redhat.com>
49960         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49961         due to long keys.
49962         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49963         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49965         * resolv/nss_dns/dns-host.c: Update copyright year.
49967 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
49969         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49970         requests to save a system call.  Fix check that all bytes are sent.
49972         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49973         comments for sendmmsg.
49975 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49977         [BZ #13691]
49978         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49979         with only 1 character between 0x0041 and 0x01b0.
49980         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49981         * wcsmbs/tst-mbsnrtowcs.c: New file.
49983 2012-03-29  David S. Miller  <davem@davemloft.net>
49985         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49986         small copies by hand.
49988 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49990         [BZ #13761]
49991         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49992         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49993         group memberships.
49995 2012-03-28  David S. Miller  <davem@davemloft.net>
49997         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49998         that branches into memcpy.
49999         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50000         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50001         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50002         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50003         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50004         bits.
50005         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50006         implementation too.
50007         * sysdeps/sparc/mempcpy.S: New file.
50009         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50010         the IFUNC routine in the libc case.
50011         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50013         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50014         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50015         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50016         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50017         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50018         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50019         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50020         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50022         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50023         loop to 256 bytes instead of 64 bytes and fix test signedness.
50025         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50026         * sysdeps/sparc/sparc32/Makefile: rather than here...
50027         * sysdeps/sparc/sparc64/Makefile: and here.
50029 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
50031         * malloc/mallocbug.c: Avoid warnings about unused variables.
50033 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50035         [BZ #13760]
50036         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50037         in the right place. Discard and retry query if response is
50038         larger than input buffer size.
50040 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
50042         [BZ #369]
50043         [BZ #2678]
50044         [BZ #3866]
50045         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50046         x for large integer exponent.
50047         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50048         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
50049         sign of result as needed afterwards.
50050         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50051         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50052         result for underflowing pow the same as for overflow.
50053         (__kernel_standard_l): Handle powl overflow and underflow here
50054         rather than calling __kernel_standard.
50055         * math/libm-test.inc (pow_test): Add more tests.
50057         [BZ #3868]
50058         [BZ #13879]
50059         [BZ #13910]
50060         [BZ #13911]
50061         [BZ #13912]
50062         [BZ #13913]
50063         [BZ #13915]
50064         [BZ #13916]
50065         [BZ #13917]
50066         [BZ #13918]
50067         [BZ #13919]
50068         [BZ #13920]
50069         [BZ #13921]
50070         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50071         * sysdeps/ieee754/k_standard.c: Include <float.h>.
50072         (__kernel_standard_l): New function.
50073         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50074         __kernel_standard.
50075         * math/w_acosl.c (__acosl): Likewise.
50076         * math/w_asinl.c (__asinl): Likewise.
50077         * math/w_atan2l.c (__atan2l): Likewise.
50078         * math/w_atanhl.c (__atanhl): Likewise.
50079         * math/w_coshl.c (__coshl): Likewise.
50080         * math/w_exp10l.c (__exp10l): Likewise.
50081         * math/w_exp2l.c (__exp2l): Likewise.
50082         * math/w_fmodl.c (__fmodl): Likewise.
50083         * math/w_hypotl.c (__hypotl): Likewise.
50084         * math/w_j0l.c (__j0l, __y0l): Likewise.
50085         * math/w_j1l.c (__j1l, __y1l): Likewise.
50086         * math/w_jnl.c (__jnl, __ynl): Likewise.
50087         * math/w_lgammal.c (__lgammal): Likewise.
50088         * math/w_log10l.c (__log10l): Likewise.
50089         * math/w_log2l.c (__log2l): Likewise.
50090         * math/w_logl.c (__logl): Likewise.
50091         * math/w_powl.c (__powl): Likewise.
50092         * math/w_remainderl.c (__remainderl): Likewise.
50093         * math/w_scalbl.c (sysv_scalbl): Likewise.
50094         * math/w_sinhl.c (__sinhl): Likewise.
50095         * math/w_sqrtl.c (__sqrtl): Likewise.
50096         * math/w_tgammal.c (__tgammal): Likewise.
50097         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50098         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50099         * math/libm-test.inc (acos_test): Add more tests.
50100         (acosh_test): Likewise.
50101         (asin_test): Likewise.
50102         (atanh_test): Likewise.
50103         (exp_test): Likewise.
50104         (exp10_test): Likewise.
50105         (exp2_test): Likewise.
50106         (expm1_test): Likewise.
50107         (lgamma_test): Likewise.
50108         (log_test): Likewise.
50109         (log10_test): Likewise.
50110         (log1p_test): Likewise.
50111         (log2_test): Likewise.
50112         (pow_test): Do not allow some spurious overflow exceptions.
50113         (sqrt_test): Add more tests.
50114         (tgamma_test): Likewise.
50115         (y0_test): Likewise.
50116         (y1_test): Likewise.
50117         (yn_test): Likewise.
50119 2012-03-27  Anton Blanchard  <anton@samba.org>
50121         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50122         MAP_HUGETLB.
50123         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50124         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50125         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50127 2012-03-27  David S. Miller  <davem@davemloft.net>
50129         * conform/Makefile: Run run-conformtest.sh using $(BASH).
50131         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50132         have-as-vis3 check.
50134 2012-03-27  Andreas Jaeger  <aj@suse.de>
50136         * sysdeps/x86_64/elf/configure.in: Moved to ...
50137         * sysdeps/x86_64/configure.in: ... here.
50138         * sysdeps/x86_64/elf/start.S: Moved to ...
50139         * sysdeps/x86_64/start.S: ... here.
50140         * sysdeps/x86_64/elf/configure: Delete.
50142         * sysdeps/x86_64/configure.in: Merge contents from
50143         sysdeps/i386/configure.in (without i686 check).
50145         * sysdeps/i386/elf/Versions: Merge into ...
50146         * sysdeps/i386/Versions: ... this.
50147         * sysdeps/i386/elf/Versions: Delete file.
50148         * sysdeps/i386/elf/start.S: Moved to ...
50149         * sysdeps/i386/start.S: ...here.
50150         * sysdeps/i386/elf/configure.in: Merge into...
50151         * sysdeps/i386/configure.in: ...here.
50152         * sysdeps/i386/elf/configure.in: Delete file.
50153         * sysdeps/i386/elf/configure: Delete file.
50155         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50156         * debug/backtracesyms.c: ... here.
50157         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50158         * debug/backtracesymsfd.c: ... here.
50159         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50160         * sysdeps/generic/ifunc-sel.h: ... here.
50162         * sysdeps/unix/i386/start.c: Delete file.
50163         * sysdeps/unix/sparc/start.c: Delete file.
50164         * sysdeps/unix/start.c: Delete file.
50166         * sysdeps/sh/elf/configure.in: Moved to ...
50167         * sysdeps/sh/configure.in: ... here.
50168         * sysdeps/sh/elf/start.S: Moved to ...
50169         * sysdeps/sh/start.S: ... here.
50170         * sysdeps/sh/elf/configure: Delete file.
50172         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50173         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50174         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50175         * sysdeps/powerpc/powerpc64/entry.h: ... here.
50176         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50177         * sysdeps/powerpc/powerpc64/start.S: here.
50178         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50179         * sysdeps/powerpc/powerpc64/Makefile: ... this.
50180         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50181         * sysdeps/powerpc/powerpc64/configure.in: ... this.
50182         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50184         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50185         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50186         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50187         * sysdeps/powerpc/powerpc32/start.S: ... here.
50188         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50189         * sysdeps/powerpc/powerpc32/configure.in: ... this.
50190         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50192         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50193         * sysdeps/powerpc/ifunc-sel.h: ... here.
50194         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50195         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50197         * sysdeps/sparc/elf/configure.in: Moved to ...
50198         * sysdeps/sparc/configure.in: ... here.
50199         * sysdeps/sparc/elf/configure: Delete file.
50200         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50201         * sysdeps/sparc/sparc32/start.S: ... here.
50202         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50203         * sysdeps/sparc/sparc64/start.S: ... here.
50204         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50205         * sysdeps/sparc/sparc32/Makefile: ... this.
50206         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50207         * sysdeps/sparc/sparc64/Makefile: ... this.
50209         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50210         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50211         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50212         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50213         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50214         * sysdeps/s390/s390-32/setjmp.S: ... here.
50215         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50216         * sysdeps/s390/s390-32/configure.in: ... here.
50217         * sysdeps/s390/s390-32/elf/configure: Delete file.
50218         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50219         * sysdeps/s390/s390-32/start.S: ... here.
50221         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50222         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50223         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50224         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50225         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50226         * sysdeps/s390/s390-64/setjmp.S: ... here.
50227         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50228         * sysdeps/s390/s390-64/configure.in: ... here
50229         * sysdeps/s390/s390-64/elf/configure: Delete file.
50230         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50231         * sysdeps/s390/s390-64/start.S: ... here.
50232         * sysdeps/s390/s390-64/elf/configure: Delete.
50234         * configure.in: Remove support for elf directories in sysdeps.
50236         * configure: Regenerated.
50237         * sysdeps/i386/configure: Regenerated.
50238         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50239         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50240         * sysdeps/s390/s390-32/configure: Regenerated.
50241         * sysdeps/s390/s390-64/configure: Regenerated.
50242         * sysdeps/sh/configure: Regenerated.
50243         * sysdeps/sparc/configure: Regenerated.
50244         * sysdeps/x86_64/configure: Regenerated.
50246 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
50248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50250         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50251         denormal result into account.
50253 2012-03-25  Roland McGrath  <roland@hack.frob.com>
50255         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50256         Reported by Allan McRae <allan@archlinux.org>.
50258 2012-03-23  Jeff Law  <law@redhat.com>
50260         * nss/getnssent.c (__nss_getent): Fix typo.
50262 2012-03-23  David S. Miller  <davem@davemloft.net>
50264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50266 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
50268         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50269         to pad to uint64_t for each field.
50270         (dl_tls_index): Replace unsigned long with uint64_t.
50272 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
50273         Paul Pluzhnikov  <ppluzhnikov@google.com>
50275         [BZ #6528]
50276         * grp/Makefile (otherlibs): Don't set it.
50277         * inet/Makefile (otherlibs): Likewise.
50278         * login/Makefile (otherlibs): Likewise.
50279         * nscd/Makefile (otherlibs): Likewise.
50280         * posix/Makefile (otherlibs): Likewise.
50281         * pwd/Makefile (otherlibs): Likewise.
50282         * rt/Makefile (otherlibs): Likewise.
50283         * sunrpc/Makefile (otherlibs): Likewise.
50284         * nss/Makefile (otherlibs): Likewise.
50285         Add libnss_files to routines and static-only-routines.
50286         ($(objpfx)getent): Remove rule.
50287         * resolv/Makefile: Add libnss_dns and libresolv to routines and
50288         static-only-routines.
50290 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50292         [BZ #13892]
50293         * math/s_cexp.c: Include <float.h>.
50294         (__cexp): Handle exp result overflowing not necessarily
50295         overflowing both real and imaginary parts of result.
50296         * math/s_cexpf.c: Likewise.
50297         * math/s_cexpl.c: Likewise.
50298         * math/libm-test.inc (cexp_test): Add more tests.
50299         * sysdeps/i386/fpu/libm-test-ulps: Update.
50300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50302 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50304         * include/link.h (ELFW): New macro.
50305         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50306         Replace ELF64_R_TYPE with ELFW(R_TYPE).
50308 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50310         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50311         with uint64_t.
50313 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50315         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50316         declaration.
50317         (struct La_x32_retval): Likewise.
50319 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50321         * sysdeps/x86_64/preconfigure.in: New file.
50322         * sysdeps/x86_64/preconfigure: New generated file.
50324 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50326         [BZ #13824]
50327         * math/e_exp2l.c: Include <float.h>.
50328         (__ieee754_exp2l): Handle overflow and underflow cases
50329         separately.  Only pass fractional part of argument to
50330         __ieee754_expl.
50331         * math/libm-test.inc (exp2_test): Add more tests.
50333         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50334         negating x to take absolute value.
50335         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50336         Likewise.
50337         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50338         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50339         Likewise.
50340         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50341         computing low part if x was negated.
50342         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50344 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50346         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50347         la_x32_gnu_pltexit.
50348         (pltexit): Cast int_retval to ptrdiff_t.
50349         * elf/tst-auditmod3b.c: Likewise.
50350         * elf/tst-auditmod4b.c: Likewise.
50351         * elf/tst-auditmod5b.c: Likewise.
50352         * elf/tst-auditmod6b.c: Likewise.
50353         * elf/tst-auditmod6c.c: Likewise.
50354         * elf/tst-auditmod7b.c: Likewise.
50356         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50357         and x32_gnu_pltexit.
50359         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50360         __ELF_NATIVE_CLASS.
50361         (La_x32_regs): New macro.
50362         (La_x32_retval): Likewise.
50363         (la_x32_gnu_pltenter): New function prototype.
50364         (la_x32_gnu_pltexit): Likewise.
50366 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
50368         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50369         exponent.
50371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50373         * configure.in (libc_cv_cc_nofma): Check for option to disable
50374         generation of FMA instructions.
50375         * configure: Regenerate.
50376         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50377         * sysdeps/ieee754/dbl-64/Makefile: New file.
50378         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50379         Remove brandred-fma4.
50380         (CFLAGS-brandred-fma4.c): Remove.
50381         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50382         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50383         define.
50384         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50385         define.
50387 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50389         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50390         LLONG_MAX != LONG_MAX.
50391         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50392         (_fitoa_word): Likewise.
50393         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50394         LLONG_MAX != LONG_MAX.
50395         * stdio-common/_itowa.h: Include <_itoa.h>.
50396         (_itowa_word): Use _ITOA_WORD_TYPE on value.
50397         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
50398         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
50399         only if not defined.
50400         (_ITOA_WORD_TYPE): Likewise.
50401         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50402         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50404 2012-03-21  David S. Miller  <davem@davemloft.net>
50406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50408 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50410         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50411         of x86_64 when setting libc_cv_slibdir, libdir and
50412         libc_cv_localedir.
50413         * sysdeps/unix/sysv/linux/configure: Regenerated.
50415 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50417         * manual/lang.texi (Old Varargs): Remove section.
50418         (How Variadic): Update menu.
50419         (va_start): Do not mention varargs.h.
50421 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50422             Joseph Myers  <joseph@codesourcery.com>
50424         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50425         link test.
50426         * configure: Regenerated.
50428 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50430         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50431         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50432         conformtest.pl
50434 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50436         * NOTES: Remove.
50437         * Makefile (files-for-dist): Remove NOTES.
50438         (NOTES): Remove rule.
50439         * README: Don't refer to NOTES.
50440         * manual/creature.texi: Don't include macros.texi.
50441         * manual/intro.texi (creature.texi): Remove comment referring to
50442         NOTES.
50444         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50445         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50446         * configure: Regenerated.
50447         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50448         LIBC_TRY_CC_OPTION.
50449         (libc_cv_as_i686): Likewise.
50450         (libc_cv_cc_avx): Likewise.
50451         (libc_cv_cc_sse2avx): Likewise.
50452         (libc_cv_cc_fma4): Likewise.
50453         (libc_cv_cc_novzeroupper): Likewise.
50454         * sysdeps/i386/configure: Regenerated.
50456         [BZ #13883]
50457         * sysdeps/i386/fpu/s_cexp.S: Remove.
50458         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50459         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50460         * math/libm-test.inc (cexp_test): Add more tests.
50461         * sysdeps/i386/fpu/libm-test-ulps: Update.
50462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50464 2012-03-21  Allan McRae  <allan@archlinux.org>
50466         * timezone/Makefile: Do not install iso3166.tab and zone.tab
50468 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50470         [BZ #13871]
50471         * math/w_exp2.c: Do not include <float.h>.
50472         (o_threshold, u_threshold): Remove.
50473         (__exp2): Calculate result before checking finiteness and calling
50474         __kernel_standard.
50475         * math/w_exp2f.c: Likewise.
50476         * math/w_exp2l.c: Likewise.
50477         * math/libm-test.inc (exp2_test): Require overflow exception for
50478         1e6 input.
50480         [BZ #3866]
50481         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50482         range of signed 64-bit integers before using fistpll.  Remove
50483         checks for whether integers fit in mantissa bits.
50484         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50485         the range of signed 32-bit integers before using fistpl.  Remove
50486         checks for whether integers fit in mantissa bits.
50487         * sysdeps/i386/fpu/e_powl.S (p64): New object.
50488         (__ieee754_powl): Test for y outside the range of signed 64-bit
50489         integers before using fistpll.  Reduce 64-bit values to 63-bit
50490         ones as needed.
50491         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50492         divide-by-zero is raised for zero to large negative powers.
50493         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50494         (__ieee754_powl): Test for y outside the range of signed 64-bit
50495         integers before using fistpll.  Reduce 64-bit values to 63-bit
50496         ones as needed.
50497         * math/libm-test.inc (pow_test): Add more tests.
50499 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50501         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50502         <stdio-common/_itoa.h>.
50503         * debug/segfault.c: Likewise.
50504         * elf/dl-cache.c: Likewise.
50505         * elf/dl-minimal.c: Likewise.
50506         * elf/dl-misc.c: Likewise.
50507         * elf/dl-sysdep.c: Likewise.
50508         * elf/dl-version.c: Likewise.
50509         * elf/rtld.c: Likewise.
50510         * hurd/hurdsock.c: Likewise.
50511         * hurd/lookup-retry.c: Likewise.
50512         * malloc/malloc.c: Likewise.
50513         * malloc/mtrace.c: Likewise.
50514         * nscd/nscd_getgr_r.c: Likewise.
50515         * nscd/nscd_getpw_r.c: Likewise.
50516         * nscd/nscd_getserv_r.c: Likewise.
50517         * posix/getopt_init.c: Likewise.
50518         * posix/wordexp.c: Likewise.
50519         * stdio-common/_itoa.c: Likewise.
50520         * stdio-common/printf_fphex.c: Likewise.
50521         * stdio-common/vfprintf.c: Likewise.
50522         * string/_strerror.c: Likewise.
50523         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50524         * sysdeps/i386/i686/hp-timing.h: Likewise.
50525         * sysdeps/mach/_strerror.c: Likewise.
50526         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50527         * sysdeps/mach/hurd/sethostid.c: Likewise.
50528         * sysdeps/mach/hurd/xmknodat.c: Likewise.
50529         * sysdeps/mach/xpg-strerror.c: Likewise.
50530         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50531         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50532         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50533         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50534         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50535         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50536         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50537         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50538         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50539         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50540         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50541         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50542         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50543         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50544         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50545         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50546         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50547         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50548         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50549         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50550         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50552         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50554         * stdio-common/_itoa.h: Moved to ...
50555         * sysdeps/generic/_itoa.h: Here.
50557         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50559         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50560         instead of "_itoa.h" and "_itowa.h".
50561         * stdio-common/vfprintf.: Likewise.
50563 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50565         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50566         <bits/wordsize.h>.
50567         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50568         (__signbit): Likwise.
50569         (llrintf): Likwise.
50570         (llrint): Likwise.
50572 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50574         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50575         __WORDSIZE != 64.
50577 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
50579         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50580         OVERFLOW_EXCEPTION_OK.
50581         * math/libm-test.inc ("Philosophy"): Update comment about
50582         exception testing.
50583         (OVERFLOW_EXCEPTION): Define.
50584         (OVERFLOW_EXCEPTION_OK): Likewise.
50585         (INVALID_EXCEPTION_OK): Renumber.
50586         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50587         (IGNORE_ZERO_INF_SIGN): Likewise.
50588         (test_exceptions): Handle FE_OVERFLOW.
50589         (exp10_test): Expect overflow exceptions.
50590         (exp2_test): Likewise.
50591         (expm1_test): Likewise.
50592         (nextafter_test): Likewise.
50593         (pow_test): Likewise.
50594         (scalbn_test): Likewise.
50595         (scalbln_test): Likewise.
50597 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50599         * sysdeps/x86_64/bits/atomic.h
50600         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50601         64bit integer.
50602         (atomic_exchange_acq): Likewise.
50603         (__arch_exchange_and_add_body): Likewise.
50604         (__arch_add_body): Likewise.
50605         (atomic_add_negative): Likewise.
50606         (atomic_add_zero): Likewise.
50608 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50610         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50611         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50613 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50615         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50616         Check __x86_64__ instead of __WORDSIZE.
50618 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50620         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50622 2012-03-19  David S. Miller  <davem@davemloft.net>
50624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50626         * sysdeps/sparc/fpu/fenv_private.h: New file.
50627         * sysdeps/sparc/fpu/math_private.h: Use it.
50628         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50629         Remove.
50630         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50631         (libc_feholdexcept_setroundl): Remove.
50632         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50633         Remove.
50634         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50635         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50637 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50639         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50640         int64_t instead of long int.
50641         (INSERT_WORDS64): Likwise.
50643 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50645         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50646         _Unwind_GetCFA return to _Unwind_Ptr first.
50648 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
50650         [BZ #13629]
50651         * math/s_clog.c: Include <float.h>.
50652         (__clog): Scale large or subnormal inputs.
50653         * math/s_clogf.c: Likewise.
50654         * math/s_clogl.c: Likewise.
50655         * math/s_clog10.c: Include <float.h>.
50656         (M_LOG10_2): Define.
50657         (__clog10): Scale large or subnormal inputs.
50658         * math/s_clog10f.c: Likewise.
50659         * math/s_clog10l.c: Likewise.
50660         * math/libm-test.inc (clog_test): Add more tests.
50661         (clog10_test): Likewise.
50662         * sysdeps/i386/fpu/libm-test-ulps: Update.
50663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50665         [BZ #11451]
50666         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50667         x and y.
50668         * math/libm-test.inc (atan2_test): Add another test.
50670         * Makerules (common-objdir-compile): Remove.
50671         * sysdeps/unix/Makefile (config-generated): Do not add
50672         $(unix-generated) to variable.
50673         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50674         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50675         Remove rule.
50676         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50677         Likewise.
50678         [generic bits/local_lim.h] (before-compile): Do not append to
50679         variable.
50680         [generic bits/local_lim.h] (common-generated): Likewise.
50681         [generic sys/param.h] (before-compile): Do not append to variable.
50682         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50683         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50684         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50685         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50686         include.
50687         [generic sys/param.h] (sys/param.h-includes): Remove variable.
50688         [generic sys/param.h] (sys/param.h-includes): Remove rule.
50689         [generic sys/param.h] ($(addprefix
50690         $(common-objpfx),$(sys/param.h-includes))): Likewise.
50691         [generic sys/param.h] (common-generated): Do not append to
50692         variable.
50693         [generic sys/param.h] (sysdep_headers): Likewise.
50694         [generic bits/errno.h] (before-compile): Do not append to
50695         variable.
50696         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50697         rule.
50698         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50699         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50700         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50701         [generic bits/errno.h] (common-generated): Do not append to
50702         variable.
50703         [generic bits/ioctls.h] (before-compile): Do not append to
50704         variable.
50705         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50706         rule.
50707         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50708         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50709         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50710         rule.
50711         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50712         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50713         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50714         [generic bits/ioctls.h] (common-generated): Do not append to
50715         variable.
50716         [generic sys/syscall.h] (syscall.h): Remove variable.
50717         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50718         rule.
50719         [generic sys/syscall.h] (before-compile): Do not append to
50720         variable.
50721         [generic sys/syscall.h] (common-generated): Likewise.
50722         * sysdeps/unix/errnos-tmpl.c: Remove file.
50723         * sysdeps/unix/errnos.awk: Likewise.
50724         * sysdeps/unix/ioctls-tmpl.c: Likewise.
50725         * sysdeps/unix/ioctls.awk: Likewise.
50726         * sysdeps/unix/mk-local_lim.c: Likewise.
50727         * sysdeps/unix/snarf-ioctls: Likewise.
50729 2012-03-19  Richard Henderson  <rth@twiddle.net>
50731         * sysdeps/i386/fpu/fenv_private.h: New file.
50732         * sysdeps/i386/fpu/math_private.h: Use it.
50733         (math_opt_barrier, math_force_eval): Remove.
50734         (libc_feholdexcept_setround_53bit): Remove.
50735         (libc_feupdateenv_53bit): Remove.
50736         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50737         (math_opt_barrier, math_force_eval): Remove.
50738         (libc_feholdexcept): Remove.
50739         (libc_feholdexcept_setround): Remove.
50740         (libc_fetestexcept, libc_fesetenv): Remove.
50741         (libc_feupdateenv_test): Remove.
50742         (libc_feupdateenv, libc_feholdsetround): Remove.
50743         (libc_feresetround): Remove.
50745         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50746         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50748         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50749         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50750         (libc_feupdateenv_testl): New.
50751         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50752         (libc_feupdateenv_testf): New.
50753         (libc_feupdateenv): Use libc_feupdateenv_test.
50754         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50755         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50757         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50758         (libc_feholdsetroundf, libc_feholdsetroundl): New.
50759         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50760         (libc_feresetround_noex): New.
50761         (libc_feresetround_noexf): New.
50762         (libc_feresetround_noexl): New.
50763         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50764         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50765         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50766         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50767         SET_RESTORE_ROUND.
50768         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50769         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50770         (__cos): Likewise.
50771         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50772         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50773         SET_RESTORE_ROUND_NOEX.
50774         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50775         SET_RESTORE_ROUND_NOEXF.
50776         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50777         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50778         (libc_feholdsetroundf): New.
50779         (libc_feresetround, libc_feresetroundf): New.
50781         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50782         (libc_feholdexcept_setround_53bit): Convert from macro to function.
50783         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
50785         * sysdeps/generic/math_private.h: Include <fenv.h>.
50786         (default_libc_feholdexcept): New.
50787         (default_libc_feholdexcept_setround): New.
50788         (default_libc_fesetenv, default_libc_feupdateenv): New.
50789         (libc_feholdexcept): Only define if undefined.
50790         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50791         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50792         (libc_feholdexcept_setroundl): Likewise.
50793         (libc_feholdexcept_setround_53bit): Likewise.
50794         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50795         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50796         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50797         (libc_feupdateenv_53bit): Likewise.
50798         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50799         (libc_feholdexcept): Convert from macro to inline function.
50800         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50801         (libc_fesetenv, libc_feupdateenv): Likewise.
50803         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50804         not previously defined.
50805         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50806         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50807         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50808         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50809         * sysdeps/ieee754/flt-32/math_private.h: New file.
50810         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50811         math_private.h below SET_FLOAT_WORD.
50812         (__isnan, __isinf_ns, __finite): Remove.
50813         (__isnanf, __isinf_nsf, __finitef): Remove.
50815 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
50817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50819 2012-03-17  David S. Miller  <davem@davemloft.net>
50821         [BZ #6471]
50822         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50823         for 2.16.
50825 2012-03-16  David S. Miller  <davem@davemloft.net>
50827         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50828         warnings.
50830         [BZ #6471]
50831         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50832         properly.
50833         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50834         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50835         sysdep_routines when subdir is sysvipc.
50836         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50837         __getshmlba helper.
50839         * sysdeps/sparc/fpu/libm-test/ulps: Update.
50841 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50843         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50844         [__LP64__].
50846 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50848         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50849         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50850         (__lround): Renamed to ...
50851         (__llround): This.  Replace long int with long long int.
50852         Define lround functions as aliases of llround functions.
50853         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50855 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50857         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50858         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
50859         adresses to uintptr_t.  Replace "long int" and "unsigned long
50860         int" with "greg_t" on va_arg.
50862 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50864         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50865         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50867         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50868         Move e_machine check before EI_CLASS check.  Handle x32
50869         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50870         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50871         SKIP_EM_IA_64 and include
50872         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50874         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50875         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50876         (add_system_dir): New macro.
50878         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50879         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50881 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50883         [BZ #2551]
50884         [BZ #2552]
50885         [BZ #2553]
50886         [BZ #2554]
50887         [BZ #2562]
50888         [BZ #2563]
50889         [BZ #2565]
50890         [BZ #2566]
50891         [BZ #2576]
50892         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50893         (y0): Likewise.
50894         * math/w_j0f.c (j0f): Likewise.
50895         (y0f): Likewise.
50896         * math/w_j0l.c (__j0l): Likewise.
50897         (__y0l): Likewise.
50898         * math/w_j1.c (j1): Likewise.
50899         (y1): Likewise.
50900         * math/w_j1f.c (j1f): Likewise.
50901         (y1f): Likewise.
50902         * math/w_j1l.c (__j1l): Likewise.
50903         (__y1l): Likewise.
50904         * math/w_jn.c (jn): Likewise.
50905         (yn): Likewise.
50906         * math/w_jnf.c (jnf): Likewise.
50907         (ynf): Likewise.
50908         * math/w_jnl.c (__jnl): Likewise.
50909         (__ynl): Likewise.
50910         * math/libm-test.inc (j0_test): Add more tests.
50911         (j1_test): Likewise.
50912         (jn_test): Likewise.  Add trailing semicolon to existing test.
50913         (y0_test): Likewise.
50914         (y1_test): Likewise.
50915         * sysdeps/i386/fpu/libm-test-ulps: Update.
50916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50918         [BZ #13851]
50919         [BZ #13854]
50920         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50921         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50922         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50923         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50924         (__tanl): Set errno for infinite argument.
50925         * sysdeps/i386/fpu/mptan.c: Remove.
50926         * sysdeps/i386/fpu/s_tan.S: Likewise.
50927         * sysdeps/i386/fpu/s_tanl.S: Likewise.
50928         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50929         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50930         * math/libm-test.inc (tan_test): Add more tests and enable more
50931         tests for double and long double.
50932         * sysdeps/i386/fpu/libm-test-ulps: Update.
50933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50935 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
50937         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50938         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50940 2012-03-16  Roland McGrath  <roland@hack.frob.com>
50942         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50943         * configure.in: Use it for both main tree and add-ons.
50944         * configure: Regenerated.
50946 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50948         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50950 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50952         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50953         in comment.
50955         [BZ #13851]
50956         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50957         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50958         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50959         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50960         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50961         infinite argument.
50962         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50963         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50964         != 0 for prec == 2.
50965         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50966         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50967         * sysdeps/i386/fpu/s_cosl.S: Likewise.
50968         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50969         * sysdeps/i386/fpu/s_sinl.S: Likewise.
50970         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50971         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50972         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50973         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50974         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50975         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50976         * math/libm-test.inc (cos_test): Add more tests and enable more
50977         tests for long double.
50978         (sin_test): Likewise.
50979         (sincos_test): Likewise.
50980         * sysdeps/i386/fpu/libm-test-ulps: Update.
50981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50983 2012-03-16  David S. Miller  <davem@davemloft.net>
50985         * sysdeps/sparc/fpu/math_private.h: New file.
50987 2012-03-15  David S. Miller  <davem@davemloft.net>
50989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50990         file.
50991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50993         file.
50994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50996         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50997         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50998         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50999         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51000         sysdep routines.
51001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51003         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51004         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51006         * sysdeps/sparc/sparc-ifunc.h: New file.
51007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51008         sparc-ifunc.h
51009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51011         Likewise.
51012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51013         Likewise.
51014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51018         Likewise.
51019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51024         Likewise.
51025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51026         Likewise.
51027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51031         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51032         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51033         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51034         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51037         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51038         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51039         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51040         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51041         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51042         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51043         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51044         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51045         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51046         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51047         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51048         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51049         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51050         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51052 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51054         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51055         scaling.
51056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51058 2012-03-15  Andreas Jaeger  <aj@suse.de>
51060         [BZ #13852]
51061         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51062         ieee754/flt-32 implementation for sin, cos and sincos.
51063         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51064         * sysdeps/i386/fpu/s_cosf.S: Likewise.
51065         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51066         * sysdeps/i386/fpu/s_sinf.S: Likewise.
51067         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51068         ieee754/flt-32 implementation for tan.
51070         * math/libm-test.inc (cos_test): Enable some large input tests for
51071         float as well
51072         (sin_test): Likewise.
51073         (sincos_test): Likewise.
51074         (tan_test): Add tests for large input.
51076         * sysdeps/i386/fpu/libm-test-ulps: Update.
51078 2012-03-15  Andreas Jaeger  <aj@suse.de>
51080         [BZ #13658]
51081         * math/libm-test.inc (cos_test): Add more test cases.
51082         (sin_test): Likewise.
51083         (sincos_test): Likewise.
51085 2012-03-15  Andreas Jaeger  <aj@suse.de>
51087         [BZ #13837]
51088         * math/libm-test.inc (cos_test): Add a test case for large input
51089         value.
51090         (sin_test): Likewise.
51091         (sincos_test): Likewise.
51093 2012-03-15  Andreas Jaeger  <aj@suse.de>
51094             Joseph Myers  <joseph@codesourcery.com>
51096         [BZ #13658]
51097         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51098         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51099         * sysdeps/i386/fpu/branred.c: Likewise.
51100         * sysdeps/i386/fpu/dosincos.c: Likewise.
51101         * sysdeps/i386/fpu/mpa.c: Likewise.
51102         * sysdeps/i386/fpu/s_cos.S: Likewise.
51103         * sysdeps/i386/fpu/s_sin.S: Likewise.
51104         * sysdeps/i386/fpu/s_sincos.S: Likewise.
51105         * sysdeps/i386/fpu/sincos32.c: Likewise.
51107         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51108         Define.
51109         (libc_feupdateenv_53bit): Define.
51110         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51111         Define.
51112         (libc_feupdateenv_53bit): Define.
51114         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51115         53 bit (without extend i386 double precision).
51117         * math/libm-test.inc (sincos_test): Add tests for large input.
51118         (sin): Likewise.
51119         (cos): Likewise.
51121         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51123 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51127 2012-03-15  David S. Miller  <davem@davemloft.net>
51129         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51130         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51131         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51132         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51137         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51138         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51139         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51145         file.
51146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51148         file.
51149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51151         file.
51152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51154         file.
51155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51156         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51157         fmin/fmax sysdep routines.
51158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51160 2012-03-14  David S. Miller  <davem@davemloft.net>
51162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51165         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51166         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51167         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51168         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51169         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51170         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51173         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51174         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51175         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51176         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51177         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51178         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51179         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51180         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51181         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51182         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51183         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51184         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51185         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51186         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51187         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51188         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51189         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51190         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51191         routines.
51192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51193         file.
51194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51196         file.
51197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51199         file.
51200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51202         file.
51203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51205         file.
51206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51208         file.
51209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51210         file.
51211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51212         file.
51213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51214         file.
51215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51216         New file.
51217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51218         file.
51219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51220         file.
51221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51223         file.
51224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51226         file.
51227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51229         file.
51230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51232         VIS3 routines.
51234         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51235         New file.
51237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51239         * sysdeps/sparc/configure.in: New file.
51240         * sysdeps/sparc/configure: Generate.
51241         * configure.in (libc_cv_sparc_as_vis3): Substitute.
51242         * configure: Regenerate.
51243         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51244         * config.make.in (have-as-vis3): New.
51245         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51246         available use -Av9d instead of -Av9a.
51247         * sysdeps/sparc/sparc64/Makefile: Likewise.
51248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51250         New file.
51251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51252         file.
51253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51254         New file.
51255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51256         file.
51257         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51258         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51259         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51260         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51261         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51263         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51264         fzeros/fnegs to load 0x80000000 into a float register instead of
51265         using the stack.
51266         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51268 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51270         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51271         bits/syscall.h.
51272         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51273         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51274         ($(inst_includedir)/bits/syscall.h): Remove rule.
51275         ($(objpfx)bits/syscall.d): Include instead of
51276         $(objpfx)syscall-list.d.
51277         (generated): Change syscall-list.h and syscall-list.d to
51278         bits/syscall.h and bits/syscall.d.
51280 2012-03-14  Roland McGrath  <roland@hack.frob.com>
51282         [BZ #13846]
51283         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51285 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51287         [BZ #13841]
51288         * math/s_csqrt.c: Include <float.h>.
51289         (__csqrt): Scale large or subnormal inputs.
51290         * math/s_csqrtf.c: Likewise.
51291         * math/s_csqrtl.c: Likewise.
51292         * math/libm-test.inc (csqrt_test): Add more tests.
51293         * sysdeps/i386/fpu/libm-test-ulps: Update.
51294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51296         [BZ #13840]
51297         * math/libm-test.inc (hypot_test): Add more tests.
51299 2012-03-13  David S. Miller  <davem@davemloft.net>
51301         [BZ #13840]
51302         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51303         double-precision for the calculation instead of scaling.
51305 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
51307         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51308         manipulate bits before adding and subtracting TWO52[sx].
51309         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51310         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51311         Likewise.
51312         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51314 2012-03-13  David S. Miller  <davem@davemloft.net>
51316         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51317         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51318         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51319         rtld-global-offsets.h
51320         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51322         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51323         large parameters.
51325         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51327         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51328         'err' in the ifdef scope in which it is actually used.
51330         * nss/nss_db/db-init.c: Include string.h
51332 2012-03-12  David S. Miller  <davem@davemloft.net>
51334         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51335         masking out of the most significant byte of random value used.
51336         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51337         Fix coding style in previous change.
51339         * sysdeps/unix/sysv/linux/kernel-features.h
51340         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51341         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51342         expression.
51343         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51344         later.
51346 2012-03-11  David S. Miller  <davem@davemloft.net>
51348         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51349         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51350         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51351         for 'resultvar' otherwise things get truncated on 64-bit.
51353         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51354         Fix masking out of the most significant byte of random value used.
51356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51358 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
51360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51362 2012-03-09  David S. Miller  <davem@davemloft.net>
51364         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51365         variables with appropriate CPP guards.
51366         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51367         from the frame pointer, not the stack pointer.  Correct layout
51368         comments.  Fix test on resulting framesize and the management of
51369         the outregs buffer for pltexit.  Preserve floating point return
51370         values across _dl_call_pltexit call.
51371         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51372         framesize and the management of the outregs buffer for pltexit.
51373         Preserve floating point return values across _dl_call_pltexit
51374         call.
51375         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51376         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51377         (la_sparc64_gnu_pltexit): New functions.
51378         (print_exit): Fix format string for return register value.
51380 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
51382         * sunrpc/Makefile (others): Add rpcgen.
51383         ($(objpfx)rpcgen): Remove special build rule and dependency on
51384         libc.
51385         * sunrpc/rpcgen.c: New file.
51387 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
51389         [BZ #13673]
51390         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51391         * stdio-common/bug-vfprintf-nargs.c: Likewise.
51392         * sysdeps/i386/crti.S: Likewise.
51393         * sysdeps/i386/crtn.S: Likewise.
51394         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51395         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51396         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51397         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51398         * sysdeps/sh/crti.S: Likewise.
51399         * sysdeps/sh/crtn.S: Likewise.
51400         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51402         [BZ #13673]
51403         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51404         with URL.
51405         * locale/programs/locfile-kw.gperf: Likewise.
51406         * locale/programs/charmap-kw.h: Regenerated.
51407         * locale/programs/locfile-kw.h: Likewise.
51409         [BZ #13673]
51410         * intl/plural.y: Replace FSF snail mail address with URL.
51411         * intl/plural.c: Regenerated.
51413 2012-03-09  Richard Henderson  <rth@twiddle.net>
51415         * include/math_private.h: Remove file.
51416         * math/math_private.h: Move file ...
51417         * sysdeps/generic/math_private.h: ... here.
51419         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51420         * sysdeps/powerpc/fpu/math_private.h: Likewise.
51421         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51423         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51424         and <math_private.h>.
51425         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51426         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51427         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51428         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51429         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51430         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51431         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51432         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51433         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51434         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51435         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51436         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51437         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51438         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51439         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51440         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51441         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51442         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51443         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51444         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51445         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51446         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51447         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51448         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51449         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51450         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51451         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51452         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51453         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51454         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51455         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51456         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51457         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51458         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51459         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51460         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51461         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51462         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51463         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51464         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51465         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51466         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51467         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51468         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51469         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51470         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51471         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51472         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51473         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51474         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51475         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51476         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51477         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51478         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51479         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51480         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51481         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51482         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51483         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51484         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51485         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51486         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51487         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51488         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51489         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51490         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51491         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51492         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51493         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51494         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51495         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51496         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51497         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51498         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51499         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51500         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51501         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51502         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51503         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51504         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51505         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51506         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51507         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51508         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51509         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51510         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51511         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51512         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51513         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51514         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51515         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51516         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51517         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51518         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51519         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51520         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51521         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51522         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51523         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51524         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51525         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51526         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51527         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51528         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51529         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51530         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51531         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51532         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51533         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51534         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51535         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51536         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51537         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51538         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51539         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51540         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51541         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51542         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51543         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51544         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51545         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51546         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51547         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51548         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51549         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51550         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51551         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51552         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51553         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51554         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51555         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51556         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51557         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51558         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51559         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51560         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51561         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51562         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51563         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51564         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51565         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51566         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51567         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51568         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51569         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51570         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51571         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51572         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51573         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51574         * sysdeps/ieee754/k_standard.c: Likewise.
51575         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51576         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51577         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51578         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51579         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51580         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51581         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51582         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51583         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51584         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51585         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51586         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51587         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51588         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51589         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51590         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51591         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51592         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51593         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51594         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51595         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51596         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51597         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51598         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51599         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51600         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51601         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51602         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51603         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51604         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51605         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51606         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51607         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51608         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51609         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51610         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51611         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51612         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51613         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51614         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51615         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51616         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51617         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51618         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51619         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51620         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51621         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51622         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51623         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51624         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51625         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51626         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51627         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51628         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51629         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51630         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51631         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51632         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51633         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51634         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51635         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51636         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51637         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51638         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51639         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51640         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51641         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51642         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51643         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51644         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51645         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51646         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51647         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51648         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51649         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51650         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51651         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51652         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51653         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51654         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51655         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51656         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51657         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51658         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51659         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51660         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51661         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51662         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51663         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51664         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51665         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51666         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51667         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51668         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51669         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51670         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51671         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51672         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51673         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51674         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51675         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51676         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51677         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51678         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51679         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51680         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51681         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51682         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51683         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51684         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51685         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51686         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51687         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51688         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51689         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51690         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51691         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51692         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51693         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51694         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51695         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51696         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51697         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51698         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51699         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51700         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51701         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51702         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51703         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51704         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51705         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51706         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51707         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51708         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51709         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51710         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51711         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51712         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51713         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51714         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51715         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51716         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51717         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51718         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51719         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51720         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51721         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51722         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51723         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51724         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51725         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51726         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51727         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51728         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51729         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51730         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51731         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51732         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51733         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51734         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51735         * sysdeps/ieee754/s_lib_version.c: Likewise.
51736         * sysdeps/ieee754/s_matherr.c: Likewise.
51737         * sysdeps/ieee754/s_signgam.c: Likewise.
51738         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51739         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51740         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51741         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51742         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51743         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51744         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51745         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51746         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51747         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51748         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51749         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51750         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51751         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51752         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51753         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51754         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51755         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51756         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51757         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51758         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51760 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51762         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51763         * sunrpc/rpc_main.c: Likewise.
51764         * sunrpc/rpc_svcout.c: Likewise.
51766 2012-03-09  David S. Miller  <davem@davemloft.net>
51768         * include/math_private.h: New file.
51770 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51772         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51773         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51774         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51775         from <bits/socket_type.h>.
51776         (enum __socket_type): Don't define here.
51777         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51778         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51779         bits/socket_type.h.
51781         [BZ #13566]
51782         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51783         checking __USE_GNU.
51785         * Makerules ($(inst_includedir)/%.h): New rule.
51786         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51787         (install-others): Remove variable setting.
51788         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51790 2012-03-08  Richard Henderson  <rth@twiddle.net>
51792         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51793         from macro to inline function; merge with the
51794         !__LIBC_INTERNAL_MATH_INLINES version.
51795         (__ieee754_sqrtf): Likewise.
51797         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51798         to inline function.
51799         (__rintf, __floor, __floorf): Likewise.
51801         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51802         macro to inline function.
51803         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51805         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51806         not <math/math_private.h>.
51808 2012-03-08  David S. Miller  <davem@davemloft.net>
51810         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51811         copyright year.
51812         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51814 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
51816         * resolv/gai_misc.c (handle_requests): Fix struct timespec
51817         normalization.
51818         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51819         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51821 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
51823         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
51824         be defined individually, they must be defined as a block.  Define
51825         S for printing a string instead of hidint the different by using a
51826         macro for adding the 'l'.
51827         * stdio-common/tst-fphex-wide.c: Adjust.
51829 2012-03-07  Marek Polacek  <polacek@redhat.com>
51831         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51833 2012-03-08  Marek Polacek  <polacek@redhat.com>
51835         [BZ #13806]
51836         * stdio-common/Makefile (tests): Add tst-fphex-wide.
51837         * stdio-common/tst-fphex.c: Define a few macros to make the
51838         test reusable.  Use them.
51839         * stdio-common/tst-fphex-wide.c: New file.
51841 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
51843         [BZ #6911]
51844         * manual/macros.texi (gnusystems): New macro.
51845         (nongnusystems): Likewise.
51846         (gnulinuxhurdsystems): Likewise.
51847         (gnuhurdsystems): Likewise..
51848         (gnulinuxsystems): Likewise.
51849         * manual/charset.texi: Use new macros or @theglibc{} to refer to
51850         variants of the GNU system, not "GNU system".
51851         * manual/conf.texi: Likewise.
51852         * manual/errno.texi: Likewise.  Update example of errno macro
51853         expansion.
51854         * manual/filesys.texi: Likewise.
51855         (getumask): Document as specific to GNU/Hurd.
51856         * manual/install.texi: Likewise.  Reword some references to
51857         GNU/Linux.
51858         * manual/intro.texi: Likewise.
51859         * manual/io.texi: Likewise.
51860         (File Name Portability): Detail which constraints are inapplicable
51861         to all GNU systems and which are only inapplicable to GNU/Hurd.
51862         * manual/job.texi: Likewise.
51863         * manual/llio.texi: Likewise.
51864         (O_NOCTTY): Document as present on GNU/Linux.
51865         * manual/maint.texi: Likewise.
51866         * manual/memory.texi: Likewise.
51867         * manual/pattern.texi: Likewise.
51868         * manual/pipe.texi: Likewise.
51869         * manual/process.texi: Likewise.
51870         * manual/resource.texi: Likewise.
51871         (RUSAGE_CHILDREN): Remove statement about specifying a particular
51872         child on GNU/Hurd.
51873         * manual/setjmp.texi: Likewise.
51874         * manual/signal.texi: Likewise.
51875         * manual/startup.texi: Likewise.
51876         * manual/stdio.texi: Likewise.
51877         * manual/terminal.texi: Likewise.
51878         (ONLCR): Document as POSIX.
51879         (OXTABS): Document availability on GNU/Linux as XTABS.
51880         (ONOEOT): Document availability separately from other bits.
51881         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51882         * manual/time.texi: Likewise.
51883         * manual/users.texi: Likewise.
51884         * INSTALL: Regenerated.
51885         * sysdeps/gnu/errlist.c: Regenerated.
51887         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51888         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51889         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
51890         puts.
51891         * configure: Regenerated.
51893 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
51895         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51896         default includes instead of AC_HEADER_CHECK.
51897         * sysdeps/i386/configure: Regenerated.
51899         [BZ #10716]
51900         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51901         * math/s_cacoshf.c (__cacoshf): Likewise.
51902         * math/s_cacoshl.c (__cacoshl): Likewise.
51903         * math/s_casinh.c (__casinh): Set signs of result from argument.
51904         * math/s_casinhf.c (__casinhf): Likewise.
51905         * math/s_casinhl.c (__casinhl): Likewise.
51906         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51907         (casinh_test): Add more tests.
51908         * sysdeps/i386/fpu/libm-test-ulps: Update.
51909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51911 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
51913         * po/zh_TW.po: Update from translation team.
51915         * login/Makefile (distribute): Remove variable.
51916         * catgets/Makefile: Likewise.
51917         * mach/Makefile: Likewise.
51918         * malloc/Makefile: Likewise.
51919         * misc/Makefile: Likewise.
51920         * iconv/Makefile: Likewise.
51921         * nscd/Makefile: Likewise.
51922         * hurd/Makefile: Likewise.
51923         * manual/Makefile: Likewise.
51924         * locale/Makefile: Likewise.
51925         * intl/Makefile: Likewise.
51926         * conform/Makefile: Likewise.
51927         * nss/Makefile: Likewise.
51928         * time/Makefile: Likewise.
51929         * soft-fp/Makefile: Likewise.
51930         * dirent/Makefile: Likewise.
51931         * gmon/Makefile: Likewise.
51932         * po/Makefile: Likewise.
51933         * rt/Makefile: Likewise.
51934         * socket/Makefile: Likewise.
51935         * math/Makefile: Likewise.
51936         * signal/Makefile: Likewise.
51937         * debug/Makefile: Likewise.
51938         * elf/Makefile: Likewise.
51939         * timezone/Makefile: Likewise.
51940         * stdlib/Makefile: Likewise.
51941         * iconvdata/Makefile: Likewise.
51942         * sunrpc/Makefile: Likewise.
51943         * io/Makefile: Likewise.
51944         * argp/Makefile: Likewise.
51945         * inet/Makefile: Likewise.
51946         * hesiod/Makefile: Likewise.
51947         * grp/Makefile: Likewise.
51948         * csu/Makefile: Likewise.
51949         * wctype/Makefile: Likewise.
51950         * crypt/Makefile: Likewise.
51951         * libio/Makefile: Likewise.
51952         * string/Makefile: Likewise.
51953         * nis/Makefile: Likewise.
51954         * resolv/Makefile: Likewise.
51955         * stdio-common/Makefile: Likewise.
51956         * wcsmbs/Makefile: Likewise.
51957         * dlfcn/Makefile: Likewise.
51958         * posix/Makefile: Likewise.
51960         [BZ #6959]
51961         * timezone/Makefile: Don't install timezone files, just the programs
51962         and scripts.
51964 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
51966         * nss/databases.def: Add missing gshadow entry.
51968         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
51970 2012-03-06  Marek Polacek  <polacek@redhat.com>
51972         [BZ #13726]
51973         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51974         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51975         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51976         * stdio-common/tst-long-dbl-fphex.c: New file.
51978 2012-03-06  David S. Miller  <davem@davemloft.net>
51980         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51981         (set_obp_int): New function.
51982         (get_obp_int): New function.
51983         (__get_clockfreq_via_dev_openprom): Likewise.
51984         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51985         Avoid unused variable warnings on 'val' and use builtin_expect.
51986         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51987         __builtin_expect.
51988         (INLINE_CLONE_SYSCALL): Likewise.
51990 2012-03-05  David S. Miller  <davem@davemloft.net>
51992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51994 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
51996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51998         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51999         only for |x| >= 40.
52000         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52002 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
52004         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52005         Replace gettimeofday with __vdso_gettimeofday.
52007         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52008         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52009         __vdso_clock_gettime and __vdso_getcpu.
52011         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52012         time with __vdso_time.
52014 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52016         * manual/lang.texi (size_t): Note types to which size_t may be
52017         equivalent with the GNU C Library, but do not describe when
52018         differences between them are significant.
52020 2012-03-05  Andreas Jaeger  <aj@suse.de>
52022         * sysdeps/i386/fpu/libm-test-ulps: Update.
52024 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52026         [BZ #3976]
52027         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52028         (__ieee754_pow): Save and restore rounding mode and use
52029         round-to-nearest for main computations.
52030         * math/libm-test.inc (pow_test_tonearest): New function.
52031         (pow_test_towardzero): Likewise.
52032         (pow_test_downward): Likewise.
52033         (pow_test_upward): Likewise.
52034         (main): Call the new functions.
52035         * sysdeps/i386/fpu/libm-test-ulps: Update.
52036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52038         [BZ #3976]
52039         * math/libm-test.inc (cosh_test_tonearest): New function.
52040         (cosh_test_towardzero): Likewise.
52041         (cosh_test_downward): Likewise.
52042         (cosh_test_upward): Likewise.
52043         (sinh_test_tonearest): Likewise.
52044         (sinh_test_towardzero): Likewise.
52045         (sinh_test_downward): Likewise.
52046         (sinh_test_upward): Likewise.
52047         (main): Call the new functions.
52048         * sysdeps/i386/fpu/libm-test-ulps: Update.
52049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52051 2012-03-05  Tom de Vries  <tom@codesourcery.com>
52053         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52054         default stack guard is set in last bytes.
52055         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52057 2012-03-05  Kees Cook  <keescook@chromium.org>
52059         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52061         [BZ #13656]
52062         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52063         possibly allocate from heap instead of stack.
52064         * stdio-common/bug-vfprintf-nargs.c: New file.
52065         * stdio-common/Makefile (tests): Add nargs overflow test.
52067 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
52069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52071 2012-03-03  Marek Polacek  <polacek@redhat.com>
52073         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52074         * math/math_private.h: Likewise.
52075         * stdlib/tst-strtod.c: Likewise.
52076         * sysdeps/i386/i486/bits/atomic.h: Likewise.
52077         * sysdeps/x86_64/bits/atomic.h: Likewise.
52079 2012-03-02  David S. Miller  <davem@davemloft.net>
52081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52085         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52086         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52087         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52088         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52090 2012-03-02  Roland McGrath  <roland@hack.frob.com>
52092         [BZ #13792]
52093         * manual/examples/README: New file, says the example source files
52094         can be used under GPL>=2.
52095         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52096         line containing just "*/".
52097         * manual/examples/add.c: Add copyright header (GPL>=2).
52098         * manual/examples/argp-ex1.c: Likewise.
52099         * manual/examples/argp-ex2.c: Likewise.
52100         * manual/examples/argp-ex3.c: Likewise.
52101         * manual/examples/argp-ex4.c: Likewise.
52102         * manual/examples/atexit.c: Likewise.
52103         * manual/examples/db.c: Likewise.
52104         * manual/examples/dir.c: Likewise.
52105         * manual/examples/dir2.c: Likewise.
52106         * manual/examples/execinfo.c: Likewise.
52107         * manual/examples/filecli.c: Likewise.
52108         * manual/examples/filesrv.c: Likewise.
52109         * manual/examples/fmtmsgexpl.c: Likewise.
52110         * manual/examples/genpass.c: Likewise.
52111         * manual/examples/inetcli.c: Likewise.
52112         * manual/examples/inetsrv.c: Likewise.
52113         * manual/examples/isockad.c: Likewise.
52114         * manual/examples/longopt.c: Likewise.
52115         * manual/examples/memopen.c: Likewise.
52116         * manual/examples/memstrm.c: Likewise.
52117         * manual/examples/mkfsock.c: Likewise.
52118         * manual/examples/mkisock.c: Likewise.
52119         * manual/examples/mygetpass.c: Likewise.
52120         * manual/examples/pipe.c: Likewise.
52121         * manual/examples/popen.c: Likewise.
52122         * manual/examples/rprintf.c: Likewise.
52123         * manual/examples/search.c: Likewise.
52124         * manual/examples/select.c: Likewise.
52125         * manual/examples/setjmp.c: Likewise.
52126         * manual/examples/sigh1.c: Likewise.
52127         * manual/examples/sigusr.c: Likewise.
52128         * manual/examples/stpcpy.c: Likewise.
52129         * manual/examples/strdupa.c: Likewise.
52130         * manual/examples/strftim.c: Likewise.
52131         * manual/examples/strncat.c: Likewise.
52132         * manual/examples/subopt.c: Likewise.
52133         * manual/examples/swapcontext.c: Likewise.
52134         * manual/examples/termios.c: Likewise.
52135         * manual/examples/testopt.c: Likewise.
52136         * manual/examples/testpass.c: Likewise.
52137         * manual/examples/timeval_subtract.c: Likewise.
52139         [BZ #13792]
52140         * manual/time.texi (Elapsed Time): Move timeval_subtract example
52141         function to ...
52142         * manual/timeval_subtract.c.texi: ... here, new file.
52144 2012-03-02  David S. Miller  <davem@davemloft.net>
52146         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52148 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
52150         [BZ #3976]
52151         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52152         (__sin): Save and restore rounding mode and use round-to-nearest
52153         for all computations.
52154         (__cos): Save and restore rounding mode and use round-to-nearest
52155         for all computations.
52156         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52157         <fenv.h>.
52158         (tan): Save and restore rounding mode and use round-to-nearest for
52159         all computations.
52160         * math/libm-test.inc (cos_test_tonearest): New function.
52161         (cos_test_towardzero): Likewise.
52162         (cos_test_downward): Likewise.
52163         (cos_test_upward): Likewise.
52164         (sin_test_tonearest): Likewise.
52165         (sin_test_towardzero): Likewise.
52166         (sin_test_downward): Likewise.
52167         (sin_test_upward): Likewise.
52168         (tan_test_tonearest): Likewise.
52169         (tan_test_towardzero): Likewise.
52170         (tan_test_downward): Likewise.
52171         (tan_test_upward): Likewise.
52172         (main): Call the new functions.
52173         * sysdeps/i386/fpu/libm-test-ulps: Update.
52174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52176         [BZ #10135]
52177         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52178         small n, then large n, before computing and testing k+n.
52179         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52180         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52181         Likewise.
52182         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52183         Likewise.
52184         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52185         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52186         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52187         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52188         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52189         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52190         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52191         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52192         * math/libm-test.inc (scalbn_test): Add more tests.
52193         (scalbln_test): Likewise.
52195         * manual/filesys.texi (mode_t): Describe constraints on size and
52196         signedness, not exact equivalence to a particular type.
52197         (ino_t): Likewise.
52198         (ino64_t): Likewise.
52199         (dev_t): Likewise.
52200         (nlink_t): Likewise.
52201         (blkcnt_t): Likewise.
52202         (blkcnt64_t): Likewise.
52203         * manual/llio.texi (off_t): Likewise.
52205         [BZ #3976]
52206         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52207         (__ieee754_exp): Save and restore rounding mode and use
52208         round-to-nearest for all computations.
52209         * math/libm-test.inc (exp_test_tonearest): New function.
52210         (exp_test_towardzero): Likewise.
52211         (exp_test_downward): Likewise.
52212         (exp_test_upward): Likewise.
52213         (main): Call the new functions.
52214         * sysdeps/i386/fpu/libm-test-ulps: Update.
52215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52217 2012-03-01  Chris Demetriou  <cgd@google.com>
52219         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52220         have predictable order.
52222 2012-03-01  David S. Miller  <davem@davemloft.net>
52224         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52226         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52227         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52228         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52229         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52231         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52232         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52233         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52235         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52236         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52237         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52238         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52239         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52243         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52244         * sysdeps/sparc/fpu/libm-test-ulps: to here.
52245         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52247         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52248         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52249         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52250         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52251         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52252         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52253         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52254         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52255         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52256         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52257         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52258         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52259         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52260         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52261         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52262         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52263         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52264         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52265         * sysdeps/sparc/elf/configure: Regenerated.
52267 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
52269         * configure.in (AS, LD): Require binutils 2.20 or later.
52270         * configure: Regenerated.
52271         * manual/install.texi (Tools for Compilation): Give binutils 2.20
52272         as required minimum version.
52273         * INSTALL: Regenerated.
52275         [BZ #2541]
52276         [BZ #4108]
52277         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52278         before squaring exponent.
52279         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52280         bottom long double and 27 bits of top long double before squaring
52281         exponent.
52282         * math/libm-test.inc (erfc_test): Add more tests.
52283         * sysdeps/i386/fpu/libm-test-ulps: Update.
52284         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52287 2012-03-01  Kai Tietz  <ktietz@redhat.com>
52289         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52290         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52291         containing bit-fields.
52292         * soft-fp/extended.h (_FP_UNION_E): Likewise.
52293         * soft-fp/single.h (_FP_UNION_S): Likewise.
52294         * soft-fp/double.h (_FP_UNION_D): Likewise.
52296 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52298         [BZ #13786]
52299         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52300         not include ../strcmp.S.
52301         [USE_AS_STRNCASECMP_L]: Likewise.
52302         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52303         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52304         * sysdeps/i386/i686/multiarch/strncase_l-c.c
52305         (__strncasecmp_l_ia32): Define as alias to
52306         __strncasecmp_l_nonascii.
52308         [BZ #5794]
52309         * math/libm-test.inc (expm1_test): Add test for bug 5794.
52310         * sysdeps/i386/fpu/libm-test-ulps: Update.
52311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52313         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52316 2012-02-29  Jeff Law  <law@redhat.com>
52318         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52319         out of bounds read.
52321 2012-02-29  Marek Polacek  <polacek@redhat.com>
52323         [BZ #13706]
52324         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52325         * elf/Makefile: Add rules to run tst-unused-dep.out.
52327 2012-02-28  David S. Miller  <davem@davemloft.net>
52329         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52330         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52331         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52332         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52333         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52334         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52336 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52338         * math/libm-test.inc (llround_test): Move one test from
52339         lround_test.  Use TEST_f_L in moved test.
52340         (lround_test): Move misplaced test to llround_test.  Add testcase
52341         from bug 2561.
52343 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
52345         * sysdeps/x86_64/fpu/e_expf.S: New file.
52346         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52348 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
52350         [BZ #13637]
52351         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52352         of remain_len that may cause incomplete multi-byte character and
52353         false match.
52354         * posix/bug-regex33.c: New file.
52355         * posix/Makefile (tests): Add bug-regex33.
52357 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
52359         * manual/macros.texi: New file.
52360         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52361         * manual/libc.texinfo: Include macros.texi.
52362         * manual/creatute.texi: Likewise.
52363         * manual/install.texi: Likewise.
52364         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52365         @glibcadj{} in references to the GNU C Library.
52366         * manual/charset.texi: Likewise.
52367         * manual/conf.texi: Likewise.
52368         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
52369         when not using those macros.
52370         * manual/creature.texi: Likewise.
52371         * manual/crypt.texi: Likewise.
52372         * manual/errno.texi: Likewise.
52373         * manual/filesys.texi: Likewise.
52374         * manual/header.texi: Likewise.
52375         * manual/install.texi: Likewise.
52376         * manual/intro.texi: Likewise.
52377         * manual/io.texi: Likewise.
52378         * manual/job.texi: Likewise.
52379         * manual/lang.texi: Likewise.
52380         * manual/libc.texiinfo: Likewise.
52381         * manual/llio.texi: Likewise.
52382         * manual/locale.texi: Likewise.
52383         * manual/maint.texi: Likewise.
52384         * manual/math.texi: Likewise.
52385         * manual/memory.texi: Likewise.
52386         * manual/message.texi: Likewise.
52387         * manual/nss.texi: Likewise.
52388         * manual/pattern.texi: Likewise.
52389         * manual/process.texi: Likewise.
52390         * manual/resource.texi: Likewise.
52391         * manual/search.texi: Likewise.
52392         * manual/setjmp.texi: Likewise.
52393         * manual/signal.texi: Likewise.
52394         * manual/socket.texi: Likewise.
52395         * manual/startup.texi: Likewise.
52396         * manual/stdio.texi: Likewise.
52397         * manual/string.texi: Likewise.
52398         * manual/sysinfo.texi: Likewise.
52399         * manual/syslog.texi: Likewise.
52400         * manual/terminal.texi: Likewise.
52401         * manual/time.texi: Likewise.
52402         * manual/users.texi: Likewise.
52403         * INSTALL: Regenerated.
52404         * NOTES: Regenerated.
52405         * sysdeps/gnu/errlist.c: Regenerated.
52407 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
52409         * include/dirent.h: Include <dirstream.h> before
52410         <dirent/dirent.h>.
52412 2012-02-28  David S. Miller  <davem@davemloft.net>
52414         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52415         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52416         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52417         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52419 2012-02-27  David S. Miller  <davem@davemloft.net>
52421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52423         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52424         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52427         frame pointer instead of stack pointer relative arg slot.
52428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52429         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52430         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52432 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
52434         [BZ #3992]
52435         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52437 2012-02-27  David S. Miller  <davem@davemloft.net>
52439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52443         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52444         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52445         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52446         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52448 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52450         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52451         later.  Allow versions 5-9.
52452         * configure: Regenerated.
52453         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52454         required minimum version and 4.6 as recommended version.  Do not
52455         mention bugs in GCC 2.7 and 2.8.
52456         * INSTALL: Regenerated.
52458 2012-02-27  David S. Miller  <davem@davemloft.net>
52460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52464         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52465         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52466         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52467         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52469         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52470         manipulate bits before adding and subtracting TWO112[sx].
52471         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52473 2012-02-27  Roland McGrath  <roland@hack.frob.com>
52475         [BZ #13775]
52476         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52477         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52478         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52479         being in POSIX, because they are in 1003.1-2008.
52481         * rt/tst-aio.c: Include <fcntl.h>.
52482         * rt/tst-aio7.c: Likewise.
52483         * rt/tst-aio64.c: Likewise.
52485         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52487 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52489         * manual/install.texi (--with-headers): Describe headers as
52490         interface headers, not private headers.
52491         (Specific advice for GNU/Linux systems): Describe use of headers
52492         from "make headers_install", not private headers from older
52493         kernels.
52494         * INSTALL: Regenerated.
52495         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52496         Change to 2.6.19.
52497         * sysdeps/unix/sysv/linux/configure: Regenerated.
52499         * manual/llio.texi (fclean): Remove documentation.
52501         * manual/Makefile (libc-texi-generated): New variable.  Include
52502         version.texi.
52503         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52504         $(libc-texi-generated), not duplicated list of files.
52505         (version.texi, stamp-version): New rules.
52506         (realclean): Remove $(libc-texi-generated), not individual files
52507         from that list.  Do not remove dir-add.texinfo.
52508         * manual/libc.texinfo: Comment out uses of edition numbers and
52509         references to printed manual.  Remove last-updated dates.
52510         (EDITION): Comment out.
52511         (ISBN): Likewise.
52512         (VERSION, UPDATED): Remove.
52513         (version.texi): Include.
52515 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
52517         * sysdeps/posix/spawni.c: Include <signal.h>.
52518         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52519         * sysdeps/pthread/aio_fsync.c: Likewise.
52521 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
52523         * conform/Makefile (tests): Run only when not cross-compiling and
52524         when fast-check is not defined.
52526         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52527         * conform/data/limits.h-data: Fixes for POSIX2008.
52528         * conform/run-conformtest.sh: Run all tests.
52529         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52530         headers.
52531         * include/bits/dlfcn.h: Likewise.
52532         * include/langinfo.h: Likewise.
52533         * include/monetary.h: Likewise.
52534         * include/sys/poll.h: Likewise.
52536         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52537         for __USE_GNU.
52538         * posix/spawn.h: Define __need_sigset_t.
52539         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52540         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52541         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
52542         to get sigevent_t only.
52543         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52544         only for __USE_GNU.
52545         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52546         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52547         process_vm_writev only for __USE_GNU.
52548         * termios/termios.h: Declare tcgetsid also for POSIX2008.
52550         * conform/Makefile: For now ignore errors from run-conformtest.
52551         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
52552         POSIX to avoid namespace pollution.  Don't prepend headers.
52553         * conform/data/aio.h-data: Fixes for POSIX testing.
52554         * conform/data/fcntl.h-data: Likewise.
52555         * conform/data/glob.h-data: Likewise.
52556         * conform/data/grp.h-data: Likewise.
52557         * conform/data/pthread.h-data: Likewise.
52558         * conform/data/pwd.h-data: Likewise.
52559         * conform/data/signal.h-data: Likewise.
52560         * conform/data/spawn.h-data: Likewise.
52561         * conform/data/stdio.h-data: Likewise.
52562         * conform/data/stdlib.h-data: Likewise.
52563         * conform/data/stropts.h-data: Likewise.
52564         * conform/data/sys/mman.h-data: Likewise.
52565         * conform/data/sys/stat.h-data: Likewise.
52566         * conform/data/sys/types.h-data: Likewise.
52567         * conform/data/sys/wait.h-data: Likewise.
52568         * conform/data/time.h-data: Likewise.
52569         * conform/data/unistd.h-data: Likewise.
52570         * conform/data/utime.h-data: Likewise.
52572         * io/sys/stat.h: fchmod was always in POSIX.
52573         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52574         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52575         * rt/aio.h: Define __need_timespec before including <time.h>.
52576         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52577         struct.  Add forward declaration of pthread_attr_t and use it in
52578         sigevent.
52579         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52580         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52581         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52582         always remove CLK_TCK definition.
52584 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
52586         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52588 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
52590         * conform/run-conformtest.sh: New file.
52591         * conform/Makefile: Run run-conformtest for tests.
52592         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
52593         support.
52595         * conform/data/uchar.h-data: New file.
52596         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52597         * conform/data/arpa/inet.h-data: Likewise.
52598         * conform/data/assert.h-data: Likewise.
52599         * conform/data/complex.h-data: Likewise.
52600         * conform/data/cpio.h-data: Likewise.
52601         * conform/data/ctype.h-data: Likewise.
52602         * conform/data/dirent.h-data: Likewise.
52603         * conform/data/dlfcn.h-data: Likewise.
52604         * conform/data/errno.h-data: Likewise.
52605         * conform/data/fcntl.h-data: Likewise.
52606         * conform/data/float.h-data: Likewise.
52607         * conform/data/fmtmsg.h-data: Likewise.
52608         * conform/data/fnmatch.h-data: Likewise.
52609         * conform/data/ftw.h-data: Likewise.
52610         * conform/data/glob.h-data: Likewise.
52611         * conform/data/grp.h-data: Likewise.
52612         * conform/data/iconv.h-data: Likewise.
52613         * conform/data/inttypes.h-data: Likewise.
52614         * conform/data/langinfo.h-data: Likewise.
52615         * conform/data/libgen.h-data: Likewise.
52616         * conform/data/limits.h-data: Likewise.
52617         * conform/data/locale.h-data: Likewise.
52618         * conform/data/math.h-data: Likewise.
52619         * conform/data/monetary.h-data: Likewise.
52620         * conform/data/mqueue.h-data: Likewise.
52621         * conform/data/ndbm.h-data: Likewise.
52622         * conform/data/net/if.h-data: Likewise.
52623         * conform/data/netdb.h-data: Likewise.
52624         * conform/data/netinet/in.h-data: Likewise.
52625         * conform/data/nl_types.h-data: Likewise.
52626         * conform/data/poll.h-data: Likewise.
52627         * conform/data/pthread.h-data: Likewise.
52628         * conform/data/pwd.h-data: Likewise.
52629         * conform/data/regex.h-data: Likewise.
52630         * conform/data/sched.h-data: Likewise.
52631         * conform/data/search.h-data: Likewise.
52632         * conform/data/semaphore.h-data: Likewise.
52633         * conform/data/setjmp.h-data: Likewise.
52634         * conform/data/signal.h-data: Likewise.
52635         * conform/data/spawn.h-data: Likewise.
52636         * conform/data/stdarg.h-data: Likewise.
52637         * conform/data/stdio.h-data: Likewise.
52638         * conform/data/stdlib.h-data: Likewise.
52639         * conform/data/string.h-data: Likewise.
52640         * conform/data/strings.h-data: Likewise.
52641         * conform/data/stropts.h-data: Likewise.
52642         * conform/data/sys/ipc.h-data: Likewise.
52643         * conform/data/sys/mman.h-data: Likewise.
52644         * conform/data/sys/msg.h-data: Likewise.
52645         * conform/data/sys/resource.h-data: Likewise.
52646         * conform/data/sys/select.h-data: Likewise.
52647         * conform/data/sys/sem.h-data: Likewise.
52648         * conform/data/sys/shm.h-data: Likewise.
52649         * conform/data/sys/socket.h-data: Likewise.
52650         * conform/data/sys/stat.h-data: Likewise.
52651         * conform/data/sys/statvfs.h-data: Likewise.
52652         * conform/data/sys/time.h-data: Likewise.
52653         * conform/data/sys/timeb.h-data: Likewise.
52654         * conform/data/sys/times.h-data: Likewise.
52655         * conform/data/sys/types.h-data: Likewise.
52656         * conform/data/sys/uio.h-data: Likewise.
52657         * conform/data/sys/un.h-data: Likewise.
52658         * conform/data/sys/utsname.h-data: Likewise.
52659         * conform/data/sys/wait.h-data: Likewise.
52660         * conform/data/syslog.h-data: Likewise.
52661         * conform/data/tar.h-data: Likewise.
52662         * conform/data/termios.h-data: Likewise.
52663         * conform/data/utime.h-data: Likewise.
52664         * conform/data/utmpx.h-data: Likewise.
52665         * conform/data/varargs.h-data: Likewise.
52666         * conform/data/wchar.h-data: Likewise.
52667         * conform/data/wctype.h-data: Likewise.
52668         * conform/data/wordexp.h-data: Likewise.
52670         * include/stropts.h: New file.
52671         * include/uchar.h: New file.
52672         * include/aio.h: Changes to allow conformtest.pl to use the headers.
52673         * include/assert.h: Likewise.
52674         * include/ctype.h: Likewise.
52675         * include/dirent.h: Likewise.
52676         * include/dlfcn.h: Likewise.
52677         * include/fcntl.h: Likewise.
52678         * include/fnmatch.h: Likewise.
52679         * include/glob.h: Likewise.
52680         * include/grp.h: Likewise.
52681         * include/libio.h: Likewise.
52682         * include/locale.h: Likewise.
52683         * include/math.h: Likewise.
52684         * include/net/if.h: Likewise.
52685         * include/netdb.h: Likewise.
52686         * include/netinet/in.h: Likewise.
52687         * include/pthread.h: Likewise.
52688         * include/pwd.h: Likewise.
52689         * include/regex.h: Likewise.
52690         * include/sched.h: Likewise.
52691         * include/search.h: Likewise.
52692         * include/setjmp.h: Likewise.
52693         * include/signal.h: Likewise.
52694         * include/stdio.h: Likewise.
52695         * include/stdlib.h: Likewise.
52696         * include/string.h: Likewise.
52697         * include/sys/cdefs.h: Likewise.
52698         * include/sys/mman.h: Likewise.
52699         * include/sys/msg.h: Likewise.
52700         * include/sys/resource.h: Likewise.
52701         * include/sys/select.h: Likewise.
52702         * include/sys/socket.h: Likewise.
52703         * include/sys/stat.h: Likewise.
52704         * include/sys/statvfs.h: Likewise.
52705         * include/sys/time.h: Likewise.
52706         * include/sys/times.h: Likewise.
52707         * include/sys/uio.h: Likewise.
52708         * include/sys/utsname.h: Likewise.
52709         * include/sys/wait.h: Likewise.
52710         * include/termios.h: Likewise.
52711         * include/time.h: Likewise.
52712         * include/ulimit.h: Likewise.
52713         * include/unistd.h: Likewise.
52714         * include/utime.h: Likewise.
52715         * include/wchar.h: Likewise.
52716         * include/wctype.h: Likewise.
52717         * include/wordexp.h: Likewise.
52719         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52721         * time/time.h: TIME_UTC must be a macro.
52722         Make timespec_get available for ISO C11 only as well.
52724 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
52726         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52727         Reported by Peng Haitao <penght@cn.fujitsu.com>.
52729 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52731         * configure.in: Use -o not -a in test for unsupported multi-arch.
52733 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52735         * manual/texinfo.tex: Update to version 2012-01-19.16.
52737 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52739         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52741 2012-02-24  Roland McGrath  <roland@hack.frob.com>
52743         [BZ #13738]
52744         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52745         * manual/fdl-1.3.texi: New file.
52746         * manual/fdl-1.1.texi: File removed.
52748         [BZ #13738]
52749         * manual/libc.texinfo (FDL_VERSION): New @set.
52750         Use it for mention of FDL in cover text.
52751         (Documentation License): Use it in @include file name.
52753 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52754             Roland McGrath  <roland@hack.frob.com>
52756         [BZ #5461]
52757         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52758         (not LONG_LONG_MAX and LONG_LONG_MIN.
52759         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52760         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
52761         name.
52762         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52764 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52766         [BZ #2547]
52767         [BZ #11365]
52768         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52769         manipulate bits before adding and subtracting TWO23[sx].
52770         * math/libm-test.inc (nearbyint_test): Add more tests.
52772 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52774         [BZ #2548]
52775         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52776         bits before adding and subtracting TWO23[sx].
52777         * math/libm-test.inc (rint_test): Add more tests.
52778         (rint_test_tonearest): Likewise.
52779         (rint_test_towardzero): Likewise.
52780         (rint_test_downward): Likewise.
52781         (rint_test_upward: Likewise.
52783 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52785         [BZ #10110]
52786         * include/stdc-predef.h: New file.  Extracted from features.h.
52787         * include/features.h: Include stdc-predef.h.
52788         * Makefile (headers): Add stdc-predef.h.
52789         * CONFORMANCE (Compiler limitations): Update.
52791 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52793         * manual/libc.texinfo (VERSION, UPDATED): Revert.
52795 2012-02-21  David S. Miller  <davem@davemloft.net>
52797         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52798         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52800 2012-02-20  David S. Miller  <davem@davemloft.net>
52802         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52803         using a normal save/restore sequence, rather than allocating a
52804         dummy stack frame just to store a frame pointer and restore.
52805         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52807 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52809         * manual/install.texi: Fix stray word in line-wrapped comment.
52811 2012-02-20  David S. Miller  <davem@davemloft.net>
52813         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52814         both binutils and gcc support GOTDATA.
52816         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52817         "rd %pc" in the PIC register setup sequences.
52819         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52820         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52821         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52822         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52823         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52824         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52825         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52826         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52827         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52828         (SYSCALL_ERROR_HANDLER): Likewise.
52829         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52830         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52831         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52832         (SYSCALL_ERROR_HANDLER): Likewise.
52834         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52835         (HAVE_GCC_GOTDATA): New.
52836         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52837         relocation support in both binutils and gcc.
52838         * sysdeps/sparc/elf/configure: Regenerate.
52840         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52841         * sysdeps/sparc/sparc32/elf/configure: Delete.
52842         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52843         * sysdeps/sparc/sparc64/elf/configure: Delete.
52844         * sysdeps/sparc/elf/configure.in: New file.
52845         * sysdeps/sparc/elf/configure: Generate.
52847         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52848         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52849         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52850         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52851         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52853 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52855         * manual/install.texi: Do not mention specific glibc version
52856         numbers.
52857         * manual/libc.texinfo (VERSION, UPDATED): Update.
52858         (@copying): Use @copyright{} and range of years.
52860 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52862         [BZ #13695]
52863         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52864         [crti.S not in sysdirs] (generated): Do not append.
52865         [crti.S not in sysdirs] (omit-deps): Likewise.
52866         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52867         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52868         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52869         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52870         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52871         Likewise.
52872         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52873         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52874         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52875         * csu/defs.awk: Remove file.
52876         * sysdeps/generic/initfini.c: Likewise.
52877         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52878         variable.
52879         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52880         Likewise.
52882 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52884         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52885         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52886         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52887         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52888         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52889         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52890         <bits/epoll.h>.
52891         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52892         (__EPOLL_PACKED): Define to empty if not defined by
52893         <bits/epoll.h>.
52894         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52895         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52896         bits/epoll.h.
52898 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52900         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52901         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52902         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52903         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52904         <bits/timerfd.h>.
52905         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52906         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52907         bits/timerfd.h.
52909 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52911         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52912         in C locale.
52913         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52914         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52915         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52918 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
52920         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52921         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52923 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
52925         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52926         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52927         defined.
52928         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52929         Likewise.
52930         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52931         entry for 2.16.
52933 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
52935         * math/w_acos.c: Use non-signaling floating-point comparisons.
52936         * math/w_acosf.c: Likewise.
52937         * math/w_acosh.c: Likewise.
52938         * math/w_acoshf.c: Likewise.
52939         * math/w_acoshl.c: Likewise.
52940         * math/w_acosl.c: Likewise.
52941         * math/w_asin.c: Likewise.
52942         * math/w_asinf.c: Likewise.
52943         * math/w_asinl.c: Likewise.
52944         * math/w_atanh.c: Likewise.
52945         * math/w_atanhf.c: Likewise.
52946         * math/w_atanhl.c: Likewise.
52947         * math/w_exp2.c: Likewise.
52948         * math/w_exp2f.c: Likewise.
52949         * math/w_exp2l.c: Likewise.
52950         * math/w_j0.c: Likewise.
52951         * math/w_j0f.c: Likewise.
52952         * math/w_j0l.c: Likewise.
52953         * math/w_j1.c: Likewise.
52954         * math/w_j1f.c: Likewise.
52955         * math/w_j1l.c: Likewise.
52956         * math/w_jn.c: Likewise.
52957         * math/w_jnf.c: Likewise.
52958         * math/w_log.c: Likewise.
52959         * math/w_log10.c: Likewise.
52960         * math/w_log10f.c: Likewise.
52961         * math/w_log10l.c: Likewise.
52962         * math/w_log2.c: Likewise.
52963         * math/w_log2f.c: Likewise.
52964         * math/w_log2l.c: Likewise.
52965         * math/w_logf.c: Likewise.
52966         * math/w_logl.c: Likewise.
52967         * math/w_sqrt.c: Likewise.
52968         * math/w_sqrtf.c: Likewise.
52969         * math/w_sqrtl.c: Likewise.
52970         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52971         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52972         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52973         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52974         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52976 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52978         [BZ #9739]
52979         * manual/string.texi (strnlen): Use correct parameter name in
52980         equivalent expression.
52982 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52984         [BZ #11174]
52985         * manual/users.texi (seteuid): Consistently use neweuid for
52986         argument name.
52988 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52990         [BZ #13704]
52991         * manual/nss.texi (Services in the NSS configuration): Correct
52992         list of services in example configuration file.
52994 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
52996         [BZ #11322]
52997         * manual/arith.texi: Remove statements about negative zero
52998         behaving identically to zero.
53000 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53002         [BZ #5993]
53003         * manual/install.texi: Do not document upgrading from libc5.
53005 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53007         [BZ #4596]
53008         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53010 2012-02-18  David S. Miller  <davem@davemloft.net>
53012         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53013         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53014         %o7 across the call.
53015         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53016         instead.
53017         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53018         SETUP_PIC_REG_LEAF.
53019         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53020         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53021         * sysdeps/sparc/crtn.S: Likewise.
53023 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
53025         * aout/Makefile: Remove.
53027 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
53029         [BZ #13058]
53030         * manual/examples/argp-ex1.c (main): Format definition in GNU
53031         style.
53032         * manual/examples/argp-ex2.c (main): Likewise.
53033         * manual/examples/argp-ex3.c (main): Likewise.
53034         * manual/examples/argp-ex4.c (main): Likewise.
53035         * manual/examples/longopt.c (main): Use new-style prototype
53036         definition.
53037         * manual/examples/strncat.c (main): Specify return type and use
53038         (void) for arguments.
53039         * manual/examples/subopt.c (main): Use char **argv argument.
53041 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53043         [BZ #5077]
53044         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53045         rounding modes.
53047 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
53049         [BZ #6907]
53050         * manual/string.texi (strchr): Change when strchrnul is
53051         recommended.
53053 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
53055         [BZ #174]
53056         * manual/locale.texi (setlocale): Document LOCPATH.
53058 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53060         [BZ #10210]
53061         * manual/process.texi (execle): Move @dots{} before last argument.
53063 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
53065         [BZ #12047]
53066         * manual/charset.texi (Generic Charset Conversion): Fix typo
53067         (LC_TYPE -> LC_CTYPE).
53069 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
53071         [BZ #5805]
53072         * manual/arith.texi (scalbn): Use @var{} on parameter names.
53073         (scalbnf): Likewise.
53074         (scalbnl): Likewise.
53075         (scalbln): Likewise.
53076         (scalblnf): Likewise.
53077         (scalblnl): Likewise.
53078         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53079         (vwarnx): Likewise.
53080         (verr): Likewise.
53081         (verrx): Likewise.
53082         * manual/filesys.texi (telldir): Use braces around return type.
53083         * manual/llio.texi (mmap): Add space after comma.
53084         (mmap64): Likewise.
53085         * manual/math.texi (jn): Use @var{} on parameter names.
53086         (jnf): Likewise.
53087         (jnl): Likewise.
53088         (yn): Likewise.
53089         (ynf): Likewise.
53090         (ynl): Likewise.
53091         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53092         line.
53093         * manual/resource.texi (ulimit): Use @dots{} instead of literal
53094         "...".
53095         (sched_get_priority_min): Remove semicolon on @deftypefun line.
53096         (sched_get_priority_max): Likewise.
53097         * manual/signal.texi (sigvec): Add space after comma.
53098         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53099         names.
53100         (if_indextoname): Likewise.
53101         (if_freenameindex): Likewise.
53102         (sendto): Use ',' instead of '.' in prototype.
53103         * manual/startup.texi (syscall): Use @dots{} instead of literal
53104         "...".
53105         * manual/stdio.texi (__fpending): Separate initial words of
53106         paragraph from @deftypefun line.
53107         * manual/syslog.texi (syslog): Use @dots{} instead of literal
53108         "...".
53109         (vsyslog): Use @var{} on parameter names.
53110         * manual/terminal.texi (stty): Use @var{} on parameter names.
53111         * manual/users.texi (getutmp): Use @var{} on parameter names.
53112         (getutmpx): Likewise.
53114 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53116         [BZ #6884]
53117         * manual/stdio.texi (fopen): Fix typos in description of
53118         ",ccs=STRING".
53120 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
53122         [BZ #4026]
53123         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53124         get clock_id definition.
53126 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
53128         [BZ #4822]
53129         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53130         (madvise): Cast every argument to void on its own.
53132 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53134         [BZ #9902]
53135         * manual/startup.texi (Exit Status): Fix typo.
53137 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53139         [BZ #10140]
53140         * manual/examples/argp-ex1.c: Include <stdlib.h>.
53141         * manual/examples/argp-ex2.c: Likewise.
53142         * manual/examples/argp-ex3.c: Likewise.
53144 2012-02-16  Richard Henderson  <rth@redhat.com>
53146         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53147         * sysdeps/s390/s390-32/initfini.c: Remove.
53148         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53149         * sysdeps/s390/s390-64/initfini.c: Remove.
53151 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53153         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53154         compiler output for sysdeps/generic/initfini.c.
53155         * sysdeps/sh/elf/initfini.c: Remove file.
53157 2012-02-16  David S. Miller  <davem@davemloft.net>
53159         [BZ #11494]
53160         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53162         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53163         * sysdeps/sparc/crti.S: New file.
53164         * sysdeps/sparc/crtn.S: New file.
53165         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53166         * sysdeps/sparc/sparc64/Makefile: Likewise.
53168 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
53170         [BZ #3335]
53171         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53173 2012-02-15  Roland McGrath  <roland@hack.frob.com>
53175         [BZ #4822]
53176         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53178         * mach/devstream.c (cookie_io_functions_t): Macro removed.
53179         (write, read, close): Likewise.
53180         Patch by Aurelien Jarno <aurelien@aurel32.net>.
53182 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
53184         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53185         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53186         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53187         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53188         <bits/signalfd.h>.
53189         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53190         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53191         bits/signalfd.h.
53193 2012-02-14  Marek Polacek  <polacek@redhat.com>
53195         * sysdeps/x86_64/crti.S: New file.
53196         * sysdeps/x86_64/crtn.S: New file.
53197         * sysdeps/x86_64/elf/initfini.c: Remove file.
53199 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53201         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53202         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53203         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53204         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53205         <bits/inotify.h>.
53206         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53208         bits/inotify.h.
53210 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53212         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53213         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53214         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53215         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53216         <bits/eventfd.h>.
53217         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53218         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53219         bits/eventfd.h.
53221 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
53223         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53224         __feraiseexcept instead of feraiseexcept.
53226         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53227         nanosleep invocations.
53228         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53229         strings, and add error checking for a nanosleep invocations.
53231 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
53233         Replace FSF snail mail address with URLs, as per GNU coding standards.
53234         Most of the snail mail addresses were wrong anyway, and omitting
53235         them makes the source code easier to maintain.  Almost all of the
53236         changes are to license notices and to locale LC_IDENTIFICATION
53237         addresses, except for this one:
53238         * manual/libc.texinfo: In "Published by", give the FSF's URL,
53239         not its snail mail address.
53241 2012-02-09  Richard Henderson  <rth@twiddle.net>
53243         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53244         of kernel-features.h.
53246         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53248 2012-02-08  Marek Polacek  <polacek@redhat.com>
53250         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53251         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53252         * sysdeps/gnu/_G_config.h: Likewise.
53253         * sysdeps/generic/_G_config.h: Likewise.
53255 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
53257         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53258         tests.
53259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53261         * sysdeps/powerpc/powerpc32/crti.S: New file.
53262         * sysdeps/powerpc/powerpc32/crtn.S: New file.
53263         * sysdeps/powerpc/powerpc64/crti.S: New file.
53264         * sysdeps/powerpc/powerpc64/crtn.S: New file.
53266         * Makeconfig (have-initfini): Don't set.
53267         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53268         * configure.in (nopic_initfini): Don't substitute.
53269         * config.h.in (HAVE_INITFINI): Don't #undef.
53270         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53271         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53273 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
53275         Support crti.S and crtn.S provided directly by architectures.
53276         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53277         [crti.S in sysdirs] (omit-deps): Likewise.
53278         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53279         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53280         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53281         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53282         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53283         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53284         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53285         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53286         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53287         compiler output for sysdeps/generic/initfini.c.
53288         * sysdeps/i386/elf/Makefile: Remove file.
53289         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53291 2012-02-07  Marek Polacek  <polacek@redhat.com>
53293         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53294         * sysdeps/gnu/_G_config.h: Likewise.
53295         * sysdeps/mach/hurd/_G_config.h: Likewise.
53297 2012-02-07  Marek Polacek  <polacek@redhat.com>
53299         * math/Makefile (tests): Add tst-CMPLX2.
53300         * math/tst-CMPLX2.c: New file.
53302 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
53304         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53306         * math/libm-test.inc (jn_test): Add missing L suffix.
53308 2012-02-06  Marek Polacek  <polacek@redhat.com>
53310         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53311         * sysdeps/i386/fpu/e_powf.S: Likewise.
53312         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53313         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53314         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53315         * sysdeps/i386/fpu/e_pow.S: Likewise.
53316         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53317         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53318         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53319         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53320         * sysdeps/i386/fpu/e_log2.S: Likewise.
53321         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53322         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53323         * sysdeps/i386/fpu/e_powl.S: Likewise.
53324         * sysdeps/i386/fpu/s_log1p.S: Likewise.
53325         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53326         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53327         * sysdeps/i386/fpu/e_logl.S: Likewise.
53328         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53329         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53330         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53331         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53332         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53333         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53334         * sysdeps/i386/fpu/e_log.S: Likewise.
53335         * sysdeps/i386/fpu/s_cexp.S: Likewise.
53336         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53337         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53338         * sysdeps/i386/fpu/e_logf.S: Likewise.
53339         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53340         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53341         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53342         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53343         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53344         * sysdeps/i386/fpu/e_log10.S: Likewise.
53345         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53346         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53347         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53348         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53349         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53350         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53351         * sysdeps/i386/asm-syntax.h: Likewise.
53352         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53353         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53354         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53355         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53356         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53357         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53358         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53359         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53360         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53361         * sysdeps/powerpc/sysdep.h: Likewise.
53362         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53363         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53365 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53367         [BZ #411]
53368         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53370 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53372         * sysdeps/i386/sysdep.h: Include <features.h>.
53373         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53374         version.
53376 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
53378         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53379         Define.
53380         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53381         LOAD_PIC_REG_STR.
53383 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53385         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53386         (SETUP_PIC_REG): Use GET_PC_THUNK.
53387         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53388         macro.
53390 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53392         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53393         for non-PIC compilation.
53394         (SETUP_PIC_REG): Add .p2align directive.
53395         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53396         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53397         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53398         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53399         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53400         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53401         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53402         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53403         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53404         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53405         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53406         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53407         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53408         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53409         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53410         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53411         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53412         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53413         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53414         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53415         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53416         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53417         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53418         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53419         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53420         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53421         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53422         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53423         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53424         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53425         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53426         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53427         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53428         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53429         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53430         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53431         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53432         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53433         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53434         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53435         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53437 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53439         * math/tst-CMPLX.c: Include <stdio.h>.
53441 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
53443         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53444         float.
53445         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53446         * sysdeps/sparc/bits/mathdef.h: Likewise.
53448 2012-01-31  Marek Polacek  <polacek@redhat.com>
53450         * libio/libio.h: Don't define _PARAMS.
53451         * locale/programs/config.h: Don't define PARAMS.
53452         * stdlib/strtol_l.c: Likewise.
53453         (__strtol_l): Remove PARAMS from the prototype.
53455 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
53457         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
53458         names.  Just use the correct names.  Remove unnecessary wrapper
53459         functions.
53460         * malloc/arena.c: Likewise.
53461         * malloc/hooks.c: Likewise.
53463         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53464         ARENA_TEST says not to.  Simplify test for creation of a new arena.
53465         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53467 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
53469         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53470         into tail calls.
53471         (update_get_addr): New function.
53472         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53473         GET_ADDR_MODULE parameter.
53475 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53477         * crypt/cert.c: Remove __STDC__ conditionals.
53478         * crypt/crypt-entry.c: Likewise.
53479         * crypt/crypt_util.c: Likewise.
53480         * libio/filedoalloc.c: Likewise.
53481         * libio/fileops.c: Likewise.
53482         * libio/genops.c: Likewise.
53483         * libio/iofclose.c: Likewise.
53484         * libio/iofdopen.c: Likewise.
53485         * libio/iofopen.c: Likewise.
53486         * libio/iofopen64.c: Likewise.
53487         * libio/iogetdelim.c: Likewise.
53488         * libio/iopopen.c: Likewise.
53489         * libio/obprintf.c: Likewise.
53490         * libio/oldfileops.c: Likewise.
53491         * libio/oldiofclose.c: Likewise.
53492         * libio/oldiofdopen.c: Likewise.
53493         * libio/oldiofopen.c: Likewise.
53494         * libio/oldiopopen.c: Likewise.
53495         * libio/wfiledoalloc.c: Likewise.
53496         * libio/wgenops.c: Likewise.
53497         * locale/programs/xmalloc.c: Likewise.
53498         * misc/syslog.c: Likewise.
53499         * stdio-common/xbug.c: Likewise.
53500         * string/memchr.c: Likewise.
53501         * string/memcmp.c: Likewise.
53502         * string/memrchr.c: Likewise.
53503         * string/rawmemchr.c: Likewise.
53504         * sysdeps/posix/getcwd.c: Likewise.
53505         * time/strftime_l.c: Likewise.
53507 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53509         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53510         * config.make.in (config-cflags-sse2avx): Define.
53511         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53512         Fix typo.
53514 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
53516         * scripts/config.guess: Update from upstream config git repository.
53517         * scripts/config.sub: Likewise.
53519 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
53521         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53522         (EM_NUM): Update.
53523         (R_TILEPRO_*, R_TILEGX_*): New macros.
53525         * scripts/firstversions.awk: Fix bug in version range handling.
53527         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53529         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53531         * include/sys/epoll.h: New file.
53532         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53533         libc_hidden_def.
53535 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
53537         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53538         Avoid unnecessary __WORDSIZE == 64 test.
53539         (fmaxf): Use VEX format if possible.
53540         (fmax): Likewise.
53541         (fminf): Likewise.
53542         (fmin): Likewise.
53544         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53545         * math/math_private.h: Remove libc_fegetround* and
53546         libc_fesetround*.
53547         * sysdeps/i386/configure.in: Check for -msse2avx.
53548         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53549         also if SSE2AVX is defined.
53550         Remove libc_fegetround* and libc_fesetround*.
53551         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53552         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
53553         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53554         of HAS_YMM_USABLE.
53555         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53556         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53557         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53558         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53559         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53561         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53563 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53565         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53566         size is not set.
53567         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53569 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
53571         [BZ #13618]
53572         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53573         relocation.
53574         * Makeconfig (libm): Define.
53575         * elf/Makefile: Add rules to build and run tst-relsort1.
53576         * elf/tst-relsort1.c: New file.
53577         * elf/tst-relsort1mod1.c: New file.
53578         * elf/tst-relsort1mod2.c: New file.
53580 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
53582         * math/s_ldexp.c: Remove __STDC__ conditionals.
53583         * math/s_ldexpf.c: Likewise.
53584         * math/s_ldexpl.c: Likewise.
53585         * math/s_nextafter.c: Likewise.
53586         * math/s_nexttowardf.c: Likewise.
53587         * math/s_significand.c: Likewise.
53588         * math/s_significandf.c: Likewise.
53589         * math/s_significandl.c: Likewise.
53590         * math/w_jnl.c: Likewise.
53591         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53592         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53593         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53594         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53595         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53596         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53597         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53598         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53599         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53600         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53601         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53602         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53603         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53604         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53605         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53606         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53607         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53608         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53609         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53610         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53611         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53612         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53613         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53614         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53615         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53616         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53617         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53618         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53619         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53620         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53621         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53622         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53623         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53624         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53625         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53626         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53627         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53628         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53629         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53630         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53631         * sysdeps/ieee754/k_standard.c: Likewise.
53632         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53633         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53634         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53635         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53636         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53637         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53638         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53639         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53640         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53641         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53642         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53643         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53644         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53645         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53646         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53647         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53648         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53649         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53650         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53651         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53652         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53653         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53654         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53655         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53656         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53657         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53658         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53659         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53660         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53661         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53662         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53663         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53664         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53665         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53666         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53667         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53668         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53669         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53670         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53671         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53672         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53673         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53674         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53675         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53676         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53677         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53678         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53679         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53680         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53681         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53682         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53683         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53684         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53685         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53686         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53687         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53688         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53689         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53690         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53691         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53692         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53693         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53694         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53695         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53696         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53697         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53698         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53699         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53700         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53701         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53702         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53703         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53704         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53705         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53706         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53707         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53708         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53709         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53710         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53711         * sysdeps/ieee754/s_matherr.c: Likewise.
53712         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53713         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53714         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53715         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53717 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53719         * crypt/md5.h: Remove __STDC__ conditionals.
53720         * libio/libioP.h: Likewise.
53721         * locale/programs/config.h: Likewise.
53722         * sysdeps/generic/sysdep.h: Likewise.
53723         * sysdeps/i386/asm-syntax.h: Likewise.
53724         * sysdeps/s390/asm-syntax.h: Likewise.
53725         * sysdeps/unix/sysdep.h: Likewise.
53726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53729 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53731         * libio/libio.h: Remove __STDC__ conditionals.
53732         * malloc/obstack.h: Likewise.
53733         * math/complex.h: Likewise.
53734         * math/math.h: Likewise.
53735         * sysdeps/generic/_G_config.h: Likewise.
53736         * sysdeps/gnu/_G_config.h: Likewise.
53737         * sysdeps/mach/hurd/_G_config.h: Likewise.
53738         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53739         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53740         * sysdeps/sparc/bits/mathdef.h: Likewise.
53742 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
53744         [BZ #13583]
53745         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53746         Clean up HAS_* macros.
53747         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53748         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53749         possible.
53750         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53751         HAS_AVX.
53752         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53753         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53754         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53755         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53756         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53758 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
53760         * elf/tst-unique3.cc (gets): Remove declaration.
53761         * elf/tst-unique3lib.cc (gets): Likewise.
53762         * elf/tst-unique3lib2.cc (gets): Likewise.
53763         * elf/tst-unique4.cc (gets): Likewise.
53765 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
53767         * include/stdio.h: Add C++ protection.  Add gets declarations and
53768         definitions.
53769         * debug/tst-chk1.c: Don't declare gets here.
53770         * stdio-common/tst-gets.c: Likewise.
53772 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53774         * posix/glob: Remove directory.
53776 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53778         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53780 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
53782         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53783         of the non-standard EPFNOSUPPORT.
53785 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53787         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53788         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53789         ANYWHERE set to 1 only on KERN_NO_SPACE error.
53791 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
53793         * wcsmbs/uchar.h: Test __STDC_VERSION__.
53795 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
53797         * nscd/aicache.c (addhstaiX): Do not cache negative results of
53798         transient errors.
53799         * nscd/grpcache.c (cache_addgr): Likewise.
53800         * nscd/hstcache.c (cache_addhst): Likewise.
53801         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53802         * nscd/pwdcache.c (cache_addpw): Likewise.
53803         * nscd/servicescache.c (cache_addserv): Likewise.
53805 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
53807         * malloc/malloc.c: Various cleanups.
53808         * malloc/hooks.c: Likewise.
53810         * stdlib/Makefile (tests): Add bug-fmtmsg1.
53811         * stdlib/bug-fmtmsg1.c: New file.
53813         * stdlib/fmtmsg.c (init): Add missing unlock.
53814         Patch by Peng Haitao <penght@cn.fujitsu.com>.
53816 2012-01-12  Marek Polacek  <polacek@redhat.com>
53818         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53819         and _GNU_SOURCE.
53821 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53823         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53824         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53825         macro to ensure uniqueness of label name.
53826         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53827         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53829 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
53831         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53833         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53834         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53835         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53836         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53838 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
53840         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53842         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53843         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53844         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53846         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53848         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53849         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53850         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53851         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53853         * math/bits/math-finite.h: Add ldexp support.
53855 2012-01-10  Marek Polacek  <polacek@redhat.com>
53857         * locale/programs/localedef.h (show_archive_content): Add noreturn
53858         attribute.
53860 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
53862         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53864 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53866         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53868         * io/Makefile (headers): Add bits/poll2.h.
53870 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
53872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53873         typo #include statement.
53875 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53877         * include/sys/cdefs.h: Define __attribute_alloc_size.
53878         * catgets/gencat.c: Add alloc_size attribute and apply consistently
53879         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53880         * elf/pldd.c: Likewise.
53881         * iconv/iconv_charmap.c: Likewise.
53882         * iconv/iconvconfig.c: Likewise.
53883         * iconv/strtab.c: Likewise.
53884         * locale/programs/locale.c: Likewise.
53885         * locale/programs/localedef.h: Likewise.
53886         * locale/programs/simple-hash.c: Likewise.
53887         * nscd/nscd.h: Likewise.
53888         * nss/makedb.c: Likewise.
53889         * sysdeps/generic/ldconfig.h: Likewise.
53890         * locale/programs/localedef.c: Remove xmalloc prototype.
53891         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53893 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53895         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53896         appropriate.
53898 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53900         * math/Makefile (tests): Add tst-CMPLX.
53901         * math/tst-CMPLX.c: New file.
53903         * math/complex.h (CMPLXL): Fix typo.
53905         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53906         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53907         GLIBC_2.16.
53908         * debug/tst-chk1.c: Add poll and ppoll tests.
53909         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53910         * include/sys/poll.h: Add hidden proto for ppoll.
53911         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53912         * sysdeps/mach/hurd/ppoll.c: Likewise.
53913         * io/ppoll.c: Likewise.
53914         * debug/poll_chk.c: New file.
53915         * debug/ppoll_chk.c: New file.
53916         * include/bits/poll2.h: New file.
53917         * io/bits/poll2.h: New file.
53919         [BZ #1350]
53920         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53922         * configure.in: static is always set to yes.  Remove.
53923         * config.make.in: Don't set build-static.
53924         * Makeconfig: Remove use of build-static.
53925         * dlfcn/Makefile: Likewise.
53926         * elf/Makefile: Likewise.
53927         * math/Makefile: Likewise.
53928         * misc/Makefile: Likewise.
53929         * nptl/Makefile: Likewise.
53930         * sysdeps/mach/hurd/Makefile: Likewise.
53932         * configure.in: PWD_P is not used anymore.
53933         * config.make.in: Remove PWD_P entry.
53935         * configure.in: Remove last remnants of RANLIB.
53936         No need to check for signed size_t anymore.
53937         Don't set libc_commonpagesize and libc_relro_required here for Alpha
53938         and IA-64.
53939         Remove __builtin_expect test because we require at least gcc 3.4.
53940         * aclocal.m4: Likewise.
53942         * wcsmbs/mbrtoc16.c: Implement using towc function.
53943         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53944         * wcsmbs/wcsmbsload.c: Likewise.
53945         * iconv/gconv_simple.c: Likewise.
53946         * iconv/gconv_int.h: Likewise.
53947         * iconv/gconv_builtin.h: Likewise.
53948         * iconv/iconv_prog.c: Remove CHAR16 handling.
53950         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53952         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53954         * configure.in: Remove --with-elf and --enable-bounded options.
53955         Dont set base_machine for ia64.  More non-ELF conditions removed.
53956         Remove testing and setting of leading underscore information.
53957         * config.make.in (build-bounded): Set to no.
53958         * config.h.in: Remove NO_UNDERSCORES entry.
53959         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
53960         them.
53961         * csu/start.c: Remove !NO_UNDERSCORE code.
53962         * locale/localeinfo.h: Likewise.
53963         * sysdeps/generic/machine-gmon.h: Likewise.
53964         * sysdeps/generic/sysdep.h: Likewise.
53965         * sysdeps/i386/sysdep.h: Likewise.
53966         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53967         * sysdeps/mach/sysdep.h: Likewise.
53968         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53969         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53970         * sysdeps/sh/sysdep.h: Likewise.
53971         * sysdeps/sparc/sparc32/alloca.S: Likewise.
53972         * sysdeps/unix/i386/sysdep.S: Likewise.
53973         * sysdeps/unix/sparc/start.c: Likewise.
53974         * sysdeps/unix/sparc/sysdep.S: Likewise.
53975         * sysdeps/unix/sparc/sysdep.h: Likewise.
53976         * sysdeps/unix/start.c: Likewise.
53977         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53978         * sysdeps/x86_64/sysdep.h: Likewise.
53980 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
53982         [BZ #13553]
53983         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53984         for non-gcc.
53985         * argp/argp-fmtstream.h: Use const instead __const.
53986         * argp/argp.h: Likewise.
53987         * assert/assert.h: Likewise.
53988         * bits/fenv.h: Likewise.
53989         * bits/sched.h: Likewise.
53990         * bits/sigset.h: Likewise.
53991         * bits/sigthread.h: Likewise.
53992         * catgets/nl_types.h: Likewise.
53993         * conform/data/pthread.h-data: Likewise.
53994         * crypt/crypt-private.h: Likewise.
53995         * crypt/crypt.h: Likewise.
53996         * crypt/crypt_util.c: Likewise.
53997         * ctype/ctype.h: Likewise.
53998         * debug/execinfo.h: Likewise.
53999         * debug/mbsnrtowcs_chk.c: Likewise.
54000         * debug/mbsrtowcs_chk.c: Likewise.
54001         * debug/wcsnrtombs_chk.c: Likewise.
54002         * debug/wcsrtombs_chk.c: Likewise.
54003         * debug/wcstombs_chk.c: Likewise.
54004         * dirent/dirent.h: Likewise.
54005         * dlfcn/dlfcn.h: Likewise.
54006         * elf/neededtest4.c: Likewise.
54007         * grp/grp.h: Likewise.
54008         * gshadow/gshadow.h: Likewise.
54009         * iconv/gconv.h: Likewise.
54010         * iconv/gconv_int.h: Likewise.
54011         * iconv/gconv_simple.c: Likewise.
54012         * iconv/iconv.h: Likewise.
54013         * iconv/loop.c: Likewise.
54014         * iconv/skeleton.c: Likewise.
54015         * include/aio.h: Likewise.
54016         * include/aliases.h: Likewise.
54017         * include/argz.h: Likewise.
54018         * include/arpa/inet.h: Likewise.
54019         * include/assert.h: Likewise.
54020         * include/dirent.h: Likewise.
54021         * include/dlfcn.h: Likewise.
54022         * include/execinfo.h: Likewise.
54023         * include/fcntl.h: Likewise.
54024         * include/fenv.h: Likewise.
54025         * include/glob.h: Likewise.
54026         * include/grp.h: Likewise.
54027         * include/libintl.h: Likewise.
54028         * include/mntent.h: Likewise.
54029         * include/netdb.h: Likewise.
54030         * include/pwd.h: Likewise.
54031         * include/rpc/netdb.h: Likewise.
54032         * include/sched.h: Likewise.
54033         * include/search.h: Likewise.
54034         * include/shadow.h: Likewise.
54035         * include/signal.h: Likewise.
54036         * include/stdio.h: Likewise.
54037         * include/stdlib.h: Likewise.
54038         * include/string.h: Likewise.
54039         * include/sys/socket.h: Likewise.
54040         * include/sys/stat.h: Likewise.
54041         * include/sys/statfs.h: Likewise.
54042         * include/sys/statvfs.h: Likewise.
54043         * include/sys/syslog.h: Likewise.
54044         * include/sys/time.h: Likewise.
54045         * include/sys/uio.h: Likewise.
54046         * include/time.h: Likewise.
54047         * include/unistd.h: Likewise.
54048         * include/utmp.h: Likewise.
54049         * include/wchar.h: Likewise.
54050         * include/wctype.h: Likewise.
54051         * inet/aliases.h: Likewise.
54052         * inet/arpa/inet.h: Likewise.
54053         * inet/netinet/ether.h: Likewise.
54054         * inet/netinet/in.h: Likewise.
54055         * intl/libintl.h: Likewise.
54056         * io/bits/fcntl2.h: Likewise.
54057         * io/fcntl.h: Likewise.
54058         * io/ftw.h: Likewise.
54059         * io/sys/poll.h: Likewise.
54060         * io/sys/stat.h: Likewise.
54061         * io/sys/statfs.h: Likewise.
54062         * io/sys/statvfs.h: Likewise.
54063         * io/utime.h: Likewise.
54064         * libio/bits/stdio.h: Likewise.
54065         * libio/bits/stdio2.h: Likewise.
54066         * libio/libio.h: Likewise.
54067         * libio/libioP.h: Likewise.
54068         * libio/stdio.h: Likewise.
54069         * locale/lc-ctype.c: Likewise.
54070         * locale/locale.h: Likewise.
54071         * login/utmp.h: Likewise.
54072         * malloc/arena.c: Likewise.
54073         * malloc/malloc.c: Likewise.
54074         * malloc/malloc.h: Likewise.
54075         * malloc/mcheck.c: Likewise.
54076         * malloc/mtrace.c: Likewise.
54077         * math/bits/mathcalls.h: Likewise.
54078         * math/fenv.h: Likewise.
54079         * math/math_private.h: Likewise.
54080         * misc/bits/error.h: Likewise.
54081         * misc/bits/syslog.h: Likewise.
54082         * misc/err.h: Likewise.
54083         * misc/error.h: Likewise.
54084         * misc/fstab.h: Likewise.
54085         * misc/mntent.h: Likewise.
54086         * misc/regexp.h: Likewise.
54087         * misc/search.h: Likewise.
54088         * misc/sgtty.h: Likewise.
54089         * misc/sys/mman.h: Likewise.
54090         * misc/sys/syslog.h: Likewise.
54091         * misc/sys/uio.h: Likewise.
54092         * misc/sys/xattr.h: Likewise.
54093         * misc/ttyent.h: Likewise.
54094         * nis/rpcsvc/ypclnt.h: Likewise.
54095         * nss/nss.h: Likewise.
54096         * posix/bits/unistd.h: Likewise.
54097         * posix/fnmatch.h: Likewise.
54098         * posix/glob.h: Likewise.
54099         * posix/sched.h: Likewise.
54100         * posix/spawn.h: Likewise.
54101         * posix/sys/wait.h: Likewise.
54102         * posix/unistd.h: Likewise.
54103         * posix/wordexp.h: Likewise.
54104         * pwd/pwd.h: Likewise.
54105         * resolv/netdb.h: Likewise.
54106         * resource/sys/resource.h: Likewise.
54107         * rt/aio.h: Likewise.
54108         * rt/bits/mqueue2.h: Likewise.
54109         * rt/mqueue.h: Likewise.
54110         * shadow/shadow.h: Likewise.
54111         * signal/signal.h: Likewise.
54112         * socket/send.c: Likewise.
54113         * socket/sendto.c: Likewise.
54114         * socket/sys/socket.h: Likewise.
54115         * stdio-common/printf.h: Likewise.
54116         * stdlib/bits/stdlib.h: Likewise.
54117         * stdlib/fmtmsg.h: Likewise.
54118         * stdlib/monetary.h: Likewise.
54119         * stdlib/stdlib.h: Likewise.
54120         * stdlib/ucontext.h: Likewise.
54121         * streams/stropts.h: Likewise.
54122         * string/argz.h: Likewise.
54123         * string/bits/string2.h: Likewise.
54124         * string/string.h: Likewise.
54125         * string/strings.h: Likewise.
54126         * sunrpc/rpc/auth.h: Likewise.
54127         * sunrpc/rpc/auth_des.h: Likewise.
54128         * sunrpc/rpc/clnt.h: Likewise.
54129         * sunrpc/rpc/netdb.h: Likewise.
54130         * sunrpc/rpc/pmap_clnt.h: Likewise.
54131         * sunrpc/rpc/xdr.h: Likewise.
54132         * sysdeps/generic/inttypes.h: Likewise.
54133         * sysdeps/generic/net/if.h: Likewise.
54134         * sysdeps/generic/sys/swap.h: Likewise.
54135         * sysdeps/gnu/net/if.h: Likewise.
54136         * sysdeps/gnu/utmpx.h: Likewise.
54137         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54138         * sysdeps/i386/i486/bits/string.h: Likewise.
54139         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54140         * sysdeps/s390/bits/string.h: Likewise.
54141         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54142         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54143         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54144         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54145         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54146         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54147         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54148         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54149         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54150         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54151         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54152         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54153         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54154         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54155         * sysdeps/unix/sysv/linux/readv.c: Likewise.
54156         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54157         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54158         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54159         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54160         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54161         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54162         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54163         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54164         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54165         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54166         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54167         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54168         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54169         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54170         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54171         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54172         * sysvipc/sys/ipc.h: Likewise.
54173         * sysvipc/sys/msg.h: Likewise.
54174         * sysvipc/sys/sem.h: Likewise.
54175         * sysvipc/sys/shm.h: Likewise.
54176         * termios/termios.h: Likewise.
54177         * time/sys/time.h: Likewise.
54178         * time/time.h: Likewise.
54179         * wcsmbs/bits/wchar2.h: Likewise.
54180         * wcsmbs/uchar.h: Likewise.
54181         * wcsmbs/wchar.h: Likewise.
54182         * wctype/wctype.h: Likewise.
54184         [BZ #13551]
54185         * Makeconfig: Remove all but ELF support including AIX support.
54186         * Makerules: Likewise.
54187         * config.h.in: Likewise.
54188         * config.make.in: Likewise.
54189         * configure: Likewise.
54190         * configure.in: Likewise.
54191         * csu/Makefile: Likewise.
54192         * csu/version.c: Likewise.
54193         * debug/Makefile: Likewise.
54194         * dlfcn/Makefile: Likewise.
54195         * elf/Makefile: Likewise.
54196         * extra-lib.mk: Likewise.
54197         * iconv/Makefile: Likewise.
54198         * include/libc-symbols.h: Likewise.
54199         * include/shlib-compat.h: Likewise.
54200         * resolv/Makefile: Likewise.
54201         * resolv/res_libc.c: Likewise.
54202         * rt/Makefile: Likewise.
54203         * sysdeps/i386/asm-syntax.h: Likewise.
54204         * sysdeps/i386/sysdep.h: Likewise.
54205         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54206         * sysdeps/mach/sysdep.h: Likewise.
54207         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54208         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54209         * sysdeps/s390/asm-syntax.h: Likewise.
54210         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54211         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54212         * sysdeps/sh/sysdep.h: Likewise.
54213         * sysdeps/unix/sparc/sysdep.h: Likewise.
54214         * sysdeps/wordsize-32/divdi3.c: Likewise.
54215         * sysdeps/x86_64/sysdep.h: Likewise.
54217         * argp/Versions: Remove _argp_unlock_xxx.
54219         [BZ #13559]
54220         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
54221         * abilist/libBrokenLocale.abilist: Likewise.
54222         * abilist/libanl.abilist: Likewise.
54223         * abilist/libc.abilist: Likewise.
54224         * abilist/libcrypt.abilist: Likewise.
54225         * abilist/libdl.abilist: Likewise.
54226         * abilist/libm.abilist: Likewise.
54227         * abilist/libnsl.abilist: Likewise.
54228         * abilist/libpthread.abilist: Likewise.
54229         * abilist/libresolv.abilist: Likewise.
54230         * abilist/librt.abilist: Likewise.
54231         * abilist/libthread_db.abilist: Likewise.
54232         * abilist/libutil.abilist: Likewise.
54233         * abilist/libnss_db.abilist: New file.
54235         * scripts/abilist.awk: Add support for indirect functions.
54237         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54239         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54241         * shlib-versions: Remove entries for ports architectures.
54243         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
54244         files in ports.
54245         * elf/stackguard-macros.h: Remove support for IA-64.
54246         * elf/tst-auditmod1.c: Likewise.
54247         * sysdeps/generic/ldsodefs.h: Likewise.
54249         * sysdeps/unix/sysv/linux/configure.in: Ports should define
54250         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54251         configure files.
54253         [BZ #13552]
54254         * configure.in: Remove --enable-omitfp support.
54255         * FAQ.in: Adjust.
54256         * config.make.in: Likewise.
54257         * Makeconfig: Likewise.
54258         * manual/install.texi: Likewise.
54260         In case anyone cares, the IA-64 architecture could move to ports.
54261         * sysdeps/ia64/*: Removed.
54262         * sysdeps/unix/sysv/linux/ia64/*: Removed.
54263         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54265         [BZ #13555]
54266         * configure.in: Remove entries for unsupported architectures.
54268         [BZ #13533]
54269         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54270         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
54271         routines.
54272         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54273         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54274         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
54275         fall back to using wcrtomb.
54276         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54277         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
54278         renaming.
54279         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54280         * wcsmbs/tst-c16c32-1.c: New file.
54282         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54283         local variable.
54285         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54287         * elf/tst-unique3.cc: Add explicit declaration of gets.
54288         * elf/tst-unique3lib.cc: Likewise.
54289         * elf/tst-unique3lib2.cc: Likewise.
54290         * elf/tst-unique4.cc: Likewise.
54292         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54294 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
54296         [BZ #13566]
54297         * assert/assert.h (static_assert): Don't define for C++.
54298         * libio/stdio.h (gets): Do declare for C++ <= C++11.
54299         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54301 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
54303         * iconv/loop.c (single loop): Fix assertion in storing of
54304         remaining bytes.
54306         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54308 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
54310         * posix/getconf.c: Update copyright year.
54311         * nss/getent.c: Likewise.
54312         * nss/makedb.c: Likewise.
54313         * iconv/iconvconfig.c: Likewise.
54314         * iconv/iconv_prog.c: Likewise.
54315         * elf/ldconfig.c: Likewise.
54316         * elf/pldd.c: Likewise.
54317         * elf/sotruss.ksh: Likewise.
54318         * catgets/gencat.c: Likewise.
54319         * csu/version.c: Likewise.
54320         * elf/ldd.bash.in: Likewise.
54321         * elf/sprof.c (print_version): Likewise.
54322         * locale/programs/locale.c: Likewise.
54323         * locale/programs/localedef.c: Likewise.
54324         * login/programs/pt_chown.c: Likewise.
54325         * nscd/nscd.c (print_version): Likewise.
54326         * debug/xtrace.sh: Likewise.
54327         * malloc/memusage.sh: Likewise.
54328         * malloc/mtrace.pl: Likewise.
54329         * debug/catchsegv.sh: Likewise.
54331 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
54333         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54334         pure attribute.
54336 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
54338         [BZ #13533]
54339         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54340         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54341         transformations.
54342         * iconv/gconv_int.h: Likewise.
54343         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54344         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54345         from libc for GLIBC_2.16.
54346         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54347         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54348         * wcsmbs/uchar.h: Really define mbstate_t.
54349         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54350         * wcsmbs/c16rtomb.c: New file.
54351         * wcsmbs/mbrtoc16.c: New file.
54352         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54353         for C/POSIX locale.
54354         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54355         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54357         * wcsmbs/wchar.h: Add missing __restrict.
54359 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54361         [BZ #13532]
54362         * time/Makefile (routines): Add timespec_get.
54363         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54364         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
54365         timespec for ISO C11.
54366         * time/timespec_get.c: New file.
54367         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54368         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54370         [BZ #13531]
54371         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54372         * stdlib/stdlib.h: Declare aligned_alloc.
54373         * Versions.def: Add GLIBC_2.16 for libc.
54374         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54376         [BZ 13527]
54377         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54378         ISO C11.
54380         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54381         code.
54383         [BZ #13528]
54384         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54386         [BZ #13529]
54387         * assert/assert.h (static_assert): Define.
54389         * version.h: Update for 2.16 development version.
54391         [BZ #13526]
54392         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54393         _ISOC11_SOURCE.
54395         * version.h (RELEASE): Bump for 2.15 release.
54396         * include/features.h (__GLIBC_MINOR__): Bump to 15.
54398         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54399         Patch by Marek Polacek <mpolacek@redhat.com>.
54401         * bits/byteswap.h: Protect long long constants with __extension__.
54402         * sysdeps/i386/bits/byteswap.h: Likewise.
54403         * sysdeps/ia64/bits/byteswap.h: Likewise.
54404         * sysdeps/s390/bits/byteswap.h: Likewise.
54405         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54407 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54409         [BZ #13540]
54410         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54411         destination buffer.
54412         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54414 2011-12-23  Marek Polacek  <polacek@redhat.com>
54416         * elf/dl-addr.c (determine_info): Add inline keyword.
54417         * elf/tst-auditmod4b.c (check_avx): Likewise.
54418         * elf/tst-auditmod6b.c (check_avx): Likewise.
54419         * elf/tst-auditmod6c.c (check_avx): Likewise.
54420         * elf/tst-auditmod7b.c (check_avx): Likewise.
54422 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54424         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54425         !__SSE_MATH__.
54427 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54429         [BZ #13540]
54430         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54431         processing for last bytes.
54433 2011-08-06  Bruno Haible  <bruno@clisp.org>
54435         [BZ #13061]
54436         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54437         U+0385, not to U+1FEE.
54439         [BZ #13062]
54440         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54441         entry for U+00A5 U+0301.
54443 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54445         [BZ #13166]
54446         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54447         buffer for the output is too small.
54449         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54450         optimization.
54452         [BZ #13185]
54453         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54454         SSE flags if possible.
54456 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54458         [BZ #13540]
54459         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54460         processing for last bytes.
54462 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
54464         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54465         (syscall-list-default-options, syscall-list-default-condition)
54466         (syscall-list-includes): Define.
54467         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54468         list of ABIs and options and #if conditions for each ABI.  Do not
54469         handle common syscalls between ABIs specially.
54470         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54471         Remove.
54472         (syscall-list-variants, syscall-list-32bit-options)
54473         (syscall-list-32bit-condition, syscall-list-64bit-options)
54474         (syscall-list-64bit-condition): Define.
54475         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54476         (syscall-list-variants, syscall-list-32bit-options)
54477         (syscall-list-32bit-condition, syscall-list-64bit-options)
54478         (syscall-list-64bit-condition): Define.
54479         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54480         Remove.
54481         (syscall-list-variants, syscall-list-32bit-options)
54482         (syscall-list-32bit-condition, syscall-list-64bit-options)
54483         (syscall-list-64bit-condition): Define.
54484         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54485         Remove.
54486         (syscall-list-variants, syscall-list-32bit-options)
54487         (syscall-list-32bit-condition, syscall-list-64bit-options)
54488         (syscall-list-64bit-condition): Define.
54490 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54492         * locale/iso-639.def: Add brx entry.
54494         [BZ #13328]
54495         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54496         Proposed by Mariusz_Cukr <marcukr@op.pl>.
54498         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54499         __feraiseexcept_renamed.
54501 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54503         [BZ #13538]
54504         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54505         EPOLLET with unsigned values.
54506         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54507         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54509         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54510         to large cancellation.
54511         * math/s_cacoshf.c: Likewise.
54512         * math/s_cacoshl.c: Likewise.
54514 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
54516         [BZ #13305]
54517         [BZ #12786]
54518         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54519         * math/s_cacoshf.c: Likewise.
54520         * math/s_cacoshl.c: Likewise.
54522 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54524         [BZ #13439]
54525         * iconv/gconv.h: Define __GCONV_SWAP.
54526         * iconvdata/unicode.c: The swap bit must be stored in __flags.
54527         * iconvdata/utf-16.c: Likewise.
54528         * iconvdata/utf-32.c: Likewise.
54530 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
54532         [BZ #13524]
54533         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54534         numerator after shifting it by one limb.
54536 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
54538         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54539         under [__USE_EXTERN_INLINES].
54541 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54543         [BZ #13446]
54544         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54546 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54548         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54549         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54550         optimized code.
54551         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54552         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54553         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54554         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54555         for strncasecmp/strncasecmp_l compilation.
54556         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54557         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54559 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
54561         [BZ #13484]
54562         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54563         of __asm__.
54565 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54567         [BZ #13506]
54568         * time/tzfile.c (__tzfile_read): Check values from file header.
54570 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54572         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54573         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54574         * powerpc/powerpc32/dl-start.S: Likewise.
54575         * powerpc/powerpc32/elf/start.S: Likewise.
54576         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54577         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54578         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54579         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54580         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54581         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54582         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54583         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54584         * powerpc/powerpc32/fpu/s_round.S: Likewise.
54585         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54586         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54587         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54588         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54589         * powerpc/powerpc32/memset.S: Likewise.
54590         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54591         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54592         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54593         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54594         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54595         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54596         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54597         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54598         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54599         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54600         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54601         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54602         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54604 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54606         * math/libm-test.inc: Added more nearbyint tests.
54607         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54608         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54609         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54610         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54612 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
54614         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54615         FD_CLOEXEC.
54617 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54619         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54620         Add wcscpy-ssse3 wcscpy-c.
54621         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54622         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54623         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54624         * sysdeps/x86_64/wcschr.S: New file.
54625         * sysdeps/x86_64/wcsrchr.S: New file.
54626         * string/test-strcmp.c: Remove checking of wcscmp function for
54627         wrong alignments.
54628         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54629         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54630         wcsrchr-sse2 wcsrchr-c.
54631         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54632         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54633         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54634         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54635         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54636         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54637         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54638         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54639         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54640         * wcsmbc/wcschr.c (WCSCHR): New macro.
54642 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54644         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54645         * wcsmbs/test-wcsrchr.c: New file.
54646         * string/test-strrchr.c: Add wcsrchr support.
54647         (WIDE): New macro.
54648         * wcsmbs/test-wcscpy.c: New file.
54649         * string/test-strcpy.c: Add wcscpy support.
54650         (WIDE): New macro.
54652 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
54654         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54655         the inner loop.
54657 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
54659         [BZ #13472]
54660         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54662 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
54664         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54665         Minor optimizations.
54667         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54668         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54669         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54671 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
54673         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54674         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54675         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54676         for gcc to avoid warnings.
54677         * inet/Makefile (tests): Add tst-checks.
54678         * inet/tst-checks.c: New file.
54680         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54681         warning.
54683         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54684         __wmemcmp_sse2.
54686         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54687         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54689         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54691 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
54693         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54694         problem.
54696         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54698 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
54700         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54701         conditional on GCC version.
54702         (__arch_compare_and_exchange_val_8_acq)
54703         (__arch_compare_and_exchange_val_16_acq)
54704         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54705         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54706         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54708 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
54710         * sysdeps/sh/backtrace.c: New file.
54712 2011-12-02  Andreas Schwab  <schwab@redhat.com>
54714         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
54715         parenthesis.
54717 2011-12-01  Andreas Schwab  <schwab@redhat.com>
54719         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54720         falling back to utime.
54722 2011-11-30  Andreas Schwab  <schwab@redhat.com>
54724         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54725         expectations for float.
54727 2011-11-29  Andreas Schwab  <schwab@redhat.com>
54729         * locale/weight.h (findidx): Add parameter len.
54730         * locale/weightwc.h (findidx): Likewise.
54731         * posix/fnmatch_loop.c (FCT): Adjust caller.
54732         * posix/regcomp.c (build_equiv_class): Likewise.
54733         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54734         * posix/regexec.c (check_node_accept_bytes): Likewise.
54735         * string/strcoll_l.c (STRCOLL): Likewise.
54736         * string/strxfrm_l.c (STRXFRM): Likewise.
54738 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
54740         * Makefile.in: Remove CVSOPT handling.
54741         * configure.in: Remove use of AC_REVISION.
54742         * iconvdata/Makefile (distribute): No need to filter out CVS.
54743         * scripts/list-sources.sh: Remove CVS, subversion and monotone
54744         handling.
54746 2011-11-16  Andreas Schwab  <schwab@redhat.com>
54748         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54749         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54750         [USE_AS_STRNCASECMP_L]: Likewise.
54751         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54752         NO_TLS_DIRECT_SEG_REFS.
54753         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54754         Fix argument offsets for non-PIC.
54755         [USE_AS_STRNCASECMP_L]: Likewise.
54756         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54757         NO_TLS_DIRECT_SEG_REFS.
54759 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54761         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54762         O_CLOEXEC.
54763         * locale/loadlocale.c (_nl_load_locale): Likewise.
54765 2011-11-15  Andreas Schwab  <schwab@redhat.com>
54767         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54768         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54769         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54770         (SYSCALL_GETTIME): Set errno on error.
54772         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54773         count references to noai6ai_cached.
54775 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54777         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54779         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54780         FD_CLOEXEC for /proc/self/maps.
54782         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54783         FD_CLOEXEC for /proc/meminfo.
54785         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54786         gai.conf.
54788         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
54789         FD_CLOEXEC for given file.
54791         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54793         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54794         FD_CLOEXEC for /etc/hosts.
54795         (_gethtent): Likewise.
54797         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54799         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54800         cancellation and set FD_CLOEXEC for /etc/netgroup.
54802         * nss/nss_files/files-key.c (search): Don't allow cancellation when
54803         reading /etc/publickey.
54805         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54806         allow cancellation when reading /etc/group.
54808         * nss/nss_files/files-alias.c (internal_setent): Don't allow
54809         cancellation.
54810         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
54812         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54813         when using data file.
54815         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54817         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54818         (write_nis_obj): Use "c" and "e" in fopen.
54820         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54822         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54824         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54826         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54828         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54829         locale.alias.
54831         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54833         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54835         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54837         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54838         file parsing and set FD_CLOEXEC.
54840 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54842         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54844 2011-11-14  Andreas Schwab  <schwab@redhat.com>
54846         * malloc/arena.c (arena_get2): Don't call reused_arena when
54847         _int_new_arena failed.
54849 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54851         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54852         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54853         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54854         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54855         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54856         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54857         to compile strcasecmp and strncasecmp.
54858         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54859         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54861         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54863 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
54865         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54866         locale-defines.sym to gen-as-const-headers.
54867         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54868         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54869         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54870         to compile strcasecmp and strncasecmp.
54871         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54872         strcasecmp_l and strncasecmp_l.
54873         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54874         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54875         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54876         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54877         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54878         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54879         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54880         * sysdeps/i386/i686/multiarch/strncase.S: New file.
54881         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54882         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54883         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54885 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
54887         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54888         result of SYSDEP_GETTIME_CPU to retval.
54889         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54890         parameter list to macro.  Remove trailing semicolon.  Adjust users.
54892         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54893         variable.
54895         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54896         mantissa words.
54897         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54899         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54900         from unused variable.
54902         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54903         DWARF definitions.
54904         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54905         for assembling.
54907         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54908         over namespaces.
54910         * sunrpc/rpc_prot.c (rejected): Fix case value.
54912         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54913         unsigned long long int to avoid warnings in shift.
54915         * posix/regex_internal.c (re_string_reconstruct): Actually use result
54916         of use of trans.
54917         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54918         variable tmp.
54920         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54921         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54922         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54924         * nis/nis_table.c (nis_list): Use variable of correct type for
54925         result of __follow_path call.
54927 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54929         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54930         of math functions ceil, trunc, floor, round, and sqrt, when
54931         avaliable on the platform.
54932         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54933         name clash.
54934         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54935         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54936         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54938 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
54940         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54941         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54943 2011-11-11  Roland McGrath  <roland@hack.frob.com>
54945         * include/unistd.h: Fix __readlink return type.
54946         Reported by Chris Metcalf <cmetcalf@tilera.com>.
54948 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
54950         * stdlib/ucontext.h: Undo last change for makecontext.
54952 2011-11-11  Andreas Schwab  <schwab@redhat.com>
54954         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54956         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54957         * setjmp/setjmp.h: Mark functions as non-leaf.
54958         * setjmp/bits/setjmp2.h: Likewise.
54959         * stdlib/ucontext.h: Likewise.
54961 2011-11-10  Andreas Schwab  <schwab@redhat.com>
54963         * malloc/arena.c (_int_new_arena): Don't increment narenas.
54964         (reused_arena): Don't check arena limit.
54965         (arena_get2): Atomically check arena limit.
54967 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
54969         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54970         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54972         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54973         instructions.
54975 2011-11-07  Andreas Schwab  <schwab@redhat.com>
54977         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54978         handler when locking.
54980         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54981         Fix size of allocated buffer.
54983 2011-11-04  Andreas Schwab  <schwab@redhat.com>
54985         [BZ #10103]
54986         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54987         declarations for long double functions.
54988         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54990         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54992 2011-11-03  Andreas Schwab  <schwab@redhat.com>
54994         * nscd/nscd.c (main): Don't start AVC thread until credentials are
54995         installed.
54997         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54998         is disabled.
55000 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55002         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55004 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55006         * include/alloca.h (stackinfo_alloca_round): Define.
55007         (extend_alloca): Use it.
55008         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55009         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55010         here.
55012         * scripts/check-local-headers.sh: Ignore libaudit.h.
55014         * nscd/Makefile (extra-objs): Make recursively expanded.
55016 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
55018         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55019         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55021         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55022         * posix/tst-rfc3484-2.c: Likewise.
55023         * posix/tst-rfc3484-3.c: Likewise.
55025         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55026         process_vm_writev.
55027         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55028         process_vm_writev.
55029         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55030         process_vm_writev from libc using GLIBC_2.15 version.
55032         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55034 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
55036         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55037         stack usage.
55039 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
55041         [BZ #13367]
55042         * nss/getent.c (initgroups_keys): Show error message in case no group
55043         names are given.
55045         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55046         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55047         __bump_nl_timestamp.
55048         * nscd/connections (nscd_init): When host database is served open
55049         netlink socket and request notification about configuration changes.
55050         (main_loop_poll): Track netlink file descriptor and bump timestamp
55051         in case data becomes available.
55052         (main_loop_epoll): Likewise.
55053         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55054         (database_pers_head): Add extra_data fileds.
55055         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55056         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55057         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55058         Adjust caller.
55059         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55060         in6ai data, call __free_in6ai.
55061         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55062         Add -DHAVE_NETLINK.
55063         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
55064         interface information.  Reuse previous data if netlink timestamp
55065         is not changed.
55066         (__bump_nl_timestamp): New function.
55067         (__free_in6ai): New function.
55069 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
55071         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55072         close_not_cancel_no_status here.
55073         (__check_pf): Reorganize code a bit to not call close twice if OOM.
55075 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55077         [BZ #13276]
55078         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55079         return value.
55081         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55082         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55083         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55085 2011-07-03  Andreas Jaeger  <aj@suse.de>
55087         [BZ #10709]
55088         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55089         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55090         * math/libm-test.inc (sin_test): Add test case.
55092 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55094         [BZ #13337]
55095         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55096         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55098         * elf/chroot_canon.c (chroot_canon): Cleanups.
55100         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55102         [BZ #13335]
55103         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55104         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55106         * string/test-strchr.c: Make usable for strchrnul testing.
55107         * string/test-strchrnul.c: New file.
55108         * string/Makefile (strop-tests): Add strchrnul.
55110         * po/it.po: Update from translation team.
55111         * po/es.po: Likewise.
55113 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
55115         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55116         the three constants needed as parameters.  Drop the others.
55117         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55118         __m128i_strloadu_tolower.
55119         Create and initialize variable zero and use it in all the places
55120         where _mm_setzero_si128 was used.
55122         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55123         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55124         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55125         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55126         anymore.
55127         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55128         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55129         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55130         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55131         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55132         __mpranred, __mptan.
55133         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55134         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55135         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55136         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55137         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55138         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55139         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55140         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55141         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55143 2011-10-28  Andreas Schwab  <schwab@redhat.com>
55145         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55146         redefine if SHARED.
55147         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55150         wide char related routines to wcsmbs subdir.
55152 2011-10-27  Andreas Schwab  <schwab@redhat.com>
55154         [BZ #13344]
55155         * misc/sys/cdefs.h (__THROWNL): Define.
55156         * posix/unistd.h: Use __THREADNL instead of __THREAD
55157         for memory synchronization functions.
55159 2011-10-26  Roland McGrath  <roland@hack.frob.com>
55161         [BZ #13349]
55162         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55163         doesn't exist.
55164         * manual/stdio.texi (Obstack Streams): Node removed.
55166 2011-10-26  Andreas Schwab  <schwab@redhat.com>
55168         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55169         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55170         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55172         * math/math_private.h (math_force_eval): Allow non-addressable
55173         arguments.
55174         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55176 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55178         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55179         file is not needed.
55181         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55182         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55183         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55184         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55185         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55186         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55187         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55188         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55189         Add AVX variants.
55190         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55191         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55192         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55193         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55194         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55195         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55196         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55197         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55198         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55199         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55200         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55201         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55202         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55203         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55204         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55205         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55206         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55207         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55208         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55210         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55211         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
55213         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55214         place.  Use VEX encoding when compiling for AVX.
55216 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55218         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55219         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55221         * string/test-strchr.c (do_test): Don't generate NUL bytes.
55223 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55225         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55226         useless if() expression.
55227         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55228         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55229         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55230         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55231         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55232         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55233         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55234         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55235         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55236         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55237         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55238         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55239         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55240         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55241         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55242         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55243         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55244         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55245         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55247         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55249 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55251         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55252         condition.
55253         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55255 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55257         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55258         .text section.  Avoid duplicate constants.
55259         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55260         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55261         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55262         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55263         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55264         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55265         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55266         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55267         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55268         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55269         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55270         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55271         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55272         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55273         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55274         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55275         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55276         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55277         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55278         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55279         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55280         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55281         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55282         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55283         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55284         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55285         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55286         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55287         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55288         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55289         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55290         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55291         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55292         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55293         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55294         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55295         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55296         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55297         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55298         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55299         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55300         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55301         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55302         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55303         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55305 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
55307         * sysdeps/x86_64/dla.h: Move to ...
55308         * sysdeps/x86_64/fpu/dla.h: ...here.
55309         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55310         situations.  Use __builtin_fma only for gcc 4.6 and up.
55312         * config.make.in: Add have-mfma4 entry.
55313         * configure.in: Substitute libc_cv_cc_fma4.
55314         * math/Makefile (dbl-only-routines): Add sincostab.
55315         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55316         Use __sincostab not sincos.
55317         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55318         name is a macro.
55319         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55320         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55321         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55322         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
55323         using __copysign.
55324         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
55325         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
55326         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55327         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55328         and __inv.
55329         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55330         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55331         __copysign.
55332         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
55333         define aliases when function name is a macro.
55334         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55335         sysdeps/ieee754/dbl-64/sincos.tbl.
55336         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55337         fma4-enabled routines.
55338         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55339         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55340         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55341         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55342         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55343         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55344         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55345         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55346         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55347         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55348         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55349         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55350         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55351         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55352         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55353         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55354         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55355         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55356         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55357         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55358         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55359         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55360         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55361         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55362         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55363         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55364         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55365         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55366         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55367         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55369         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55370         rename.
55371         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55372         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55373         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55374         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55375         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55376         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55377         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55378         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55380 2011-10-24  Andreas Schwab  <schwab@redhat.com>
55382         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55384 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55386         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55388         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55389         prediction.
55390         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55392         * string/strnlen.c: Don't define STRNLEN, reverse logic.
55393         Remove unused variable magic_bits.
55394         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55396         * string/strnlen.c: Define and use STRNLEN macro.
55397         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55398         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55399         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55400         * wcsmbs/wcslen.c: Define and use WCSLEN.
55401         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55402         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55403         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55404         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55405         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55406         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55407         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55409 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55412         strnlen-sse2-no-bsf.
55413         Rename strlen-no-bsf to strlen-sse2-no-bsf.
55414         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55415         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55416         Add strnlen support.
55417         (USE_AS_STRNLEN): New macro.
55418         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55419         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55420         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55421         * sysdeps/x86_64/wcslen.S: New file.
55423 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
55425         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55426         XMM-moves are used for copying on small sizes.
55428 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55430         * wcsmbs/Makefile (strop-tests): Add wcschr.
55431         * wcsmbs/test-wcschr.c: New file.
55432         * string/test-strchr.c: Update.
55433         Add wcschr support.
55434         (WIDE): New macro.
55436 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55438         * wcsmbs/Makefile (strop-tests): Add wcslen.
55439         * wcsmbs/test-wcslen.c: New file.
55440         * string/test-strlen.c: Update.
55441         Add wcslen support.
55442         (WIDE): New macro.
55444 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55446         * po/it.po: Update from translation team.
55448 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55450         * sysdeps/x86_64/wcscmp.S: Update.
55451         Fix wrong comparison semantics.
55452         wcscmp shall use signed comparison not unsigned.
55453         Don't use substraction to avoid overflow bug.
55454         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55455         * wcsmbc/wcscmp.c: Likewise.
55456         * string/test-strcmp.c: Likewise.
55457         Add new tests to check cases with negative values.
55459 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55461         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55462         * sysdeps/x86_64/dla.h: ...here.  New file.
55463         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55464         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55466         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55467         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55468         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55469         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55470         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55471         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55473 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
55475         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55476         __ynl_finite aliases.
55478 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55480         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55482         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55483         define DLA_FMA.
55484         [DLA_FMA] (EMULV): Use DLA_FMA.
55485         [DLA_FMA] (MUL12): Use EMULV.
55486         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55487         that are not needed.
55488         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55489         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55490         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55491         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55492         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55493         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55494         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55496 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
55498         * math/s_nan.c: Undef __nan.
55499         * math/s_nanf.c: Undef __nanf.
55500         * math/s_nanl.c: Undef __nanl.
55501         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55502         "math_private.h".
55504 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55506         * math/s_catan.c: Add branch predictions.
55507         * math/s_catanf.c: Likewise.
55508         * math/s_catanh.c: Likewise.
55509         * math/s_catanhf.c: Likewise.
55510         * math/s_catanhl.c: Likewise.
55511         * math/s_catanl.c: Likewise.
55512         * math/s_cexp.c: Likewise.
55513         * math/s_cexpf.c: Likewise.
55514         * math/s_cexpl.c: Likewise.
55515         * math/s_clog.c: Likewise.
55516         * math/s_clog10.c: Likewise.
55517         * math/s_clog10f.c: Likewise.
55518         * math/s_clog10l.c: Likewise.
55519         * math/s_clogf.c: Likewise.
55520         * math/s_clogl.c: Likewise.
55521         * math/s_csqrt.c: Likewise.
55522         * math/s_csqrtf.c: Likewise.
55523         * math/s_csqrtl.c: Likewise.
55524         * math/s_ctanf.c: Likewise.
55525         * math/s_ctanh.c: Likewise.
55526         * math/s_ctanhf.c: Likewise.
55527         * math/s_ctanhl.c: Likewise.
55528         * math/s_ctanl.c: Likewise.
55530         * math/math_private.h: Define __nan, __nanf, __nanl.
55531         * math/s_cacosh.c: Include <math_private.h>.
55532         * math/s_cacoshl.c: Likewise.
55533         * math/s_casinh.c: Likewise.
55534         * math/s_casinhf.c: Likewise.
55535         * math/s_casinhl.c: Likewise.
55536         * math/s_ccos.c: Rely entire on ccosh.
55537         * math/s_ccosf.c: Rely entire on ccoshf.
55538         * math/s_ccosl.c: Rely entirely on ccoshl.
55539         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
55540         Remove tests for FE_INVALID.
55541         * math/s_ccoshf.c: Likewise.
55542         * math/s_ccoshl.c: Likewise.
55543         * math/s_csin.c: Likewise.
55544         * math/s_csinf.c: Likewise.
55545         * math/s_csinh.c Likewise.
55546         * math/s_csinhf.c: Likewise.
55547         * math/s_csinhl.c: Likewise.
55548         * math/s_csinl.c: Likewise.
55549         * math/s_ctan.c: Likewise.
55550         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55551         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55552         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55554 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
55556         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55557         compilation problems.
55559         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55560         __builtin_expect.
55562 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
55564         * sysdeps/i386/configure.in: Test for -mfma4 option.
55565         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55566         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55567         COMMON_CPUID_INDEX_80000001.
55568         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55569         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55570         use it if FMA3 is not supported.
55571         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55573         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55574         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55576 2011-10-20  Andreas Schwab  <schwab@redhat.com>
55578         [BZ #12892]
55579         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55580         it would create a cycle with a link time dependency.
55582 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
55584         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55585         instruction.
55586         * string/Makefile (strop-tests): Add rawmemchr.
55587         * string/test-rawmemchr.c: New file.
55589         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55590         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
55591         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
55592         when compiling str{,n}casecmp and when AVX is available.  Hook up
55593         new optimized code in initializers.
55595 2011-10-19  Andreas Schwab  <schwab@redhat.com>
55597         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55598         __feraiseexcept instead of feraiseexcept.
55600 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
55602         * math/math_private.h: Define defaults for libc_fetestexcept and
55603         libc_feupdateenv.
55604         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55605         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55606         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55607         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55608         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55609         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55610         libc_fetestexcept and libc_feupdateenv.
55612         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55613         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55614         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55615         * sysdeps/x86_64/fpu/math_private.h: Define special version of
55616         libc_feholdexcept_setround.
55618         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55619         Add s_nearbyint-c and s_nearbyintf-c.
55620         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55621         nearbyintf inlines.
55622         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55623         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55624         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55625         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55627         * math/math_private.h: Define defaults for libc_fegetround,
55628         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55629         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55630         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55631         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55632         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55633         standard functions.
55634         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55635         Remove comments and hacks for old compiler versions.
55636         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55637         libc_fegetround, libc_fesetround, libc_feholdexcept, and
55638         libc_feholdexceptl.
55640 2011-10-18  Andreas Schwab  <schwab@redhat.com>
55642         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55643         (__feraiseexcept_renamed): Add __NTH.
55644         (feraiseexcept): Add __NTH.  Rename local variables to fix
55645         namespace violations.
55647 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
55649         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55651         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55653         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55654         recently added interfaces.
55655         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55657         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55658         about macro parameter expansion.
55660         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55661         __NO_MATH_INLINES is defined.  Cleanups.
55663         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55664         and __floorf is target has SSE4.1.
55665         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55666         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55667         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55668         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55670         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55671         name.
55672         (floorf): Likewise.
55674         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55676 2011-10-17  Andreas Schwab  <schwab@redhat.com>
55678         * misc/sys/cdefs.h: Fix last change.
55680         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55681         database lookup.
55683 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
55685         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55687         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55688         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55689         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55690         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55691         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55692         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55693         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55694         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55695         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55696         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55697         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55698         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55699         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55700         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55701         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55702         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55703         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55704         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55705         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55706         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55707         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55708         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55710         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55711         ceil, ceilf, floor, floorf.
55713         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55714         Perform IRELATIVE relocations last.
55716         * elf/do-rel.h: Add another parameter nrelative, replacing the
55717         local variable with the same name.  Change name of the function
55718         to end in Rel or Rela (uppercase).
55719         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55720         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
55721         elf_dynamic_do_##reloc function.
55723 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55725         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55726         is sufficient, at least on modern CPUs.
55728         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55730         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55731         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55733         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55734         __expl_finite.
55735         * math/bits/math-finite.h: Add entries for exp.
55736         * math/e_expl.c: Add __*_finite alias.
55737         * sysdeps/i386/fpu/e_exp.S: Likewise.
55738         * sysdeps/i386/fpu/e_expf.S: Likewise.
55739         * sysdeps/i386/fpu/e_expl.c: Likewise.
55740         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55741         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55742         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55743         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55744         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55745         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55746         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55748         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55749         is sufficient, at least on modern CPUs.
55751         * ctype/ctype-info.c (__ctype_init): Define.
55752         * include/ctype.h (__ctype_init): Declare.
55753         (__ctype_b_loc): The variable is always initialized.
55754         (__ctype_toupper_loc): Likewise.
55755         (__ctype_tolower_loc): Likewise.
55756         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55757         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55759 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
55761         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55763         * configure.in: Also look in $cxxmachine/include for C++ system
55764         headers.
55766 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55768         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55769         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55770         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55771         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
55772         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55773         (USE_AS_WMEMCMP): New macro.
55774         Fixing indents.
55775         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55776         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55777         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55778         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55779         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55780         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55781         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55782         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55783         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55784         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55785         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55786         (USE_AS_WMEMCMP): New macro.
55787         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55788         * sysdeps/string/test-memcmp.c: Update.
55789         Fix simple_wmemcmp.
55790         Add new tests.
55791         * wcsmbs/wmemcmp.c: Update.
55792         (WMEMCMP): New macro.
55793         Fix overflow bug.
55795 2011-10-12  Andreas Jaeger  <aj@suse.de>
55797         [BZ #13268]
55798         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55800 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55802         * libio/iofwide.c (do_length): Avoid warning.
55804         * ctype/ctype.h (__isctype_f): Add missing __THROW.
55806 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
55808         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55810         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55811         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55812         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55813         * sysdeps/i386/i686/fpu/e_log.S: New file.
55814         * sysdeps/i386/i686/fpu/e_logf.S: New file.
55815         * sysdeps/i386/i686/fpu/e_logl.S: New file.
55817         * ctype/ctype.h: Add support for inlined isXXX functions when
55818         compiling C++ code.
55820 2011-10-14  Andreas Schwab  <schwab@redhat.com>
55822         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55824         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55826 2011-10-13  Roland McGrath  <roland@hack.frob.com>
55828         [BZ #13291]
55829         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55831 2011-10-13  Andreas Schwab  <schwab@redhat.com>
55833         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55834         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55835         feraiseexcept.
55837         * sysdeps/x86_64/memrchr.S: Check for zero size.
55839         * string/stratcliff.c: Add memrchr tests.
55841 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55843         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55844         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55845         rawmemchr-sse2 rawmemchr-sse2-bsf.
55846         * sysdeps/i386/i686/multiarch/memchr.S: New file.
55847         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55848         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55849         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55850         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55851         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55852         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55853         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55854         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55855         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55856         * string/memrchr.c (MEMRCHR): New macro.
55858 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
55860         Add integration with gcc's -ffinite-math-only and optimize wrapper
55861         functions in libm.
55862         * Versions.def: Define GLIBC_2.15 version for libm.
55863         * math/Makefile (headers): Add bits/math-finite.h.
55864         * math/bits/math-finite.h: New file.
55865         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55866         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55867         * math/e_acoshl.c: Add __*_finite alias.
55868         * math/e_acosl.c: Likewise.
55869         * math/e_asinl.c: Likewise.
55870         * math/e_atan2l.c: Likewise.
55871         * math/e_atanhl.c: Likewise.
55872         * math/e_coshl.c: Likewise.
55873         * math/e_exp10.c: Likewise.
55874         * math/e_exp10f.c: Likewise.
55875         * math/e_exp10l.c: Likewise.
55876         * math/e_exp2l.c: Likewise.
55877         * math/e_fmodl.c: Likewise.
55878         * math/e_gammal_r.c: Likewise.
55879         * math/e_hypotl.c: Likewise.
55880         * math/e_j0l.c: Likewise.
55881         * math/e_j1l.c: Likewise.
55882         * math/e_jnl.c: Likewise.
55883         * math/e_lgammal_r.c: Likewise.
55884         * math/e_log10l.c: Likewise.
55885         * math/e_log2l.c: Likewise.
55886         * math/e_logl.c: Likewise.
55887         * math/e_powl.c: Likewise.
55888         * math/e_sinhl.c: Likewise.
55889         * math/e_sqrtl.c: Likewise.
55890         * math/e_scalb.c: Completely rewritten and optimized.
55891         * math/e_scalbf.c: Likewise.
55892         * math/e_scalbl.c: Likewise.
55893         * math/w_acos.c: Likewise.
55894         * math/w_acosf.c: Likewise.
55895         * math/w_acosl.c: Likewise.
55896         * math/w_acosh.c: Likewise.
55897         * math/w_acoshf.c: Likewise.
55898         * math/w_acoshl.c: Likewise.
55899         * math/w_asin.c: Likewise.
55900         * math/w_asinf.c: Likewise.
55901         * math/w_asinl.c: Likewise.
55902         * math/w_atan2.c: Likewise.
55903         * math/w_atan2f.c: Likewise.
55904         * math/w_atan2l.c: Likewise.
55905         * math/w_atanh.c: Likewise.
55906         * math/w_atanhf.c: Likewise.
55907         * math/w_atanhl.c: Likewise.
55908         * math/w_exp10.c: Likewise.
55909         * math/w_exp10f.c: Likewise.
55910         * math/w_exp10l.c: Likewise.
55911         * math/w_fmod.c: Likewise.
55912         * math/w_fmodf.c: Likewise.
55913         * math/w_fmodl.c: Likewise.
55914         * math/w_j0.c: Likewise.
55915         * math/w_j0f.c: Likewise.
55916         * math/w_j0l.c: Likewise.
55917         * math/w_j1.c: Likewise.
55918         * math/w_j1f.c: Likewise.
55919         * math/w_j1l.c: Likewise.
55920         * math/w_jn.c: Likewise.
55921         * math/w_jnf.c: Likewise.
55922         * math/w_log.c: Likewise.
55923         * math/w_logf.c: Likewise.
55924         * math/w_logl.c: Likewise.
55925         * math/w_log10.c: Likewise.
55926         * math/w_log10f.c: Likewise.
55927         * math/w_log10l.c: Likewise.
55928         * math/w_log2.c: Likewise.
55929         * math/w_log2f.c: Likewise.
55930         * math/w_log2l.c: Likewise.
55931         * math/w_pow.c: Likewise.
55932         * math/w_powf.c: Likewise.
55933         * math/w_powl.c: Likewise.
55934         * math/w_remainder.c: Likewise.
55935         * math/w_remainderf.c: Likewise.
55936         * math/w_remainderl.c: Likewise.
55937         * math/w_scalb.c: Likewise.
55938         * math/w_scalbf.c: Likewise.
55939         * math/w_scalbl.c: Likewise.
55940         * math/w_sqrt.c: Likewise.
55941         * math/w_sqrtf.c: Likewise.
55942         * math/w_sqrtl.c: Likewise.
55943         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55944         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
55945         used.
55946         * math/math_private.h: Declare __kernel_standard_f.
55947         * math/w_cosh.c: Remove cruft and optimize a bit.
55948         * math/w_coshf.c: Likewise.
55949         * math/w_coshl.c: Likewise.
55950         * math/w_exp2.c: Likewise.
55951         * math/w_exp2f.c: Likewise.
55952         * math/w_exp2l.c: Likewise.
55953         * math/w_hypot.c: Likewise.
55954         * math/w_hypotf.c: Likewise.
55955         * math/w_hypotl.c: Likewise.
55956         * math/w_lgamma.c: Likewise.
55957         * math/w_lgamma_r.c: Likewise.
55958         * math/w_lgammaf.c: Likewise.
55959         * math/w_lgammaf_r.c: Likewise.
55960         * math/w_lgammal.c: Likewise.
55961         * math/w_lgammal_r.c: Likewise.
55962         * math/w_sinh.c: Likewise.
55963         * math/w_sinhf.c: Likewise.
55964         * math/w_sinhl.c: Likewise.
55965         * math/w_tgamma.c: Likewise.
55966         * math/w_tgammaf.c: Likewise.
55967         * math/w_tgammal.c: Likewise.
55968         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55969         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55970         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55971         Minor optimizations.  Pretty printing.  Remove cruft.
55972         * sysdeps/i386/fpu/e_acosf.S: Likewise.
55973         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55974         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55975         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55976         * sysdeps/i386/fpu/e_acosl.c: Likewise.
55977         * sysdeps/i386/fpu/e_asin.S: Likewise.
55978         * sysdeps/i386/fpu/e_asinf.S: Likewise.
55979         * sysdeps/i386/fpu/e_atan2.S: Likewise.
55980         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55981         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55982         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55983         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55984         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55985         * sysdeps/i386/fpu/e_exp10.S: Likewise.
55986         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55987         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55988         * sysdeps/i386/fpu/e_exp2.S: Likewise.
55989         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55990         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55991         * sysdeps/i386/fpu/e_fmod.S: Likewise.
55992         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55993         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55994         * sysdeps/i386/fpu/e_hypot.S: Likewise.
55995         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55996         * sysdeps/i386/fpu/e_log.S: Likewise.
55997         * sysdeps/i386/fpu/e_log10.S: Likewise.
55998         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55999         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56000         * sysdeps/i386/fpu/e_log2.S: Likewise.
56001         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56002         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56003         * sysdeps/i386/fpu/e_logf.S: Likewise.
56004         * sysdeps/i386/fpu/e_logl.S: Likewise.
56005         * sysdeps/i386/fpu/e_pow.S: Likewise.
56006         * sysdeps/i386/fpu/e_powf.S: Likewise.
56007         * sysdeps/i386/fpu/e_powl.S: Likewise.
56008         * sysdeps/i386/fpu/e_remainder.S: Likewise.
56009         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56010         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56011         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56012         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56013         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56014         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56015         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56016         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56017         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56018         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56019         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56020         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56021         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56022         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56023         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56024         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56025         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56026         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56027         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56028         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56029         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56030         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56031         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56032         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56033         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56034         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56035         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56036         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56037         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56038         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56039         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56040         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56041         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56042         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56043         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56044         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56045         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56046         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56047         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56048         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56049         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56050         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56051         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56052         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56053         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56054         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56055         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56056         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56057         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56058         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56059         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56060         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56061         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56062         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56063         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56064         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56065         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56066         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56067         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56068         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56069         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56070         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56071         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56072         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56073         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56074         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56075         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56076         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56077         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56078         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56079         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56080         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56081         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56082         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56083         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56084         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56085         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56086         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56087         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56088         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56089         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56090         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56091         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56092         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56093         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56094         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56095         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56096         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56097         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56098         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56099         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56100         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56101         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56102         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56103         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56104         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56105         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56106         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56107         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56108         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56109         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56110         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56111         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56112         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56113         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56114         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56115         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56116         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56117         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56118         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56119         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56120         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56121         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56122         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56123         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56124         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56125         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56126         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56127         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
56128         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56129         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56130         (__isnanf): Likewise.
56131         (__isinf_ns): Likewise.
56132         (__isinf_nsf): Likewise.
56133         (__finite): Likewise.
56134         (__finitef): Likewise.
56135         (__ieee754_sqrt): Define as macro.
56136         (__ieee754_sqrtf): Define as macro.
56137         (__ieee754_sqrtl): Define as macro.
56138         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56139         inlined copy.
56140         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56141         __FINITE_MATH_ONLY__ consistent.
56142         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56144 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
56146         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56147         of rawmemchr.
56149         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56151 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
56153         * po/ja.po: Update from translation team.
56155 2011-10-08  Roland McGrath  <roland@hack.frob.com>
56157         * locale/programs/locarchive.c (prepare_address_space): New function.
56158         (create_archive, enlarge_archive, open_archive): Use it.
56160         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56161         inside [SHARED], where it is used.
56163         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56165         * nss/getent.c (netgroup_keys): Remove unused variable.
56166         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56168 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
56170         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56171         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56172         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56173         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56174         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56175         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56176         * math/Makefile (libm-calls): Add s_isinf_ns.
56177         * math/divtc3.c: Use __isinf_nsl instead of isinf.
56178         * math/multc3.c: Likewise.
56179         * math/s_casin.c: Likewise.
56180         * math/s_casinf.c: Likewise.
56181         * math/s_casinl.c: Likewise.
56182         * math/s_ccos.c: Likewise.
56183         * math/s_ccosf.c: Likewise.
56184         * math/s_ccosl.c: Likewise.
56185         * math/s_ctan.c: Likewise.
56186         * math/s_ctanf.c: Likewise.
56187         * math/s_ctanh.c: Likewise.
56188         * math/s_ctanhf.c: Likewise.
56189         * math/s_ctanhl.c: Likewise.
56190         * math/s_ctanl.c: Likewise.
56191         * math/w_fmod.c: Likewise.
56192         * math/w_fmodf.c: Likewise.
56193         * math/w_fmodl.c: Likewise.
56194         * math/w_remainder.c: Likewise.
56195         * math/w_remainderf.c: Likewise.
56196         * math/w_remainderl.c: Likewise.
56197         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56198         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56199         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56200         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56201         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56202         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56203         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56204         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56206         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56207         of the number.
56208         * stdio-common/printf_fphex.c: Likewise.
56209         * stdio-common/printf_size.c: Likewise.
56211         * math/e_exp10.c: Include math_private.h using <...> not "...".
56212         * math/e_exp10f.c: Likewise.
56213         * math/e_exp10l.c: Likewise.
56214         * math/e_exp2l.c: Likewise.
56215         * math/e_j0l.c: Likewise.
56216         * math/e_j1l.c: Likewise.
56217         * math/e_jnl.c: Likewise.
56218         * math/e_lgammal_r.c: Likewise.
56219         * math/e_rem_pio2l.c: Likewise.
56220         * math/e_scalb.c: Likewise.
56221         * math/e_scalbf.c: Likewise.
56222         * math/e_scalbl.c: Likewise.
56223         * math/k_cosl.c: Likewise.
56224         * math/k_sinl.c: Likewise.
56225         * math/k_tanl.c: Likewise.
56226         * math/s_cacoshf.c: Likewise.
56227         * math/s_catan.c: Likewise.
56228         * math/s_catanf.c: Likewise.
56229         * math/s_catanh.c: Likewise.
56230         * math/s_catanhf.c: Likewise.
56231         * math/s_catanhl.c: Likewise.
56232         * math/s_catanl.c: Likewise.
56233         * math/s_ccosh.c: Likewise.
56234         * math/s_ccoshf.c: Likewise.
56235         * math/s_ccoshl.c: Likewise.
56236         * math/s_cexp.c: Likewise.
56237         * math/s_cexpf.c: Likewise.
56238         * math/s_cexpl.c: Likewise.
56239         * math/s_clog.c: Likewise.
56240         * math/s_clog10.c: Likewise.
56241         * math/s_clog10f.c: Likewise.
56242         * math/s_clog10l.c: Likewise.
56243         * math/s_clogf.c: Likewise.
56244         * math/s_clogl.c: Likewise.
56245         * math/s_csin.c: Likewise.
56246         * math/s_csinf.c: Likewise.
56247         * math/s_csinh.c: Likewise.
56248         * math/s_csinhf.c: Likewise.
56249         * math/s_csinhl.c: Likewise.
56250         * math/s_csinl.c: Likewise.
56251         * math/s_csqrt.c: Likewise.
56252         * math/s_csqrtf.c: Likewise.
56253         * math/s_csqrtl.c: Likewise.
56254         * math/s_ctan.c: Likewise.
56255         * math/s_ctanf.c: Likewise.
56256         * math/s_ctanh.c: Likewise.
56257         * math/s_ctanhf.c: Likewise.
56258         * math/s_ctanhl.c: Likewise.
56259         * math/s_ctanl.c: Likewise.
56260         * math/s_ldexp.c: Likewise.
56261         * math/s_ldexpf.c: Likewise.
56262         * math/s_ldexpl.c: Likewise.
56263         * math/s_significand.c: Likewise.
56264         * math/s_significandf.c: Likewise.
56265         * math/s_significandl.c: Likewise.
56266         * math/w_acos.c: Likewise.
56267         * math/w_acosf.c: Likewise.
56268         * math/w_acosh.c: Likewise.
56269         * math/w_acoshf.c: Likewise.
56270         * math/w_acoshl.c: Likewise.
56271         * math/w_acosl.c: Likewise.
56272         * math/w_asin.c: Likewise.
56273         * math/w_asinf.c: Likewise.
56274         * math/w_asinl.c: Likewise.
56275         * math/w_atan2.c: Likewise.
56276         * math/w_atan2f.c: Likewise.
56277         * math/w_atan2l.c: Likewise.
56278         * math/w_atanh.c: Likewise.
56279         * math/w_atanhf.c: Likewise.
56280         * math/w_atanhl.c: Likewise.
56281         * math/w_cosh.c: Likewise.
56282         * math/w_coshf.c: Likewise.
56283         * math/w_coshl.c: Likewise.
56284         * math/w_dremf.c: Likewise.
56285         * math/w_exp10.c: Likewise.
56286         * math/w_exp10f.c: Likewise.
56287         * math/w_exp10l.c: Likewise.
56288         * math/w_exp2.c: Likewise.
56289         * math/w_exp2f.c: Likewise.
56290         * math/w_fmod.c: Likewise.
56291         * math/w_fmodf.c: Likewise.
56292         * math/w_fmodl.c: Likewise.
56293         * math/w_hypot.c: Likewise.
56294         * math/w_hypotf.c: Likewise.
56295         * math/w_hypotl.c: Likewise.
56296         * math/w_j0.c: Likewise.
56297         * math/w_j0f.c: Likewise.
56298         * math/w_j0l.c: Likewise.
56299         * math/w_j1.c: Likewise.
56300         * math/w_j1f.c: Likewise.
56301         * math/w_j1l.c: Likewise.
56302         * math/w_jn.c: Likewise.
56303         * math/w_jnf.c: Likewise.
56304         * math/w_jnl.c: Likewise.
56305         * math/w_lgamma.c: Likewise.
56306         * math/w_lgamma_r.c: Likewise.
56307         * math/w_lgammaf.c: Likewise.
56308         * math/w_lgammaf_r.c: Likewise.
56309         * math/w_lgammal.c: Likewise.
56310         * math/w_lgammal_r.c: Likewise.
56311         * math/w_log.c: Likewise.
56312         * math/w_log10.c: Likewise.
56313         * math/w_log10f.c: Likewise.
56314         * math/w_log10l.c: Likewise.
56315         * math/w_log2.c: Likewise.
56316         * math/w_log2f.c: Likewise.
56317         * math/w_log2l.c: Likewise.
56318         * math/w_logf.c: Likewise.
56319         * math/w_logl.c: Likewise.
56320         * math/w_pow.c: Likewise.
56321         * math/w_powf.c: Likewise.
56322         * math/w_powl.c: Likewise.
56323         * math/w_remainder.c: Likewise.
56324         * math/w_remainderf.c: Likewise.
56325         * math/w_remainderl.c: Likewise.
56326         * math/w_scalb.c: Likewise.
56327         * math/w_scalbf.c: Likewise.
56328         * math/w_scalbl.c: Likewise.
56329         * math/w_sinh.c: Likewise.
56330         * math/w_sinhf.c: Likewise.
56331         * math/w_sinhl.c: Likewise.
56332         * math/w_sqrt.c: Likewise.
56333         * math/w_sqrtf.c: Likewise.
56334         * math/w_sqrtl.c: Likewise.
56335         * math/w_tgamma.c: Likewise.
56336         * math/w_tgammaf.c: Likewise.
56337         * math/w_tgammal.c: Likewise.
56339         * po/ja.po: Update from translation team.
56341 2011-09-29  Andreas Jaeger  <aj@suse.de>
56343         [BZ #13179]
56344         * sunrpc/netname.c (netname2host): Fix logic.
56346         [BZ #6779]
56347         [BZ #6783]
56348         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56349         correctly.
56350         * math/w_remainder.c (__remainder): Likewise.
56351         * math/w_remainderf.c (__remainderf): Likewise.
56352         * math/libm-test.inc (remainder_test): Add test cases.
56354 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56356         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
56357         sdiv_qrnnd.
56359 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56361         * string/test-memcmp.c: Avoid unncessary #defines.
56362         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56364 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56366         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56367         Use new sse2 version for core i3 - i7 as it's faster
56368         than sse42 version.
56369         (bit_Prefer_PMINUB_for_stringop): New.
56370         * sysdeps/x86_64/rawmemchr.S: Update.
56371         Replace with faster SSE2 version.
56372         * sysdeps/x86_64/memrchr.S: New file.
56373         * sysdeps/x86_64/memchr.S: Update.
56374         Replace with faster SSE2 version.
56376 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
56378         * elf/dl-load.c (lose): Add cast to avoid warning.
56380 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56382         * po/ca.po: Update from translation team.
56384         * inet/getnetgrent_r.c: Hook up nscd.
56385         * nscd/Makefile (routines): Add nscd_netgroup.
56386         (nscd-modules): Add netgroupcache.
56387         (CFLAGS-netgroupcache.c): Define.
56388         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56389         (cache_search): Add const to second parameter.
56390         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56391         INNETGR.
56392         (dbs): Add netgrdb entry.
56393         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56394         (verify_persistent_db): Handle netgrdb.
56395         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56396         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56397         GETFDNETGR.
56398         (netgroup_response_header): Define.
56399         (innetgroup_response_header): Define.
56400         (datahead): Add netgroup_response_header and innetgroup_response_header
56401         elements.
56402         * nscd/nscd.conf: Add entries for netgroup cache.
56403         * nscd/nscd.h (dbtype): Add netgrdb.
56404         (_PATH_NSCD_NETGROUP_DB): Define.
56405         (netgroup_iov_disabled): Declare.
56406         (xmalloc, xcalloc, xrealloc): Move declarations here.
56407         (cache_search): Adjust prototype.
56408         Add netgroup-related prototypes.
56409         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56410         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56411         (__nscd_innetgr): Declare.
56412         * nscd/selinux.c (perms): Use access_vector_t as element type and
56413         add netgroup-related initializers.
56414         * nscd/netgroupcache.c: New file.
56415         * nscd/nscd_netgroup.c: New file.
56416         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56417         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56418         For four parameters use innetgr.
56419         * nss/nss_files/files-init.c: Add definition and callback for netgr.
56420         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56421         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56422         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56424         * nscd/connections.c (register_traced_file): Don't register file
56425         for disabled databases.
56427 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
56429         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56431         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56432         from tree and freeing node.
56434 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
56436         * nss/nsswitch.c (__nss_database_lookup): Handle
56437         nss_parse_service_list out of memory case.
56439 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
56441         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56442         out of memory case.
56444 2011-10-04  Andreas Schwab  <schwab@redhat.com>
56446         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56447         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56448         pass it down.
56449         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56450         elf_machine_rela, elf_machine_lazy_rel.
56451         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56452         (ELF_DYNAMIC_DO_REL): Likewise.
56453         (ELF_DYNAMIC_DO_RELA): Likewise.
56454         (ELF_DYNAMIC_RELOCATE): Likewise.
56455         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56456         to ELF_DYNAMIC_DO_REL.
56457         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56458         (dl_main): In trace mode always set __RTLD_NOIFUNC.
56459         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56460         elf_machine_rela.
56461         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56462         skip_ifunc, don't call ifunc function if non-zero.
56463         (elf_machine_rela): Likewise.
56464         (elf_machine_lazy_rel): Likewise.
56465         (elf_machine_lazy_rela): Likewise.
56466         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56467         (elf_machine_lazy_rel): Likewise.
56468         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56469         Likewise.
56470         (elf_machine_lazy_rel): Likewise.
56471         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56472         Likewise.
56473         (elf_machine_lazy_rel): Likewise.
56474         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56475         (elf_machine_lazy_rel): Likewise.
56476         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56477         (elf_machine_lazy_rel): Likewise.
56478         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56479         (elf_machine_lazy_rel): Likewise.
56480         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56481         (elf_machine_lazy_rel): Likewise.
56482         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56483         (elf_machine_lazy_rel): Likewise.
56484         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56485         (elf_machine_lazy_rel): Likewise.
56487 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
56489         * nss/nss_files/files-init.c (_nss_files_init): Use static
56490         initialization for all the *_traced_file variables.
56492 2011-09-28  Andreas Schwab  <schwab@redhat.com>
56494         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56496 2011-09-27  Roland McGrath  <roland@hack.frob.com>
56498         [BZ #13226]
56499         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56501 2011-09-27  Andreas Schwab  <schwab@redhat.com>
56503         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56504         Reread the line before reparsing it.
56506 2011-09-26  Andreas Schwab  <schwab@redhat.com>
56508         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56510 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
56511             Maxim Kuvyrkov  <maxim@codesourcery.com>
56512             Joseph Myers  <joseph@codesourcery.com>
56514         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56515         if needed for __stack_chk_guard.
56517 2011-09-19  Roland McGrath  <roland@hack.frob.com>
56519         * sysdeps/posix/spawni.c (script_execute): Always define it.
56520         It will be optimized away if unused.
56521         (maybe_script_execute): New function.
56522         (__spawni): Call it.
56524         * Makerules: Don't include tls.make.
56525         (config-tls): Always set to thread.
56526         * tls.make.c: File removed.
56528 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
56530         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56531         * config.make.in (CPPFLAGS-config): New substituted variable.
56533 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56535         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56537         [BZ #13192]
56538         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56539         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56541 2011-09-15  Roland McGrath  <roland@hack.frob.com>
56543         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56544         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56545         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56546         (CALL_FAIL): Likewise.
56547         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56548         (CALL_FAIL): Macro removed.
56549         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56551 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56553         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56554         for __FINITE_MATH_ONLY__ == 1.
56556 2011-09-15  Andreas Schwab  <schwab@redhat.com>
56558         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56559         __ieee754_sqrt instead of sqrt.
56560         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56561         __ieee754_sqrtf instead of sqrtf.
56562         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56563         __floorf instead of floorf.
56564         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56565         __floorf, __truncf instead of floorf, truncf.
56567 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
56569         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56571         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56572         __extern_always_inline.
56573         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56574         32-bit.
56576 2011-09-14  Andreas Schwab  <schwab@redhat.com>
56578         * elf/rtld.c (dl_main): Also relocate in dependency order when
56579         doing symbol dependency testing.
56581 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
56583         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56584         Always define `refsym'.
56586 2011-09-13  Andreas Schwab  <schwab@redhat.com>
56588         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56589         (__FD_ELT): Renamed from __FDELT.
56590         * misc/bits/select2.h (__FD_ELT): Likewise.
56591         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56592         __FD_MASK instead of __FDELT, __FDMASK.
56593         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56594         Likewise.
56595         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56596         Likewise.
56598         * elf/Makefile (gen-ldd): Fix pattern.
56600         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56601         (init_tls): Likewise.
56603 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
56605         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56607 2011-09-12  Andreas Schwab  <schwab@redhat.com>
56609         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56610         `struct cmsghdr *' instead of `void *'.
56611         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56612         Likewise.
56614 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
56616         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56617         if non-absolute.
56618         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56619         ldd_rewrite_script.
56621 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
56623         * configure.in: Remove --with-tls option.
56624         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56625         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56626         out in case it is missing.
56627         * sysdeps/ia64/elf/configure.in: Likewise.
56628         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56629         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56630         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56631         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56632         * sysdeps/sh/elf/configure.in: Likewise.
56633         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56634         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56635         * sysdeps/x86_64/elf/configure.in: Likewise.
56636         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56637         * sysdeps/mach/hurd/tls.h: Likewise.
56639         [BZ #13067]
56640         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56642         [BZ #13090]
56643         * configure.in: Fix use of AC_INIT.
56645         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56647 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
56649         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56650         __set_errno.
56651         * malloc/hooks.c: Likewise.
56653         [BZ #11929]
56654         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
56655         variables statically.
56656         (narenas): Initialize.
56657         (list_lock): Initialize.
56658         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
56659         initializtion of main_arena and list_lock.  Small cleanups.
56660         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56661         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
56662         Add initializers to main_arena and mp_.
56663         (malloc_state): Remove pagesize member.  Change all users to use
56664         GLRO(dl_pagesize).
56666         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56667         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
56668         is always initialized.
56670         * malloc/malloc.c: Removed unused configurations and dead code.
56671         * malloc/arena.c: Likewise.
56672         * malloc/hooks.c: Likewise.
56673         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56675         * include/tls.h: Removed.  USE___THREAD must always be defined.
56676         * bits/libc-tsd.h: Don't handle !USE___THREAD.
56677         * elf/dl-libc.c: Likewise.
56678         * elf/dl-tsd.c: Likewise.
56679         * include/errno.h: Likewise.
56680         * include/netdb.h: Likewise.
56681         * include/resolv.h: Likewise.
56682         * inet/herrno-loc.c: Likewise.
56683         * inet/herrno.c: Likewise.
56684         * malloc/arena.c: Likewise.
56685         * malloc/hooks.c: Likewise.
56686         * malloc/malloc.c: Likewise.
56687         * resolv/res-state.c: Likewise.
56688         * resolv/res_libc.c: Likewise.
56689         * sysdeps/i386/dl-machine.h: Likewise.
56690         * sysdeps/ia64/dl-machine.h: Likewise.
56691         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56692         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56693         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56694         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56695         * sysdeps/sh/dl-machine.h: Likewise.
56696         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56697         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56698         * sysdeps/unix/i386/sysdep.S: Likewise.
56699         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56700         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56701         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56702         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56703         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56704         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56705         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56706         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56707         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56708         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56709         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56710         * sysdeps/x86_64/dl-machine.h: Likewise.
56711         * tls.make.c: Likewise.
56713         * configure.in: Remove --with-__thread option.  Make tests for
56714         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56715         tls_model attribute fail if no support is available.  Remove
56716         USE_IN_LIBIO.
56717         * Makeconfig: Adjust for dropped configure option.  All features are
56718         now mandatory.
56719         * Makerules: Likewise.
56720         * Versions.def: Likewise.
56721         * argp/argp-fmtstream.c: Likewise.
56722         * argp/argp-fmtstream.h: Likewise.
56723         * argp/argp-help.c: Likewise.
56724         * assert/assert.c: Likewise.
56725         * config.h.in: Likewise.
56726         * config.make.in: Likewise.
56727         * configure: Likewise.
56728         * configure.in: Likewise.
56729         * csu/Versions: Likewise.
56730         * csu/init.c: Likewise.
56731         * elf/tst-audit2.c: Likewise.
56732         * elf/tst-tls10.c: Likewise.
56733         * elf/tst-tls10.h: Likewise.
56734         * elf/tst-tls11.c: Likewise.
56735         * elf/tst-tls12.c: Likewise.
56736         * elf/tst-tls14.c: Likewise.
56737         * elf/tst-tlsmod11.c: Likewise.
56738         * elf/tst-tlsmod12.c: Likewise.
56739         * elf/tst-tlsmod13.c: Likewise.
56740         * elf/tst-tlsmod13a.c: Likewise.
56741         * elf/tst-tlsmod14a.c: Likewise.
56742         * elf/tst-tlsmod15b.c: Likewise.
56743         * elf/tst-tlsmod16a.c: Likewise.
56744         * elf/tst-tlsmod16b.c: Likewise.
56745         * elf/tst-tlsmod7.c: Likewise.
56746         * elf/tst-tlsmod8.c: Likewise.
56747         * elf/tst-tlsmod9.c: Likewise.
56748         * gmon/gmon.c: Likewise.
56749         * grp/fgetgrent_r.c: Likewise.
56750         * grp/putgrent.c: Likewise.
56751         * hurd/fopenport.c: Likewise.
56752         * include/libc-symbols.h: Likewise.
56753         * include/tls.h: Likewise.
56754         * intl/gettextP.h: Likewise.
56755         * intl/loadinfo.h: Likewise.
56756         * locale/global-locale.c: Likewise.
56757         * locale/localeinfo.h: Likewise.
56758         * mach/devstream.c: Likewise.
56759         * malloc/arena.c: Likewise.
56760         * malloc/set-freeres.c: Likewise.
56761         * misc/err.c: Likewise.
56762         * misc/getttyent.c: Likewise.
56763         * misc/mntent_r.c: Likewise.
56764         * posix/getopt.c: Likewise.
56765         * posix/wordexp.c: Likewise.
56766         * pwd/fgetpwent_r.c: Likewise.
56767         * resolv/Versions: Likewise.
56768         * resolv/res_hconf.c: Likewise.
56769         * shadow/fgetspent_r.c: Likewise.
56770         * shadow/putspent.c: Likewise.
56771         * stdio-common/printf_fphex.c: Likewise.
56772         * stdio-common/tmpfile.c: Likewise.
56773         * stdlib/abort.c: Likewise.
56774         * stdlib/fmtmsg.c: Likewise.
56775         * sunrpc/auth_unix.c: Likewise.
56776         * sunrpc/clnt_perr.c: Likewise.
56777         * sunrpc/clnt_tcp.c: Likewise.
56778         * sunrpc/clnt_udp.c: Likewise.
56779         * sunrpc/clnt_unix.c: Likewise.
56780         * sunrpc/openchild.c: Likewise.
56781         * sunrpc/svc_simple.c: Likewise.
56782         * sunrpc/svc_tcp.c: Likewise.
56783         * sunrpc/svc_udp.c: Likewise.
56784         * sunrpc/svc_unix.c: Likewise.
56785         * sunrpc/xdr.c: Likewise.
56786         * sunrpc/xdr_array.c: Likewise.
56787         * sunrpc/xdr_rec.c: Likewise.
56788         * sunrpc/xdr_ref.c: Likewise.
56789         * sunrpc/xdr_stdio.c: Likewise.
56791 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56793         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56795 2011-07-03  Andreas Jaeger  <aj@suse.de>
56797         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56798         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56799         regenerate with gen-libm-tests.pl.
56801 2010-05-12  Petr Baudis  <pasky@suse.cz>
56803         [BZ #11589]
56804         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56805         around j0() zero points by switching to j1().
56806         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56807         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56808         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56809         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56811 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56813         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56814         instead of 0.
56815         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56816         instead of 0.
56817         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56818         Patch in part by Pavel Roskin <proski@gnu.org>.
56820         [BZ #13138]
56821         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56822         realloc.
56823         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
56824         Free memory block if necessary.
56826         [BZ #12847]
56827         * libio/genops.c (INTDEF): For string streams the _lock pointer can
56828         be NULL.  Don't lock in this case.
56830 2011-09-09  Roland McGrath  <roland@hack.frob.com>
56832         * elf/elf.h (ELFOSABI_GNU): New macro.
56833         (ELFOSABI_LINUX): Define to that.
56835 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
56837         * string/strncat.c (strncat): Undef the symbol in case it has been
56838         defined in bits/string.h.
56840 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56842         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56844         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56845         link map.
56847 2011-08-17  Andreas Jaeger  <aj@suse.de>
56849         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56851 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56852             Ian Lance Taylor  <iant@google.com>
56854         * math/libm-test.inc (lround_test): New testcase.
56855         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56857 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
56859         * Makefile: Remove support for automatic cvs check-ins.
56860         * Makerules: Likewise.
56861         * config.make.in: Likewise.
56862         * configure.in: Likewise.
56863         * intl/Makefile: Likewise.
56864         * locale/Makefile: Likewise.
56865         * po/Makefile: Likewise.
56866         * posix/Makefile: Likewise.
56867         * sysdeps/gnu/Makefile: Likewise.
56868         * sysdeps/mach/hurd/Makefile: Likewise.
56869         * sysdeps/sparc/sparc32/Makefile: Likewise.
56871         [BZ #13118]
56872         * posix/Makefile (bug-regex32-ENV): Define.
56873         Patch by John Stanley <jpsinthemix@verizon.net>.
56875         * misc/Makefile (headers): Add bits/select2.h.
56876         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56877         * misc/bits/select2.h: New file.
56878         * include/bits/select2.h: New file.
56879         * debug/Makefile (routines): Add fdelt_chk.
56880         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56881         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56882         FD_ISSET.
56883         * debug/fdelt_chk.c: New file.
56885         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
56886         * wcsmbs/test-wmemcmp.c: Likewise.
56887         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56888         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56890 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56892         * string/Makefile (strop-tests): Add memcmp.
56893         * string/test-wmemcmp.c: New file.
56894         * string/test-memcmp.c: Add wmemcmp support.
56896 2011-09-08  Roland McGrath  <roland@hack.frob.com>
56898         [BZ #13153]
56899         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56900         2011-07-19 change.
56902         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56903         garbage value in a __mach_port_mod_refs call in the cases of the
56904         task-self and thread-self ports.
56906 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56908         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56910 2011-09-08  Andreas Schwab  <schwab@redhat.com>
56912         * elf/dl-load.c (lose): Check for non-null L.
56914 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56916         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56918         * elf/dl-libc.c (dlerror_run): Pass back error code from
56919         dl_catch_error.
56921         [BZ #13123]
56922         * elf/dl-load.c (lose): Free l_origin if it is valid.
56924         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56925         names.
56926         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56927         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56928         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56929         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56930         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56931         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56933 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56935         * sysdeps/powerpc/fpu/e_hypot.c: New file.
56936         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56937         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56938         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56939         * sysdeps/powerpc/fpu/k_cosf.c: New file.
56940         * sysdeps/powerpc/fpu/k_sinf.c: New file.
56941         * sysdeps/powerpc/fpu/s_cosf.c: New file.
56942         * sysdeps/powerpc/fpu/s_sinf.c: New file.
56943         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56944         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56946 2011-08-15  Alan Modra  <amodra@gmail.com>
56948         [BZ #13092]
56949         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56950         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56951         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
56952         ppc_mcount to static-only-routines.
56953         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56954         __mcount_internal.
56955         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56956         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
56958 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
56960         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56961         for finite and infinity parameters.
56963 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56965         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56966         and add nop instructions for throughput optimization.
56967         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56969 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
56971         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56972         aligned copy for power7 with vector-scalar instructions.
56973         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56975 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
56977         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56978         AVX check.
56980 2011-09-07  Andreas Schwab  <schwab@redhat.com>
56982         [BZ #13144]
56983         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56984         last change.
56986 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56988         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56989         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56990         syscall wrapper around clock_gettime in __vdso_clock_gettime.
56991         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56992         clock_gettime.
56994 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56996         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56997         Forgot to demangle the pointer.
56999         * sysdeps/i386/sysdep.h: Define atom_text_section.
57000         * sysdeps/x86_64/sysdep.h: Likewise.
57001         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57002         section with atom_text_section.
57003         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57004         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57005         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57006         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57007         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57009         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57010         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57011         already be defined.  Change to take two parameters and don't assign
57012         result to variable.  Adjust all users.
57013         Define INTERNAL_GETTIME if not already defined.
57014         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57015         call.
57016         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57017         HAVE_CLOCK_GETTIME_VSYSCALL.
57018         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57020         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57021         gettimeofday vsyscall, just use time.
57023 2011-09-06  Andreas Schwab  <schwab@redhat.com>
57025         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57026         <errno.h>.
57028 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57030         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57031         syscall on x86-64.
57032         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57033         syscall.
57034         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57035         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57036         syscall if possible.
57038 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57040         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57041         e_ident.  Don't pass to find_mapsXX.
57042         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57044 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57046         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57047         strchr-sse2-no-bsf strrchr-sse2-no-bsf
57048         * sysdeps/x86_64/multiarch/strchr.S: Update.
57049         Check bit_slow_BSF bit.
57050         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57051         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57052         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57054 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57056         [BZ #13134]
57057         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57058         before glibc 2.15.
57059         (tryshell): Define.
57060         (__spawni): Change last parameter to be flag.  Test
57061         SPAWN_XFLAGS_USE_PATH flag to use path or not.
57062         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57063         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57064         * posix/spawni.c: Likewise.
57065         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57066         * posix/spawnp.c: Likewise.  Change normal version to use
57067         SPAWN_XFLAGS_USE_PATH.
57068         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57069         SPAWN_XFLAGS_TRY_SHELL.
57071         [BZ #13150]
57072         * posix/glob.h: Remove gcc 1.x support.
57074         [BZ #13068]
57075         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57077 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57079         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57080         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57081         strrchr-sse2-bsf
57082         * sysdeps/i386/i686/multiarch/strchr.S: New file.
57083         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57084         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57085         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57086         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57087         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57089 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57091         * sysdeps/x86_64/wcscmp.S: New file.
57093         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57094         wcscmp-c wcscmp-sse2
57095         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57096         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57097         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57098         * wcsmbs/wcscmp.c: Allow renaming.
57100 2011-09-05  David S. Miller  <davem@davemloft.net>
57102         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57103         stack slot, rather than the struct return pointer slot.
57104         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57105         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57107         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57109 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57111         * po/ja.po: Update from translation team.
57113         [BZ #13144]
57114         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57115         kernel in 64-bit binaries.
57117 2011-09-01  David S. Miller  <davem@davemloft.net>
57119         * elf/elf.h (HWCAP_SPARC_*): Move to..
57120         * sysdeps/sparc/sysdep.h: this new file and add new values.
57121         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57122         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57123         _DL_HWCAP_COUNT to 24.
57124         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57125         entries.
57126         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57127         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57128         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57129         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57130         instead of magic constants.
57131         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57133 2011-08-31  David S. Miller  <davem@davemloft.net>
57135         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57136         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57137         Reimplement to do errno handling inline.
57138         (SYSCALL_ERROR_HANDLER): New macro.
57139         (__SYSCALL_STRING): Do not do errno handling in asm.
57140         (__CLONE_SYSCALL_STRING): Delete.
57141         (__INTERNAL_SYSCALL_STRING): Delete.
57142         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57143         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57144         (PSEUDO): Reimplement to do errno handling inline.
57145         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57146         (SYSCALL_ERROR_HANDLER): New macro.
57147         (__SYSCALL_STRING): Do not do errno handling in asm.
57148         (__CLONE_SYSCALL_STRING): Delete.
57149         (__INTERNAL_SYSCALL_STRING): Delete.
57150         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57151         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57152         i386.
57153         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57154         (inline_syscall*): Add 'err' argument.
57155         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57156         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57157         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57158         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57160         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57161         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57163 2011-08-30  Andreas Schwab  <schwab@redhat.com>
57165         * elf/rtld.c (dl_main): Relocate objects in dependency order.
57167 2011-08-29  Jiri Olsa <jolsa@redhat.com>
57169         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57170         directive.
57172 2011-08-24  David S. Miller  <davem@davemloft.net>
57174         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57176 2011-08-24  Andreas Schwab  <schwab@redhat.com>
57178         * elf/Makefile: Add rules to build and run unload8 test.
57179         * elf/unload8.c: New file.
57180         * elf/unload8mod1.c: New file.
57181         * elf/unload8mod1x.c: New file.
57182         * elf/unload8mod2.c: New file.
57183         * elf/unload8mod3.c: New file.
57185         * elf/dl-close.c (_dl_close_worker): Reset private search list if
57186         it wasn't used.
57188 2011-08-23  David S. Miller  <davem@davemloft.net>
57190         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57191         subtract stack bias.
57192         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57193         %sp not %fp in calculations.
57194         (_JMPBUF_UNWINDS_ADJ): Likewise.
57196         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57197         (aio_suspend): Call it to force an exception region around the
57198         AIO_MISC_WAIT() invocation.
57200 2011-08-23  Andreas Schwab  <schwab@redhat.com>
57202         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57203         backslash.
57205 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
57207         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57208         protection macro.
57209         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57210         and <dl-machine.h>.
57211         (Elf64_FuncDesc): Remove.
57213 2011-08-22  David S. Miller  <davem@davemloft.net>
57215         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57216         sigaltstack check, add missing cfi directives.
57217         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57218         missing cfi directives, and sigaltstack handling.
57220 2011-08-16  Andreas Schwab  <schwab@redhat.com>
57222         [BZ #11724]
57223         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57224         object is seen twice.
57225         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57227         * elf/Makefile (distribute): Add tst-initorder2.c.
57228         (tests): Add tst-initorder2.
57229         (modules-names): Add tst-initorder2a tst-initorder2b
57230         tst-initorder2c tst-initorder2d.  Add rules to build them.
57231         ($(objpfx)tst-initorder2.out): New rule.
57232         * elf/tst-initorder2.c: New file.
57233         * elf/tst-initorder2.exp: New file.
57235 2011-08-22  Andreas Schwab  <schwab@redhat.com>
57237         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57239         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57240         dependencies back to end of function.
57242         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57243         $(elfobjdir)/ld.so.
57245 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
57247         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57248         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57249         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57250         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57251         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57252         of __vdso_gettimeofday.
57253         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57254         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
57255         attribute_hidden.
57256         (_libc_vdso_platform_setup): Remove initialization of
57257         __vdso_gettimeofday and __vdso_time.
57259 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57261         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57262         and fgetc_unlocked.
57263         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57264         getc_unlocked.
57266         * elf/dl-open.c (add_to_global): Report additions to the global scope
57267         for LD_DEBUG=scopes.
57268         (dl_open_worker): Also print scope of newly loaded dependencies.
57269         (_dl_show_scope): Indicate if there is no scope.
57271         [BZ #13114]
57272         * stdio-common/Makefile (tests): Add bug24.
57273         * stdio-common/bug24.c: New file.
57275 2011-08-19  Andreas Jaeger  <aj@suse.de>
57277         [BZ #13114]
57278         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57279         non-existant file when using close-on-exec mode.
57281 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57283         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57284         the very first instruction.
57286         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57287         the CFI state in the end.
57288         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57289         inclusion of dl-trampoline.h.
57290         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57292 2011-08-19  Andreas Schwab  <schwab@redhat.com>
57294         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57295         expectations for long double.
57297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57298         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57300 2011-08-14  David S. Miller  <davem@davemloft.net>
57302         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57303         artificual limit depends upon the system page size.
57305 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57307         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57308         * resolv/Makefile: Define CFLAGS-libresolv.
57310 2011-08-17  Andreas Schwab  <schwab@redhat.com>
57312         * nss/makedb.c (compute_tables): Make variables used in nested
57313         function static.
57315 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57317         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57318         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57319         if buffer was too small.
57321         * elf/pldd.c (main): Attach to all threads in the process.
57322         Rewrite /proc handling to use *at functions.
57324 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
57326         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57327         specifies first scope to show.
57328         (dl_open_worker): Update callers.  Move printing scope of new
57329         object to before the relocation.
57330         * elf/rtld.c (dl_main): Update _dl_show_scope call.
57331         * sysdeps/generic/ldsodefs.h: Update declaration.
57333         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57334         string for the scope number.
57336 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
57338         * nscd/servicescache.c (cache_addserv): Make sure written is always
57339         initialized.
57341 2011-08-14  Roland McGrath  <roland@hack.frob.com>
57343         * sysdeps/i386/i486/bits/atomic.h
57344         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57345         statement expression, so as to suppress "set but not used" warning.
57346         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57348         * string/strncat.c (STRNCAT): Use prototype definition.
57350         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57351         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57352         -Iprograms here.
57353         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57354         (localedef-modules): Add localedef.
57355         (locale-modules): Add locale.
57357         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57358         * elf/rtld.c (dl_main): Invert order of assignment in last change,
57359         to avoid a warning.
57361 2011-08-14  David S. Miller  <davem@davemloft.net>
57363         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57364         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57366 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
57368         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57369         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57370         * elf/rtld.c (dl_main): Set l_name of vDSO.
57371         Call _dl_show_scope when DL_DEBUG_SCOPES.
57372         (process_dl_debug): Recognize scopes flag and also set it for all.
57373         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57374         Declare _dl_show_scope.
57376         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57377         (do_dlopen): Pass caller_dlopen to dl_open.
57378         (__libc_dlopen_mode): Initialize caller_dlopen.
57380         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57381         of libc.  Make tolower call locale-independent.  Optimize a bit by
57382         using isdigit instead of isalnum.
57383         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57385 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
57387         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57388         was a dependency or dynamically loaded.
57390 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
57392         * intl/l10nflist.c: Allow architecture-specific pop function.
57393         * sysdeps/x86_64/l10nflist.c: New file.
57395         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57396         classification.
57398 2011-08-10  Andreas Schwab  <schwab@redhat.com>
57400         * include/dirent.h: Add libc_hidden_proto for scandirat and
57401         scandirat64.  Don't declare __scandirat64.
57402         * dirent/scandirat.c: Add libc_hidden_def.
57403         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57404         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57406 2011-08-10  David S. Miller  <davem@davemloft.net>
57408         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57409         enum.
57410         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57411         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57412         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57414 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
57416         * Versions.def [libc]: Add GLIBC_2.15.
57417         * dirent/Makefile (routines): Add scandirat and scandirat64.
57418         * dirent/Versions [libc]: Export scandirat and scandirat64 for
57419         GLIBC_2.15.
57420         * dirent/dirent.h: Declare scandirat and scandirat64.
57421         * dirent/scandirat.c: New file.
57422         * dirent/scandirat64.c: New file.
57423         * sysdeps/wordsize-64/scandirat.c: New file.
57424         * sysdeps/wordsize-64/scandirat64.c: New file.
57425         * dirent/opendir.c: Define opendirat.
57426         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
57427         using scandirat.
57428         * dirent/scandir64.c: Adjust for scandir.c change.
57429         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
57430         __scandirat64, and __scandir_cancel_handler.
57431         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
57432         additional parameter and use openat instead of open (outside of ld.so).
57433         Add new __opendir as wrapper around __opendirat.
57434         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57435         here without requiring old scandirat implementation.
57437 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
57439         * dirent/scandir.c (cancel_handler): Renamed to
57440         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
57441         defined.  Adjust users.
57442         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57443         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57445 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
57447         * string/test-string.h (IMPL): Use __STRING to expand name and then
57448         stringify it.
57450         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
57451         of cleanups.
57453 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57455         * string/Makefile: Update.
57456         (strop-tests): Append strncat.
57457         * string/test-wcscmp.c: New file.
57458         New comprehensive test for wcscmp.
57459         * string/test-strcmp.c: Update.
57460         (WIDE): New define.
57462 2011-07-22  Andreas Schwab  <schwab@redhat.com>
57464         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57465         line.
57467 2011-07-26  Andreas Schwab  <schwab@redhat.com>
57469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57470         encoding to ACE if AI_IDN.
57472 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
57474         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57475         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57477 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57479         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57480         Fix overflow bug in strncat.
57481         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57483         * string/test-strncat.c: Update.
57484         Add new tests for checking overflow bugs.
57486 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57488         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57489         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57490         * sysdeps/i386/i686/multiarch/strcat.S: New file.
57491         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57492         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57493         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57494         * sysdeps/i386/i686/multiarch/strncat.S: New file.
57495         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57496         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57498         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57499         (USE_AS_STRCAT): Define.
57500         Add strcat and strncat support.
57501         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57503 2011-07-25  Andreas Schwab  <schwab@redhat.com>
57505         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57506         __n bigger than INT_MAX+1.
57507         (__strncmp_g): Likewise.
57509 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
57511         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57512         * libio/stido.h: Likewise.
57514         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57515         (AF_NFC): Define.
57516         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57517         (AF_NFC): Define.
57519         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57520         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57521         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57522         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57523         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57525         [BZ #13021]
57526         * scripts/test-installation.pl: Don't expect libnss_test1 to be
57527         installed.
57529         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57530         typo.
57531         (_dl_x86_64_save_sse): Likewise.
57533 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
57535         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57536         OSXSAVE.
57537         (_dl_x86_64_save_sse): Likewise.
57539         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57541         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57543 2011-07-21  Andreas Schwab  <schwab@redhat.com>
57545         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57546         change.
57547         (_dl_x86_64_save_sse): Use correct AVX check.
57549 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57551         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57552         bug in strncpy/strncat.
57553         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57555 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
57557         * string/tester.c (test_strcat): Add tests for different alignments
57558         of source and destination.
57559         (test_strncat): Likewise.
57561 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57563         [BZ #12852]
57564         * posix/glob.c (glob): Check passed in values before using them in
57565         expressions to avoid some overflows.
57566         (glob_in_dir): Likewise.
57568         [BZ #13007]
57569         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57570         check for AVX enablement so that we don't crash with old kernels and
57571         new hardware.
57572         * elf/tst-audit4.c: Add same checks here.
57573         * elf/tst-audit6.c: Likewise.
57575         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57577 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
57579         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57581 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57583         * po/cs.po: Update from translation team.
57584         * po/bg.po: Likewise.
57586 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
57588         * misc/sys/cdefs.h: Add support for const attribute.
57589         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57590         to gnu_dev_{major,minor,makedev} functions.
57592 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
57594         * intl/dcigettext.c (get_output_charset): Add missing bracket.
57596 2011-07-20  Andreas Schwab  <schwab@redhat.com>
57598         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57599         strlen results.
57601 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57603         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57604         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57605         register in order to avoid conflicts with the soft frame pointer
57606         being held in r11 when necessary.
57607         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57608         (INTERNAL_VSYSCALL_NCS): Likewise.
57610 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
57612         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57613         * elf/dl-fini.c (_dl_fini): Adjust caller.
57614         * elf/dl-close.c (_dl_close_worker): Likewise.
57615         * sysdeps/generic/ldsodefs.h: Adjust declaration.
57617 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57619         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57620         "aux_cache->nlibs < 0".
57622         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57623         in the reload-count case.
57625 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57627         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57628         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57629         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57630         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57631         * sysdeps/x86_64/multiarch/strcat.S: New file.
57632         * sysdeps/x86_64/multiarch/strncat.S: New file.
57633         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57634         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57635         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57636         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57637         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57638         (USE_AS_STRCAT): Define.
57639         Add strcat and strncat support.
57640         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57641         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57642         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57643         * string/strncat.c: Update.
57644         (USE_AS_STRNCAT): Define.
57645         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57646         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57647         and i7.
57648         * sysdeps/x86_64/multiarch/init-arch.h
57649         (bit_Prefer_PMINUB_for_stringop): New.
57650         (index_Prefer_PMINUB_for_stringop): Likewise.
57651         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57652         bit_Prefer_PMINUB_for_stringop.
57654 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57656         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57657         buffer64.
57658         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57659         of casting of buffer.
57660         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57661         buffer32 and buffer64.
57662         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57663         writes instead of casting of buffer.
57664         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57665         buffer32.
57666         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57667         casting of buffer.
57669 2011-07-19  Andreas Schwab  <schwab@redhat.com>
57671         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57673 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57675         * nscd/nscd.c (termination_handler): Don't do anything for a database
57676         if it has not yet been initialized.
57678 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57680         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57682 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57684         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57686 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57688         * po/nl.po: Update from translation team.
57689         * po/sv.po: Likewise.
57691 2011-07-16  Roland McGrath  <roland@hack.frob.com>
57693         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57694         now disallowed by GCC.
57696         * configure.in (use-default-link): Default to yes if a test -shared
57697         link meets our qualifications.
57698         * configure: Regenerated.
57700         * config.make.in (output-format): New variable.
57701         * configure.in: Check for ld --print-output-format support.
57702         * configure: Regenerated.
57703         * Makerules ($(common-objpfx)format.lds)
57704         [$(output-format) != unknown]: Just use $(output-format),
57705         instead of the linker-script munging.
57707 2011-07-14  Roland McGrath  <roland@hack.frob.com>
57709         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57710         of $(common-objpfx)shlib.lds.
57711         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57713         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57714         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57716         * configure.in (-z relro check): Adjust test code to add a large
57717         writable data section after it.
57718         * configure: Regenerated.
57720 2011-07-11  Roland McGrath  <roland@hack.frob.com>
57722         * configure.in (-z relro check): Fix test code to make the variable
57723         truly const.
57724         * configure: Regenerated.
57726 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
57728         * nscd/nscd.h (struct traced_file): Define.
57729         (struct database_dyn): Remove inotify_descr, reset_res, and filename
57730         elements.  Add traced_files.
57731         (inotify_fd): Declare.
57732         (register_traced_file): Declare.
57733         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57734         (inotify_fd): Export.
57735         (resolv_conf_descr): Remove.
57736         (nscd_init): Move inotify descriptor creation to main.
57737         Don't register files for notification here.
57738         (register_traced_file): New function.
57739         (invalidate_cache): Don't use reset_res to determine whether to call
57740         res_init, go through the list of registered files.
57741         (main_loop_poll): The inotify descriptors are now stored in the
57742         structures for the traced files.
57743         (main_loop_epoll): Likewise
57744         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
57745         to __nss_disable_nscd.
57746         * nscd/cache.c (prune_cache): There is no single inotify descriptor
57747         for a database anymore.  Check the records for all the registered
57748         files instead.
57749         * nss/Makefile (libnss_files-routines): Add files-init.
57750         (libnss_db-routines): Add db-init.
57751         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57752         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57753         * nss/nss_db/db-init.c: New file.
57754         * nss/nss_files/files-init.c: New file.
57755         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
57756         __nss_lookup_function.
57757         (__nss_lookup_function): Call nss_load_library.
57758         (nss_load_all_libraries): New function.
57759         (__nss_disable_nscd): Take parameter with callback function for files
57760         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
57761         used for the cached services.
57762         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57763         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57764         options for features to all the files in nscd.
57766         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57768 2011-07-10  Roland McGrath  <roland@hack.frob.com>
57770         * csu/elf-init.c (__libc_csu_init): Comment typo.
57772 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
57774         * po/pl.po: Update from translation team.
57775         * po/ja.po: Likewise.
57776         * po/ru.po: Likewise.
57777         * po/ko.po: Likewise.
57778         * po/fr.po: Likewise.
57780 2011-07-09  Roland McGrath  <roland@hack.frob.com>
57782         * configure.in (.ctors/.dtors header and trailer check):
57783         Use an empirical test on a built program.
57784         * configure: Regenerated.
57786         * configure.in (-z relro check): Use an empirical test on a built DSO.
57787         Detect, but do not require, on ia64.
57788         * configure: Regenerated.
57790         * configure.in (READELF): Find it with AC_CHECK_TOOL.
57791         Update tests that use readelf to use $READELF instead.
57792         * configure: Regenerated.
57794 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
57796         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57797         if the result is not used.
57799 2011-07-05  Andreas Jaeger  <aj@suse.de>
57801         [BZ#9696]
57802         * stdlib/tst-strtod.c: Add testcase.
57804 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
57806         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57807         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57808         The latter has a higher limit.  Take additional parameter to pass to
57809         the new function.
57810         (__pathconf): Pass file to __statfs_link_max.
57811         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57812         __statfs_link_max.
57813         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57814         __statfs_link_max.
57816         [BZ #12868]
57817         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57818         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57819         Handle Lustre.
57820         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57821         (__statfs_filesize_max): Likewise.
57822         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57824 2011-07-05  Andreas Jaeger  <aj@suse.de>
57826         * resolv/res_comp.c (dn_skipname): Remove unused variable.
57828 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
57830         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57831         `status' variable.
57832         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57833         Likewise.
57835 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
57837         * Makefile (strop-tests): Add strncat.
57838         * string/test-strncat.c: New file.
57840 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
57842         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57844 2011-06-21  Andreas Jaeger  <aj@suse.de>
57846         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57847         Copy rule from iconvdata/Makefile.
57849 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57851         [BZ #12922]
57852         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57853         but no long options are defined, just return 'W'.
57855 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
57857         [BZ #9696]
57858         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57860 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57862         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57863         netgroups to read.
57864         (innetgr): Likewise.
57866 2011-07-05  Roland McGrath  <roland@hack.frob.com>
57868         * config.make.in (install_root): Default to $(DESTDIR).
57870 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
57872         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57874 2011-07-02  Roland McGrath  <roland@hack.frob.com>
57876         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57878         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57879         containing directory rather than embedding absolute directory names.
57881         * scripts/check-local-headers.sh: Rewritten using awk.
57882         Match by word, not by line.  Print error messages for matches.
57883         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57885         * Makerules [shlib-lds-flags empty]:
57886         ($(common-objpfx)libc_pic.opts): New target.
57887         ($(common-objpfx)libc_pic.os.clean): New target.
57888         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57890         * config.make.in (OBJCOPY): New variable.
57891         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57892         * configure: Regenerated.
57894         * config.make.in (use-default-link): New variable.
57895         * configure.in (use_default_link): Grok --with-default-link to set it.
57896         * configure: Regenerated.
57897         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57898         (shlib-lds, shlib-lds-flags): Define to empty.
57900         * Makerules (shlib-lds): New variable.
57901         (shlib-lds-flags): New variable.
57902         (build-shlib, build-moduile, build-module-asneeded): Use it.
57903         ($(common-objpfx)libc.so): Use $(shlib-lds).
57904         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57905         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57907         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57908         DT_FLAGS/DT_FLAGS_1 with zero flags.
57910         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57911         linker script munging.
57913 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
57915         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57916         as 128-bit value.
57917         * crypt/sha512.c (sha512_process_block): Perform total addition using
57918         128-bit if possible.
57919         (__sha512_finish_ctx): Likewise.
57920         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57921         as 64-bit value.
57922         * crypt/sha256.c (SWAP64): Define.
57923         (sha256_process_block): Perform total addition using 64-bit if
57924         possible.
57925         (__sha256_finish_ctx): Likewise.
57927 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
57929         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
57930         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57931         * nscd/hstcache.c (cache_addhst): Likewise.
57932         * nscd/grpcache.c (cache_addgr): Likewise.
57933         * nscd/aicache.c (addhstaiX): Likewise
57934         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57936 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
57938         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57939         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57940         * nscd/hstcache.c (cache_addhst): Likewise.
57941         * nscd/grpcache.c (cache_addgr): Likewise.
57942         * nscd/aicache.c (addhstaiX): Likewise
57944 2011-07-01  Andreas Schwab  <schwab@redhat.com>
57946         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57947         domain only when needed.
57949 2011-06-30  Andreas Schwab  <schwab@redhat.com>
57951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57952         is always restored.
57954 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
57956         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57957         are re-adding the entry.
57958         * nscd/servicescache.c (cache_addserv): Likewise.
57960 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
57962         * sysdeps/generic/dl-irel.h: fix protection against multiple
57963         inclusions.
57964         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57966 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
57968         [BZ #12935]
57969         * malloc/memusage.sh: Fix quoting in message.
57970         * debug/xtrace.sh: Likewise.
57972         * configure.in: Remove support for --experimental-malloc option, make
57973         it the default.
57974         * config.make.in: Likewise.
57975         * malloc/Makefile: Likewise.
57977 2011-06-27  Andreas Schwab  <schwab@redhat.com>
57979         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57980         two-byte characters.
57982 2011-06-27  Roland McGrath  <roland@hack.frob.com>
57984         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57985         AC_CACHE_CHECK invocation.
57986         * configure: Regenerated.
57988         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57990 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
57992         [BZ #12350]
57993         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
57994         bit from old_res_options.
57996         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57998         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57999         value type for setfct.
58001 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
58003         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58004         __gettimeofday instead of gettimeofday.
58006 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
58008         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58010 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
58012         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58014         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58015         info.
58017 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58019         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58020         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58021         strcpy-sse2-unaligned strncpy-sse2-unaligned
58022         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58023         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58024         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58025         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58026         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58027         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58028         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58029         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58030         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58031         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58032         (STRCPY): Support SSE2 and SSSE3 versions.
58034 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
58036         [BZ #12874]
58037         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58038         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58039         kernels which artificially limit size of requests.
58041 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58043         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58044         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58045         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58046         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58047         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58048         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58049         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58050         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58051         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58052         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58053         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58054         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58055         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58056         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58057         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58058         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58059         Enable unaligned load optimization for Intel Core i3, i5 and i7
58060         processors.
58061         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58062         Define.
58063         (index_Fast_Unaligned_Load): Define.
58064         (HAS_FAST_UNALIGNED_LOAD): Define.
58066 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
58068         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58070 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58072         [BZ #12907]
58073         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58074         until it is clear that the information is realy needed.
58075         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58077 2011-06-22  Andreas Schwab  <schwab@redhat.com>
58079         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58081 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58083         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58084         /sys/devices/system/cpu/online if it is usable.
58086         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58087         reading the information from the /proc filesystem to once a second.
58089 2011-06-21  Andreas Jaeger  <aj@suse.de>
58091         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58092         NULL after inclusion of kernel headers.
58094 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
58096         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58097         calls to internal_setent.
58099         [BZ #12885]
58100         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58101         addresses using gethostbyname4_r ignore IPv4 addresses.
58103         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58104         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
58106         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58108 2011-06-20  David S. Miller  <davem@davemloft.net>
58110         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58111         inclusions.
58112         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58114         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58115         (elf_irel): Use it.
58116         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58117         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58118         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58119         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58120         * sysdeps/x86_64/dl-irel.h: Likewise.
58122         * elf/dl-runtime.c: Use elf_ifunc_invoke.
58123         * elf/dl-sym.c: Likewise.
58125 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58127         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
58128         need to dereference resplen2.
58130 2011-06-14  Andreas Schwab  <schwab@redhat.com>
58132         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58134 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58136         * Makeconfig: Define vardbdir and inst_vardbdir.
58137         * nss/Makefile: Add rules to install db-Makefile.
58139         * nss/nss_db/db-XXX.c: Cleanup.
58141         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58142         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58143         GLIBC_PRIVATE.
58144         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58145         * nss/makedb.c: Implement -g option to specify that value strings
58146         are generated and should not be added to table iterated over for
58147         get*ent calls.
58148         * nss/nss_db/db-initgroups.c: New file.
58150         * nss/getent.c: Add support for initgroups lookups through getgrouplist
58151         interface.
58153         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58154         (internal_getgrouplist): Adjust to name change.
58155         Update use_initgroups_entry if this is not the first call.
58156         * nss/databases.def: Add initgroups entry.
58158         * nss/makedb.c (compute_tables): Check result of multiple hash table
58159         sizes to minimize maximum chain length.
58161 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
58163         * Versions.def: Add entry for libnss_db.
58164         * shlib-versions: Likewise.
58165         * nss/Makefile: Add rules to build libnss_db.
58166         * nss/Versions: Add libnss_db information.  Organize libnss_files
58167         entries better.
58168         * nss/db-Makefile: Add gshadow support.  Change rules for the new
58169         makedb progra.  Some minor improvements to generate smaller files.
58170         * nss/nss_db/nss_db.h: Move NSS database header data structures to
58171         here from...
58172         * nss/makedb.c: ...here.
58173         Improve database format to be smaller and require less memory at
58174         runtime.
58175         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
58176         db anymore.
58177         * nss/nss_db/db-netgrp.c: Likewise.
58178         * nss/nss_db/db-open.c: Likewise.
58179         * nss/nss_files/flies-XXX.x: Adjust comments.
58180         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58181         * nss/nss_files/files-grp.c: Likewise.
58182         * nss/nss_files/files-hosts.c: Likewise.
58183         * nss/nss_files/files-network.c: Likewise.
58184         * nss/nss_files/files-proto.c: Likewise.
58185         * nss/nss_files/files-pwd.c: Likewise.
58186         * nss/nss_files/files-rpc.c: Likewise.
58187         * nss/nss_files/files-service.c: Likewise.
58188         * nss/nss_files/files-sgrp.c: Likewise.
58189         * nss/nss_files/files-spwd.c: Likewise.
58190         * nss/nss_db/db-alias.c: Removed.
58191         * nss/nss_db/dummy-db.h: Removed.
58193 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
58195         * nss/makedb.c: Rewritten to not use database library.
58196         * nss/Makefile: Update to build new makedb program.
58198 2011-06-14  Andreas Jaeger  <aj@suse.de>
58200         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58201         memset declaration.
58203 2011-06-10  Andreas Schwab  <schwab@redhat.com>
58205         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58206         tmpbuf.
58208 2011-06-10  Roland McGrath  <roland@hack.frob.com>
58210         * Makerules (shlib.lds): Fail if the linker script comes out empty.
58211         * elf/Makefile ($(objpfx)ld.so): Likewise.
58213         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58214         Don't list ld.so twice in dependencies.
58216         * posix/bug-regex31.c: Include <stdlib.h>.
58218         * nscd/hstcache.c (cache_addhst): Remove unused variable.
58220         * nis/nss_compat/compat-spwd.c
58221         (getspent_next_nss_netgr): Remove unused variable.
58222         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58224         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58225         nonmembers" output to use the right array.
58227         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58229         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58231         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58232         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58233         * catgets/gencat.c (read_input_file): Likewise.
58234         * locale/programs/locarchive.c (enlarge_archive): Likewise.
58236         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58237         variable definition inside #if's controlling its use.
58239         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58241         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58243         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58245         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58246         unreachable code.
58248         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58250         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58251         * configure: Regenerated.
58253         * Makerules: Revert last change.
58254         * elf/Makefile: Likewise.
58256 2011-06-09  Roland McGrath  <roland@hack.frob.com>
58258         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58259         * elf/Makefile ($(objpfx)librtld.os): Likewise.
58260         (reloc-link): Likewise.
58262 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
58264         * elf/Makefile: Add rules to build pldd.
58265         * elf/pldd.c: New file.
58266         * elf/pldd-xx.c: New file.
58268 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
58270         * version.h: Update for 2.15 development version.
58272 2011-06-07  David S. Miller  <davem@davemloft.net>
58274         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58275         ifuncs.
58276         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58277         elf_machine_lazy_rel): Likewise.
58278         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58279         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58280         elf_machine_lazy_rel): Likewise.
58281         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58282         dl_hwcap via passed in argument.
58283         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58284         Likewise.
58286 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58288         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
58290 2011-06-06  Roland McGrath  <roland@hack.frob.com>
58292         [BZ #12849]
58293         * manual/fdl-1.1.texi: New file, verbatim from:
58294         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58295         * manual/lgpl-2.1.texi: New file, verbatim from:
58296         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58297         * manual/Makefile (licenses): New variable, list those new file names.
58298         (texis): Use it.
58299         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58301         * manual/fdl.texi: File removed.
58302         * manual/lesser.texi: File removed.
58303         * manual/libc.texinfo (Copying, Documentation License):
58304         Use new @include file names, put @appendix directive before @include.
58306 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
58308         [BZ #12841]
58309         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58310         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58311         (mq_open): Add __NTH.
58313 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
58315         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58316         Assume Intel Core i3/i5/i7 processor if AVX is available.
58318 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58320         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58321         typo.
58323 2011-05-31  Andreas Schwab  <schwab@redhat.com>
58325         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58326         memory.  Use alloca_account.  Fix memory leak when retrying.
58328 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58330         * version.h (RELEASE): Bump for 2.14 release.
58331         * include/features.h (__GLIBC_MINOR__): Bump to 14.
58333         * config.make.in (RANLIB): Remove entry.
58335 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
58337         * po/Makefile (po-sed-cmd): Add ksh to extensions.
58338         (libc.pot): Work around missing support for .ksh extension in xgettext.
58340         [BZ #12684]
58341         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58342         if both request failed.
58343         (send_dg): In case of server errors clear resplen or *resplen2.
58345         [BZ #12454]
58346         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58347         when there are multiple maps.
58348         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58349         (_dl_fini): Remove test here.
58351         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58353 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
58355         [BZ #12350]
58356         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58357         bit from old_res_options.
58358         (gaih_inet): Likewise.
58360         [BZ #11099]
58361         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58362         as signed.
58364         * resolv/res_init.c (res_setoptions): Make the code more compact.
58366         [BZ #11558]
58367         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58368         set RES_USEVC.
58370         [BZ #11634]
58371         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58373         * malloc/malloc.h: Mark malloc hook variables as deprecated.
58375         [BZ #11781]
58376         * malloc/malloc.h: Declare malloc hook variables as volatile.
58378         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58379         in last patch.
58381         [BZ #11799]
58382         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58383         raise in the comment.
58384         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58385         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58386         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58388 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
58390         [BZ #12811]
58391         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58392         grow the buffers more if it already has to be sufficient.
58393         (build_wcs_upper_buffer): Likewise.
58394         * posix/regexec.c (check_matching): Likewise.
58395         (clean_state_log_if_needed): Likewise.
58396         (extend_buffers): Don't enlarge buffers beyond size of the input
58397         buffer.
58398         Patches mostly by Emil Wojak <emil@wojak.eu>.
58399         * posix/bug-regex32.c: New file.
58400         * posix/Makefile (tests): Add bug-regex32.
58402         * locale/findlocale.c (_nl_find_locale): Return right away if
58403         _nl_explode_name failed.
58404         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58406         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58408         * debug/xtrace.sh: Unify messages.
58409         * malloc/memusage.sh: Likewise.
58411         [BZ #12813]
58412         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58413         time symbol from vDSO.  Substitute with vsyscall if not available.
58414         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58415         __vdso_time.
58417         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58418         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58419         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58420         Add sendmmsg and internal_sendmmsg.
58421         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58422         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58423         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58425         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58426         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58427         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58429 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
58431         [BZ #12813]
58432         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58433         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
58434         available.
58435         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58436         __vdso_getcpu.
58438         [BZ #12814]
58439         * iconvdata/Makefile (tests): Add bug-iconv9.
58440         * iconvdata/bug-iconv9.c: New file.
58442 2011-05-27  Andreas Schwab  <schwab@redhat.com>
58444         [BZ #12814]
58445         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58447 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
58449         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58450         (struct user_regs_struct): Change intcs field back to cs.
58452 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
58454         * po/ja.po: Update from translation team.
58456 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
58458         [BZ #12795]
58459         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58460         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58462 2011-05-20  Andreas Schwab  <schwab@redhat.com>
58464         * stdlib/longlong.h: Update from GCC.
58466 2011-05-23  Andreas Schwab  <schwab@redhat.com>
58468         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58469         parameter name.
58470         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58471         Add parameter name.
58472         (__sysconf): Pass it down.
58474 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
58476         [BZ #12671]
58477         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58478         some situations.
58479         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58480         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58481         add in in __libc_use_alloca calls.  Adjust callers.
58482         (glob): Use malloc in some situations.
58484         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58485         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58486         pltexit.
58488 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
58490         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58491         and CLOCK_BOOTTIME_ALARM.
58493         [BZ #12782]
58494         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58495         is returned.
58497         * string/_strerror.c (__strerror_r): Print negative errors as signed
58498         numbers.
58500         [BZ #12777]
58501         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58502         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58503         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58505         * configure.in: Fix typo in redirection and correct removal of test
58506         files in two cases.
58508         [BZ #12788]
58509         * locale/setlocale.c (new_composite_name): Fix test to check for
58510         identical name of all categories.
58512         [BZ #12792]
58513         * libio/filedoalloc.c (local_isatty): New function.
58514         (_IO_file_doallocate): Use local_isatty.
58515         * stdio-common/perror.c (perror): In case a new stream is used
58516         forward the stream error.
58517         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58518         error flag.
58520 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
58522         [BZ #11869]
58523         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58524         alloca.
58525         * include/alloca.h (extend_alloca_account): Define.
58527         [BZ #11857]
58528         * posix/regex.h: Fix comments with documentation of user-accessible
58529         fields after compilation and describe correct free'ing of pattern
58530         after re_compile_pattern.
58531         Patch by Reuben Thomas <rrt@sc3d.org>.
58533 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
58535         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58536         and -mno-altivec to prevent the compiler from using Altivec and/or
58537         VSX instructions when the corresponding registers are not available.
58539 2011-05-19  Andreas Schwab  <schwab@redhat.com>
58541         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58543 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
58545         * libio/freopen.c (freopen): Use __dup2, not dup2.
58546         * libio/freopen64.c (freopen64): Likewise.
58548 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58550         [BZ #12775]
58551         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58552         * math/Makefile (tests): Add test-powl.
58553         (CFLAGS-test-powl.c): Define.
58554         * math/test-powl.c: New file.
58556 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58558         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58560 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
58562         [BZ #11837]
58563         * iconvdata/gb18030.c: Update to GB18020-2005.
58565 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
58567         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58568         RE_SYNTAX_POSIX_AWK): Update to match recent development.
58569         Patch by Aharon Robbins <arnold@skeeve.com>.
58571         [BZ #11892]
58572         * stdlib/putenv.c (putenv): Don't always create copy of the variable
58573         on the stack.
58575         [BZ #11895]
58576         * misc/pselect.c (__pselect): Handle timeout value errors hidden
58577         through underflows.
58579         [BZ #12766]
58580         * misc/error.c (error_at_line): Ensure file_name and old_file_name
58581         point to strings before performing equality test for error_one_per_line
58582         mode.
58584         [BZ #11697]
58585         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58587         [BZ #11820]
58588         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58589         (struct user_fpregs_struct): Avoid __uint*_t types.
58591         [BZ #6420]
58592         * malloc/mtrace.c (tr_where): Add additional parameter to point to
58593         symbol info.  Use it instead of calling _dl_addr locally.
58594         (lock_and_info): New function.
58595         (tr_freehook): Call lock_and_info and pass symbol info as additional
58596         parameter to tr_where.
58597         (tr_mallochook): Likewise.
58598         (tr_reallochook): Likewise.
58599         (tr_memalignhook): Likewise.
58601         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
58602         used and couldn't be at all thread-safe.
58604 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
58606         * libio/freopen.c (freopen): Don't close old file descriptor
58607         before the new one is opened.  Instead dup the new file descriptor
58608         to the old one after the new stream is created.
58609         * libio/freopen64.c (freopen64): Likewise.
58610         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58611         * libio/fileops.c (_IO_new_file_close_it): Handle new
58612         _IO_FLAGS2_NOCLOSE flag.
58613         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58614         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58615         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58616         _IO_FLAGS2_NOCLOSE flag.
58617         * include/unistd.h: Add hidden_proto for dup3.
58618         Define __have_dup3.
58619         * io/dup3.c: Define hidden symbol.
58620         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58622         [BZ #7101]
58623         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58624         when an incomplete long option is used.
58625         * posix/tst-getopt_long1.c: New file.
58626         * posix/Makefile (tests): Add tst-getopt_long1.
58628         [BZ #10138]
58629         * scripts/config.guess: Update from autoconf-2.68.
58630         * scripts/config.sub: Likewise.
58632         [BZ #10157]
58633         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58634         tests into ...
58635         (has_cpuclock): ...this.  New function.
58636         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58637         macro here based on has_cpuclock code.
58639         [BZ #10149]
58640         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58641         First byte (not low byte) is now always NUL.
58642         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58644         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58645         Use non-cancelable interfaces.
58647         [BZ #9809]
58648         * locale/iso-639.def: Add entry for Sorani.
58650         [BZ #11901]
58651         * include/stdlib.h: Move include protection to the right place.
58652         Define abort_msg_s.  Declare __abort_msg with it.
58653         * stdlib/abort.c (__abort_msg): Adjust type.
58654         * assert/assert.c (__assert_fail_base): New function.  Majority
58655         of code from __assert_fail.  Allocate memory for __abort_msg with
58656         mmap.
58657         (__assert_fail): Now call __assert_fail_base.
58658         * assert/assert-perr.c: Remove bulk of implementation.  Use
58659         __assert_fail_base.
58660         * include/assert.hL Declare __assert_fail_base.
58661         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58662         mmap.
58663         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58665 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
58667         [BZ #11952]
58668         [BZ #12453]
58669         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58670         until all modules are registered in the DTV.
58671         * elf/Makefile: Add rules to build and run tst-tls19.
58672         * elf/tst-tls19.c: New file.
58673         * elf/tst-tls19mod1.c: New file.
58674         * elf/tst-tls19mod2.c: New file.
58675         * elf/tst-tls19mod3.c: New file.
58676         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58678         [BZ #12083]
58679         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58680         correctly.
58682         [BZ #12601]
58683         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58684         two-byte sequence errors.
58685         * iconvdata/Makefile (tests): Add bug-iconv8.
58686         * iconvdata/bug-iconv8.c: New file.
58688         [BZ #12626]
58689         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58690         buf2 definition.
58692         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58694         [BZ #12432]
58695         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58696         (dummy_getcfa): New function.
58697         (init): Get _Unwind_GetCFA address, use dummy if not found.
58698         (backtrace_helper): In recursion check, also check whether CFA changes.
58699         (__backtrace): Completely initialize arg.
58701         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58702         storing incomplete byte sequence in state object.  Avoid testing for
58703         guaranteed too small input if we know there is enough data available.
58705 2011-05-11  Andreas Schwab  <schwab@redhat.com>
58707         * Makeconfig (+link-pie): Indent.
58708         * Rules (binaries-pie): Define if $(have-fpie) and
58709         $(build-shared).
58710         (binaries-shared): Also filter out $(binaries-pie).
58711         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58712         * nscd/Makefile (others-pie): Add nscd.
58713         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58714         ($(objpfx)nscd): Remove command override.
58715         * login/Makefile (others-pie): Add pt_chown.
58716         ($(objpfx)pt_chown): Remove command override.
58717         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58718         remove command overrides.
58720 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
58722         * libio/tst_putwc.c: Fix error messages.
58724         [BZ #12724]
58725         * libio/fileops.c (_IO_new_file_close_it): Always flush when
58726         currently writing and seek to current position when not.
58727         * libio/Makefile (tests): Add bug-fclose1.
58728         * libio/bug-fclose1.c: New file.
58730 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
58732         [BZ #12511]
58733         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58734         don't set DF_1_NODELETE here.
58735         (do_lookup_x): When entering new entry test for copy relocation
58736         and if necessary set DF_1_NODELETE flag.
58737         * elf/tst-unique4.cc: New file.
58738         * elf/tst-unique4.h: New file.
58739         * elf/tst-unique4lib.cc: New file.
58740         * elf/Makefile: Add rules to build and run tst-unique4.
58741         Patch by Piotr Bury <pbury@goahead.com>.
58743 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
58745         [BZ #12052]
58746         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58748         [BZ #12625]
58749         * misc/mntent_r.c (addmntent): Flush the stream after the output
58751         [BZ #12393]
58752         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58753         (is_trusted_path_normalize): Skip initial colon.  Append slash
58754         to empty buffer.  Duplicate is_trusted_path code but allow
58755         constructed patch to be prefix.
58756         (is_dst): Allow $ORIGIN followed by /.
58757         (_dl_dst_substitute): Correct clearing of check_for_trusted.
58758         Correct testing of result of is_trusted_path_normalize
58759         (decompose_rpath): Fix warning.
58761 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
58763         [BZ #11257]
58764         * grp/initgroups.c (internal_getgrouplist): When we found the service
58765         list through the initgroups entry in nsswitch.conf do not always
58766         continue on a successful lookup.  Don't always use the
58767         __nss_group_database value if it is set.
58768         * nss/nsswitch.conf (initgroups): Change action for successful db
58769         lookup to continue for compatibility.
58771 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
58773         [BZ #11532]
58774         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58775         and CP774 modules.
58776         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58777         and CP774 modules.
58778         * iconvdata/tst-tables.sh: Likewise.
58779         * iconvdata/cp770.c: New file.
58780         * iconvdata/cp771.c: New file.
58781         * iconvdata/cp772.c: New file.
58782         * iconvdata/cp773.c: New file.
58783         * iconvdata/cp774.c: New file.
58784         * iconvdata/testdata/CP770: New file.
58785         * iconvdata/testdata/CP770..UTF8: New file.
58786         * iconvdata/testdata/CP771: New file.
58787         * iconvdata/testdata/CP771..UTF8: New file.
58788         * iconvdata/testdata/CP772: New file.
58789         * iconvdata/testdata/CP772..UTF8: New file.
58790         * iconvdata/testdata/CP773: New file.
58791         * iconvdata/testdata/CP773..UTF8: New file.
58792         * iconvdata/testdata/CP774: New file.
58793         * iconvdata/testdata/CP774..UTF8: New file.
58795         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58796         END CHARMAP line.
58797         * iconvdata/gen-8bit-gap.sh: Likewise.
58798         * iconvdata/gen-8bit.sh: Likewise.
58800         * locale/iso-639.def: Add ary entry.
58802         [BZ #11258]
58803         * locale/C-translit.h.in: Add U20A1 transliteration.
58805         [BZ #12178]
58806         * locale/iso-639.def: Add wae entry.
58807         Patch by Kevin Bortis <bortis@translate-wae.ch>.
58809         [BZ #12545]
58810         * locale/programs/localedef.c (construct_output_path): Use ssize_t
58811         for n.
58813         [BZ #12711]
58814         * locale/C-translit.h.in: Add entry for U20B9.
58815         Patch by pravin.d.s@gmail.com.
58817 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
58819         [BZ #12713]
58820         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58821         ENAMETOOLONG use generic getcwd.
58822         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
58823         in rtld.  Use *stat64.
58824         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58825         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58826         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58827         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58828         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58829         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58830         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58831         __fstatat64 macros.
58832         * include/dirent.h: Add libc_hidden_proto for rewinddir.
58833         * dirent/rewinddir.c: Add libc_hidden_def.
58834         * sysdeps/mach/hurd/rewinddir.c: Likewise.
58835         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
58837         * include/dirent.h (__alloc_dir): Add flags parameter.
58838         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58839         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58840         __alloc_dir.
58841         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
58842         from fdopendir if O_CLOEXEC is already set.
58844 2011-03-15  Alan Modra  <amodra@gmail.com>
58846         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58847         l_tls_firstbyte_offset non-zero.  Save padding offset in
58848         l_tls_firstbyte_offset for later use.
58849         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58850         freeing static tls block.
58852 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
58854         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58855         where #ifdef was intended.  The intent is to prevent ARG_MAX from
58856         being defined by the kernel headers.
58858 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
58860         [BZ #12734]
58861         * resolv/resolv.h: Define RES_NOTLDQUERY.
58862         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58863         no-tld-query and set RES_NOTLDQUERY.
58864         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58865         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58866         modern BIND to search name as TLD unless forbidden.
58868 2011-05-07  Petr Baudis  <pasky@suse.cz>
58869             Ulrich Drepper  <drepper@gmail.com>
58871         [BZ #12393]
58872         * elf/dl-load.c (fillin_rpath): Move trusted path check...
58873         (is_trusted_path): ...to here.
58874         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58875         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58876         using is_trusted_path_normalize() in setuid scripts.
58878 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58880         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58881         __BEGIN/__END_DECLS.
58883 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
58885         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58886         NSS_STATUS_NOTFOUND if no record was found.
58888 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58890         * sunrpc/Makefile (headers): Add rpc/netdb.h.
58891         (headers-not-in-tirpc): Remove rpc/netdb.h
58892         * resolv/netdb.h: Revert last change.
58894 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58896         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58897         circular dependency between libgcc.a and libc.a.
58899 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58901         * resolv/netdb.h: Don't include <rpc/netdb.h>.
58902         * nis/Makefile: Don't install rpcsvc/*.
58903         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58904         instead of <rpc/types.h>.
58905         (MAXHOSTNAMELEN): Define.
58907 2011-05-03  Andreas Schwab  <schwab@redhat.com>
58909         * elf/ldconfig.c (add_dir): Don't crash on empty path.
58911 2011-04-28  Maciej Babinski  <mbabinski@google.com>
58913         [BZ #12714]
58914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58915         gethostbyname4_r when IPv6 results are possible.
58917 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
58919         [BZ #12723]
58920         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58921         _PC_PIPE_BUF handling.
58923 2011-04-30  Bruno Haible  <bruno@clisp.org>
58925         [BZ #12717]
58926         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58927         * resolv/netdb.h (getnameinfo): Change type of flags parameter
58928         to 'int'.
58929         * inet/getnameinfo.c (getnameinfo): Likewise.
58931 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
58933         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58934         to groups setting in database lookup.
58935         * nss/nsswitch.conf: Add initgroups entry.
58937 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
58939         [BZ #12685]
58940         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58941         mode string.
58942         Patch by Eric Blake <eblake@redhat.com>.
58944 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
58946         * sunrpc/Makefile (need-export-routines): Add svc_run.
58947         (routines): Remove svc_run.
58948         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58949         * sunrpc/clnt_perr.c (clnt_perrno): Export.
58950         * sunrpc/svc_run.c (svc_run): Likewise.
58951         * sunrpc/svc_udp.c (svcudp_create): Likewise.
58953 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
58955         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58956         problem in reallocation in last patch.
58958 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
58960         * sunrpc/Makefile: Move inclusion of Rules.
58962 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58964         * nss/nss_files/files-initgroups.c: New file.
58965         * nss/Makefile (libnss_files-routines): Add files-initgroups.
58966         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58967         _nss_files_initgroups_dyn.
58969 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
58971         * elf/elf.h (R_ARM_IRELATIVE): Define.
58973 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58975         * po/ru.po: Update from translation team.
58977 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58979         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58980         dependencies.
58982 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
58984         [BZ #12653]
58985         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58986         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58987         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58988         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58989         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58991 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
58993         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58994         differing bytes.
58995         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58996         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58997         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58999 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59001         [BZ #12420]
59002         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59003         storing it.
59004         * stdlib/bug-getcontext.c: New file.
59005         * stdlib/Makefile: Add rules to build and run bug-getcontext.
59007 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59009         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59010         instructions into .machine "z9-109".
59011         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59012         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59014 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59016         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59017         between environment variables and auxiliary vector.
59019 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
59021         * Makefile: Add rules to build linkobj/libc.so.
59022         * include/libc-symbols.h: Define libc_hidden_nolink.
59023         * include/rpc/auth.h: Mark functions which are to be hidden.
59024         * include/rpc/auth_des.h: Likewise.
59025         * include/rpc/auth_unix.h: Likewise.
59026         * include/rpc/clnt.h: Likewise.
59027         * include/rpc/des_crypt.h: Likewise.
59028         * include/rpc/key_prot.h: Likewise.
59029         * include/rpc/pmap_clnt.h: Likewise.
59030         * include/rpc/pmap_prot.h: Likewise.
59031         * include/rpc/pmap_rmt.h: Likewise.
59032         * include/rpc/rpc_msg.h: Likewise.
59033         * include/rpc/svc.h: Likewise.
59034         * include/rpc/svc_auth.h: Likewise.
59035         * include/rpc/xdr.h: Likewise.
59036         * nis/Makefile: Link all DSOs against linkobj/libc.so.
59037         * nss/Makefile: Likewise.
59038         * sunrpc/Makefile: Don't install headers.  Build library with normal
59039         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
59040         * sunrpc/auth_des.c: Hide exported symbols by default, export some
59041         for the compat linking library.  Remove use of INTDEF/INTUSE.
59042         * sunrpc/auth_none.c: Likewise.
59043         * sunrpc/auth_unix.c: Likewise.
59044         * sunrpc/authdes_prot.c: Likewise.
59045         * sunrpc/authuxprot.c: Likewise.
59046         * sunrpc/clnt_gen.c: Likewise.
59047         * sunrpc/clnt_perr.c: Likewise.
59048         * sunrpc/clnt_raw.c: Likewise.
59049         * sunrpc/clnt_simp.c: Likewise.
59050         * sunrpc/clnt_tcp.c: Likewise.
59051         * sunrpc/clnt_udp.c: Likewise.
59052         * sunrpc/clnt_unix.c: Likewise.
59053         * sunrpc/des_crypt.c: Likewise.
59054         * sunrpc/des_soft.c: Likewise.
59055         * sunrpc/get_myaddr.c: Likewise.
59056         * sunrpc/key_call.c: Likewise.
59057         * sunrpc/key_prot.c: Likewise.
59058         * sunrpc/netname.c: Likewise.
59059         * sunrpc/pm_getmaps.c: Likewise.
59060         * sunrpc/pm_getport.c: Likewise.
59061         * sunrpc/pmap_clnt.c: Likewise.
59062         * sunrpc/pmap_prot.c: Likewise.
59063         * sunrpc/pmap_prot2.c: Likewise.
59064         * sunrpc/pmap_rmt.c: Likewise.
59065         * sunrpc/publickey.c: Likewise.
59066         * sunrpc/rpc_cmsg.c: Likewise.
59067         * sunrpc/rpc_common.c: Likewise.
59068         * sunrpc/rpc_dtable.c: Likewise.
59069         * sunrpc/rpc_prot.c: Likewise.
59070         * sunrpc/rpc_thread.c: Likewise.
59071         * sunrpc/rtime.c: Likewise.
59072         * sunrpc/svc.c: Likewise.
59073         * sunrpc/svc_auth.c: Likewise.
59074         * sunrpc/svc_authux.c: Likewise.
59075         * sunrpc/svc_raw.c: Likewise.
59076         * sunrpc/svc_run.c: Likewise.
59077         * sunrpc/svc_simple.c: Likewise.
59078         * sunrpc/svc_tcp.c: Likewise.
59079         * sunrpc/svc_udp.c: Likewise.
59080         * sunrpc/svc_unix.c: Likewise.
59081         * sunrpc/svcauth_des.c: Likewise.
59082         * sunrpc/xcrypt.c: Likewise.
59083         * sunrpc/xdr.c: Likewise.
59084         * sunrpc/xdr_array.c: Likewise.
59085         * sunrpc/xdr_float.c: Likewise.
59086         * sunrpc/xdr_intXX_t.c: Likewise.
59087         * sunrpc/xdr_mem.c: Likewise.
59088         * sunrpc/xdr_rec.c: Likewise.
59089         * sunrpc/xdr_ref.c: Likewise.
59090         * sunrpc/xdr_sizeof.c: Likewise.
59091         * sunrpc/xdr_stdio.c: Likewise.
59093 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
59095         [BZ #12650]
59096         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59097         * sysdeps/ia64/dl-tls.h: Likewise.
59098         * sysdeps/powerpc/dl-tls.h: Likewise.
59099         * sysdeps/s390/dl-tls.h: Likewise.
59100         * sysdeps/sh/dl-tls.h: Likewise.
59101         * sysdeps/sparc/dl-tls.h: Likewise.
59102         * sysdeps/x86_64/dl-tls.h: Likewise.
59103         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59105 2011-03-14  Andreas Schwab  <schwab@redhat.com>
59107         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59108         rpath element also skip the following colon.
59109         (expand_dynamic_string_token): Add is_path parameter and pass
59110         down to DL_DST_REQUIRED and _dl_dst_substitute.
59111         (decompose_rpath): Call expand_dynamic_string_token with
59112         non-zero is_path.  Ignore empty rpaths.
59113         (_dl_map_object_from_fd): Call expand_dynamic_string_token
59114         with zero is_path.
59116 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
59118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59119         Make cancelable.
59121 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
59123         [BZ #12655]
59124         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59125         Patch by Filipe David Manana <fdmanana@apache.org>.
59127 2011-04-07  Andreas Schwab  <schwab@redhat.com>
59129         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59130         Maintain aligned stack.
59131         (CHECK_RSP): Remove unused macro.
59133 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
59135         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59136         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59138 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
59140         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59142         * include/features.h: Mention __USE_XOPEN2K8 in comment.
59144 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
59146         [BZ #12518]
59147         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59148         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59149         * sysdeps/x86_64/memmove.c: New file.
59150         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59151         (memcpy): Renamed to ...
59152         (__new_memcpy): This.
59153         (memcpy): Provide GLIBC_2_14 memcpy.
59154         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59155         (memcpy): Provide GLIBC_2_2_5 memcpy.
59157 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59159         [BZ #12631]
59160         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59162 2011-03-30  Andreas Schwab  <schwab@redhat.com>
59164         * misc/syncfs.c: New file.
59165         * misc/Makefile (routines): Add syncfs.
59166         * posix/unistd.h: Declare syncfs.
59167         * sysdeps/unix/syscalls.list: Add syncfs.
59169 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59171         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59172         open_by_handle_at.
59173         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59174         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59175         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59176         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59177         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59178         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59179         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59181 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59183         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59184         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59185         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59186         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59187         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59188         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59189         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59191         * io/Makefile: Compile fallocate.c, fallocate64.c, and
59192         sync_file_range.c with -fexceptions.
59193         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59194         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59195         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59196         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59197         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59198         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59199         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59200         sync_file_range as cancellation point
59201         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
59202         now a wrapper around __call_sync_file_range with cancellation handling.
59203         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59204         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
59205         function name to __call_sync_file_range.
59206         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59207         Add call_sync_file_range.
59209 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59211         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59212         bits/timex.h.
59214 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59216         * iconv/iconv.h: Fix typo in comment.
59217         * io/fcntl.h: Likewise.
59218         * libio/stdio.h: Likewise.
59219         * posix/spawn.h: Likewise.
59220         * posix/unistd.h: Likewise.
59221         * stdlib/stdlib.h: Likewise.
59222         * time/time.h: Likewise.
59223         * wcsmbs/wchar.h: Likewise.
59225         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59226         open_by_handle): Add.
59227         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59228         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
59229         Augment a few comments.
59230         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59231         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59232         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59233         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59234         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59235         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59236         open_by_handle.
59238         * io/fcntl.h (AT_EMPTY_PATH): Define.
59240 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
59242         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59243         * sysdeps/unix/sysv/linux/bits/time.h: New file.
59244         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59245         to...
59246         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
59247         * Versions.def: Add GLIBC_2.14.
59248         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59249         Export.
59251 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
59253         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59254         round counter.
59255         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59257 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59259         [BZ #12597]
59260         * string/test-strncmp.c (do_page_test): New function.
59261         (check2): Likewise.
59262         (test_main): Call check2.
59263         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59265 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
59267         [BZ #12587]
59268         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59269         Handle cache information in CPU leaf 4.
59270         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59272 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
59274         [BZ #12583]
59275         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59276         character representation.
59277         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59279 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
59281         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59282         END(__isnan) to END(__isnanf) to match function entry point/label
59283         EALIGN(__isnanf,...).
59285 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
59287         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59289 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
59291         [BZ #12510]
59292         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59293         copy from the symbol referenced in the relocation to initialize the
59294         used variable.
59295         Patch by Piotr Bury <pbury@goahead.com>.
59296         * elf/Makefile: Add rules to build and tst-unique3.
59297         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59298         * elf/tst-unique3.cc: New file.
59299         * elf/tst-unique3.h: New file.
59300         * elf/tst-unique3lib.cc: New file.
59301         * elf/tst-unique3lib2.cc: New file.
59303         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59305 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
59307         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59308         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
59309         to _start.
59311 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
59313         * elf/dl-load.c (_dl_map_object): If we are looking for the first
59314         to-be-loaded object along a path to loader is ld.so.
59316 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59317             Ulrich Drepper  <drepper@gmail.com>
59319         * sysdeps/x86_64/memset.S: After aligning destination, code
59320         branches to different locations depending on the value of
59321         misalignment, when multiarch is enabled. Fix this.
59323 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59325         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59326         Set _x86_64_preferred_memory_instruction for AMD processsors.
59327         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59328         Set bit_Prefer_SSE_for_memop for AMD processors.
59330 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
59332         * libio/fmemopen.c (fmemopen): Optimize a bit.
59334 2011-03-03  Andreas Schwab  <schwab@redhat.com>
59336         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59338 2011-03-03  Roland McGrath  <roland@redhat.com>
59340         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59342 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
59344         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59345         __bzero_ultra1 instead of __memset_ultra1.
59347 2011-02-23  Andreas Schwab  <schwab@redhat.com>
59348             Ulrich Drepper  <drepper@gmail.com>
59350         [BZ #12509]
59351         * include/link.h (struct link_map): Add l_orig_initfini.
59352         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59353         returning unsuccessfully.
59354         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59355         close of a file loaded at startup, restore the original l_initfini
59356         list.
59357         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59358         list, store the pointer.
59359         * elf/Makefile ($(objpfx)noload-mem): New rule.
59360         (noload-ENV): Define.
59361         (tests): Add $(objpfx)noload-mem.
59362         * elf/noload.c: Include <memcheck.h>.
59363         (main): Call mtrace.  Close all opened handles.
59365 2011-02-17  Andreas Schwab  <schwab@redhat.com>
59367         [BZ #12454]
59368         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59369         dependencies are missing.
59371 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59373         Fix __if_freereq crash: Unlike the generic version which uses free,
59374         Hurd needs munmap.
59375         * sysdeps/mach/hurd/ifreq.h: New file.
59377 2011-01-27  Petr Baudis  <pasky@suse.cz>
59378             Ulrich Drepper  <drepper@gmail.com>
59380         [BZ 12445]#
59381         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59382         to extend_alloca().
59383         * stdio-common/bug23.c: New file.
59384         * stdio-common/Makefile (tests): Add bug23.
59386 2010-09-28  Andreas Schwab  <schwab@redhat.com>
59387             Ulrich Drepper  <drepper@gmail.com>
59389         [BZ #12489]
59390         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59391         before performing relro protection.  At old place add assertion
59392         to make sure nothing changed.
59394 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
59395             Glauber de Oliveira Costa  <glommer@gmail.com>
59397         * elf/elf.h: Add new ARM TLS relocs.
59399 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
59401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59402         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59403         cast from r3.
59404         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
59405         'tests' variable.
59406         * sysdeps/wordsize-64/tst-writev.c: New file.
59408 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
59410         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59411         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59412         insns in _dl_start to prevent a TOC reference before relocs are
59413         resolved.
59415 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
59417         [BZ #12469]
59418         * Makeconfig: Remove RANLIB definition.
59419         * Makerules: Don't use RANLIB.
59420         * aclocal.m4: Remove ranlib test.
59421         * configure.in: No need to check for ranlib.
59422         * elf/rtld-Rules: Don't use RANLIB.
59424 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59426         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59427         protection macro.
59428         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59429         inclusion protection macro.
59431         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59432         SIGRTMIN and SIGRTMAX and print information in that case only when
59433         SIGRTMIN is defined.
59435 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
59437         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59438         arginfo fn returning -1.
59440         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59441         and thousands string is zero terminated.
59443 2011-02-03  Andreas Schwab  <schwab@redhat.com>
59445         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59446         sysdeps/unix/sysv/linux/bits/socket.h.
59448 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59450         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59451         (__CPU_COUNT): Remove old macros.
59452         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59453         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59454         (__CPU_ALLOC, __CPU_FREE): Add macros.
59455         (__sched_cpualloc, __sched_cpufree): Add declarations.
59457 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
59459         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59460         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59461         * nscd/aicache.c (addhstaiX): Return timeout of added value.
59462         (readdhstai): Return value of addhstaiX call.
59463         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59464         (addgrbyX): Return value returned by cache_addgr.
59465         (readdgrbyname): Return value returned by addgrbyX.
59466         (readdgrbygid): Likewise.
59467         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59468         (addpwbyX): Return value returned by cache_addpw.
59469         (readdpwbyname): Return value returned by addhstbyX.
59470         (readdpwbyuid): Likewise.
59471         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59472         (addservbyX): Return value returned by cache_addserv.
59473         (readdservbyname): Return value returned by addservbyX:
59474         (readdservbyport): Likewise.
59475         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59476         (addhstbyX): Return value returned by cache_addhst.
59477         (readdhstbyname): Return value returned by addhstbyX.
59478         (readdhstbyaddr): Likewise.
59479         (readdhstbynamev6): Likewise.
59480         (readdhstbyaddrv6): Likewise.
59481         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59482         (readdinitgroups): Return value returned by addinitgroupsX.
59483         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59484         (prune_cache): Keep track of timeout value of re-added entries.
59485         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59486         * nscd/nscd.h: Adjust prototypes of readd* functions.
59488 2011-02-04  Roland McGrath  <roland@redhat.com>
59490         * nis/nis_server.c (nis_servstate): Use the right name for 0.
59491         (nis_stats): Likewise.
59492         * nis/nis_modify.c (nis_modify): Likewise.
59493         * nis/nis_remove.c (nis_remove): Likewise.
59494         * nis/nis_add.c (nis_add): Likewise.
59496         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59498         * posix/fnmatch_loop.c: Add some consts.
59500         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59502 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
59504         [BZ #12460]
59505         * config.make.in (config-cflags-novzeroupper): Define.
59506         * configure.in: Substitute libc_cv_cc_novzeroupper.
59507         * elf/Makefile (AVX-CFLAGS): Define.
59508         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59509         (CFLAGS-tst-auditmod4a.c): Likewise.
59510         (CFLAGS-tst-auditmod4b.c): Likewise.
59511         (CFLAGS-tst-auditmod6b.c): Likewise.
59512         (CFLAGS-tst-auditmod6c.c): Likewise.
59513         (CFLAGS-tst-auditmod7b.c): Likewise.
59514         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59516 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
59518         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59519         function to the callback.
59520         Patch partly by Jiri Olsa <jolsa@redhat.com>.
59522 2011-02-02  Andreas Schwab  <schwab@redhat.com>
59524         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59525         of errno.
59527 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
59529         [BZ #11724]
59530         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59531         of constructors.
59532         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59533         of destructors.
59534         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59536         [BZ #11724]
59537         * elf/Makefile: Add rules to build and run new test.
59538         * elf/tst-initorder.c: New file.
59539         * elf/tst-initorder.exp: New file.
59540         * elf/tst-initordera1.c: New file.
59541         * elf/tst-initordera2.c: New file.
59542         * elf/tst-initordera3.c: New file.
59543         * elf/tst-initordera4.c: New file.
59544         * elf/tst-initorderb1.c: New file.
59545         * elf/tst-initorderb2.c: New file.
59546         * elf/tst-order-a1.c: New file.
59547         * elf/tst-order-a2.c: New file.
59548         * elf/tst-order-a3.c: New file.
59549         * elf/tst-order-a4.c: New file.
59550         * elf/tst-order-b1.c: New file.
59551         * elf/tst-order-b2.c: New file.
59552         * elf/tst-order-main.c: New file.
59553         New test case by George Gensure <werkt0@gmail.com>.
59555 2010-10-01  Andreas Schwab  <schwab@redhat.com>
59557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59558         decoding ACE if AI_CANONIDN.
59560 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
59562         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59564 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
59566         * version.h (RELEASE): Bump for 2.13 release.
59567         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59569         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59571         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59572         MADV_NOHUGEPAGE.
59573         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59574         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59575         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59576         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59577         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59578         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59580         * posix/getconf.c: Update copyright year.
59581         * catgets/gencat.c: Likewise.
59582         * csu/version.c: Likewise.
59583         * debug/catchsegv.sh: Likewise.
59584         * debug/xtrace.sh: Likewise.
59585         * elf/ldconfig.c: Likewise.
59586         * elf/ldd.bash.in: Likewise.
59587         * elf/sprof.c (print_version): Likewise.
59588         * iconv/iconv_prog.c: Likewise.
59589         * iconv/iconvconfig.c: Likewise.
59590         * locale/programs/locale.c: Likewise.
59591         * locale/programs/localedef.c: Likewise.
59592         * malloc/memusage.sh: Likewise.
59593         * malloc/mtrace.pl: Likewise.
59594         * nscd/nscd.c (print_version): Likewise.
59595         * nss/getent.c: Likewise.
59597         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59598         PF_CAIF, and PF_ALG.
59599         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59601 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
59603         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59604         (modules-names): Use them.
59605         (ifunc-test-modules, ifunc-pie-tests): Define.
59606         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59607         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59608         (test-extras): Likewise.
59609         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59610         $(compile-command.c).
59611         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59612         (all-built-dso): Define.
59613         (check-textrel.out, check-execstack.out): Depend on it.
59615         * configure.in: Don't override --enable-multi-arch.
59617 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
59619         [BZ #6812]
59620         * nscd/hstcache.c (tryagain): Define.
59621         (cache_addhst): Return tryagain not notfound for temporary errors.
59622         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59623         failed.
59625 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
59627         [BZ #10563]
59628         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59629         to make the syscall.
59630         * sysdeps/unix/sysv/linux/setgroups.c: New file.
59632         [BZ #12378]
59633         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59634         and fall back to matching as normal character if the string ends before
59635         the matching ']' is found.  This is what POSIX requires.
59636         * posix/testfnm.c: Adjust test result.
59637         * posix/globtest.sh: Adjust test result.  Add new test.
59638         * posix/tst-fnmatch.input: Likewise.
59639         * posix/tst-fnmatch2.c: Add new test.
59641 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
59643         * elf/Makefile (check-execstack): Revert last change.  Depend on
59644         check-execstack.h.
59645         (check-execstack.h): New target.
59646         (generated): Add check-execstack.h.
59647         * elf/check-execstack.c: Include "check-execstack.h".
59648         (main): Revert last change.
59649         (handle_file): Return zero if GNU_STACK is absent and
59650         DEFAULT_STACK_PERMS doesn't include PF_X.
59652 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
59654         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59655         in child fails because the descriptor is already closed.
59656         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59657         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59658         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59660         [BZ #12397]
59661         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59662         syscall.
59664         [BZ #10484]
59665         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59666         temporary buffer used to handle multi lookups locally.
59667         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59669 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59671         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59672         loader is ld.so.
59674 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
59676         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59677         alignment for SSE2.
59679 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59681         [BZ #12394]
59682         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59683         characters.  When rounding increased number of integer digits recompute
59684         number of groups.
59685         * stdio-common/tst-grouping.c: New file.
59686         * stdio-common/Makefile: Add rules to build and run tst-grouping.
59688 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
59690         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59691         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
59693         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59694         void.
59695         * bits/select.h: Likewise.
59697 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
59699         * po/ja.po: Update from translation team.
59701 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
59703         [BZ #11155]
59704         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59705         implementation just like for lxstat, fxstatat, et al.
59707 2010-12-27  Jim Meyering  <meyering@redhat.com>
59709         [BZ #12348]
59710         * posix/regexec.c (build_trtable): Return failure indication upon
59711         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
59713 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
59715         [BZ #12201]
59716         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59717         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59718         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59719         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59721         [BZ #12207]
59722         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59724         [BZ #12204]
59725         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59726         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59728 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
59730         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59731         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59732         script has SORT_BY_INIT_PRIORITY.
59733         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59734         NO_CTORS_DTORS_SECTIONS is defined.
59735         * elf/soinit.c: Likewise.
59736         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59737         NO_CTORS_DTORS_SECTIONS is defined.
59738         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59739         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59740         * sysdeps/sh/init-first.c: Likewise.
59741         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59743 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
59745         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59746         always use the slow path.
59748 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
59750         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59751         similar rule which adds the sysdep directories to the header search in
59752         order to pick up the correct platform stackinfo.h.
59753         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59754         perform test if it is, otherwise return successfully without testing.
59755         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59756         DEFAULT_STACK_PERMS define in stackinfo.h.
59757         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59758         defined in stackinfo.h.
59759         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59760         DEFAULT_STACK_PERMS defined in stackinfo.h.
59761         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59762         * sysdeps/ia64/stackinfo.h: Likewise.
59763         * sysdeps/s390/stackinfo.h: Likewise.
59764         * sysdeps/sh/stackinfo.h: Likewise.
59765         * sysdeps/sparc/stackinfo.h: Likewise.
59766         * sysdeps/x86_64/stackinfo.h: Likewise.
59767         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59768         PF_X for powerpc64.  Retain PF_X for powerpc32.
59770 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
59772         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59773         accurately.
59774         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59775         GETDENTS_64BIT_ALIGNED.
59777 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
59779         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59781 2010-12-10  Andreas Schwab  <schwab@redhat.com>
59783         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59784         _GNU_SOURCE.
59786         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59787         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59788         Remove __restrict.
59789         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59790         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59792 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
59794         [BZ #11655]
59795         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59796         are initialized.
59798 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
59800         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59802 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
59804         * po/it.po: Update from translation team.
59806 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
59808         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59809         unused codes.
59811 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
59813         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59815 2010-11-24  Andreas Schwab  <schwab@redhat.com>
59817         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59818         specially.
59819         (gaih_getanswer_slice): Likewise.
59821 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
59823         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59825 2010-05-31  Petr Baudis  <pasky@suse.cz>
59827         [BZ #11149]
59828         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59829         silently even in the chroot mode.
59831 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
59833         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59834         last patch a bit.  Pretty printing
59836 2010-05-31  Petr Baudis <pasky@suse.cz>
59838         [BZ #10085]
59839         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59840         initialization of skip_initgroups_dyn.
59842 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
59844         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59845         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59847 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
59849         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59851 2010-11-11  Andreas Schwab  <schwab@redhat.com>
59853         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59854         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59855         (tst-fnmatch-ENV): Set MALLOC_TRACE.
59856         ($(objpfx)tst-fnmatch-mem): New rule.
59857         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59858         * posix/tst-fnmatch.c (main): Call mtrace.
59860 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
59862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59863         Support Intel processor model 6 and model 0x2c.
59865 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
59867         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59868           signed comparison.
59870 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
59872         [BZ #12205]
59873         * string/test-strncasecmp.c (check_result): New function.
59874         (do_one_test): Use it.
59875         (check1): New function.
59876         (test_main): Use it.
59877         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59878         Support strcasecmp and strncasecmp.
59880 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
59882         [BZ #12194]
59883         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59884         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59886 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59888         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59889         IFUNC support.
59890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59891         memset-x86-64.
59892         * sysdeps/x86_64/multiarch/bzero.S: New file.
59893         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59894         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59895         * sysdeps/x86_64/multiarch/memset.S: New file.
59896         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59898         Set bit_Prefer_SSE_for_memop for Intel processors.
59899         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59900         Define.
59901         (index_Prefer_SSE_for_memop): Define.
59902         (HAS_PREFER_SSE_FOR_MEMOP): Define.
59904 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
59906         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59907         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59909 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
59911         [BZ #12191]
59912         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59913         (__x86_64_raw_data_cache_size_half): Likewise.
59914         (__x86_64_raw_shared_cache_size): Likewise.
59915         (__x86_64_raw_shared_cache_size_half): Likewise.
59917         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59918         (__x86_64_raw_data_cache_size_half): Likewise.
59919         (__x86_64_raw_shared_cache_size): Likewise.
59920         (__x86_64_raw_shared_cache_size_half): Likewise.
59921         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59922         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59923         and __x86_64_raw_shared_cache_size_half.  Round
59924         __x86_64_data_cache_size_half, __x86_64_data_cache_size
59925         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59926         to multiple of 256 bytes.
59928 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
59930         [BZ #12167]
59931         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59932         of inacessible symlinks.  Verify result of symlink before returning it.
59933         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59934         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59936 2010-10-28  Erich Ritz  <erichritz@gmail.com>
59938         * math/math.h (isinf): Fix typo in comment.
59940 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
59942         * po/da.po: Update from translation team.
59944 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
59946         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59947         is added to the list.
59949 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59950             Ulrich Drepper  <drepper@gmail.com>
59952         * elf/dl-object.c (_dl_new_object): Don't append the new object to
59953         the global list here.  Move code to...
59954         (_dl_add_to_namespace_list): ...here.  New function.
59955         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59956         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59957         * elf/dl-load.c (lose): Don't remove the element from the list.
59958         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59959         (_dl_map_object): Likewise.
59961 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
59963         [BZ #12159]
59964         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59965         into all bytes of SSE register.
59966         Patch by Richard Li <richardpku@gmail.com>.
59968 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
59970         [BZ #12140]
59971         * malloc/malloc.c (_int_free): Fill correct number of bytes when
59972         perturbing.
59974 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
59976         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59977         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59978         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59979         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59981         submachine.
59982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59984 2010-10-22  Andreas Schwab  <schwab@redhat.com>
59986         * include/dlfcn.h (__RTLD_SECURE): Define.
59987         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
59988         mode & __RTLD_SECURE instead.
59989         (open_path): Rename preloaded parameter to secure.
59990         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59991         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59992         * elf/dl-deps.c (openaux): Likewise.
59993         * elf/rtld.c (struct map_args): Remove is_preloaded.
59994         (map_doit): Don't use it.
59995         (dl_main): Likewise.
59996         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59997         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59999 2010-09-09  Andreas Schwab  <schwab@redhat.com>
60001         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60002         (sysd-rules-targets): Remove duplicates.
60003         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60004         rtld-%.$o dependency.
60006 2010-10-18  Andreas Schwab  <schwab@redhat.com>
60008         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60009         _dl_map_object do it.
60011 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
60013         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60014         fast fma builtins, define the macros in the C99 standard.
60015         (FP_FAST_FMAF): Likewise.
60016         (FP_FAST_FMAL): Likewise.
60017         * sysdeps/x86_64/bits/mathdef.h: Likewise.
60019         * bits/mathdef.h: Update copyright year.
60020         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60022 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
60024         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60025         builtins, define the macros in the C99 standard.
60026         (FP_FAST_FMAF): Likewise.
60027         (FP_FAST_FMAL): Likewise.
60028         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60029         multiply/add.
60030         (FP_FAST_FMAF): Likewise.
60032 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
60034         [BZ #3268]
60035         * math/libm-test.inc (fma_test): Some new testcases.
60036         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60037         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60038         y and infinite z.  Do multiplication by C already in long double.
60039         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60040         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60041         y and infinite z.  Do bitwise or of inexact bit into u.d.
60042         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60043         * sysdeps/i386/fpu/s_fmaf.S: Removed.
60044         * sysdeps/i386/fpu/s_fma.S: Removed.
60045         * sysdeps/i386/fpu/s_fmal.S: Removed.
60047 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
60049         [BZ #3268]
60050         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60051         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60052         computation is not scheduled after fetestexcept.  Fix value
60053         of minimum denormal long double.
60055 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
60057         [BZ #3268]
60058         * math/libm-test.inc (fma_test): Add some more tests.
60059         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60060         correctly.
60062 2010-10-15  Andreas Schwab  <schwab@redhat.com>
60064         * scripts/data/localplt-s390-linux-gnu.data: New file.
60065         * scripts/data/localplt-s390x-linux-gnu.data: New file.
60067 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
60069         [BZ #3268]
60070         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60071         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60072         instead of dbl-64.
60073         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60074         inlines.
60075         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60076         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60077         if one of x and y is very large and the other is subnormal.
60078         * sysdeps/s390/fpu/s_fmaf.c: New file.
60079         * sysdeps/s390/fpu/s_fma.c: New file.
60080         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60081         * sysdeps/powerpc/fpu/s_fma.S: New file.
60082         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60083         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60084         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60086 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
60088         [BZ #3268]
60089         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60090         fma tests.
60091         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60092         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60093         * sysdeps/i386/i686/multiarch/s_fma.c: Include
60094         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60095         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60096         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60097         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60099 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
60101         [BZ #12078]
60102         * posix/regcomp.c (parse_branch): One more memory leak plugged.
60103         * posix/bug-regex31.input: Add test case.
60105 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60107         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60108         * posix/bug-regex31.input: New file.
60110         [BZ #12078]
60111         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60112         (parse_sub_exp): Fix last change, use postorder.
60114         * posix/bug-regex31.c: New file.
60115         * posix/Makefile: Add rules to build and run bug-regex31.
60117         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60119         [BZ #12078]
60120         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60122         [BZ #12108]
60123         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60124         to have entries in sys_siglist.
60126         [BZ #12093]
60127         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60128         be NULL.
60130 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
60132         [BZ #3268]
60133         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60134         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60135         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60136         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60137         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60138         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60139         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60140         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60141         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60142         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60143         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60144         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60145         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60146         * math/ftestexcept.c (fetestexcept): Likewise.
60147         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60148         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60149         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60150         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60151         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60152         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60153         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60155 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60157         [BZ #12107]
60158         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60159         newline.
60161 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
60163         * string/bug-strstr1.c: New file.
60164         * string/Makefile: Add rules to build and run bug-strstr1.
60166 2010-10-05  Eric Blake  <eblake@redhat.com>
60168         [BZ #12092]
60169         * string/str-two-way.h (two_way_long_needle): Always clear memory
60170         when skipping input due to the shift table.
60172 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
60174         [BZ #12005]
60175         * malloc/mcheck.c: Handle large requests.
60177         [BZ #12077]
60178         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60179         for strncmp and strncasecmp.
60180         * string/stratcliff.c: Add tests for strcmp and strncmp.
60181         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60183 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60185         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60186         __set_fpscr.
60188 2010-09-30  Andreas Jaeger  <aj@suse.de>
60190         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60191         (CGROUP_SUPER_MAGIC): Define.
60192         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60193         Handle btrfs and cgroup file systems.
60194         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60195         Likewise.
60197 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
60199         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60200         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60202 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60204         [BZ #12067]
60205         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60206         trying to locate the ELF header.
60208 2010-09-27  Andreas Schwab  <schwab@redhat.com>
60210         [BZ #11611]
60211         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60212         Mask out sign-bit copies when constructing f_fsid.
60214 2010-09-24  Petr Baudis <pasky@suse.cz>
60216         * debug/stack_chk_fail_local.c: Add missing licence exception.
60217         * debug/warning-nop.c: Likewise.
60219 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
60221         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60222         implementing getdents64 using getdents syscall, set d_type if
60223         __ASSUME_GETDENTS32_D_TYPE.
60225 2010-09-16  Andreas Schwab  <schwab@redhat.com>
60227         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60228         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60230 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
60232         [BZ #12037]
60233         * posix/unistd.h: Undo change of feature selection for ftruncate from
60234         2010-01-11.
60236 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
60238         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60239         detection.
60241 2010-09-20  Andreas Schwab  <schwab@redhat.com>
60243         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60244         fanotify_mark.
60245         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60247 2010-09-14  Andreas Schwab  <schwab@redhat.com>
60249         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60250         variables after CHECK_SP call.
60251         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60253 2010-09-13  Andreas Schwab  <schwab@redhat.com>
60254             Ulrich Drepper  <drepper@redhat.com>
60256         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60257         re-relocationg ld.so.
60258         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60259         _dl_init_paths call.
60260         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
60261         here anymore.
60263 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
60265         * resolv/res_init.c (__res_vinit): Count the default server we added.
60267 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
60268             Ulrich Drepper  <drepper@redhat.com>
60270         [BZ #11968]
60271         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60272         (____longjmp_chk): Use %ebx for saving value across system call.
60273         Add unwind info.
60275 2010-09-06  Andreas Schwab  <schwab@redhat.com>
60277         * manual/Makefile: Don't mix pattern rules with normal rules.
60279 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60281         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60282         operation.
60283         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60284         * libio/iofopncook.c (_IO_cookie_init): Likewise.
60285         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60286         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60287         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60288         Likewise.
60290 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
60292         [BZ #11979]
60293         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60294         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60296 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
60298         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60299         * sysdeps/x86_64/addmul_1.S: Likewise.
60300         * sysdeps/x86_64/lshift.S: Likewise.
60301         * sysdeps/x86_64/mul_1.S: Likewise.
60302         * sysdeps/x86_64/rshift.S: Likewise.
60303         * sysdeps/x86_64/sub_n.S: Likewise.
60304         * sysdeps/x86_64/submul_1.S: Likewise.
60306 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60308         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60309         Define __sched_param instead of SCHED_* and sched_param when
60310         <bits/sched.h> is included with __need_schedparam defined.
60311         * bits/sched.h [__need_schedparam]
60312         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60313         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60314         (__defined_schedparam): Define to 1.
60315         (__sched_param): New structure, identical to sched_param.
60316         (__need_schedparam): Undefine.
60318 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
60320         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60321         (epoll_create1): Declare.
60323         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60325 2010-08-31  Andreas Schwab  <schwab@redhat.com>
60327         [BZ #7066]
60328         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60329         shifting retval into place.
60331 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
60333         * nis/rpcsvc/nis.h: Update copyright notice.
60334         * nis/rpcsvc/nis.x: Likewise.
60335         * nis/rpcsvc/nis_callback.h: Likewise.
60336         * nis/rpcsvc/nis_callback.x: Likewise.
60337         * nis/rpcsvc/nis_object.x: Likewise.
60338         * nis/rpcsvc/nis_tags.h: Likewise.
60339         * nis/rpcsvc/yp.h: Likewise.
60340         * nis/rpcsvc/yp.x: Likewise.
60341         * nis/rpcsvc/ypupd.h: Likewise.
60342         * nis/yp_xdr.c: Likewise.
60343         * nis/ypupdate_xdr.c: Likewise.
60345         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
60346         mainly the body of pmap_getport.  Add parameters to specify timeouts.
60347         (pmap_getport): Use __libc_rpc_getport.
60348         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60349         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60350         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60352 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
60354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60355         fanotify_mark.
60357 2010-08-27  Roland McGrath  <roland@redhat.com>
60359         * sysdeps/i386/i686/multiarch/Makefile
60360         (CFLAGS-varshift.c): New variable.
60362 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
60364         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60365         * sysdeps/i386/i686/multiarch/varshift.c: New file.
60367         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60369         * sysdeps/x86_64/strlen.S: Minimal code improvement.
60371 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
60373         * sysdeps/x86_64/strlen.S: Unroll the loop.
60374         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60375         strlen-sse2 strlen-sse2-bsf.
60376         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60377         __strlen_no_bsf if bit_Slow_BSF is set.
60378         (__strlen_sse42): Removed.
60379         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60380         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60382 2010-08-25  Roland McGrath  <roland@redhat.com>
60384         * sysdeps/x86_64/multiarch/varshift.S: File removed.
60385         * sysdeps/x86_64/multiarch/varshift.c: New file.
60386         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60387         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60388         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60389         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60391 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
60393         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60394         strlen-sse2 strlen-sse2-bsf.
60395         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60396         __strlen_sse2_bsf if bit_Slow_BSF is unset.
60397         (__strlen_sse2): Removed.
60398         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60399         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60401         bit_Slow_BSF for Atom.
60402         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60403         (index_Slow_BSF): Define.
60404         (HAS_SLOW_BSF): Define.
60406 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
60408         [BZ #10851]
60409         * resolv/res_init.c (__res_vinit): When no server address at all
60410         is given default to loopback.
60412 2010-08-24  Roland McGrath  <roland@redhat.com>
60414         * configure.in: Remove config-name.h generation.
60415         * configure: Regenerated.
60416         * config-name.in: File removed.
60417         * scripts/config-uname.sh: New file.
60418         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60419         ($(objdir)config-name.h): New target.
60421         * sunrpc/rpc_parse.h: Avoid nested comment.
60423 2010-08-24  Richard Henderson  <rth@redhat.com>
60424             Ulrich Drepper  <drepper@redhat.com>
60425             H.J. Lu  <hongjiu.lu@intel.com>
60427         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60429         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60430         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
60431         _mm_alignr_epi8 with _mm_loadu_si128.
60432         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60433         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60434         (__m128i_shift_right): Removed.
60435         * sysdeps/i386/i686/multiarch/varshift.h: New file.
60436         * sysdeps/i386/i686/multiarch/varshift.S: New file.
60437         * sysdeps/x86_64/multiarch/varshift.h: New file.
60438         * sysdeps/x86_64/multiarch/varshift.S: New file.
60440 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
60442         * configure.in: Move assembler checks to before sysdep dir checking.
60444 2010-08-20  Petr Baudis  <pasky@suse.cz>
60446         * LICENSES: Sync the sunrpc license.
60448 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
60450         * sunrpc/auth_des.c: Update copyright notice once again.
60451         * sunrpc/auth_none.c: Likewise.
60452         * sunrpc/auth_unix.c: Likewise.
60453         * sunrpc/authdes_prot.c: Likewise.
60454         * sunrpc/authuxprot.c: Likewise.
60455         * sunrpc/bindrsvprt.c: Likewise.
60456         * sunrpc/clnt_gen.c: Likewise.
60457         * sunrpc/clnt_perr.c: Likewise.
60458         * sunrpc/clnt_raw.c: Likewise.
60459         * sunrpc/clnt_simp.c: Likewise.
60460         * sunrpc/clnt_tcp.c: Likewise.
60461         * sunrpc/clnt_udp.c: Likewise.
60462         * sunrpc/clnt_unix.c: Likewise.
60463         * sunrpc/des_crypt.c: Likewise.
60464         * sunrpc/des_soft.c: Likewise.
60465         * sunrpc/get_myaddr.c: Likewise.
60466         * sunrpc/getrpcport.c: Likewise.
60467         * sunrpc/key_call.c: Likewise.
60468         * sunrpc/key_prot.c: Likewise.
60469         * sunrpc/openchild.c: Likewise.
60470         * sunrpc/pm_getmaps.c: Likewise.
60471         * sunrpc/pm_getport.c: Likewise.
60472         * sunrpc/pmap_clnt.c: Likewise.
60473         * sunrpc/pmap_prot.c: Likewise.
60474         * sunrpc/pmap_prot2.c: Likewise.
60475         * sunrpc/pmap_rmt.c: Likewise.
60476         * sunrpc/rpc/auth.h: Likewise.
60477         * sunrpc/rpc/auth_unix.h: Likewise.
60478         * sunrpc/rpc/clnt.h: Likewise.
60479         * sunrpc/rpc/des_crypt.h: Likewise.
60480         * sunrpc/rpc/key_prot.h: Likewise.
60481         * sunrpc/rpc/netdb.h: Likewise.
60482         * sunrpc/rpc/pmap_clnt.h: Likewise.
60483         * sunrpc/rpc/pmap_prot.h: Likewise.
60484         * sunrpc/rpc/pmap_rmt.h: Likewise.
60485         * sunrpc/rpc/rpc.h: Likewise.
60486         * sunrpc/rpc/rpc_des.h: Likewise.
60487         * sunrpc/rpc/rpc_msg.h: Likewise.
60488         * sunrpc/rpc/svc.h: Likewise.
60489         * sunrpc/rpc/svc_auth.h: Likewise.
60490         * sunrpc/rpc/types.h: Likewise.
60491         * sunrpc/rpc/xdr.h: Likewise.
60492         * sunrpc/rpc_clntout.c: Likewise.
60493         * sunrpc/rpc_cmsg.c: Likewise.
60494         * sunrpc/rpc_common.c: Likewise.
60495         * sunrpc/rpc_cout.c: Likewise.
60496         * sunrpc/rpc_dtable.c: Likewise.
60497         * sunrpc/rpc_hout.c: Likewise.
60498         * sunrpc/rpc_main.c: Likewise.
60499         * sunrpc/rpc_parse.c: Likewise.
60500         * sunrpc/rpc_parse.h: Likewise.
60501         * sunrpc/rpc_prot.c: Likewise.
60502         * sunrpc/rpc_sample.c: Likewise.
60503         * sunrpc/rpc_scan.c: Likewise.
60504         * sunrpc/rpc_scan.h: Likewise.
60505         * sunrpc/rpc_svcout.c: Likewise.
60506         * sunrpc/rpc_tblout.c: Likewise.
60507         * sunrpc/rpc_util.c: Likewise.
60508         * sunrpc/rpc_util.h: Likewise.
60509         * sunrpc/rpcinfo.c: Likewise.
60510         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60511         * sunrpc/rpcsvc/key_prot.x: Likewise.
60512         * sunrpc/rpcsvc/klm_prot.x: Likewise.
60513         * sunrpc/rpcsvc/mount.x: Likewise.
60514         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60515         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60516         * sunrpc/rpcsvc/rex.x: Likewise.
60517         * sunrpc/rpcsvc/rstat.x: Likewise.
60518         * sunrpc/rpcsvc/rusers.x: Likewise.
60519         * sunrpc/rpcsvc/sm_inter.x: Likewise.
60520         * sunrpc/rpcsvc/spray.x: Likewise.
60521         * sunrpc/rpcsvc/yppasswd.x: Likewise.
60522         * sunrpc/rtime.c: Likewise.
60523         * sunrpc/svc.c: Likewise.
60524         * sunrpc/svc_auth.c: Likewise.
60525         * sunrpc/svc_authux.c: Likewise.
60526         * sunrpc/svc_raw.c: Likewise.
60527         * sunrpc/svc_run.c: Likewise.
60528         * sunrpc/svc_simple.c: Likewise.
60529         * sunrpc/svc_tcp.c: Likewise.
60530         * sunrpc/svc_udp.c: Likewise.
60531         * sunrpc/svc_unix.c: Likewise.
60532         * sunrpc/svcauth_des.c: Likewise.
60533         * sunrpc/xcrypt.c: Likewise.
60534         * sunrpc/xdr.c: Likewise.
60535         * sunrpc/xdr_array.c: Likewise.
60536         * sunrpc/xdr_float.c: Likewise.
60537         * sunrpc/xdr_mem.c: Likewise.
60538         * sunrpc/xdr_rec.c: Likewise.
60539         * sunrpc/xdr_ref.c: Likewise.
60540         * sunrpc/xdr_sizeof.c: Likewise.
60541         * sunrpc/xdr_stdio.c: Likewise.
60543         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60544         handling.
60546 2010-08-19  Andreas Schwab  <schwab@redhat.com>
60548         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60550 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
60552         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60553         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60554         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60555         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60556         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60557         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60558         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60559         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60560         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60561         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60562         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60563         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60564         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60565         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60567 2010-07-26  Anton Blanchard  <anton@samba.org>
60569         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60570         * malloc/arena.c (heap_trim): Likewise.
60572 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
60574         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60575         here.  Not...
60576         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60577         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60579 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
60581         * sysdeps/i386/elf/Makefile: New file.
60583 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60585         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60586         from fanotify_init.
60587         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60588         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60590 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
60592         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60593         of strncasecmp_l.
60594         * sysdeps/multiarch/strcmp.S: Likewise.
60596 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
60598         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60599         strncase_l-nonascii.
60600         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60601         Add strncase_l-ssse3.
60602         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60603         * sysdeps/x86_64/strcmp.S: Likewise.
60604         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60605         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60606         * sysdeps/x86_64/strncase.S: New file.
60607         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60608         * sysdeps/x86_64/strncase_l.S: New file.
60609         * string/Makefile (strop-tests): Add strncasecmp.
60610         * string/test-strncasecmp.c: New file.
60612         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60613         warning.
60615         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60616         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60618 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60620         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60622 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
60624         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60625         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60626         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60628 2010-05-01  Alan Modra  <amodra@gmail.com>
60630         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60631         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60632         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60633         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60634         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60635         tidying.  Don't tail-call __sigjmp_save for static lib.
60636         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60637         save location.
60638         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60639         (CALL_MCOUNT): Add eh info, and nop after bl.
60640         (TAIL_CALL_SYSCALL_ERROR): New macro.
60641         (PSEUDO_RET): Use it.
60642         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60643         Correct save location of integer regs and cr.
60644         (_dl_profile_resolve): Correct cr save location.  Delete nops
60645         after bl when SHARED.  Reduce cfi size a little by better
60646         placement of cfi directives.
60647         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60648         make a stack frame.  Instead use parm save area as a temp.
60649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60650         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
60651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60652         Don't make a stack frame for parent, use parm save area.
60653         Increase child stack frame to 112 bytes.  Don't save unused reg,
60654         and adjust reg usage.  Set up cfi on error recovery and
60655         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60657         (__makecontext): Add dummy nop after jump to exit.
60658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60659         Use correct parm save area and cr save, reduce stack frame.
60660         Correct cfi for possible PSEUDO_RET frame setup.
60661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60662         Branch to local label emitted by PSEUDO_RET rather than
60663         __syscall_error.
60665 2010-08-12  Andreas Schwab  <schwab@redhat.com>
60667         [BZ #11904]
60668         * locale/programs/locale.c (print_assignment): New function.
60669         (show_locale_vars): Use it.
60671 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
60673         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60674         field.
60675         (struct statfs64): Likewise.
60676         (_STATFS_F_FLAGS): Define.
60677         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60678         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60679         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60680         (ST_VALID): Define locally.
60681         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60682         __statvfs_getflags, use the provided value.
60683         * sysdeps/unix/sysv/linux/kernel-features.h: Define
60684         __ASSUME_STATFS_F_FLAGS.
60686         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60688         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60689         Add sys/fanotify.h.
60690         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60691         fanotify_mask for GLIBC_2.13.
60692         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60693         fanotify_init and fanotify_mark.
60694         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60695         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60697         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60698         Add prlimit.
60699         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60700         prlimit64 for GLIBC_2.13.
60701         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60702         prlimit64.
60703         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60704         syscall.
60705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60706         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60707         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60708         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60709         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
60710         add prlimit alias.
60711         * sysdeps/unix/sysv/linux/prlimit.c: New file.
60713         [BZ #11903]
60714         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60715         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60717         * nss/Makefile: Add rules to build and run tst-nss-test1.
60718         * shlib-versions: Add entry for libnss_test1.
60719         * nss/nss_test1.c: New file.
60720         * nss/tst-nss-test1.c: New file.
60722         * nss/nsswitch.c (__nss_database_custom): Define new variable.
60723         (__nss_configure_lookup): Set appropriate entry in
60724         __nss_configure_lookup to true.
60725         * nss/nsswitch.h: Define enum with indeces of databases in
60726         databases and __nss_database_custom arrays.  Declare
60727         __nss_database_custom.
60728         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60729         to avoid using nscd when custom rules are installed.
60730         * nss/getXXbyYY_r.c: Likewise.
60731         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60733         * nss/nss_files/files-parse.c: Whitespace fixes.
60735 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
60737         [BZ #11883]
60738         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60739         * posix/fnmatch_loop.c: Likewise.
60741 2010-07-17  Andi Kleen  <ak@linux.intel.com>
60743         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60744         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60745         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60746         * Versions.def [GLIBC_2.13]: Add.
60748 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
60750         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60751         Also fail if tpwd after pwuid call is NULL.
60753 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60755         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60756         when converting to ms.
60758 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60760         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60761         EOPNOTSUPP errors with ENOTTY.
60762         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60763         EOPNOTSUPP errors with ENOTTY.
60765 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
60767         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60768         Add strcasecmp_l-ssse3.
60769         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60770         strcasecmp.
60771         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60772         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60773         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60775 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
60777         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60779         * string/Makefile (strop-tests): Add strcasecmp.
60780         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60781         strcasecmp_l-nonascii.
60782         (gen-as-const-headers): Add locale-defines.sym.
60783         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60784         * sysdeps/x86_64/strcasecmp.S: New file.
60785         * sysdeps/x86_64/strcasecmp_l.S: New file.
60786         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60787         * sysdeps/x86_64/locale-defines.sym: New file.
60788         * string/test-strcasecmp.c: New file.
60790         * string/test-strcasestr.c: Test both ends of the range of characters.
60791         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60793 2010-07-29  Roland McGrath  <roland@redhat.com>
60795         [BZ #11856]
60796         * manual/locale.texi (Yes-or-No Questions): Fix example code.
60798 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
60800         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60801         for ld.so.
60803 2010-07-27  Andreas Schwab  <schwab@redhat.com>
60805         * manual/memory.texi (Malloc Tunable Parameters): Document
60806         M_PERTURB.
60808 2010-07-26  Roland McGrath  <roland@redhat.com>
60810         [BZ #11840]
60811         * configure.in (-fgnu89-inline check): Set and substitute
60812         gnu89_inline, not libc_cv_gnu89_inline.
60813         * configure: Regenerated.
60814         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60816 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
60818         * string/test-strnlen.c: New file.
60819         * string/Makefile (strop-tests): Add strnlen.
60820         * string/tester.c (test_strnlen): Add a few more test cases.
60821         * string/tst-strlen.c: Better error reporting.
60823         * sysdeps/x86_64/strnlen.S: New file.
60825 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
60827         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60828         lower-latency instructions.
60830 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
60832         * string/test-strcasestr.c: New file.
60833         * string/test-strstr.c: New file.
60834         * string/Makefile (strop-tests): Add strstr and strcasestr.
60835         * string/str-two-way.h: Don't undefine MAX.
60836         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60838 2010-07-21  Andreas Schwab  <schwab@redhat.com>
60840         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60841         strcasestr-nonascii.
60842         (CFLAGS-strcasestr-nonascii.c): Define.
60843         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60844         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60845         Remove unused attribute.
60847 2010-07-20  Roland McGrath  <roland@redhat.com>
60849         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60850         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
60851         ld.so.cache was broken.  With it, there is no way to disable dsocaps
60852         like LD_HWCAP_MASK can disable hwcaps.
60854 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60856         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60858 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
60860         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60861         call in strcasestr.
60862         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60863         __strcasestr_sse42_nonascii.
60864         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60865         strcasestr-nonascii.c.
60866         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60868 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
60870         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60871         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60872         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60873         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60875 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
60877         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60878         fcntl.
60880 2010-07-06  Andreas Schwab  <schwab@redhat.com>
60882         [BZ #11577]
60883         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60884         dl_signal_cerror.
60886 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
60888         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60889         _PC_PIPE_BUF using F_GETPIPE_SZ.
60891 2010-07-05  Roland McGrath  <roland@redhat.com>
60893         * manual/arith.texi (Rounding Functions): Fix rint description
60894         implicit in round description.
60896 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
60898         * elf/Makefile: Fix linking for a few tests to make recent linker
60899         happy.
60901 2010-06-30  Andreas Schwab  <schwab@redhat.com>
60903         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60904         $(common-objpfx)libc_nonshared.a.
60906 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
60908         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60909         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60910         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60911         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60912         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60913         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60914         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60915         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60930         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60931         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60932         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60933         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60934         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60935         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60936         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60937         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60938         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60939         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60940         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60941         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60957 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
60959         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60960         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
60961         * string/memmove.c (memmove): Renamed to ...
60962         (MEMMOVE): ...this.  Default to memmove.
60963         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60964         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60965         (END_CHK): Define.
60966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60967         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60968         mempcpy-ssse3-back memmove-ssse3-back.
60969         * sysdeps/x86_64/multiarch/bcopy.S: New file .
60970         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60971         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60972         * sysdeps/x86_64/multiarch/memcpy.S: New file.
60973         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60974         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60975         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60976         * sysdeps/x86_64/multiarch/memmove.c: New file.
60977         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60978         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60979         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60980         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60981         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60982         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60983         Define.
60984         (index_Fast_Copy_Backward): Define.
60985         (HAS_ARCH_FEATURE): Define.
60986         (HAS_FAST_REP_STRING): Define.
60987         (HAS_FAST_COPY_BACKWARD): Define.
60989 2010-06-21  Andreas Schwab  <schwab@redhat.com>
60991         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60992         Restore proper fallback handling.
60994 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
60996         [BZ #11701]
60997         * posix/group_member.c (__group_member): Correct checking loop.
60999         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61000         OOM in getpwuid_r correctly.  Return error number when the caller
61001         should return, otherwise -1.
61002         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61003         call returning > 0 value.
61004         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61006 2010-06-07  Andreas Schwab  <schwab@redhat.com>
61008         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61009         libc_nonshared.a from targets in modules-names.
61011 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
61013         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61014         requires it.
61016 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
61018         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61019         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61020         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61021         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61023 2010-06-02  Andreas Schwab  <schwab@redhat.com>
61025         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61027 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
61029         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61030         and F_GETPIPE_SZ.
61031         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61032         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61033         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61034         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61035         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61036         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61038 2010-06-14  Roland McGrath  <roland@redhat.com>
61040         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61042 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
61044         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61045         __REDIRECT followed by __THROW.
61046         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61047         * posix/getopt.h (getopt): Likewise.
61049 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61051         * hurd/lookup-at.c (__file_name_lookup_at): Accept
61052         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
61053         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61054         in AT_FLAGS.
61055         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61056         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61058 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
61060         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61062 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
61064         [BZ #11640]
61065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61066         Properly check family and model.
61068 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
61070         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61072 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
61074         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61076 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
61078         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61079         symbol reference.
61081 2010-05-19  Andreas Schwab  <schwab@redhat.com>
61083         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61084         symbol reference.
61086 2010-05-21  Andreas Schwab  <schwab@redhat.com>
61088         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61089         and internal_recvmmsg.
61090         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61091         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61092         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61093         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61095         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61096         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61097         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61099 2010-05-20  Andreas Schwab  <schwab@redhat.com>
61101         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61103 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
61105         POWER7 optimizations.
61106         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61107         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61109 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
61111         * version.h: Update for 2.13 development version.
61113 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
61115         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61116         exceptions.  Return 0.
61118 2010-05-07  Roland McGrath  <roland@redhat.com>
61120         * elf/ldconfig.c (main): Add a const.
61122 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
61124         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61125         (args_options): Add no-idn option.
61126         (ahosts_keys_int): Add idn_flags to ai_flags.
61127         (parse_option): Handle 'i' option to clear idn_flags.
61129         * malloc/malloc.c (_int_free): Possible race in the most recently
61130         added check.  Only act on the data if no current modification
61131         happened.
61133 See ChangeLog.17 for earlier changes.